Table of contents
8.5.1.8
8.5.1.9
8.5.1.10
8.5.1.11
8.5.1.12
Device database file: GSD ................................................................................................... 440
8.5.1.13
8.5.1.14
8.6
RS485 .................................................................................................................................. 446
8.6.1
PPI protocol .......................................................................................................................... 447
8.6.2
8.6.2.1
8.6.2.2
8.6.3
8.6.3.1
8.6.3.2
8.6.4
Assigning RS485 addresses ................................................................................................ 452
8.6.4.1
8.6.4.2
8.6.5
Building your network ........................................................................................................... 458
8.6.5.1
General guidelines ............................................................................................................... 458
8.6.5.2
8.6.5.3
Repeaters on the network .................................................................................................... 459
8.6.5.4
8.6.5.5
Connector pin assignments ................................................................................................. 460
8.6.5.6
8.6.5.7
8.6.5.8
8.6.6
Freeport mode...................................................................................................................... 465
8.6.6.1
8.6.6.2
8.7
RS232 .................................................................................................................................. 470
9
Libraries ............................................................................................................................................... 471
9.1
9.2
9.2.1
Modbus addressing .............................................................................................................. 473
9.2.2
9.3
Modbus RTU library ............................................................................................................. 476
9.3.1
9.3.1.1
9.3.1.2
9.3.1.3
9.3.2
Modbus RTU master ............................................................................................................ 479
9.3.2.1
9.3.2.2
9.3.2.3
9.3.2.4
9.3.3
Modbus RTU slave .............................................................................................................. 489
9.3.3.1
9.3.3.2
10
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART