Description
You can use the "Reset output" instruction to reset the signal state of a specified operand to "0".
The instruction is only executed if the result of logic operation (RLO) at the box input is "1". If the box input has the signal state "1", the specified operand is reset to "0". If there is an RLO of "0" at the box input, the signal state of the specified operand remains unchanged.
Parameters
The following table shows the parameters of the "Reset output" instruction:
|
Parameters |
Declaration |
Data type |
Memory area |
Description |
|
|---|---|---|---|---|---|
|
S7-1200 |
S7-1500 |
||||
|
<Operand> |
Output |
BOOL |
I, Q, M, D, L |
I, Q, M, D, L, T, C |
Operand that is reset if RLO = "1". |
Example
The following example shows how the instruction works:
Operand "TagOut" is reset when one of the following conditions is fulfilled:
-
The operands "TagIn_1" and "TagIn_2" have signal state "1".
-
The operand "TagIn_3" has the signal state "0".