2 Product description
2.6 Counter modules EPM-S600 ... EPM-S603 – control and status words
29
Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2.6.4 EPM-S601 control word
2.6.5 Status word EPM-S602
* The bits are set until reset with RES_SET (bit 6 control word)
Bit Name Function
0- Reserved
1 CTRL_COMP_SET Enables the comparison bit
2 SW_GATE_SET Sets the software gate
3- Reserved
4- Reserved
5 COUNTERVAL_SET Set counter temporarily to the value in the preset value
6 RES_SET Resets bits STS_CMP, STS_END, STS_OFLW, STS_UFLW and STS_ZP with a
rising edge
7- Reserved
8- Reserved
9 CTRL_COMP_RESET Inhibit comparison bit
10 SW_GATE_RESET Resets the software gate
11 ... 15 - Reserved
Bit Name Function
0STS_SYNC Reset was active
1 STS_CTRL_COMP Is set if the comparison bit is enabled
2 STS_SW-GATE Software gate status (set if SW gate active)
3 STS_RST Status of the reset input
4- Reserved
5 STS_GATE Status of internal gate (set if internal gate active)
6 STS_COMP Status of comparison bit
7 STS_C_DN Status set in the case of backward counter direction
8 STS_C_UP Status set in the case of forward counter direction
9 STS_CMP* Status of comparator is set if the comparison condition is met.
If the comparison is deactivated, (counter mode byte 1 = 0b000), the bit has
no function.
10 STS_END* Status set if final value has been reached
11 STS_OFLW* Status set in the case of an overflow
12 STS_UFLW* Status set in the case of an underflow
13 STS_ZP* Status set in the case of a zero crossing
14 - Reserved
15 - Reserved