Insert input (S7-1200, S7-1500) - STEP 7

FBD (S7-1200, S7-1500)

ft:publication_title
FBD (S7-1200, S7-1500)
Product
STEP 7
Version
V20
Publication date
11/2024
Language
en-US
Insert input

Description

The "Insert input" instruction is used to add an input to the box of one of the following instructions:

  • "AND logic operation"

  • ""OR logic operation"

  • ""EXCLUSIVE OR logic operation"

You can query the signal state of several operands by the extension of an instruction box.

Parameters

The following table shows the parameters of the "Insert input" instruction:

Parameters

Declaration

Data type

Memory area

Description

S7-1200

S7-1500

<Operand>

Input

BOOL

I, Q, M, D, L or constant

I, Q, M, D, L, T, C or constant

The operand indicates the bit whose signal state will be queried.

Example

The following example shows how the instruction works:

The box of the "AND logic operation" instruction was extended by an additional input at which the signal state of the operand "TagIn_3" is queried. The "TagOut" output is set, when the operands "TagIn_1" and "TagIn_2" and "TagIn_3" return signal state "1".