Siemens SINUMERIK 840Di Manual page 226

Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

7 PROFIBUS DP Communication
7.3 SIMATIC S7 project
Encoder control
word
G1_STW
Bit
Name
0
1
Func-
Func-
tions
Reference
mark
search
2
or
In-process
measure-
measure-
ment.
3
4
Com-
5
mand
mand
6
7
7
Mode
Mode
7-226
Description of the encoder control word (extract) with regard to:
S
Reference mark search
S
In-process measurement.
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
3
Function 4: not used
Function 4: not used
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
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
been terminated and this has been confirmed with the corresponding status bit
(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.
Bit 6, 5, 4
Meaning
000
000
Basic setting
Basic setting
001
Activate function x
010
010
Read value x
Read value x
011
Cancel function x
0
Reference mark search (zero mark or BERO)
1
In-process measurement.
Signal state, description
 Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
06.03

Advertisement

Table of Contents
loading

Table of Contents