HSCCmd values

The following table describes the HSC commands for each HSC command value.
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 input element HSC accumulator.
0x04
HSC Accumulator Reset (if rung is enabled).
HSC command results
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 might 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.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal