Perle Systems STS User Manual

Page of 408
Serial Port Profiles
132 
IOLAN SDS/SCS/STS User’s Guide, Version 3.6
UDP Sockets Profile
Overview
The UDP profile configures a serial port to broadcast UDP data to systems and/or receive UDP data 
from systems.
Functionality
When you configure 
UDP
, you are setting up a range of IP addresses and the port numbers that you 
will use to send UDP data to or receive UDP data from.
When you configure UDP for 
LAN to Serial
, the following options are available: 
z
To send to a single IP address, leave the 
End IP Address
 field at its default value (
0.0.0.0
).
z
The IP address can be auto learned if both start/end IP address are left blank/default.
z
If the 
Start IP Address
 field is set to 
255.255.255.255
 and the 
End IP Address
 is left at its 
default value (
0.0.0.0
), the IOLAN will accept UDP packets from any source address.
An example UDP configuration is described based on the following window.
The UDP configuration window, taken from the DeviceManager, is configured to:
z
UDP Entry 1
All hosts that have an IP address that falls within the range of 
172.16.1.1
 to 
172.16.1.25
 
and listen to 
Port
 
33001
 will be sent the data from the serial device in UDP format. The serial 
device will only receive UDP data from the hosts in that range with a source 
Port
 of 
33001
. The 
IOLAN will listen for data on the port value configured in the 
Listen for connections on UDP 
port
 parameter.
z
UDP Entry 2
All UDP data received from hosts that have an IP address that falls within the range of 
172.16.1.20
 to 
172.16.1.50
 and 
Port
 
33010
 will be sent to the serial device. The IOLAN 
will not send any data received on its serial port.