High-Speed Counter and Pulse Output
FP
Σ
User's Manual
110
7.3.4 Instructions
and System Variables
Use the instructions
F166_HighSpeedCounter_Set
or
F167_HighSpeedCounter_Reset
to
turn the desired output to TRUE or to FALSE when the specified target value is reached. To
turn the output to TRUE, use
F166_HighSpeedCounter_Set
. To turn the output to FALSE,
use
F167_HighSpeedCounter_Reset
.
The high-speed counter operating status, counting values, and control code are stored in
special internal relays and special data registers. The control code contains the counter
settings. To access special data registers and special internal relays, use the PLC-
independent system variables. You can insert system variables directly into the POU body:
Use the "Variables" dialog without entering a declaration in the POU header. Please refer to
the FPWIN Pro online help for detailed information on using system variables.
System variables for memory areas used
Description
System variable
Address
0 sys_bIsHscChannel0ControlActive
R903A
1 sys_bIsHscChannel1ControlActive
R903B
2 sys_bIsHscChannel2ControlActive
R903C
High-speed counter: control
flag for channel
3 sys_bIsHscChannel3ControlActive
R903D
0 sys_diHscChannel0ElapsedValue
DDT90044
1 sys_diHscChannel1ElapsedValue
DDT90048
2 sys_diHscChannel2ElapsedValue
DDT90200
High-speed counter: elapsed
value of channel
3 sys_diHscChannel3ElapsedValue
DDT90204
0 sys_diHscChannel0ControlTargetValue
DDT90046
1 sys_diHscChannel1ControlTargetValue
DDT90050
2 sys_diHscChannel2ControlTargetValue
DDT91202
High-speed counter: target
value of channel
3 sys_diHscChannel3ControlTargetValue
DDT91206
0 sys_wHscChannel0ControlCode
DT90190
1 sys_wHscChannel1ControlCode
DT90191
2 sys_wHscChannel2ControlCode
DT90192
High-speed counter: control
code monitor for channel
3 sys_wHscChannel3ControlCode
DT90193
High-speed counter or pulse
output control code
sys_wHscOrPulseControlCode DT90052
Содержание AFPG951T34
Страница 7: ......
Страница 17: ......
Страница 18: ...Chapter 1 Safety Measures ...
Страница 21: ......
Страница 22: ...Chapter 2 Overview ...
Страница 32: ...Chapter 3 CPU Types ...
Страница 47: ...CPU Types FPΣ User s Manual 30 LD Body ...
Страница 51: ...CPU Types FPΣ User s Manual 34 POU Header and LD Body ...
Страница 55: ...CPU Types FPΣ User s Manual 38 LD Body ...
Страница 57: ......
Страница 58: ...Chapter 4 Expansion ...
Страница 73: ......
Страница 74: ...Chapter 5 I O Allocation ...
Страница 81: ......
Страница 82: ...Chapter 6 Installation and Wiring ...
Страница 104: ...FPΣ User s Manual 6 4 Input and Output Wiring 87 A FPΣ 1 Output terminal 2 Load 3 Inductor COM 2 1 3 ...
Страница 115: ......
Страница 116: ...Chapter 7 High Speed Counter and Pulse Output ...
Страница 169: ......
Страница 170: ...Chapter 8 Communication ...
Страница 227: ...Communication FPΣ User s Manual 210 LD Body ST Body ...
Страница 233: ...Communication FPΣ User s Manual 216 POU Header LD Body ...
Страница 236: ...FPΣ User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2 ...
Страница 237: ...Communication FPΣ User s Manual 220 2 2 ST Body ...
Страница 266: ...Chapter 9 Security Functions ...
Страница 273: ......
Страница 274: ...Chapter 10 Other Functions ...
Страница 277: ......
Страница 278: ...Chapter 11 Troubleshooting ...
Страница 289: ......
Страница 290: ...Chapter 12 Appendix ...