QuickStart Guide
...
Mitsubishi
Gen 1 Drivers

Mitsubishi R04-Ethernet-Binary (Gen1)

6min

Review the following information for setting up and configuring the Mitsubishi R04-Ethernet-Binary (Gen1) driver.

Litmus Edge Compatible Series

Compatibility parameter

Compatible items

Driver type

Ethernet

Validated devices/series

To set up and configure this device in Litmus Edge, you will need to do the following:

  • Step 1: Set up and Configure the PLC Device
  • Step 2: Set up the PLC Device in Litmus Edge DeviceHub
  • Step 3: Configure the List of Registers

Step 1: Set up and Configure the PLC Device

Note: Only one connection is allowed per port defined in the PLC. See the steps below to view and edit the open ports on the PLC.

If the device is configured for Ethernet access, find its network parameters. Otherwise, follow the steps below.

To configure your device:

  1. Note down the following information and refer to it when needed. Device: Mitsubishi R04CPU Communication I/F: Ethernet
  2. Connect the device to your PC using a USB.
  3. Launch GXWorks 3 v1.035M software.
  4. From the navigation panel, navigate to System Parameters > Read Mounting status, and then check for the CPU to display.
  5. From the navigation panel, click Module Configuration to see if the base rack and CPU display.
  6. Click Module Parameters and enter the desired IP Address, Subnet Mask, and Default Gateway.
  7. If you want to write back to PLC tags with Litmus Edge, make sure the Enable/Disable Online Change setting is set to Enable All (SLMP).
  8. Click External Device Configuration (Detailed Setting) to set up the connection (Ethernet Built-in port).
  9. Draw SLMP Connection Module from the Module list to the left.
  10. Set up of the port number depends on how many devices need to connect with the PLC.
  11. Click Close with Reflecting the Setting, click Apply, and then click Write to PLC.
  12. Power the PLC off and on again to activate the setting.
  13. From the navigation panel, navigate to Connection Destination > connection, click Find CPU (Built-in Ethernet port) on Network, and then select the target device.
  14. Click Connection Test.

Step 2: Set up the PLC Device in Litmus Edge DeviceHub



Parameter

Value

Type

Mitsubishi

Driver

Mitsubishi R04-Ethernet-Binary (Gen1)

Network Address

The device address you defined in Step 1

Port

5007

Station ID

255



Name

Value Types

Address Format

Min Address

Max Address

Description

X

bit

HHHh

0

12287

Input

Y

bit

HHHh

0

12287

Output

M

bit

DDDDDDDD

0

16777215

Internal Relay

L

bit

DDDDD

0

32767

Latch Relay

B

bit

HHHHHHh

0

268435455

Link Relay

F

bit

DDDDD

0

32767

Annunciator

SB

bit

HHHHHHh

0

268435455

Link Special Relay

V

bit

DDDDD

0

32767

Edge Relay

TS

bit

DDDDDDD

0

8993439

Timer Contact

TC

bit

DDDDDDD

0

8493439

Timer Coil

SS

bit

DDDDDDD

0

8993439

Retentive Timer

SC

bit

DDDDDDD

0

8993439

Retentive Timer Coil

CS

bit

DDDDDDD

0

8993439

Counter Contact

CC

bit

DDDDDDD

0

8993439

Counter Coil

SM

bit

DDDD

0

4095

Special Relay

TN

word

DDDDDDD

0

8993439

Timer Current Value

SN

word

DDDDDDD

0

8993439

Retentive Timer Current

CN

word

DDDDDDD

0

8993439

Counter Current Value

D

word

DDDDDDDD

0

10117631

Data Register

W

word

HHHHHH

0

10117631

Link Register

SW

word

HHHHHH

0

10117631

Special Link Register

SD

word

DDDD

0

4095

Special Register

Z

word

DD

0

23

Index Register

R

word

DDDDD

0

32767

File Register

ZR

word

HHHH

0

65535

File Register