Transferring Control Bits To Select A Synchronization Mode; Tranfer Of Control Bits Without Position Number - Siemens Simatic S5 IP 240 Manual

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

IP 240
Warning
Cyclic synchronization is also allowed when the IP outputs are set. The position
transferred goes into force immediately on an IN signal. The states of the outputs
may thus change instantaneously, causing a short-term overlap.
A bounce-free switching element must be used to generate the IN signal.

10.13.4 Transferring Control Bits to Select a Synchronization Mode

Note the following when initializing the control bits to select a synchronization mode:
You can select only one synchronization mode at a time.
You must take configuring parameter DAV into account when initializing control bits DA1S
and DA2S. The following bit combinations are permitted:
DA1S DA2S
DA1S DA2S
DAV
=0
1
0
When transferring control bits for selecting a reference point approach, note that
you may not transfer a position number with the control bits and
the IP outputs must be disabled.
The following error flags are set when illegal bit combinations are transferred to the IP 240. Such
illegal bit combinations are rejected.
Table 10-16. Contents of the DB and the Transfer Buffer for the Transfer of Control Bits
Data byte
Data
7
block
DL 36
AMSK ZYSY SOSY HASY DA2S DA1S HAND FREI
DR 36
0
with control FB 168
The new control bits must be entered in
DL 36 in the data block.
Control FB 168 must be initialized as follows:
: JU FB 168
NAME : STEU.POS
:
FKT
: 20,0
EWA 4NEB 811 6120-02a
DA1S DA2S
DAV
=1
0
1
1
Bit
6
5
4
3
. . .
0
0

Tranfer of control bits without position number

DA1S DA2S
DAV
=2
1
0
1
Offset
in transfer
2
1
0
buffer
2
3
. . .
0
in direct data interchange
You must specify the following job numbers
to transfer the control bits:
For channel 1: 1A
For channel 2: 2A
To write the control bits, you need only
transfer the byte with offset 2.
If you also write the byte with offset 3, you
must initialize this byte to "0".
Positioning
DA1S DA2S
DA1S DA2S
1
0
0
1
Description
Control bits
H
H
10-49

Advertisement

Table of Contents
loading

Table of Contents