3.2.11 Substitution Operations - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual

3.2.11 Substitution Operations

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 ( 2.3.4).
If you have to change the operands, 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 3-21 provides an overview of binary logic operations.
Operation
Operand
A
=
AN =
O
=
ON =
Formal operand
EWA 4NEB 811 6149-02
Table 3-21. Overview of Binary Logic Operations
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
T , C
STEP 5 Operations
Data
Type
BI
3-59

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents