EasyManua.ls Logo

Siemens SIMATIC IM 151/CPU

Siemens SIMATIC IM 151/CPU
218 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Instruction List
B-50
ET 200S Interface Module IM 151/CPU
A5E00058783-01
B.40 Jump Instructions
Jumping as a function of conditions. The jump width in an 8-bit address ID is
between (–128 to +127). The jump width in 16-bit address IDs is between (–32768
to –129) or (+128 to +32767).
Note on JC
Please note in the case of CPU 614 programs that the jump destination always
forms the beginning of a Boolean logic string. The jump destination must not be
included in the logic string.
In-
struc-
tion
Address
ID
Description
Length
in
Words
Typical Execution Time in
s
JU LABEL Jump unconditionally 1*/2 1.8
Status word for: JU BR A1 A0 OV OS OR STA RLO /FC
Instruction depends on:
Instruction controls:
JC LABEL Jump if RLO=”1” 1/2 1.5
JCN LABEL Jump if RLO=”0” 2 1.6
Status word for: JC, JCN BR A1 A0 OV OS OR STA RLO /FC
Instruction depends on: Yes
Instruction controls: 0 1 1 0
JCB LABEL Jump if RLO=”1”
Save the RLO in the BR bit
2 1.8
JNB LABEL Jump if RLO=”0”
Save the RLO in the BR bit
2 1.8
Status word for: JCB, JNB BR A1 A0 OV OS OR STA RLO /FC
Instruction depends on: Yes
Instruction controls: Yes 0 1 1 0
JBI LABEL Jump if BR=”1” 2 1.5
JNBI LABEL Jump if BR=”0” 2 1.5
Status word for: JBI, JNBI BR A1 A0 OV OS OR STA RLO /FC
Instruction depends on: Yes
Instruction controls: 0 1 0
* 1 word long for jump widths of between –128 and +127

Table of Contents

Related product manuals