Siemens SIMATIC S7 System Manual page 7

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

6
PLC device configuration .................................................................................................................... 133
6.1
Configuring the operation of the PLC system ....................................................................... 133
6.1.1
System block ......................................................................................................................... 133
6.1.2
Configuring communication .................................................................................................. 135
6.1.3
Configuring the digital inputs ................................................................................................ 138
6.1.4
Configuring the digital outputs .............................................................................................. 140
6.1.5
Configuring the retentive ranges ........................................................................................... 141
6.1.6
Configuring system security .................................................................................................. 143
6.1.7
Configuring the startup options ............................................................................................. 147
6.1.8
Configuring the analog inputs ............................................................................................... 148
6.1.9
Reference to the analog inputs technical specifications ....................................................... 150
6.1.10
Configuring the analog outputs ............................................................................................. 151
6.1.11
Reference to the analog outputs technical specifications..................................................... 152
6.1.12
Configuring the RTD analog inputs ....................................................................................... 153
6.1.13
Configuring the TC analog inputs ......................................................................................... 158
6.1.14
Configuring the RS485/RS232 CM01 communications signal board ................................... 162
6.1.15
Configuring the BA01 battery signal board ........................................................................... 163
6.1.16
Clearing PLC memory........................................................................................................... 164
6.1.17
Creating a reset-to-factory-defaults memory card ................................................................ 167
6.2
High-speed I/O ...................................................................................................................... 168
7
Program instructions ........................................................................................................................... 169
7.1
Bit logic ................................................................................................................................. 169
7.1.1
Standard inputs ..................................................................................................................... 169
7.1.2
Immediate inputs ................................................................................................................... 171
7.1.3
Logic stack overview ............................................................................................................. 172
7.1.4
STL logic stack instructions .................................................................................................. 174
7.1.5
NOT....................................................................................................................................... 176
7.1.6
Positive and negative transition detectors ............................................................................ 177
7.1.7
Coils: output and output immediate instructions ................................................................... 178
7.1.8
Set, reset, set immediate, and reset immediate functions .................................................... 179
7.1.9
Set and reset dominant bistable ........................................................................................... 180
7.1.10
NOP (No operation) instruction ............................................................................................. 181
7.1.11
Bit logic input examples ........................................................................................................ 182
7.1.12
Bit logic output examples ...................................................................................................... 183
7.2
Clock ..................................................................................................................................... 185
7.2.1
Read and set real-time clock ................................................................................................ 185
7.2.2
Read and set real-time clock extended ................................................................................ 187
7.3
Communication ..................................................................................................................... 191
7.3.1
GET and PUT (Ethernet) ...................................................................................................... 191
7.3.2
Transmit and receive (Freeport on RS485/RS232) .............................................................. 199
7.3.3
7.3.4
Get IP address and set IP address (Ethernet) ...................................................................... 214
7.3.5
Open user communication .................................................................................................... 217
7.3.5.1
OUC instructions ................................................................................................................... 217
7.3.5.2
OUC instruction error codes ................................................................................................. 228
7.4
Compare ............................................................................................................................... 230
7.4.1
Compare number values ...................................................................................................... 230
7.4.2
Compare character strings ................................................................................................... 234
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Table of contents
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents