High-Speed Counter (HSC) instructions Chapter 14
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 311
HSC applies high presets, low presets and output source values to the high-speed
counter.
Arguments
Parameter Parameter type Data type Description
Enable Input BOOL Function block enable.
When Enable = TRUE, execute the HSC operation specified in the HSC command
parameter.
When Enable = FALSE, no HSC commands are issued.
HscCmd Input USINT Issues commands to the HSC.
See HSCCmd values on page 313.
HSCAppData Input HSCAPP HSC application configuration, which is usually only needed once.
See HSCAPP data type on page 314.
HSCStsInfo Input HSCSTS HSC dynamic status, which is continuously updated during HSC counting.
See HSCSTS data type on page 320.
PlsData Input DINT
UDINT
Programmable Limit Switch (PLS) data structure.
See PLS data type on page 330
Sts Output UINT HSC execution status.
See HSC status codes (Sts) on page 331.
ENO Output BOOL Enable out.
Applies only to LD programs.