Siemens CPU 948 Programming Manual page 92

Simatic s5 s5-155u
Table of Contents

Advertisement

Basic Operations
Example
Set/reset operations
Table 3-3
Set/reset operations
Operation
Operand
S
R
I
0.0 to 127.7
Q 0.0 to 127.7
F 0.0 to 255.7
S 0.0 to 4095.7
D 0.0 to 255.15
=
I
0.0 to 127.7
Q 0.0 to 127.7
F 0.0 to 255.7
S 0.0 to 4095.7
D 0.0 to 255.15
3 - 20
Within a sequence of logic operations, the RLO is formed from the type
of operation, previous RLO and the scanned signal state. A sequence of
logic operations is completed by an operation (e.g. set/reset operations)
which retains the RLO (ERAB = 0). Following this, the RLO can be
evaluated but cannot be further combined.
Program
Status
:
=
Q 0.0
0
A
I
1.0
1
A
I
1.1
1
A
I
1.2
0
=
Q 0.1
0
Function
Set if RLO = 1
Reset if RLO = 1
an input in the PII
an output in the PIQ
a flag
an S flag
a bit in the data word
The RLO is assigned to
an input in the PII
an output in the PIQ
a flag
an S flag
a bit in the data word
RLO
ERAB
0
0
RLO retained
1
1
first bit scan
1
1
0
1
0
0
RLO retained, end of
the logic operations
sequence
CPU 948 Programming Guide
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents