Allen-Bradley Micro830 Manual page 172

Hide thumbs Also See for Micro830:
Table of Contents

Advertisement

Chapter 8
Use the High-Speed Counter and Programmable Limit Switch
158
HscCmd = 4 (reset) sets the Acc value to the HSC AppData.Accumalator value.
The HscCmd =4 does not stop HSC counting. If HSC is counting when the
HscCmd =4 is issued, some counting may be lost.
To reset the Acc value and then continue the counting, trigger the HscCmd =4
only once. If the command is enabled continuously, it may cause errors.
HSC AppData.Accumalator value is updated automatically by the HSC
mechanism with the same value as the HSC Sts.Accumulator. To set one specific
value to HSC Acc while counting, write the value to HSC AppData.Accumalator
immediately before HscCmd =4 is issued.
HSC Commands
HSC Command
Description
0x00
Reserved
0x01
HSC RUN
• Start HSC (if HSC in Idle mode and Rung is Enabled)
• Update HSC Status Info only (if HSC already in RUN mode and Rung
is Enabled)
• Update HSC status Info only (if Rung is disabled)
0x02
HSC Stop: Stop a HSC counting (if HSC is in RUN mode and Rung is Enabled.)
0x03
HSC Load: reload HSC Configuration (if Rung is Enabled) for 6 input elements:
HPSetting, LPSetting, HPOutput, LPOutput, OFSetting, and UFSetting. HSC
accumulator is NOT reloaded by cmd = 0x03.
0x04
HSC Reset: set Accumulator to assigned value, and reset HSC status
information (if Rung is Enabled)
HSC Function Block Status Codes
HSC Status Code
0x00
0x01
0x02
0x03
0x04
Description
No action from Controller because the function block is not
enabled
HSC function block successfully executed
HSC command invalid
HSC ID out of range
HSC Configuration Error
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micro850Micro870

Table of Contents