www.balluff.com
13
english
4.3.3 G1_STW – Sensor 1 control word
The sensor control word controls the most important
encoder functions.
Bits 0…10
Bits 0…10 are not used.
Bit 11 (Home Position Mode) and bit 12 (Request set/
shift of home position)
Bit 11 (Home Position Mode) and 12 (Request set/shift of
home position) control the offset. They are edge-triggered
signals to control the internal offset calculation. This means
that only their status change triggers an action. In case of
a pending error, the offset cannot be set.
If bit 12 is set to “Low,” the offset calculation is in normal
mode. The offset calculation is not changed, regardless of
the status of bit 11.
If bit 12 switches from low to high while bit 11 is set to low,
the offset is changed into absolute mode.
Here the position offsets are taken from parameters 2000
(for magnet 1) to 2015 (for magnet 16) and an offset value
is calculated for each magnet so that the current position
added to the position offset gives the preset value:
– Offset = Preset – Parameter 20nn
– Output position = position value + offset value
Fig. 4-3: Offset absolute mode
The parameter for encoder profile 65000 (preset
value) is identical to parameter 2000 and only
affects magnet 1.
If bit 11 and bit 12 switch to high at the same time, the
offset is set to relative mode. In this case, the preset value
from parameter 20nn is interpreted as the offset value and
added to the position value:
– Offset = Parameter 20nn
– Output position = position value + offset value =
position value + parameter 20nn
Fig. 4-4: Offset relative mode
Bit 13 (Request absolute value cyclically)
This bit requests the additional sending of the position
value (actual value) in G1_XIST2. If this bit is deleted, an
invalid value is sent in accordance with specifications, in
our case the error value (16#7FFFFFFF). In the case of an
error, G1_XIST2 always contains the error code,
regardless of whether the bit is set or not.
Bit 14 (Activate parking sensor)
In
Parked
state the encoder remains on the bus with an
active life sign:
– Position data is output.
– The encoder error and diagnostic are switched off. No
error reports are transferred via diagnostic.
– Existing alarms and warnings are deleted.
Setting this bit switches the sensor into this state.
Bit 15 (Acknowledge a sensor error)
Setting this bit acknowledges and resets an encoder error.
The acknowledgment has no effect if the cause for the
error persists.
4
Configuration (continued)
BTL7-T500-…
Configuration Guide
Содержание BTL7-T500 Series
Страница 1: ...BTL7 T500 Konfigurationsanleitung deutsch ...
Страница 2: ...www balluff com ...
Страница 42: ...BTL7 T500 Configuration Guide english ...
Страница 43: ...www balluff com ...