Rockwell-automation 57C421B Pulsetach Input Module/DCS 5000/AutoMax Instrukcja Użytkownika Strona 37

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 36
4Ć15
4.4 Applying the Module
In order for hardware to be referenced by application software, it is
first necessary to assign symbolic names to the hardware. This is
accomplished in the configuration, as described in the section 4.3.
Each task that wishes to reference the symbolic names assigned to
the Pulsetach Input module may do so by declaring those names
COMMON. Once this has been done, any reference to those
symbolic names within the task will reference the bit or register
defined in the configurations.
The frequency with which tasks read input variables and write output
variables depends on the programming language being used.
Ladder Logic and Control Block tasks read all their inputs once at
the beginning of each scan, regardless of how often the inputs are
referenced in the task and write all output variables at the end of the
scan. BASIC statements (even within Control Block tasks) read an
input each time it is referenced and write an output each time it is
referenced.
4.4.1 Speed Mode Example
The following is an example of a Control Block task that handles
interrupts from the module. All variables declared as COMMON are
assumed to be previously been defined during configuration.
In the example below, the module is continuously accumulating
pulses from a pulsetach. The module is set up to capture the value
of the counter at a periodic rate and then generate an interrupt. This
task could be used to read in counts and then accumulate them in
software. It could also be used to generate a velocity signal (dx/dt).
1!ă
2 !ăSPEED MODE EXAMPLE
3 !ăTASK NAME : PG_SPEED
4 !ăPRIORITY : 5
5!ă
1000 COMMON TIMER% \!Counter read time
1005 COMMON ISCR% \!Interrupt and status register
1010 COMMON COUNT% \!Counter data
1015 COMMON MULT@ \!Pulse multiplier
1020 COMMON CCLK_EN@ \!CCLK enable
1025 COMMON INT_R@ \! Timer interrupt enable
1200 LOCAL COUNTER_VALUE% \!Counter value from buffer
2100 MULT@ = ON \!Pulse multiplier times 4
2200 TIMER% = 99 \!Read every 50 milliseconds
2201 !
2202 ! Set all other timers in the rack here.
2203 ! (To be done in only 1 task in a rack.)
2204 !
3000
3001 !ăThe following statement connects the name COUNTER_EVENT
3002 !ăto the interrupt defined in ISCR%. The event name should
3003 !ăbe as descriptive as possible. The watchdog timeout has
3004 !ăbeen set to 12 Processor clock ticks (12*5.5 secs). If the time
3005 !ăbetween interrupts exceeds this value, a severe error
3006 !ăwill be declared and the system will be stopped. For
3007
3008
3009
3010 EVENT NAME=COUNTER_EVENT, INTERRUPT_STATUS=ISCR%,
TIMEOUT=12
4000
4001 !ăThe following statement enables the constant clock" from
4002 !ăthis module. If there is more than one interrupt task in a
4003 !ăchassis, the task that enables the constant clock" should
4004 !ăalways be the lowest priority task.
4005
4100 DIS_CRL@=FALSE \!Counter will be reset on interrupt.
Przeglądanie stron 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 69 70

Komentarze do niniejszej Instrukcji

Brak uwag

Sony PCG-808 manuales

Manuales del propietario y guías del usuario para Cuadernos Sony PCG-808.
Ofrecemos 1 manuales en pdf Sony PCG-808 para descargar gratis por tipos de documentos: Manual de usuario


Sony PCG-808 Manual de usuario (144 paginas)


Marca: Sony | Categoria: Notebooks | Tamaño: 0.87 MB |

 

Tabla de contenidos

Notice to Users

2

Safety Information

3

AVERTISSEMENT

3

Regulatory Information

3

FCC Part 68

4

INDUSTRY CANADA NOTICE

6

AVIS DE L'INDUSTRIE

6

Connecting Peripheral Devices

10

Getting Help

10

Contents

11

Software Collection

15

About the Software

16

First Aid® 98

18

Microsoft® Money 98

18

Microsoft® Outlook™ 98

18

Microsoft Corporation

19

Sony Electronics

19

Netscape Communications

19

CyberMedia^, Inc

19

Intuit, Inc

20

Ergonomic Considerations

21

Using Your Notebook

23

Computer

23

^ USB connector (page 6?)

25

Connecting a Power Source

26

Using Battery Power

27

2 Insert the battery pack

28

2 Pull out the battery pack

29

Starting Your Computer

30

Shutting Down Your Computer

31

Registering Windows^ 98

32

Registering Your Computer

33

Using the Keyboard

34

Indicators

37

Using the Touchpad

40

Using the Floppy Disk Drive

41

Drive bay

42

Floppy disk drive

42

Diskette

42

1 Turn off the computer

43

Using the CD-ROM Drive

44

Using Your Notebook Computer

45

Drive Eject lever on bottom

46

CD-ROM drive

46

(supplied)

46

_________

47

Using the Hold Switch

49

Using PC Cards

50

Infrared port

52

Using Power Saving Modes

54

Using a Second Battery Pack

56

Using the Weight Saver

58

Connecting a Phone Line

60

V Microphone (page 64)

61

position. Align the

62

position to secure your

63

IN USE indicator

63

PCGA-AC71 adapters

63

Insert the battery pack

64

2 Press the Eject button

65

3 Pull out the batteiy pack

65

position to

67

position to disengage

68

Connecting a Printer

69

Only LCD

73

—► LCD and external display

73

Only external display —

73

Monitor connector

73

Video Out connector

73

Connecting External Speakers

75

Microphone

76

To connect a USB device

79

Getting Started With

81

VAIO Space

81

VAIO Space Centers

82

Navigating through VAIO Space

83

VAIO Space Controls

84

Using the Software Center

85

Using the Audio-Video Center

86

HI (Next)

87

IH (Previous)

87

Music/Movje Player Functions

88

Using the Online Center

89

Using the Tool Center

90

Using Tool Center Options

91

Using the Help Center

92

Exiting VAIO Space

92

Customizing Your

93

Notebook Computer

93

Notebook Setup Tabs

94

Controlling Power Management

95

Power Management Commands

96

Activating BatteryScope

98

Battery Icon Descriptions

99

Selecting the Display Mode

101

Using a CRT or Projector

103

Using a TV

104

Display Specifications

105

9 Calling SOS

108

Calling SOS

109

Troubleshooting

111

Recovery CDs

117

Online Support (SOS)

119

Notes on Use

121

Adding Memory

126

Connectors

127

5 Remove the memory module

128

Limited Warranty Statement

129

GARANTIE RESTREINTE

131

Battery Limited Warranty

133

Specifications

135





Más productos y manuales para Cuadernos Sony

Modelos Tipo de documento
VGN-TXN17P7 Manual de usuario   Sony VGN-TXN17P7 User Manual, 1 paginas
VGN-T150P Manual de usuario   Sony VGN-T150P User Manual, 2 paginas
PCG-TR3AP2 Manual de usuario   Sony PCG-TR3AP2 User Manual, 39 paginas