Setting of External Device

Use the programming software PCwin to set as below.

Settings of I/O Module

Open [I/O Module Settings] of [Parameter] in the peripheral equipment and set the I/O Module identification code.

Setup Items

Setup Description

Slot No.

0

Assignment Item Number

00

Identification Code

B3

Module Type

Special/Communication

Module Name

Time Chart Module/Computer Link/Ethernet/S-NET

Settings of Link Module

Open the [Link Setting] of [Link Parameter] from [Parameter] in the peripheral equipment. Select the Rack No. and Slot No. to which Ethernet module is assigned, and set the link module name to [Ethernet]. If you also use the PC3J Series CPU program divide mode, please select the correct program number.

Setup Items

Setup Description

Rack No.

Option

Slot No.

Option

Link Module Name

Ethernet

Settings of Communication Parameter

Set as below in the communication parameter.

Setup Items

Setup Description

Source Node IP Address

192.168.0.1

Connection

Protocol Open Method

TCP target specified passive

Source Node Port No.

1025

Other Node Table No.

Preset other node table No.

Other Node Table

CPU Operation Mode

PC3

Other Node IP Address

Set IP address of the Display.

Other Node Port No.

Set the port No. of the Display.

Communication parameter settings include the following two methods.

A. Setting method in the link parameter setting screen of the peripheral equipment.

To use this setting method, the programming software PCwin is necessary. You cannot use other software or tools to set the communication parameter with link parameters.

  1. Select [Detail Settings] of [Link Parameter] from [Parameter] in the peripheral equipment to display [Communication Parameter Setting Screen].

  2. Display the [Ethernet Setting] screen to set each parameter.

    Setup Items

    Setup Description

    Source Node IP Address

    192.168.0.1

    Connection

    Option (1 - 8)

    Protocol Open Method

     

    TCP target specified passive

    Source Node Port No.

    1025

    Other Node Table No.

    Preset other node table No.

    Initialization

    Initialize by link parameters

  3. Select [Other Node Table Setting] in the [Ethernet Setting] screen to set other node tables.

    Setup Items

    Setup Description

    Table

    Option (1 - 16)

    Other Node IP Address

    Set IP address of the Display.

    Other Node Port No.

    Set the port No. of the Display.

B. Setting method by the ladder program

Use the ladder program as below to set the communication parameter.

  1. Set the communication parameter in the register data.

  2. Use the SPW command of function instruction to transfer the communication parameter to the file memory in the Ethernet module.

  3. Use the SPW command of function instruction to set the initial request bit of the file memory in the Ethernet module to ON.

 

Example of communication parameter is shown below.

Source Node IP Address = 192.168.0.1 (C0.A8.00.01h)

Use Connection No.1, 2, 3 and Other Node Table No.1, 2

Connection 1: TCP active, Port No.6000 (1770h), Other Node Table No.1

Connection 2: TCP target specified passive, Port No.6001 (1771h), Other Node Table No.2

Connection 3: TCP target unspecified passive, Port No.6002 (1772h)

Other Node Table 1: IP Address = 192.168.0.2 (C0.A8.00.02h), Port No. 8000 (1F40h)

Other Node Table 2: IP Address = 192.168.0.3 (C0.A8.00.03h), Port No. 8001 (1F41h)

 

Register Data

Setting Data

Data Description

R0104

0001

Source Node IP Address (Low)

R0105

C0A8

Source Node IP Address (High)

R0106

0307

Table (1, 2) used/Connection (1, 2, 3) used

R0107

0000

Connection (9 - 16) used

R0108

0000

Connection 1: TCP active

R0109

1770

Connection 1: Port No.

R010A

0001

Connection 1: Other Node Table No.

R010B

0000

0000 Fixed

R010C

0100

Connection 2: TCP target specified passive

R010D

1771

Connection 2: Port No.

R010E

0002

Connection 2: Other Node Table No.

R010F

0000

0000 Fixed

R0110

0200

Connection 3: TCP target unspecified passive

R0111

1772

Connection 3: Port No.

R0112

0000

Connection 3: Other Node Table No.

R0113

0000

0000 Fixed

R0114-R0127

0000

No setting for Connection 4 - 8 (not used)

R0128

0002

Other Node Table 1: Other Node IP Address (Low)

R0129

C0A8

Other Node Table 1: Other Node IP Address (High)

R012A

1F40

Other Node Table 1: Other Node Port No.

R012B

0000

0000 Fixed

R012C

0003

Other Node Table 2: Other Node IP Address (Low)

R012D

C0A8

Other Node Table 2: Other Node IP Address (High)

R012E

1F41

Other Node Table 2: Other Node Port No.

R012F

0000

0000 Fixed

Example of Ladder Program
toy_eth_ladder1_e00005.png

NOTE