Saia-Burgess Controls AG
Ethernet manual for the Saia PCD
®
series │ Document 26-776 ENG13 │ 2019-08-08
Content
0-2
0
3.3 Open Data Mode via TCP/IP or UDP/IP ......................................................... 3-13
3.4 Layout and structure of the network ................................................................ 3-15
3.4.1 Hubs (star network) ......................................................................................... 3-15
3.4.2 Switches .......................................................................................................... 3-15
3.4.3 Router ............................................................................................................. 3-16
3.4.4 Network components ...................................................................................... 3-17
3.4.5 Increasing performance .................................................................................. 3-18
4 Conguration and programming
4.1 Conguration and addressing ........................................................................ 4-1
4.1.1 Conguring the S-Bus IP port (server) ........................................................... 4-1
4.1.2 Addressing the IP server station .................................................................... 4-2
4.1.3 Slots and channel numbers ........................................................................... 4-3
4.2 Programming the S-Bus via Ethernet ............................................................ 4-4
4.2.1 Description of Saia PCD
®
commands ............................................................ 4-4
4.2.2 Using Saia PG5
®
FBoxes to program the Ethernet S-Bus .............................. 4-11
4.2.3 S-Bus IP multimaster ...................................................................................... 4-14
4.2.4 Broadcast telegrams via S-Bus IP .................................................................. 4-14
4.3 Programming the Open Data Mode via Ethernet ............................................ 4-15
4.3.1 Description of Open Data Mode ...................................................................... 4-15
4.3.2 Conguration ................................................................................................... 4-15
4.3.3 Important characteristics of UDP and TCP in Open Data Mode ..................... 4-16
4.3.4 Programming with IL ...................................................................................... 4-17
4.3.5 InitODM ........................................................................................................... 4-21
4.3.6 Diagnostics .................................................................................................... 4-25
4.3.7 Amount of ODM channels ............................................................................... 4-29
4.3.8 OpenUDP ........................................................................................................ 4-30
4.3.9 OpenClientTCP ............................................................................................... 4-31
4.3.10 OpenServerTCP ............................................................................................ 4-32
4.3.11 Close ............................................................................................................... 4-33
4.3.12 ConnectTCP .................................................................................................. 4-34
4.3.13 DisconnectTCP ............................................................................................... 4-35
4.3.14 GetConnectionTCP ........................................................................................ 4-36
4.3.15 AcceptConnectionTCP ................................................................................... 4-37
4.3.16 SendData ........................................................................................................ 4-38
4.3.17 SendDataRev ................................................................................................. 4-39
4.3.18 ReceiveData .................................................................................................. 4-40
4.3.19 ReceiveDataRev ............................................................................................ 4-41
4.3.20 Byte swapping ............................................................................................... 4-42
4.3.21 IP address decoding ...................................................................................... 4-43
4.3.22 A typical TCP connection process ................................................................. 4-44
4.4 Additional CSFs ............................................................................................. 4-45
4.4.1 CSF NA Reset ................................................................................................ 4-45
4.4.2 CSF SetLocalIPNode ..................................................................................... 4-45
4.4.3 CSF IPPhyCong ........................................................................................... 4-46
4.4.4 CSF SendEtherSBUS .................................................................................... 4-48
4.4.5 CSF RecvEtherSBUS ..................................................................................... 4-50
4.5 Ethernet TCP/IP error messages .................................................................... 4-51