As 89090 SR-1000 SR-2000 CM 683us Ka GB 1047 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

683US

A u t o - I D Te c h n i c a l G u i d e
SR-2000/1000 SERIES
MITSUBISHI iQ-F FX5 SERIES

Connection Guide: Ethernet-PLC Link Communication


CPU with Built-In Ethernet Port

This manual explains how to connect the SR-2000/1000 Series and MITSUBISHI iQ-F FX5 Series CPU
with a built-in Ethernet port via Ethernet-PLC link communication.
SR-2000/1000 SERIES
MITSUBISHI iQ-F FX5 SERIES

Chapter
CONFIGURING KEYENCE CODE READER
TABLE OF CONTENTS 3 SR-2000/1000 SERIES SETTINGS

Chapter 1 EQUIPMENT USED Use the AutoID Network Navigator to configure the communication
settings for the SR-2000/1000 Series.
Chapter 2 CONNECTION METHOD
Chapter 3 CONFIGURING KEYENCE CODE READER
SR-2000/1000 SERIES SETTINGS 1 Use a USB Cable to connect the PC and
SR-2000/1000 Series.
Chapter 4 CONFIGURING MITSUBISHI PLC FX5UC SERIES
SETTINGS PC
SR-2000/1000 Series (AutoID Network Navigator)
Chapter 5 CREATING/SENDING LADDER PROGRAMS
Chapter 6 EXECUTING LADDER PROGRAMS AND MONITORING
THE READ DATA
Chapter

1 EQUIPMENT USED USB cable OP-51580

Prepare the following equipment.

2
CPU unit Code reader Ethernet cable
FX5UC SR-2000/1000 Series OP-87230 (2 m) Start up AutoID Network Navigator.

Double click the "AutoID Network Navigator" shortcut on the desktop.

Control cable USB cable


OP-87353 (2 m) OP-51580 (2 m)*

When the connection is successful, the below image is displayed.

* Used when changing the SR-2000/1000 settings.

Chapter 3 Change the settings to those of the desired fixed IP


address.
2 CONNECTION METHOD [Ethernet]

Overall connection diagram


Connect the FX5UC and the SR-2000/1000 Series as shown below.

SR-2000/1000

PC
HUB
FX5UC

Ethernet cable Ethernet cable

Control cable Signal name Color


24 V Brown
24 VDC power source
0V Blue

2
SR-2000/1000 SERIES
MITSUBISHI iQ-F FX5 SERIES

4
Chapter
Select the "Start the setup wizard" tab and configure CONFIGURING MITSUBISHI PLC
settings as shown below. 4 FX5UC SERIES SETTINGS
Configure the FX5U Series settings using GX works3.

1 Connect the computer, FX5U and SR-2000/1000 with


Ethernet cables as shown below.

SR-2000/1000

PC
HUB
FX5UC

Ethernet cable Ethernet cable

2 Configure the computer network settings.

• Configuring network settings using Windows 7

1. Go to your Control Panel by clicking the Start button (or Windows


Logo) on the desktop.
2. In the search box, type adapter, and then, under Network and
Sharing Center, select View network connections.

3. Right click on "Local Area Connection" and click "Properties".


4. Click "Internet Protocol Version 4 (TCP/IPv4)", and click on
"Properties".
5. Select "Use the following IP address" and set the IP address and
subnet mask as shown below.
* The X/Y addresses for the SR-2000/1000 are hexadecimal. The X/Y addresses for
IP address 192.168.3.1
the FX5U are octal.
Therefore an address that has been converted to octal must be used as shown below. Subnet mask 255.255.255.0

SR address specification FX5UC address


Hexadecimal Octal
Y100-Y10F Y400-Y417
X200-X20F X1000-X1017

Press the send settings button in the top


5 right of the AutoID Network Navigator to send the
settings to SR-2000/1000.

6 Click the blue lamp to disconnect from the code


reader.
Communication with the PLC is not possible when connected to AutoID Network
Navigator.

The code reader settings are now configured.


6. Click "OK" and close all the windows.

* Temporary disable any enabled firewalls or security software on the computer.

3
SR-2000/1000 SERIES
MITSUBISHI iQ-F FX5 SERIES

