Jump Operation - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
Transferring to the system data area
Example: Set the scan monitoring time to 100 msec. after each mode change from "STOP" to
"RUN". Program the time as a multiple of ten in system data word 96
function block can be called from OB21, for example.
STL
FB 11
Process OB21 when the PC is switched on.
L
KF
10
Load ACCUM 1 with the factor 10.
T
RS 96
Transfer this value to system data word 96.
BE
Caution
!
The TIR, TDI, TBS and TNB operations are memory changing operations with which you
can accesss the user memory and the system data area. These accesses are not
monitored by the operating system. Improper use of the operations can lead to
changes in the program and to a CPU crash.

8.3.3 Jump Operation

You can use a label to specify a jump destination within function blocks. For this jump operation,
use a fixed-point number to indicate the jump displacement. Table 8-28 explains the "JUR"
operation.
Operation
Operand
JUR
* Not in the case of the CPU 941
EWA 4NEB 811 6130-02b
Table 8-28. "JUR" Operation
Jump relatively
Interrupt linear program scanning and continue at the point
specified by the jump displacement.
Parameter
- 32768 to +32767
Explanation
Meaning
STEP 5 Operations
*
. The following
8-69

Advertisement

Table of Contents
loading

Table of Contents