Using the module
5.1 Using the technology module
Counting, measurement and position detection
188 Function Manual, 12/2017, A5E32009889-AG
Assignment of the feedback interface
The user program receives current values and status information from the technology
module via the feedback interface.
Feedback interface per channel
The following table shows the assignment of the feedback interface:
Byte offset from
start address
DINT: Current counter value or position value
DINT: The last acquired Capture value
REAL: Current measured value or DWORD: Full SSI frame
12 – Bits 3 to 7: Reserve; set to 0
Bit 2: Error when loading via control interface
Bit 1: Faulty encoder signal or SSI frame
POWER_ERROR Bit 0: S7-1500 module: Incorrect supply voltage L+ / ET 200SP module:
Supply voltage L+ too low
13
Bits 6 to 7: Reserve; set to 0
Bit 5: Software gate status (with incremental or pulse encoder)
Bit 4: Technology module started up and configured
Bit 3: Load request for Slot 1 detected and executed (toggling)
Bit 2: Load request for Slot 0 detected and executed (toggling)
Bit 1: Reset of event bits active
14
Bit 7: TM Count: Status DI2 / TM PosInput, Compact CPU: Reserve; set to 0
Bit 2: Internal gate status (with incremental or pulse encoder)
STS_CNT Bit 1: Count pulse or position value change detected within the last ca. 0.5 s
Bit 0: Direction of last counter value or position value change
15 STS_M_INTERVAL Bit 7: Count pulse or position value change detected in previous measure-
Bit 6: Capture event occurred
Bit 5: Synchronization has occurred (with incremental or pulse encoder)
Bit 4: Comparison event for DQ1 has occurred
Bit 3: Comparison event for DQ0 has occurred
Bit 2: An overflow has occurred
Bit 1: An underflow has occurred
Bit 0: A zero pass has occurred