Udp unicast example, I/o modbus slave, Modbus serial application connected to the network – Perle Systems IOLAN SCS User Manual

Page 267

Advertising
background image

267

I/O Modbus Slave

UDP Unicast Example

For an example of the I/O UDP unicast, see the sample program,

ioudpbcast.c

, found on your

CD-ROM.

I/O Modbus Slave

If you have a Modbus serial or TCP application, it can access I/O connected to the IOLAN when the
I/O Global Modbus Slave is enabled. You must supply a unique UID for the IOLAN, as it will act as
a Modbus Slave.

There are three ways your Modbus Application can connect to the IOLAN to access I/O.

Modbus Serial Application Connected to the Serial Port

Your Modbus serial application can be connected right to the IOLAN serial port to access I/O.

Modbus Serial Application Connected to the Network

If you want to access the I/O from a LAN connection, you can install TruePort on the PC running the
Modbus serial application as described in

TruePort I/O on page 273

and connect to the IOLAN over

the network.

IOLAN

Serial

PC running a

Modbus Serial

Application

UID: 15

I/O Digital
Output

Power

pe
rle

Network

IOLAN

pe

rl

e

PC running a

Modbus Serial

Application

UID: 15

I/O Digital
Output

Power

Advertising