Communication
9.2 Communication according to PROFIdrive
Function Manual
Function Manual, 01/2011, 6SL3097-4AB10-0BP3
559
Encoder n control word (Gn_STW, n = 1, 2)
The encoder control word controls the encoder functions.
Table 9- 24 Description of the individual signals in Gn_STW
Bit Name Signal status, description
If bit 7 = 0, then find reference mark request applies:
Bit Meaning
0 Function 1 Reference mark 1
1 Function 2 Reference mark 2
2 Function 3 Reference mark 3
3 Function 4 Reference mark 4
If bit 7 = 1, then find flying measurement request applies:
0 Function 1 Probe 1 rising edge
1 Function 2 Probe 2 falling edge
2 Function 3 Probe 3 rising edge
3 Function 4 Probe 4 falling edge
Note:
Bit x = 1
Bit x = 0
Request function
Do not request function
0
1
2
3
Find reference
mark or flying
measurement
Functions
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 corresponding status
bit (ZSW.0/.1/.2/.3 "0" signal again).
Find reference mark
It is possible to search for a reference mark.
Equivalent zero mark
Flying measurement
Positive and negative edge can be activated simultaneously.
Bit 6, 5, 4 Meaning
000 –
001 Activate function x
010 Read value x
011 Terminate function
4
5
6
Command
(x: function selected via bit 0-3)
1 Flying measurement (fine resolution via p0418) 7 Mode
0 Find reference mark (fine resolution via p0418)
8...12 Reserved –
1 Request cyclic transmission of the absolute position actual value in
Gn_XIST2.
Used for (e.g.):
Additional measuring system monitoring
Synchronization during ramp-up
13 Request cyclic absolute value
0 No request