Siemens CPU 948 Programming Manual page 104

Simatic s5 s5-155u
Table of Contents

Advertisement

Basic Operations
Comparison operations
Table 3-8
Comparison operations
Operation
Operand
! =
><
F
>
D
> =
G
<
<=
Block operations
Table 3-9
Block operations
Operation
Operand
J U
J C
OB
1 to 39
OB
121 to 255
PB
0 to 255
FB
0 to 255
SB
0 to 255
D O U
D O C
FX
0 to 255
B E
B E C
B E U
C
DB
2 to 255
C X
DX
3 to 255
G
DB
2 to 255
GX
DX
3 to 255
1)
only for test purposes!
3 - 32
Function
Compare for equal to
Compare for not equal to
Compare for greater than
Compare for greater than or equal to
Compare for less than
Compare for less than or equal to
...F:
...D:
...G:
Function
Jump unconditionally
Jump conditionally (only when RLO = 1)
1)
to an organization block
to a system program special function
to a program block
to an FB function block
to a sequence block
Jump unconditionally
Jump conditionally (only when RLO = 1)
to an FX function block
Block end
Block end, conditional (only when RLO = 1)
Block end, unconditional
Call a DB data block
Call a DX data block
Generate data block DB
Generate data block DX
(ACCU 1 must contain the number of data words
– maximum 4091 – that the new block is to have )
compare two fixed point numbers (16 bits)
compare two fixed point numbers (32 bits)
compare two floating point numbers (32 bits)
CPU 948 Programming Guide
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents