EasyManua.ls Logo

Allen-Bradley Micro800 - Hsccmd Values

Allen-Bradley Micro800
652 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High-Speed Counter (HSC) instructions Chapter 14
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 313
Structured Text (ST)
HSCCmd values
The following table describes the HSC commands for each HSC command value.
HSC command Command description
0x01 HSC RUN
Start HSC (if HSC is in Idle mode and the rung is enabled).
Update HSC Status Information only (if HSC in Run mode and the rung is enabled).
0x02 HSC Stop: Stop a HSC counting (if HSC is in Run mode and the rung is enabled).
0x03 HSC Load/Set: reload the HSC Application Data (if rung is enabled) for 6 input elements:
HPSetting, LPSetting, HPOutput, LPOutput, OFSetting, and UFSetting.
Note: This command does not re-load the following input element: HSC accumulator.
0x04 HSC Accumulator Reset (if rung is enabled).
HSC command results
The following table describes the results of issuing HSC commands in different
situations.
Command value Result Conditions
HscCmd =1 Starts the HSC mechanism, and the HSC transitions to
running mode.
Setting the Enable input parameter to False does not stop counting
while in running mode.
HscCmd =2 must be issued to stop counting.
The HSC mechanism automatically updates values. HSC AppData.Accumalator is updated with HSC Sts.Accumulator
HscCmd =4 (reset) Sets the HSC Acc value to the HSC
AppData.Accumalator value.
HscCmd =4 does not stop HSC counting.
If HSC is counting when HscCmd =4 is issued, some counting may be lost
To set a specific value to HSC Acc while counting, write the value to HSC
AppData.Accumalator immediately before HscCmd =4 is issued.

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals