6
PLC device configuration ....................................................................................................................... 115
6.1
6.1.1
System block ......................................................................................................................... 115
6.1.2
Configuring communication .................................................................................................. 117
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........................................................................................................... 145
6.1.17
6.2
High-speed I/O ...................................................................................................................... 148
7
Program instructions .............................................................................................................................. 149
7.1
Bit logic ................................................................................................................................. 149
7.1.1
Standard inputs ..................................................................................................................... 149
7.1.2
Immediate inputs ................................................................................................................... 151
7.1.3
Logic stack overview ............................................................................................................. 152
7.1.4
7.1.5
NOT ...................................................................................................................................... 156
7.1.6
7.1.7
7.1.8
7.1.9
7.1.10
7.1.11
Bit logic input examples ........................................................................................................ 162
7.1.12
Bit logic output examples ...................................................................................................... 163
7.2
Clock ..................................................................................................................................... 165
7.2.1
7.2.2
7.3
Communication ..................................................................................................................... 170
7.3.1
GET and PUT (Ethernet) ...................................................................................................... 170
7.3.2
7.3.3
7.3.4
7.4
Compare ............................................................................................................................... 192
7.4.1
Compare number values ...................................................................................................... 192
7.4.2
Compare character strings ................................................................................................... 196
7.5
Convert ................................................................................................................................. 198
7.5.1
7.5.2
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
Table of contents
7