;--------------------------------------------------------------------------------------------- ; Sample Ethernet UDP Configuration File for the AN-X-PBS Ethernet Gateway ; ; UDP Port 48820 is always used for the source and destination ; ;--------------------------------------------------------------------------------------------- ; The UDP data payload has a 8 byte QTS header at the start of each packet ; WORD ChkPat; // 0 Check Pattern ; Always 0x5042 ('PB') ; BYTE IpLow; // 2 Sender IP Address Low Byte ; BYTE BlkNum; // 3 Sender UDP Block Number (0-15) ; Used to identify the block of Profibus data being sent ; WORD ConfigID; // 4 Sender Configuration ID ; User assigned Unique identifier for current configuration ; When changing mappings, update this number so send and receive ; data mappings stay in sync ; WORD SeqNum; // 6 Sequence Number ; Incremented by 1 each time a UDP Block packet is sent ; Used to detect missing or duplicated UDP packets ;--------------------------------------------------------------------------------------------- ; Hex numbers may be specified by placing a '0x' prefix on any number ;--------------------------------------------------------------------------------------------- ;ConfigID ; See above - can be specified in decimal or hex (with 0x prefix) ;UdpSendBlock ; 0-15 ; in seconds (0.0005 to 6.5535) ; Unicast or Multicast ;UdpSendMap ; UDP 32 bit Data Ofs (0-362 or Auto) Assumes MTU 1500 ; Auto maps after previous mapping, 32 bit aligned ; GoodNodeList Profibus Active Node List (128 bits, 4 32 bit words) ; ProfiDiag Profibus Diagnostic Counters (4 32 bit words) ; GlbCtl Profibus Global Control (4 32 bit words) ; NodeOut Outputs from Monitored or Active Profibus Node (1-125) ; NodeInp Inputs from Monitored Profibus Node (1-125) ;UdpRecvBlock ; 0-15 ; in seconds (0.0050 to 6.5535) ;UdpRecvMap ; UDP 32 bit Data Ofs (0-362 or Auto) Assumes MTU 1500 ; Auto maps after previous mapping, 32 bit aligned ; NodeInp Inputs Sent from Active Profibus Node (1-125) ConfigID 101 ; 1.01 UdpRecvBlock 0 2.0 UdpRecvMap Auto NodeInp 2 UdpRecvMap Auto NodeInp 4 UdpRecvMap Auto NodeInp 6 UdpRecvMap Auto NodeInp 8 UdpRecvMap Auto NodeInp 10 UdpRecvMap Auto NodeInp 12 UdpRecvMap Auto NodeInp 14 UdpRecvMap Auto NodeInp 16 UdpRecvMap Auto NodeInp 18 UdpSendBlock 0 1.0 10.10.2.133 UdpSendMap 0 GoodNodeList UdpSendMap Auto ProfiDiag UdpSendMap Auto GlbCtl UdpSendMap Auto NodeOut 2 UdpSendMap Auto NodeOut 3 UdpSendMap Auto NodeInp 3 UdpSendMap Auto NodeOut 4 UdpSendMap Auto NodeOut 5 UdpSendMap Auto NodeInp 5 UdpSendMap Auto NodeOut 6 UdpSendMap Auto NodeOut 7 UdpSendMap Auto NodeInp 7 UdpSendMap Auto NodeOut 8 UdpSendMap Auto NodeOut 9 UdpSendMap Auto NodeInp 9 UdpSendBlock 1 1.0 10.10.0.98 UdpSendMap Auto NodeOut 10 UdpSendMap Auto NodeOut 11 UdpSendMap Auto NodeInp 11 UdpSendMap Auto NodeOut 12 UdpSendMap Auto NodeOut 13 UdpSendMap Auto NodeInp 13 UdpSendMap Auto NodeOut 14 UdpSendMap Auto NodeOut 15 UdpSendMap Auto NodeInp 15 UdpSendMap Auto NodeOut 16 UdpSendMap Auto NodeOut 17 UdpSendMap Auto NodeInp 17 UdpSendMap Auto NodeOut 18