Other Operations; Condition Code Generation - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual
3.3.4

Other Operations

Table 3-29 provides an overview of further system operations.
Table 3-29. The "TAK" and "STS" and "DI" Operations
Operation
Operand
TAK
STS
DI*
Formal
operand
* DI must not be used in safety-related program sections
Processing the "STS" operation
When the "STS" operation is executed, the CPU goes into the "STOP" mode immediately. Program
scanning is terminated at this point. The "STOP" state can only be canceled manually (with the
mode selector) or with the programmer function "PLC START".
3.4

Condition Code Generation

The processor of the S5-115F programmable controller has the following three condition codes:
CC 0
CC 1
OV (overflow)
The following operations affect the condition codes:
Comparison operations
Arithmetic operations
Shift operations
Some conversion operations
The state of the condition codes represents a condition for the various jump operations.
EWA 4NEB 811 6149-02
Exchange accumulator contents
The contents of ACCUM 1 and ACCUM 2 are exchanged
independent of the RLO. The RLO and condition codes are not
affected.
Immediate Stop
The CPU is brought to STOP independently of the RLO.
Execute indirect
An operation is indicated via a formal operand.
Meaning
STEP 5 Operations
3-69

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents