Saia-Burgess Controls AG
Ethernet-Handbuch der Saia PCD
®
Reihe │ Dokument 26-776 GER13 │ 2019-08-08
0-2
0
Inhalt
3.3 Open Data Mode via TCP/IP oder UDP/IP ..................................................... 3-12
3.4 Auslegung und Struktur des Netzes ............................................................... 3-14
3.4.1 Hubs (Sternnetz) ............................................................................................. 3-14
3.4.2 Switches .......................................................................................................... 3-14
3.4.3 Router ............................................................................................................. 3-15
3.4.4 Netzkomponenten ........................................................................................... 3-16
3.4.5 Steigerung der Leistungsfähigkeit ................................................................... 3-17
4 Konguration und Programmierung
4.1 Konguration und Adressierung ..................................................................... 4-1
4.1.1 Konguration des S-Bus-IP-Port (Server) ...................................................... 4-1
4.1.2 Adressierung der IP-Server-Station ............................................................... 4-2
4.1.3 Steckplätze und Kanalnummern .................................................................... 4-3
4.2 Programmierung des S-Bus via Ethernet ...................................................... 4-4
4.2.1 Beschreibung der Saia PCD
®
Befehle ........................................................... 4-4
4.2.2 Programmierung des Ethernet-S-Bus mit Saia PG5
®
FBoxen ........................ 4-11
4.2.3 S-Bus IP Multimaster ...................................................................................... 4-14
4.2.4 Broadcast-Telegramme via S-Bus IP .............................................................. 4-14
4.3 Programmierung des Open Data Mode via Ethernet ...................................... 4-15
4.3.1 Beschreibung des Open Data Mode ............................................................... 4-15
4.3.2 Konguration ................................................................................................... 4-15
4.3.3 Wichtige Merkmale in UDP und TCP im Open Data Mode ............................. 4-16
4.3.4 Programmierung mit IL ................................................................................... 4-17
4.3.5 InitODM ........................................................................................................... 4-21
4.3.6 Diagnose ........................................................................................................ 4-25
4.3.7 Anzahl der ODM Kanäle ................................................................................. 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-Adressen-Decodierung .............................................................................. 4-43
4.3.22 Typischer TCP-Verbindungsuss ................................................................... 4-44
4.4 Zusätzliche 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.5 CSF RecvEtherSBUS ..................................................................................... 4-50
4.5 Ethernet-TCP/IP-Fehlermeldungen ................................................................ 4-51