Connection example [FA-M3 Series Virtual-M3]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Yokogawa Electric > Connection Procedure (Ethernet) > FA-M3 >

Connection example [FA-M3 Series Virtual-M3]

overview

This is an example of a connection for the FA-M3 series "Virtual-M3".

 

Model used

item

Model etc.

PLC

Virtual-M3 1.02

Communication Unit

SP76-7S

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

tool

WideFireld3 R4.03

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set in system file

IP address

127.0.0.1


Port number

12291


Connection method

binary

PC settings

Unit Settings

IP address

127.0.0.1


Port number

Automatic


Communication Protocol

TCP/IP


Folder and communication test settings

CPU Number

01

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

*Here, we are using the local IP address (127.0.0.1) because we are connecting to Virtual-M3 on the same PC.

* The port number used to connect to Virtual-M3 is fixed. For details on the setting values, please refer to "PLC side settings" below.

 

 

PLC side settings

 

1.Check the connection method and port number of Virtual-M3

 

Open the system file (C:\ProgramData\yokogawa\VFAM3_Sys\setup.ini) in a text editor such as Notepad and check the settings.

In this example, the connection will be made via PortB (TCP/TP and binary, port number: 12291) with the default settings (PortA=1, PortB=2).

 

c_plc_0927

 

hint

The connection method and port number for connecting to Virtual-M3 are as follows.

 

item

PortA

PortB

Default Communication Settings

TCP/IP and ASCII

TCP/IP and binary

Port number (Station1, CPU1)

12289

12291

Port number (Station1, CPU2)

12359

12361

Port number (Station1, CPU3)

12369

12371

Port number (Station1, CPU4)

12379

12381

Port number (Station2, CPU1)

12399

12401

Port number (Station2, CPU2)

12409

12411

Port number (Station2, CPU3)

12419

12421

Port number (Station2, CPU4)

12429

12431

Port number (Station3, CPU1)

12449

12451

Port number (Station3, CPU2)

12459

12461

Port number (Station3, CPU3)

12469

12471

Port number (Station3, CPU4)

12479

12481

Port number (Station4, CPU1)

12499

12501

Port number (Station4, CPU2)

12509

12511

Port number (Station4, CPU3)

12519

12521

Port number (Station4, CPU4)

12529

12531

 

The port number cannot be changed.

 

If you want to change the communication settings, you will need to edit a system file.

 

System files

C:\ProgramData\yokogawa\VFAM3_Sys\setup.ini

 

·setting

Edit the PortA and PortB values of [PCLINK] according to your situation.

 

c_plc_0928

 

Note that setup.ini also contains configuration information other than the parent link.

Do not change any setting information other than [PCLINK].

 

 

2.Right-click Station1 in Virtual-M3 and select Start.

 

Here, we will connect to the SP76-7S defined in CPU1 of Station1.

 

c_plc_0929

 

3.Verify that the target CPU starts normally (green light is on).

 

c_plc_0930

 

4.Select "Online" - "Connect" from the WideFireld3 menu.

 

5.Press Communication Settings

 

c_plc_0931

 

6.Check "Connect to Virtual-M3", specify the target Station number and CPU number, and click "OK".

 

c_plc_0932

 

7.Click "OK" on the setting screen.

 

c_plc_0933

 

8.Confirm that WideFireld3 and Virtual-M3 are connected and that the status indicators "RDY" and "RUN" are lit green.

 

c_plc_0934

 

hint

If the ladder is downloaded to the Virtual-M3 side and the program is not running, the "RUN" does not light up. In that case, download the ladder to the Virtual-M3 from the WideFireld3 menu "Online" - "Download [PC → CPU]".

 

 

PC settings

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click "Application" - "Driver" in the tree and select Add Driver.

 

2.Select the following units from the displayed driver list and add them:

 

c_plc_0935

 

*If you are communicating in ASCII mode, please select the appropriate unit.

 

3.Open the properties of the added unit (U01) and click Communication Settings.

 

c_plc_0936

 

4.Configure the following in "PC Settings"

 

c_plc_0937

 

setting

Setting contents

Computer IP address

127.0.0.1

Computer port number

Automatic

 

5.Set the following in "Unit side settings"

 

c_plc_0938

 

setting

Setting contents

Unit IP Address

127.0.0.1

Unit Port Number

12291

 

6.Select "Ping Test" to check if the ping goes through normally.

 

If you see a message such as "Ping test is success~", the test was successful.

 

7.Select the protocol in "Communication Details"

 

c_plc_0939

 

setting

Setting contents

protocol

TCP/IP

 

8.Perform a connection test to check the connection

 

c_plc_0940

 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.