Communication via PROFIBUS
Cyclic communication
4-116
E Siemens AG, 2004. All rights reserved
SINAMICS S120 Installation and Start-Up Manual, 12/04 Edition
Encoder 2 control word (G2_CTW)
S see G1_CTW (Table 4-13)
Encoder 3 control word (G3_CTW)
S see G1_CTW (Table 4-13)
Encoder 1 status word (G1_STW)
The encoder status word is used to display states, errors and acknowledgements.
Table 4-14 Description of the individual signals in Gx_STW
Bit
Name Signal state, description
0
Valid for find reference marker and measurement on-the-fly
Bit Meaning
0 Function 1 Reference marker 1
1
Status:
0 Function 1 Reference marker 1
Probe 1 positive edge
1 Function 2 Probe 1 negative edge
2
u
1 – 4
active
2 Function 3 Probe 2 positive edge
3 Function 4 Probe 2 negative edge
3
Note:
S Bit x = 1 Function active
Bit x = 0 Function inactive
4
Find refer-
ence
marker
Valid for find reference marker and measurement on-the-fly
Bit Meaning
4 Value 1 Reference marker 1
Probe 1
ositive ed
e
5
Measure-
ment on-
the-fly
Status:
5 Value 2 Probe 1 negative edge
6 Value 3 Probe 2 positive edge
7 Value 4 Probe 2 negative edge
6
u
1 – 4
available
Note:
S Bit x = 1 Value available
Bit x = 0 Value not available
S Only one value can be fetched at a time.
7
Reason: only one shared status word Gx_XACT2 is available for
reading the values.
S The probe must be configured to a “high-speed input” DI/DO on the
Control Unit.
Probe 1
1 Probe deflected (high signal)
8
deflected
0
Probe not deflected (low signal)
Probe 2
1 Probe deflected (high signal)
9
deflected
0
Probe not deflected (low signal)
10 Reserved -