06.03
7.3 SIMATIC S7 project
7-226
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
Description of the encoder control word (extract) with regard to:
S Reference mark search
S In-process measurement.
Bit Name Signal state, description
0
Bit 7 = 0 => Request: Reference mark search
Bit Meaning
0 Function 1: Referencing using a zero mark
(except for “611U conformant mode”)
1 Function 2: Referencing using a rising edge of the associated BERO
2 Function 3: Referencing using a falling edge of the associated BERO
3 Function 4: not used
1
Func-
Bit 7 = 1 => Request: In-process measurement.
Bit Meaning
0 Function 1: Sensor 1 rising edge
1 Function 2: Sensor 1 falling edge
2 Function 3: Sensor 2 rising edge
3 Function 4: Sensor 2 falling edge
2
Reference
mark
search
or
In-process
-
tions
Tip:
S Bit x = 1 Function requested
Bit x = 0 Function not requested
S If more than one function is activated, then:
The values for all functions can only be read when each activated function has
been terminated and this has been confirmed with the corresponding status bit
3
-
ment.
een
erm
na
e
an
s
as
een
con
rme
w
e
correspon
ng
s
a
us
(G1_ZS Bit0 / 3 “0” signal again).
S In-process measurement.
A rising and falling edge can be activated simultaneously.
The sensor signal is detected depending on the direction. The values are read out
one after the other.
4
Bit 6, 5, 4 Meaning
5
Com-
mand
001 Activate function x
6
010 Read value x
011 Cancel function x
0 Reference mark search (zero mark or BERO)
7 Mode
1 In-process measurement.
Encoder control
word
G1_STW
7 PROFIBUS DP Communication