background image

Appendix 2

Data Transmission

Netiom-UDP uses UDP (User Datagram Protocol) packets to transmit information across the

network. This is a simpler but faster protocol than TCP and more suited to this type of link.

While there is no change in input conditions and no serial port activity a packet is sent at the

end of the user defined update period. The packet is marked as non-urgent so that the remote

end knows that this is a regular update packet and does not need to respond until its own

update period expires. This heartbeat message ensures that the remote end knows that the

link is still in place and that if packets are lost then outputs are still synchronised.

If there is a change of input conditions or a serial port message is received then Netiom-UDP

will  immediately  transmit  a  message  irrespective  of  the  state  of  the  update  period.  This

message  will  be  marked  as  urgent  and  assigned  a  message  number.  On  receiving  this

message the remote end will acknowledge the packet. The originating end will wait for this

acknowledgement and if it is not received within a fixed period will re-issue it. The re-issues

will continue until either an acknowledgement is received or a new message is generated by

another input change / serial message receipt or until the update period expires.

Each packet is divided into 4 sections. The first section identifies the message as originating

from a Netiom-UDP device. The second section is used for control, marking as urgent / non-

urgent etc. The third section  defines  the  current  state  of  the  I/O  and  is  always  transmitted.

The  final  section  is  only  present  if  there  is  a  serial  port  message  and  contains  the  data

received.

Summary of Contents for NETIOM-UDP

Page 1: ...ion may also help with problem solving Details of how Netiom UDP establishes and controls the link are in the Appendices This information is provided for those who are interested in the internal worki...

Page 2: ...s will flicker off every few seconds as it detects normal network polling Red is the transmit indication This will switch off when data is transmitted from Netiom UDP It is normally on The programming...

Page 3: ...em and download to Netiom UDP using the Write To NETIOM button on the general page 12 Remove the programming link The red LED should now flicker once or twice 13 Wait for about 5 seconds and replace t...

Page 4: ...lts from the file DefaultConfig txt If you need a different set of defaults you can overwrite this file with your own values If you have several different configurations then these can be saved as sep...

Page 5: ...should be avoided as these are generally pre allocated to well known services Connections The connections section defines how the link is established and maintained In client mode the Netiom UDP will...

Page 6: ...en the timeout value can be specified in the range 20mS to 20 seconds Note that it is important that both ends of the link have the same baud rate as there is limited buffering within the Netiom UDPs...

Page 7: ...the internal 5 Volt supply rail via a 10K resistor The input can be directly interfaced to TTL and CMOS outputs The input voltage should not exceed 5 Volts In addition the inputs can use clean contact...

Page 8: ...which plug directly into the 10 way header Note that if these outputs are to drive inductive loads such as relays and motors then the load must have some form of back EMF suppression fitted IF SUPPRES...

Page 9: ...nection is via a ribbon cable to the output header If all 16 outputs are to be displayed then two VIOM Display modules will be required Relay Module The Relay module consists of 8 single pole change o...

Page 10: ...em Check that power is connected and that it is the correct polarity Problem The green LED is off but the red and yellow are on Solution This is an ethernet connection problem Make sure that the ether...

Page 11: ...t input status The IP address will be 255 255 255 255 and the MAC address will be 0xFFFFFFFF both defined as broadcast values The target will recognise that this is a packet from a Netiom UDP and will...

Page 12: ...e is received then Netiom UDP will immediately transmit a message irrespective of the state of the update period This message will be marked as urgent and assigned a message number On receiving this m...

Page 13: ...ion at the remote end will not commence until reception at the local end is complete or the buffer is full Systems using the serial port must take this latency into account especially if retries and t...

Page 14: ...binary byte and is used to ensure that type R messages do not send multiple strings over the serial port Normally this value is incremented and allowed to roll over for each non R type message If a ty...

Page 15: ...d to roll over for each non R type message When a type R message is sent it uses the Message Number of the previous message Note that a value of zero is never sent Digital Input Data is a 16 character...

Reviews: