Siemens SIMATIC IM 151/CPU Manual page 174

Interface module for et 200s distributed i/o system
Table of Contents

Advertisement

Instruction List
B.27
Addition via the Address Register
Addition of an integer (16 bits) to the contents of the address register. The value is
in the instruction or in ACCU 1-L. The indicators are not affected.
In-
Address
Address
struc-
str c
ID
tion
+AR1
Add contents of ACCU1-L to AR1
+AR1
m
Add pointer constant to AR1
+AR2
Add contents of ACCU1-L to AR2
+AR2
m
Add pointer constant to AR2
B.28
Comparison Instructions with Integers (16 Bits)
Comparison of the integers (16 bits) in ACCU1-L and ACCU2-L. RLO=1 if the
condition is satisfied.
In-
Address
struc-
ID
tion
==I
ACCU2-L=ACCU1-L
<>I
ACCU2-L ACCU1-L
<I
ACCU2-L<ACCU1-L
<=I
ACCU2-L<=ACCU1-L
>I
ACCU2-L>ACCU1-L
>=I
ACCU2-L>=ACCU1-L
Status word for:
==I, <>I, <I, <=I, >I,
>=I
Instruction depends on:
Instruction controls:
B-40
Description
Description
Description
BR
A1
A0
Yes
Yes
Length
Typical Execution Time in
Typical Execution Time in
in
i
s
Words
1
0.3
2
0.3
1
0.3
2
0.3
Length
Typical Execution Time in
in
s
Words
1
1.4
1
1.5
1
1.5
1
1.4
1
1.5
1
1.4
OV
OS
OR
STA
0
0
Yes
ET 200S Interface Module IM 151/CPU
A5E00058783-01
RLO
/FC
Yes
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents