WAGO-SPEEDWAY 767
Counter Function
85
767-5201 TTL Incremental/SSI Encoder
Manual
Version 1.1.0
9.2
Controlling and Monitoring the Counter via the
Process Data
The status and control bytes that can be used to monitor and control the counter
will be subsequently explained:
9.2.1
Status Bytes
The counter reading is output via the status bytes in the process image, which are
defined as follows:
Table 49: Status byte S0
Status byte S0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Upper
limit value
Lower
limit value
Over/
underrun
Cam status
Preset
status
Counting
direction
status
Gate status
Latch
status
Latch status
Current status of the latch signal.
0 Waiting for external latch event.
1 External latch event has occurred.
Gate status
Current status of the gate counter.
0 Gate is locked.
1 Gate is unlocked.
Counting direction
status
0 Counting direction forwards.
1 Counting direction backwards.
Preset status
0 Waiting for preset input.
1 Preset has been triggered.
Cam status
0 No cam is switched.
1 At least one cam is switched.
Over/underrun
1 Counter over/underrun detected.
Lower limit value
1 Value has fallen below lower limit value
Upper limit value
1 Upper limit value exceeded