Set And Reset Instructions - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

100BBasic instructions
7.1 Bit logic
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
● If there is no power flow through an output coil or an FBD "=" assignment box is not
● If there is power flow through an inverted output coil or an FBD "/=" box is enabled, then
● If there is no power flow through an inverted output coil or an FBD "/=" box is not enabled,
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
166
Data type
Bool
bit is set to 1.
enabled, then the output bit is set to 0.
the output bit is set to 0.
then the output bit is set to 1.
SCL
Not available
Not available
Description
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.
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 location to be monitored
Bool
Bit location to be set or reset
Description
Assigned bit
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents