Controlling The Ip Outputs Via The S5 Cpu (Hand=1); Control Bits For S5 Cpu Control Of The Ip Outputs; Control Bits For Disabling The Ip Outputs - 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

Controlling the IP outputs via the S5 CPU (HAND=1)

You can define the states which the IP outputs are to assume via the S5 CPU using control bits
DA1S and DA2S.
DAnS=1 Output Dn is to be set.
DAnS=0 Output Dn is to be reset.
The IP 240 accepts HAND=1 only when the IP outputs are disabled (status bits DA1/DA2=0) and
no position number is included in the control bit transfer.

Control bits for S5 CPU control of the IP outputs

AMSK
ZYSY
0/1
0
The permissible combinations of DA1S and DA2S depend on the DAV parameter, and are checked
by the module firmware. If an illegal bit combination is transferred, an error is flagged and the bit
combination rejected.
The following bit combinations are permitted:
DA1S DA2S
DA1S DA2S
DAV
=0
1
0
Disabling the IP outputs via control bit FREI (FREI=0)
You can disable the active outputs of a channel by transferring FREI=0 to the IP 240. The outputs
remain disabled until you transfer FREI=1. If you interrupt positioning with FREI=0, the outputs
are not reenabled until a new position number has
position number when you
disable the outputs (FREI=0) or
reenable the outputs (FREI=1).

Control bits for disabling the IP outputs

AMSK
ZYSY
0/1
0
Control FB 168 provides a special function number (FKT=20,1) for disabling the outputs. When
this function number is initialized, the FB sets the FREI bit to "0" in the specified function block,
then transfers the control bits to the IP 240.
Note
Starting positioning in the vicinity of range BEE1 or BEE2 may result in a change
from rapid traverse to creep speed and in disabling of the outputs under starting
conditions. To prevent this, you must evaluate the IP 240 status info (status bits
and actual value) following transfer of the target position with FREI=0 before
enabling the outputs with FREI=1.
EWA 4NEB 811 6120-02a
SOSY
HASY
0
0
DA1S DA2S
DAV
=1
0
1
1
SOSY
HASY
0
0
DA2S
DA1S
x
x
DA1S DA2S
DAV
=2
1
0
1
been selected. You can transfer the new
DA2S
DA1S
0/1
0/1
Positioning
HAND
FREI
1
1
x) depending on the DAV parameter
DA1S DA2S
DA1S DA2S
1
0
0
HAND
FREI
0/1
0
1
10-55

Advertisement

Table of Contents
loading

Table of Contents