Mitsubishi Ethernet
Mitsubishi Ethernet
Mitsubishi Ethernet
iQ-R/F Ethernet
(SLMP Client)
Driver
1 System Configuration....................................................................................................... 3
2 External Device Selection ................................................................................................ 7
3 Communication Settings .................................................................................................. 8
4 Setup Items .................................................................................................................... 26
5 Supported Devices......................................................................................................... 32
6 Device Code and Address Code.................................................................................... 43
7 Error Messages.............................................................................................................. 48
1
iQ-R/F Ethernet (SLMP Client) Driver
Introduction
This manual describes how to connect the Display and the External Device (target PLC).
In this manual, the connection procedure will be described in the sections identified below:
1 System Configuration
"1 System Configuration" (page 3)
This section lists the types of External
Devices and SIO that you can connect.
3 Communication Settings
"3 Communication Settings" (page 8)
This section shows setting examples for
communicating between the Display and
the External Device.
4 Setup Items
"4 Setup Items" (page 26)
This section describes communication
setup items on the Display. Set the
Display’s communication settings in GP
Pro-EX or in offline mode.
Operation
1 System Configuration
The system configuration in the case when the External Device of Mitsubishi Electric Corporation and the
Display are connected is shown.
R00CPU
Ethernet (UDP) Setting Example 1 (page 8)
R01CPU
R02CPU Ethernet Port on CPU Unit
R04CPU Ethernet (TCP) Setting Example 2 (page 11)
R08CPU
R16CPU
Ethernet (UDP) Setting Example 3 (page 14)
R32CPU
R120CPU
R04ENCPU
R08ENCPU
R16ENCPU
R32ENCPU
iQ-R Series R120ENCPU
R08PCPU
R16PCPU
RJ71EN71
R32PCPU
R120PCPU Ethernet (TCP) Setting Example 4 (page 17)
R08SFCPU
R16SFCPU
R32SFCPU
R120SFCPU
R08PSFCPU
R16PSFCPU
R32PSFCPU
R120PSFCPU
Connection Configuration
• 1:1 Connection
• 1:n Connection
• 1:n Connection (When using the iQ-R Series as a relay to access the network)
• When communication over the network, set the timeout to a value greater than the relay
station's response monitoring time.
• The maximum number of External Devices you can connect is as follows.
TCP/IP connection: up to 16
UDP/IP connection: up to 32
The following is an example setup on a network. Check the details of the setup items in "Setup Items"
"4 Setup Items" (page 26)
PLC1
Network No.1
Network No.2
(MELSECNET/H)
PLC2
PLC3
(PC No.8)
Serial
Communication
(I/O No.32) (Station No.15)
Communication settings
Request Request
External
destination destination
Device to IP Address*1 Port No.*2 Network No. PC No.
module module
Access
I/O No. Station No.
PLC1 192.168.1.2 1025 0 255 1023 0
PLC2 192.168.1.2 1026 2 6 1023 0
PLC3 192.168.1.2 1027 3 8 32 15
*1 Set the IP address of the relay station (PLC1).
*2 The defined port number must be opened on the relay station (PLC1).
• n:1 Connection
3 Communication Settings
This section provides examples of communication settings recommended by Pro-face for the Display and the
External Device.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
• Set IP address on the External Device address in the [Individual Device Settings] dialog box.
• You need to set IP address on the Display in the offline mode of the Display.
4 From [External Device Configuration], click [Detailed Setting] and the [Ethernet Configuration] window opens.
5 From the [Module List] window’s [Ethernet Device (General)] area, select [SLMP Connection Module] and drag
and drop to the settings screen.
6 In the settings screen’s [SLMP Connection Module], set up the following.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
• Set IP address on the External Device address in the [Individual Device Settings] dialog box.
• You need to set IP address on the Display in the offline mode of the Display.
4 From [External Device Configuration], click [Detailed Setting] and the [Ethernet Configuration] window opens.
5 From the [Module List] window’s [Ethernet Device (General)] area, select [SLMP Connection Module] and drag
and drop to the settings screen.
6 In the settings screen’s [SLMP Connection Module], set up the following.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
• Set IP address on the External Device address in the [Individual Device Settings] dialog box.
• You need to set IP address on the Display in the offline mode of the Display.
4 From [External Device Configuration], click [Detailed Setting] and the [Ethernet Configuration] window opens.
5 From the [Module List] window’s [Ethernet Device (General)] area, select [SLMP Connection Module] and drag
and drop to the settings screen.
6 In the settings screen’s [SLMP Connection Module], set up the following.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
• Set IP address on the External Device address in the [Individual Device Settings] dialog box.
• You need to set IP address on the Display in the offline mode of the Display.
4 From [External Device Configuration], click [Detailed Setting] and the [Ethernet Configuration] window opens.
5 From the [Module List] window’s [Ethernet Device (General)] area, select [SLMP Connection Module] and drag
and drop to the settings screen.
6 In the settings screen’s [SLMP Connection Module], set up the following.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
• Set IP address on the External Device address in the [Individual Device Settings] dialog box.
• You need to set IP address on the Display in the offline mode of the Display.
4 From [External Device Configuration], click [Detailed Setting] and the [Ethernet Configuration] window opens.
5 From the [Module List] window’s [Ethernet Device (General)] area, select [SLMP Connection Module] and drag
and drop to the settings screen.
6 In the settings screen’s [SLMP Connection Module], set up the following.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
• Set IP address on the External Device address in the [Individual Device Settings] dialog box.
• You need to set IP address on the Display in the offline mode of the Display.
4 From [External Device Configuration], click [Detailed Setting] and the [Ethernet Configuration] window opens.
5 From the [Module List] window’s [Ethernet Device (General)] area, select [SLMP Connection Module] and drag
and drop to the settings screen.
6 In the settings screen’s [SLMP Connection Module], set up the following.
Notes
• Check with a network administrator about IP address. Do not set the duplicate IP address.
4 Setup Items
Set up the Display's communication settings in GP-Pro EX or in the Display's offline mode.
The setting of each parameter must match that of the External Device.
"3 Communication Settings" (page 8)
• Set the Display's IP address in offline mode.
Device Setting
To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC]
window, select the External Device and click [Settings] .
To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click
[Add Device] to add another External Device.
[Basic] tab
IP Address
• Check with a network administrator about IP address. Do not set the duplicate IP
address.
Port No. Use an integer from 1025 to 65535 to enter the port No. of the External Device.
[Labels] tab
• Refer to the Maintenance/Troubleshooting guide for information on how to enter offline mode
or about the operation.
Communication Settings
To display the setting screen, touch [Device/PLC Settings] from [Peripheral Settings] in offline mode. Touch
the External Device you want to set from the list that appears.
Device Setting
To display the setting screen, touch [Device/PLC Settings] from [Peripheral Settings]. Touch the External
Device you want to set from the displayed list, and touch [Device].
IP Address
• Check with a network administrator about IP address. Do not set the duplicate IP
address.
Port No. Use an integer from 1025 to 65535 to enter the port No. of the External Device.
Set up this property when you communicate via the network. Use an integer from 0 to 239
Network No. or 254 to define the Network No. of the associated External Device. If communication is
not done via a network, enter 0.
Set up this property when you communicate via the network. Use an integer from 0 to 120
PC No. or 125 to 126 to define the PC No. of the associated External Device. If communication is
not done via a network, enter 255.
Set up this property when you communicate via the network. Use an integer from 0 to 511
I/O No. to define the I/O No. of the associated External Device. If communication is not done via a
network, enter 1023.
Station No. Enter the station number of the External Device, from 0 to 31.
Set whether or not to use the Remote Password.
Remote Password
Enter the Remote Password when using this feature.
5 Supported Devices
The following table shows the range of supported device addresses. Please note that the actual supported
range of the devices varies depending on the External Device to be used. Please check the actual range in the
manual of your External Device.
32
Device Bit Address Word Address Remarks
bits
*1
Input Relay X0000 - X2FFF X0000 - X2FF0
Output Relay Y0000 - Y2FFF Y0000 - Y2FF0 *2
32
Device Bit Address Word Address Remarks
bits
*3
Link Output J001-Y0000 - J255-Y3FFF J001-Y0000 - J255-Y3FF0
*3
Link Relay J001-B0000 - J255-B7FFF J001-B0000 - J255-B7FF0
J001-SB0000 - J001-SB0000 - *3
Link Special Relay
J255-SB1FFF J255-SB1FF0
J001-W00000 - *3
Link Register -
J255-W1FFFF
*3
Link Special Register - J001-SW000 - J255-SW1FF
U000-G00000000 - *4
Module Access Device -
U1FF-G99999999
CPU Buffer Memory U3E0-G00000000 - *5
-
Access Device U3E3-G99999999
CPU Buffer Memory
U3E0-HG00000 - *5
(Periodic Communica- -
U3E3-HG12287
tion Area)
File Register (Normal) - R00000 - R32767
File Register
(Block switching is not - ZR00000000 - ZR10027007
necessary)
- 0R00000 - 0R32767
- 1R00000 - 1R32767
File Register - 2R00000 - 2R32767
(0R - 31R) : :
- 30R00000 - 30R32767
- 31R00000 - 31R32767
*1 If the CPU is R00CPU/R01CPU/R02CPU, the bit address is "X0000 - X1FFF" and the word address is "X0000
- X1FF0".
*2 If the CPU is R00CPU/R01CPU/R02CPU, the bit address is "Y0000 - Y1FFF" and the word address is "Y0000
- Y1FF0".
*3 Link direct device to access the network link module's internal memory. The first three digits of the address is
the network number (1-255).
*4 Device for accessing SLMP compatible devices, as well as the intelligent function unit's buffer memory.
The first three digits of the address specifies the intelligent module's starting I/O number.
*5 Device that can access CPU buffer memory. The first three digits of the address specifies the CPU number:
3E0H: CPU No.1
3E1H: CPU No.2
3E2H: CPU No.3
3E3H: CPU No.4
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "LS Area (Direct Access Method Area)"
32
Device Bit Address Word Address Remarks
bits
*1
Input Relay X0000 - X2FFF X0000 - X2FF0
*2
Output Relay Y0000 - Y2FFF Y0000 - Y2FF0
*3
Internal Relay M000000 - M999999 M000000 - M999984
Special Relay SM0000 - SM4095 SM0000 - SM4080
Latch Relay L00000 - L32767 L00000 - L32752
Annunciator F00000 - F32767 F00000 - F32752
Edge Relay V00000 - V32767 V00000 - V32752
*3
Link Relay B000000 - BFFFFFF B000000 - BFFFFF0
Special Link Relay SB000000 - SBFFFFFF SB000000 - SBFFFFF0 *3
*3
Timer (Contact) TS000000 - TS999999 -
Timer (Coil) TC000000 - TC999999 - *3
Retentive Timer *3
SS000000 - SS999999 -
(Contact)
Retentive Timer (Coil) SC000000 - SC999999 - *3
*3
Counter (Coil) CC000000 - CC999999 -
Timer (Current Value) - TN000000 - TN999999 *3
Retentive Timer *3
- SN000000 - SN999999
(Current value)
Counter (Current Value) - CN000000 - CN999999 *3
*4
Link Special Relay J001-SB0000 - J255-SB1FFF J001-SB0000 - J255-SB1FF0
*4
Link Register - J001-W00000 - J255-W1FFFF
*4
Link Special Register - J001-SW000 - J255-SW1FF
CPU Buffer Memory U3E0-G000000 - *5
-
Access Device U3E3-G999999
CPU Buffer Memory
U3E0-HG00000 - *5
(Periodic Communica- -
U3E3-HG12287
tion Area)
32
Device Bit Address Word Address Remarks
bits
File Register (Normal) - R00000 - R32767
File Register
(Block switching is not - ZR00000000 - ZR10027007
necessary)
- 0R00000 - 0R32767
- 1R00000 - 1R32767
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "LS Area (Direct Access Method Area)"
*2 The number of elements in each dimension is displayed as l (minimum number of elements) to h (maximum
number of elements).
*3 Array element numbers defined on a label start from 0.
You can calculate the size of the array with the number of elements in each dimension.
Example)
Word array "Array [0 ...15, 0 ...14, 0 ...13]", evaluates to array size of 3360 (= 16 × 15 × 14).
The maximum size of each device is as follows.
BOOL, INT, WORD, TIMER, COUNTER, RETENTIVETIMER: 2147483648
DINT, DWORD, LTIMER, LCOUNTER, LRETENTIVETIMER, TIME: 1073741824
STRING: 2147483648 ÷ size of STRING device
*4 The STRING label defines the maximum number of characters (up to 255) in the data type settings.
*5 C (coil) and S (contact) are BOOL type devices. N (current value) is a WORD type device.
*6 C (coil) and S (contact) are BOOL type devices. N (current value) is a DWORD type device.
• When using the tag, it is necessary to import the label data (symbol address).
Please refer to the GP-Pro EX Reference Manual for import procedure.
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "LS Area (Direct Access Method Area)"
4 Click [Import].
5 From the [Select File] field, click [Browse..], and then select the CSV file.
• Generate the label data using the programming software (MELSOFT GX Works 3).
Labels you can import into GP-Pro EX include "Global Label File", "User Defined Data
Structure File" and "Module-Defined Data Strucuture File".
• Place in the same folder, the label data you want to import.
In GP-Pro EX, when you select [Global Label File] as the label data to import,
imported data includes "User Defined Data Structure File" and "Module-Defined Data
File" in the same folder.
32
Device Bit Address Word Address Remarks
bits
*1
Input Relay X0000 - X1777 X0000 - X1760
Output Relay Y0000 - Y1777 Y0000 - Y1760 *1
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "LS Area (Direct Access Method Area)"
Use device code and address code when you select "Device Type & Address" for the address type in data
displays.
• When using the label, the device code and address code can not be used.
Device Code
Device Device Name Address Code
(HEX)
V 0x0086
1/V 0x0186
Edge Relay 2/V 0x0286 Word Address 16
3/V 0x0386
4/V 0x0486
B 0x0088
1/B 0x0188
Link Relay 2/B 0x0288 Word Address 0x10
3/B 0x0388
4/B 0x0488
SB 0x0089
1/SB 0x0189
Special Link Relay 2/SB 0x0289 Word Address 0x10
3/SB 0x0389
4/SB 0x0489
TN 0x0060
1/TN 0x0160
Timer (Current Value) 2/TN 0x0260 Word Address
3/TN 0x0360
4/TN 0x0460
SN 0x0062
1/SN 0x0162
Retentive Timer
2/SN 0x0262 Word Address
(Current Value)
3/SN 0x0362
4/SN 0x0462
L_TN 0x0063
1/L_TN 0x0163
Long Timer (Current Value) 2/L_TN 0x0263 Word Address
3/L_TN 0x0363
4/L_TN 0x0463
L_SN 0x0064
1/L_SN 0x0164
Long Retentive Timer
2/L_SN 0x0264 Word Address
(Current Value)
3/L_SN 0x0364
4/L_SN 0x0464
CN 0x0061
1/CN 0x0161
Counter (Current Value) 2/CN 0x0261 Word Address
3/CN 0x0361
4/CN 0x0461
Device Code
Device Device Name Address Code
(HEX)
L_CN 0x0065
1/L_CN 0x0165
Long Counter (Current Value) 2/L_CN 0x0265 Word Address
3/L_CN 0x0365
4/L_CN 0x0465
D 0x0000
1/D 0x0100
Data Register 2/D 0x0200 Word Address
3/D 0x0300
4/D 0x0400
SD 0x0001
1/SD 0x0101
Special Register 2/SD 0x0201 Word Address
3/SD 0x0301
4/SD 0x0401
W 0x0002
1/W 0x0102
Link Register 2/W 0x0202 Word Address
3/W 0x0302
4/W 0x0402
SW 0x0003
1/SW 0x0103
Special Link Register 2/SW 0x0203 Word Address
3/SW 0x0303
4/SW 0x0403
Link Input Jn-X 0x0170 - 0xFF70 Word Address 0x10*1
Link Output Jn-Y 0x0171 - 0xFF71 Word Address 0x10*1
Link Relay Jn-B 0x0172 - 0xFF72 Word Address 0x10*1
Link Special Relay Jn-SB 0x0173 - 0xFF73 Word Address 0x10*1
Link Register Jn-W 0x0174 - 0xFF74 Word Address*1
Link Special Register Jn-SW 0x0175 - 0xFF75 Word Address*1
Module Access Device U000-G - U1FF-G 0x0076 - 0x1F76 Word Address*2
CPU Buffer Memory Access U3En-G 0x3E76 Word Address
CPU Buffer Memory (Periodic) U3En-HG 0x3E78 Word Address
R 0x000F
1/R 0x010F
File Register (Normal) 2/R 0x020F Word Address
3/R 0x030F
4/R 0x040F
Device Code
Device Device Name Address Code
(HEX)
ZR 0x000E
1/ZR 0x010E
File Register (Block switching
2/ZR 0x020E Word Address
is not necessary)
3/ZR 0x030E
4/ZR 0x040E
0R 0x0010
1/0R 0x0110
2/0R 0x0210 Word Address
3/0R 0x0310
4/0R 0x0410
1R 0x0011
1/1R 0x0111
2/1R 0x0211 Word Address
3/1R 0x0311
4/1R 0x0411
2R 0x0012
1/2R 0x0112
2/2R 0x0212 Word Address
3/2R 0x0312
4/2R 0x0412
File Register
: :
(0R - 31R)
29R 0x002D
1/29R 0x012D
2/29R 0x022D Word Address
3/29R 0x032D
4/29R 0x042D
30R 0x002E
1/30R 0x012E
2/30R 0x022E Word Address
3/30R 0x032E
4/30R 0x042E
31R 0x002F
1/31R 0x012F
2/31R 0x022F Word Address
3/31R 0x032F
4/31R 0x042F
*1 Network number is defined in the device code's high byte.
*2 Specify the Device Name with the Device Code (HEX) and the value in bits 28 to 31 for the address number.
For example, for U1FF-G, the device code is "0x1F76", and bits 28 to 31 in the address part is set to "F".
7 Error Messages
Error messages are displayed on the Display screen as follows: "No.: Device Name: Error Message (Error
Occurrence Area)". Each description is shown below.
Item Description
No. Error No.
Name of the External Device where error occurs. Device name is a title of the External
Device Name
Device set with GP-Pro EX. (Initial value [PLC1])
Error Message Displays messages related to the error which occurs.
Displays IP address or device address of the External Device where error occurs, or error
codes received from the External Device.
• Refer to your External Device manual for details on received error codes.
• Refer to "Display-related errors" in "Maintenance/Troubleshooting Guide" for details on the
error messages common to the driver.
• If an error related to Remote Password occurs, communication stops, regardless of the Retry
setting. Reset the Remote Password in either GP-Pro EX or the offline screen.