Substitution Operations, For Cpu 103 And Higher - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

STEP 5 Operations

8.2.11 Substitution Operations, for CPU 103 and Higher

If you plan to process a program with various operands and without a lot of changes, it is advisable
to assign parameters to individual operands (see section 7.3.4). If you have to change the ope-
rands, you only need to reassign the parameters in the function block call.
These parameters are processed in the program as "formal operands".
Special operations are necessary for this processing. However, these special operations are no
different in their effect than operations without substitution. A brief description of these operations
and examples follows.
Binary Logic Operations
Table 8-21 provides an overview of binary logic operations.
Table 8-21. Overview of Binary Logic Operations
Operation
Operand
A
=
AN =
O
=
ON =
Formal operand
8-58
AND operation
Scan a formal operand for "1".
AND operation
Scan a formal operand for "0".
OR operation
Scan a formal operand for "1".
OR operation
Scan a formal operand for "0".
Actual operands permitted
Inputs, outputs, and flags
addressed in binary form
Timers and counters
Meaning
Parameter
type
I, Q, F
T, C
EWA 4NEB 812 6120-02b
S5-100U
Data
type
BI

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents