Communication via PROFIBUS
Cyclic communication
4-113
E Siemens AG, 2004. All rights reserved
SINAMICS S120 Installation and Start-Up Manual, 12/04 Edition
Encoder 1 control word (G1_CTW)
The encoder control word controls the encoder functions.
Table 4-13 Description of the individual signals in Gx_CTW
Bit
Name Signal state, description
0
If bit 7 = 0, then find reference marker request applies:
Bit Meaning
0 Function 1 Reference marker 1
1 Reserved
2 Reserved
3 Reserved
1
Func-
If bit 7 = 1, then measurement on-the-fly request applies:
Bit Meaning
0 Function 1 Probe 1 positive edge
1 Function 2 Probe 1 negative edge
2 Function 3 Probe 2 positive edge
3 Function 4 Probe 2 negative edge
2
Find refer-
ence
marker
or
Measure-
tions
Note:
S Bit x = 1 Request function
Bit x = 0 Do not request function
S The following applies if more than 1 function is activated:
The values for all functions cannot be read until each activated
function has terminated and this has been confirmed in the
3
ment on-
the-fly
corresponding status bit (STW.0/.1/.2/.3 “0” signal again).
S Find reference marker
It is possible to search for a reference marker.
S Equivalent zero mark
S Measurement on-the-fly
The positive and negative edge can be activated simultaneously.
4
Bit 6, 5, 4 Meaning
000 –
5
Com-
mand
001 Activate function x
010 Read value x
6
011 Abort function x
(x: function selected via bits 0 – 4)
1 Measurement on-the-fly (fine resolution via p418)
7 Mode
0
Find reference marker (fine resolution via p418)
8
...
12
Reserved -