3 Create a new project in GX-Works3. 6 Set the "Detailed Setting" for the "External Device
Configuration".
Select "Project" "New" from the menu. Drag "SLMP Connection Module" to the location indicated below.
Select the Series and Type.

Drag

[Communication settings]
Setting item Setting
Series FX5CPU
Type FX5U
Program Language Ladder

4 Configure settings in the module parameters.

Double click "Parameter" - "FX5UCPU" - "Module Parameter" - Setting item Setting


"Ethernet Port". Protocol UDP
Port No. 9004
IP Address (Sensor/Device) 192.168.3.100

Click

5 Configure the "Own Node Settings" as shown


below.

Click

Specify the PLC


IP address

Setting item Setting


IP Address 192.168.3.250
Subnet Mask 255.255.255.0
Communication Data Code Binary

4
SR-2000/1000 SERIES
MITSUBISHI iQ-F FX5 SERIES

2
Chapter
CREATING/SENDING LADDER
5 PROGRAMS
Sending ladder programs.

If you have created or changed the ladder program, "Convert" it

1 Creating ladder programs. before sending it to the PLC.

There are two data writing processing methods when using PLC link.

A: Real-time processing
Read data using a simple ladder program
B: Sequential processing
Select "Online" "Write to PLC..." from the menu tab.
Read data using handshake processing

Select one of these methods, and delete the unnecessary parts


before using it.

Reference program (1) Data writing processing method selection


A: Real-time processing
Select the file(s) needed to write and press the Execute button.
(All files are selected in the example below.)

B: Sequential processing

Explanation
The data write processing method can be selected from leading
address +01 (Y401) of the control area. If F0 is ON, Y401 becomes 0
and real-time processing is used. If F1 is ON, Y401 becomes 1 and
sequential processing is used.
When sequential processing is selected, data is only obtained from the
SR-2000/1000 when the Y402 write permission is 1. If the Y402 write
permission is 0, the read data is held in the SR-2000/1000 send buffer.
* The X/Y addresses for the SR-2000/1000 are hexadecimal. The X/Y addresses
for the FX5U are octal.
Restart the PLC.
Therefore an address that has been converted to octal is used.
* The sent program will not be applied unless the PLC is restarted.

List of control area function allocations (when the leading address of


the control area is Y)
Address Description Data content
0 (OFF),
Y +00 PLC timing area
1 (ON)
Data writing processing 0 (real-time processing),
Y +01
method 1 (sequential processing)
Sequential processing 0 (forbidden),
Y +02
Data write permission 1 (allowed)
Reference program (2) Reading data

Reading is executed
while F2 is ON

Explanation
While F2 is ON, the PLC timing area changes to 1 and reading is
executed.
When this happens the 50 words of the previous read results are
erased at 0.
The read data is stored from the leading address +04 (1004) of the
data area onward.

5
SR-2000/1000 SERIES
MITSUBISHI iQ-F FX5 SERIES

Chapter Next, select real-time processing as shown.


EXECUTING LADDER PROGRAMS
6 AND MONITORING THE READ DATA When selected correctly, the 0 bit of Y400 will turn OFF.
Check that real-time processing is selected, and forcibly turn the
Select "F0" or "F1" as the data writing processing method in the real-time processing command "F0" OFF.
ladder program.
After this, turn the read command "F2" ON to start SR-2000/1000
reading, and check that the read data is being stored from data
memory "D1004" onward.

When all settings are configured, turn the SR-2000/1000 and PLC off
Enter "F0" into the device name and turn "F2" ON.
and then on again.

* The sent program will not be applied unless the PLC is restarted.

Set the switch on the PLC unit to "RUN".

Double click

When the data is read correctly, the contents of the read data will be
displayed as shown below.

Select "Online" "Monitor" "Device/Buffer Memory Batch Monitor"


from the menu tab.

If reading fails, "ERROR" will be displayed as shown below.

Sample code

Enter "Y400" in the device name, and select "Start Monitoring".


KEYENCE

Enter the real-time processing command "F0" into the device name,
and turn "F0" on.

Double click

6
Copyright (c) 2017 KEYENCE CORPORATION. All rights reserved. 193114A 1047-1 683US Printed in Japan

You might also like