background image

Appendix 1

Link Initiation

1. Client Mode with Fixed IP Address

At start up an ARP (Address Resolution Protocol) request is issued. If the request is resolved

Netiom-UDP will know the MAC address of the target device and will know that it is present

on the network. A network packet will then be transmitted with the current status of the inputs.

This should then result in the return of a packet from the target end thus establishing the link.

If the ARP request is not resolved then Netiom-UDP will wait for the Timeout period and then

re-issue the request. This will continue until a response is returned.

If there is a break in the receipt of packets from the remote end of the link for the Timeout

period then the link is reset and a new ARP request is issued. Again this is repeated until the

link is re-established.

2. Client Mode with Broadcast IP Address

At start up a network packet is transmitted with the current 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  respond

using the originating IP and MAC addresses as their target addresses. The originating device

will receive the packet, recognise that it a Netiom-UDP package and will now deduce the IP

and MAC addresses of the remote end. The next packet transmitted by the originating end

will use this new information thus establishing the link.

3. Non-Client Mode

At  start  up  the  Netiom-UDP  will  listen  for  packets  on  the  assigned  Port  Number.  It  will  not

transmit and data at this time. When a packet is received it is inspected to determine if it is a

Netiom-UDP  packet.  If  it  is  then  it  will  respond  to  the  packet  with  the  current  status  of  its

inputs using the originating IP and MAC addresses as the target address thus establishing the

link.

If there is a break in the receipt of packets from the remote end of the link for the Timeout

period then the Netiom-UDP will stop transmitting and revert to listening mode again.

Содержание NETIOM-UDP

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: