Omron CS1W-ETN21 operation manual UDP Port Numbers for, Procedure for Using FINS/UDP

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 142
Image 142

FINS/UDP Method

Section 6-2

UDP Port Numbers for

FINS/UDP

The UDP port number is the number for UDP to identify the application layer (i.e., the FINS communications service in this case). When communications are executed by UDP/IP, this port number must be allocated to the communi- cations service.

The default setting for the FINS/UDP local UDP port number (i.e., the Ether- net Unit's UDP port number) is 9600. To set another number, make the setting for the FINS/UDP port using the Setup Tab in the Unit Setup.

At the Ethernet Unit, a UDP/IP frame received with a FINS/UDP port number is recognized as a FINS frame.

Procedure for Using FINS/UDP

1.Make the basic settings.

Refer to SECTION 2 Startup Procedure in the Operation Manual Construction of Networks.

2.Make the settings in the Unit Setup.

With the CX-Programmer connected online, select the Ethernet Unit in the CX-Programmer's I/O Table Window. Right-click, and select Unit Setup. Then make the following settings in the Unit Setup Window.

Setup Tab

Broadcast

FINS/UDP port (Default: 9600)

IP address table (for the IP address table method only)

3.Make the routing table settings and transfer them to each PLC. (See note.) Set the routing tables with CX-Integrator, and transfer it to each PLC.

4.Create a ladder program that includes the SEND(090), RECV(098), and CMND(490) instructions.

Note Routing tables are required in the following situations:

When communicating with a PLC or computer on another network (e.g., remote programming or monitoring using FINS messages or a CX-Pro- grammer).

When multiple Communications Units are mounted to a single PLC (i.e., CPU Unit).

When routing tables are used for one or more other nodes on the same network.

It is not necessary to set routing tables if one Communications Unit is mounted to the PLC and the nodes are connected as one network.

117

Page 142
Image 142
Omron CS1W-ETN21 operation manual UDP Port Numbers for, Procedure for Using FINS/UDP