Instructions And System Variables - Panasonic FPS Series User Manual

Table of Contents

Advertisement

High-Speed Counter and Pulse Output

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
High-speed counter: control
flag for channel
High-speed counter: elapsed
value of channel
High-speed counter: target
value of channel
High-speed counter: control
code monitor for channel
High-speed counter or pulse
output control code
110
System variable
0
sys_bIsHscChannel0ControlActive
1
sys_bIsHscChannel1ControlActive
2
sys_bIsHscChannel2ControlActive
3
sys_bIsHscChannel3ControlActive
0
sys_diHscChannel0ElapsedValue
1
sys_diHscChannel1ElapsedValue
2
sys_diHscChannel2ElapsedValue
3
sys_diHscChannel3ElapsedValue
0
sys_diHscChannel0ControlTargetValue
1
sys_diHscChannel1ControlTargetValue
2
sys_diHscChannel2ControlTargetValue
3
sys_diHscChannel3ControlTargetValue
0
sys_wHscChannel0ControlCode
1
sys_wHscChannel1ControlCode
2
sys_wHscChannel2ControlCode
3
sys_wHscChannel3ControlCode
sys_wHscOrPulseControlCode
FPΣ User's Manual
Address
R903A
R903B
R903C
R903D
DDT90044
DDT90048
DDT90200
DDT90204
DDT90046
DDT90050
DDT91202
DDT91206
DT90190
DT90191
DT90192
DT90193
DT90052

Advertisement

Table of Contents
loading

Table of Contents