background image

To set up the addresses manually uncheck the” Get Address Automatically” box and enter the

addresses in the appropriate edit boxes. Each box must contain a number in the range 0 to

255. The default values are:

IP Address: 192.168.0.6

Gateway Address: 192.168.0.1

Submask: 255.255.255.0

These values should be OK for small networks with only one or two computers and a gateway

router.

If you need to change them you will need to ascertain the values from the network. For local

networks there are three address ranges:

10.0.0.0 to 10.255.255.255

172.16.0.0 to 172.31.255.255

192.168.0.0 to 192.168.255.255

The best way to find free addresses is to log on to the gateway router as this will keep track of

all the attached devices.  It  will  also show  its  own  IP  address  which should  be  used  as  the

Gateway Address.

You can find the settings on any local PC running Windows by going to the command prompt

and typing “config”. This will return the IP Address of the PC, the Gateway Address and the

Submask. If you only have one PC and gateway router then use the last two values for the

Gateway Address and Submask and increment the last digit of the IP Address by 1.

Port Number

The port number is used as part of the network interface. This can be set anywhere in the

range 1 to 65535. However values below 1024 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 periodically send out a network packet even if the link is

not established. Data will be transmitted whenever a change occurs on the inputs or when a

serial message is received. If there has been no change for a period defined by the Update

Period then a message will be transmitted as a heartbeat.

If  client  mode  is  not  select  messages  are  not  transmitted  until  the  link  is  established.

Messages will then be sent in the same way as in client mode.

When in client mode the Netiom-UDP will need to know the IP address to connect to the other

end of the link. Two methods are available. If Use Broadcast Address is selected Netiom-UDP

will  transmit  a  broadcast  to  all  devices  on  the  network.  The  device  at  the  other  end  will

recognise this message and return with a reply indicating its own IP address. The originating

device will then use this new IP address for further communication. Note that this method is

only suitable for local area networks as broadcasts are not allowed to transverse gateways.

The second method is to supply an IP address. In this case the originating Netiom-UDP will

establish  contact  directly  with  the  other  end.  This  method  must  be  used  for  wide  area

networks such as the internet.

Serial Port

With the programming link in place the serial port always runs at 19200 baud.

Содержание 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...

Отзывы: