beautypg.com

Udp sockets profile, Overview functionality – Perle Systems 5500161-40 User Manual

Page 142

background image

Serial Port Profiles

142

IOLAN SDS/SCS/STS/MDC User’s Guide, Version 4.0

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 serial data to the LAN (using UDP) or receive UDP data from the LAN which will be
forwarded to the serial port.

When you configure UDP for

“LAN to Serial”

, the following options are available:

z

To receive data from a specific IP address, enter this address in the

Start IP Address

field and

leave the

End IP Address

field at its default value (

0.0.0.0

). For the port, you can enter a

specific “source” port or leave as 0 to accept any source port.

z

To receive data from a range of IP address, fill in the

Start IP Address

field with the low IP

address for the range and the

End IP Address

field with the high IP address for the range.

z

To receive data from any IP address and any UDP port, leave the

Start IP Address

field, the

End

IP Address

field and the

Port

field at its default value of 0. The IP address on the first UDP

message received will than be the only IP address accepted from that point on. This is the “auto
learn” feature of the UDP profile.

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. If you

want the IOLAN to receive data only from the first IP address is sees (auto learn the sender IP
address), leave the

Start IP Address

field at its default value (

0.0.0.0

).

When you configure UDP for

“Serial to LAN”

, the following options are available:

z

To send data to a specific IP address, enter this address in the

Start IP Address

field and leave

the

End IP Address

field at its default value (

0.0.0.0

).

z

To send data to a range of IP address, fill in the

Start IP Address

field with the low IP address

for the range and the

End IP Address

field with the high IP address for the range. A separate

UDP message with the same serial data will be sent to each host in the configured range.