Assignment Of The Feedback Interface In Fast Mode - Siemens SIMATIC ET 200SP Manual

Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

Configuring/address space
4.5 Control and feedback interface
4.5.3

Assignment of the feedback interface in Fast Mode

The user program receives current values and status information from the technology
module by means of the feedback interface.
Feedback interface
The following table shows the assignment of the feedback interface in Fast Mode:
Byte offset from
Parameter
start address
0 ... 3
LS
STS_READY
STS_DI2
EXT_F
STS_DI0
STS_DIR
STS_DI1
COUNT_VALUE
Explanation of feedback bits
Feedback bit
Notes
COUNT_VALUE This value returns the current counter value in the first 25 bits of a DINT value.
EXT_F
This bit indicates that one of the following errors has occurred at the encoder signals for the technology
module:
Wire break of digital input A, B or N (with push-pull encoder)
Illegal transition of A/B signals (with incremental encoder)
If you have enabled the diagnostic interrupts, the respective diagnostic interrupt is triggered in the event
of encoder signal errors. For information on the meaning of the diagnostic interrupts, refer to section
Diagnostic messages (Page 61).
The bit is reset automatically as soon as an error no longer exists.
LS
As a life sign, this bit indicates through a state change (toggling) that isochronous mode is functioning
and that the module has updated the feedback interface in the respective bus cycle.
This bit is set to 0 in non-isochronous mode.
STS_DI0
This bit indicates the status of digital input DI0.
STS_DI1
This bit indicates the status of digital input DI1.
STS_DI2
This bit indicates the status of digital input DI2.
STS_DIR
This bit indicates the count direction of the last count pulse.
0 means: Down
1 means: Up
STS_READY
This bit indicates that the technology module supplies valid user data. The technology module has been
started up and configured.
56
Meaning
Bit 31: In isochronous mode: Sign of life (toggling); without isochronous
mode: set to 0
Bit 30: Technology module started up and configured
Bit 29: Status DI2
Bit 28: Group error
Bit 27: Status DI0
Bit 26: Direction of last counter value change
Bit 25: Status DI1
Bits 0 to 24: Current counter value
Technology Module TM Count 1x24V (6ES7138-6AA00-0BA0)
Manual, 02/2017, A5E33002339-AB

Advertisement

Table of Contents
loading

Table of Contents