6
PLC device configuration .................................................................................................................... 133
6.1
6.1.1
System block ......................................................................................................................... 133
6.1.2
Configuring communication .................................................................................................. 135
6.1.3
6.1.4
6.1.5
6.1.6
6.1.7
6.1.8
6.1.9
6.1.10
6.1.11
6.1.12
6.1.13
6.1.14
6.1.15
6.1.16
Clearing PLC memory........................................................................................................... 164
6.1.17
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
7.1.5
NOT....................................................................................................................................... 176
7.1.6
7.1.7
7.1.8
7.1.9
7.1.10
7.1.11
Bit logic input examples ........................................................................................................ 182
7.1.12
Bit logic output examples ...................................................................................................... 183
7.2
Clock ..................................................................................................................................... 185
7.2.1
7.2.2
7.3
Communication ..................................................................................................................... 191
7.3.1
GET and PUT (Ethernet) ...................................................................................................... 191
7.3.2
7.3.3
7.3.4
7.3.5
Open user communication .................................................................................................... 217
7.3.5.1
OUC instructions ................................................................................................................... 217
7.3.5.2
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