Substitution Operations (Only For The S5-95U) - Siemens SIMATIC S5-90U System Manual

Table of Contents

Advertisement

STEP 5 Operations

8.2.11 Substitution Operations (only for the S5-95U)

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 follow.
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 6115-02b
S5-90U/S5-95U
Data
type
BI

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents