Accessing the HSC special data registers

In this example the system variables of the high-speed counter are called in a ladder diagram. The numbers of data registers differ for the PLC type used.

System variable

FP0 (2,7k, 5k)

FP0 (10k)

FP-S

FP-X

sys_wHscOrPulseControlCode

DT9052

DT90052

DT90052

DT90052

sys_diHscChannel2ElapsedValue

DT9104

DT90104

DT90200

DT90308

sys_bIsHscChannel2ControlActive

R903C

R903C

R903C

R9112

POU header

All input and output variables used for programming this function have been declared in the POU header.

LD body

Modified on: 2024-10-18Feedback on this pagePanasonic hotline