Set And Reset Instructions - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Basic instructions
7.1 Bit logic operations
Table 7- 7
Data types for the parameters
Parameter
OUT
● If there is power flow through an output coil or an FBD "=" box is enabled, then the output
bit is set to 1.
● If there is no power flow through an output coil or an FBD "=" assignment box is not
enabled, then the output bit is set to 0.
● If there is power flow through an inverted output coil or an FBD "/=" box is enabled, then
the output bit is set to 0.
● If there is no power flow through an inverted output coil or an FBD "/=" box is not enabled,
then the output bit is set to 1.
7.1.2

Set and reset instructions

Set and Reset 1 bit
Table 7- 8
S and R instructions
LAD
FBD
For LAD and FBD: These instructions can be placed anywhere in the network.
1
For SCL: You must write code to replicate this function within your application.
2
Table 7- 9
Data types for the parameters
Parameter
IN (or connect to contact/gate logic)
OUT
206
Data type
Bool
SCL
Description
Not available
Set output:
When S (Set) is activated, then the data value at the OUT
address is set to 1. When S is not activated, OUT is not
changed.
Not available
Reset output:
When R (Reset) is activated, then the data value at the OUT
address is set to 0. When R is not activated, OUT is not
changed.
Data type
Description
Bool
Bit tag of location to be monitored
Bool
Bit tag of location to be set or reset
Description
Assigned bit
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG

Advertisement

Table of Contents
loading

Table of Contents