The leader in industrial automation and control solutions

Introduction

All Maple Systems HMIs programmed with EBPro (EasyBuilder Pro), including every cMT X Series and cMT Series model, are compatible with a Mitsubishi MR-J3/J4-A. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeMitsubishi MR J3/J4 A
PLC I/FRS485 4WRS232/RS485
Baud rate96009600~115200
ParityEven
Data bits8
Stop bits1
PLC sta. no.00~31

Device Address

Bit/WordDeviceFormatRangeMemo
BEIPDD0 ~ 31External input pin status read 3
BEOPDD0 ~ 31External output pin status read 3
BSPD0 ~ 6
WPADDDD1 ~ 1032Basic Setting 4
WPBDDDD1 ~ 1064Gain / Filter Setting 4
WPCDDDD1 ~ 1080Extension Setting 4
WPDDDDD1 ~ 1048Input / Output Setting 4
WStatusDD0 ~ 57Amplifier Status 1
WAlarmD0 ~ 6Alarm
WAlarm_TD0 ~ 6Alarm Time (Hour) 2
WModeD1 ~ 4Write Only, Mode Setting 2
WSpeedD0 ~ 1Write Only, Set Current Speed 2
WAccD0 ~ 1Write Only, Set Acceleration 2
WRotationD0 ~ 1Write Only, Rotation Direction 2
WEndD0 ~ 1Write Only, End 2
WM_distD0 ~ 1Write Only, Moving Distance 2
WRot_PD0 ~ 1Write Only, Rotation Position 2
WP_startD0 ~ 1Write Only, Start Positioning 2
WCur_AlarmD0 ~ 1Current Alarm
WPEDDDD1 ~ 1064Extension Setting 2 4
WPFDDDD1 ~ 1048Extension Setting 3 4
WPODDDD1 ~ 1048Extension Setting 2 4
WPSDDDD1 ~ 1048Extension Setting 3 4
WPLDDDD1 ~ 1048Extension Setting 2 4
WPTDDDD1 ~ 1048Extension Setting 3 4
DWPOSDDDD1 ~ 1255
DWSPDDDDD1 ~ 1255
DWACTDDDD1 ~ 1255
DWDCTDDDD1 ~ 1255
DWDWLDDDD1 ~ 1255
DWAUXDDDD1 ~ 1255
DWMCDDDDD1 ~ 1255

Note 1: Status Register Address Map

AddressItem
0Cumulative feedback pulses
1Servo motor speed
2Droop pulse
3Cumulative cmd. Pulses
4Command pulse frequency
5Analog speed command voltage
6Analog torque command voltage
7Regenerative load ratio
8Effective load ratio
9Peak load ratio
10Instantaneous torque
11Within one-revolution position
12ABS counter
13Load inertia moment ratio
14Bus voltage
15Load-side cumulative feedback pulses
16Load-side droop pulses
17Load-side encoder information 1
18Load-side encoder information 2
22Motor thermistor temperature
23Motor-side cumulative feedback pulses (before gear)
24Electrical angle
30Motor-side / load-side position deviation
31Motor-side / load-side speed deviation
32Encoder inside temperature
33Setting time
34Oscillation detection frequency
35Number of tough drive operations
40Unit power consumption
41Unit total power consumption

NOTE: 2 These are write-only registers. Their usage is to run Jog Mode and Positioning Mode.

NOTE: 3 These are read-only registers.

NOTE: 4 Data written to address 1–XX is written to RAM. Data written to address 1001–10XX is written to ROM.

EIP: External Input Pin Status

The ON/OFF statuses of the input pins are sent back. Command of each bit is transmitted to the master station as hexadecimal data (1: ON, 0: OFF). Bits b31–b0 map to CN1 connector pins as follows:

EIP register bit-to-CN1 connector pin mapping table showing bits 0–31 and their corresponding CN1 pin numbers for input pin ON/OFF status.

EOP: External Output Pin Status

The slave station sends back the ON/OFF statuses of the output pins. Command of each bit is transmitted to the master station as hexadecimal data (1: ON, 0: OFF). Bits b31–b0 map to CN1 connector pins as follows:

EOP register bit-to-CN1 connector pin mapping table showing bits 0–31 and their corresponding CN1 pin numbers for output pin ON/OFF status.

The Status register provides amplifier status information. The address values correspond to the following items:

Jog Mode and Positioning Mode

The following instructions describe how to use EBPro (EasyBuilder8000 / EasyBuilderPro) to run Jog Mode and Positioning Mode with the Mitsubishi MR-J3/J4-A servo amplifier.

Jog Mode

To run Jog Mode, follow the steps listed sequentially:

  1. Set Jog Mode
  2. Set rotation speed
  3. Set acceleration
  4. Set forward / reverse rotation direction
  5. End

In the EBPro (EasyBuilder8000 / EasyBuilderPro) editing window, set the write address of Speed to Local HMI LW0 (the address can be user-defined) and set Acc (Acceleration) to LW1.

EasyBuilderPro Jog Mode screen showing Speed, Acc, and PA_1 numeric entry fields alongside START and END macro function key buttons.

NOTE: To run Jog Mode, communication with the device must be continuous, allowing an interval of less than 0.5 seconds. If the interval exceeds 0.5 seconds, the motor will be locked. In this example, only one register PA_1 is set to read the device value.

Start Macro

macro_command main()
short speed
short acc
short mode
mode = 1  // This represents Jog Mode.
SetData(mode, "MITSUBISHI MR J3 A", Mode, 1, 1)  // Set driver mode to Jog.
GetData(speed, "Local HMI", LW, 0, 1)  // Save LW0 value to speed.
SetData(speed, "MITSUBISHI MR J3 A", Speed, 0, 1) // Set motor operating speed.
GetData(acc, "Local HMI", LW, 1, 1)
SetData(acc, "MITSUBISHI MR J3 A", Acc, 0, 1) // Set motor acceleration.
short motion
motion = 0x0801  // Special code, see Note 1.
SetData(motion, "MITSUBISHI MR J3 A", Rotation, 0, 1) // Rotate.
end macro_commandCode language: JavaScript (javascript)

NOTE: Note 1 — Original Factory Manual:

Flowchart showing Jog Mode rotation start command data, with LSP/LSN conditions and forward/reverse rotation direction codes 00000801 and 00001007.

End Macro

macro_command main()
short stop
stop = 1  // See Note 2.
SetData(stop, "MITSUBISHI MR J3 A", End, 1, 1)
end macro_commandCode language: JavaScript (javascript)

NOTE: Note 2 — Original Factory Manual:

Flowchart showing Jog Mode stop command with data value 00000007 for LSP/LSN turned ON and 00000001 for SON turned ON.

Positioning Mode

In the EBPro (EasyBuilder8000 / EasyBuilderPro) editing window, set the write address of Speed to Local HMI LW2 (the address can be user-defined), set Acc (Acceleration) to LW3, and set Move distance to LW4 (DW format).

EasyBuilderPro Positioning Mode screen showing Speed, Acc, and Move distance numeric entry fields alongside a MACRO Start function key button.

Positioning Macro

macro_command main()
short mode
mode = 0x2  // Positioning Mode
SetData(mode, "MITSUBISHI MR J3 A", Mode, 1, 1)
short speed
GetData(speed, "Local HMI", LW, 2, 1)
SetData(speed, "MITSUBISHI MR J3 A", Speed, 0, 1)
short acc
GetData(acc, "Local HMI", LW, 3, 1)
SetData(acc, "MITSUBISHI MR J3 A", Acc, 0, 1)
short dist
GetData(dist, "Local HMI", LW, 4, 1)
SetData(dist, "MITSUBISHI MR J3 A", M_dist, 0, 1)
short rot_P
rot_P = 1        // Set to 0: Forward Rotation  1: Reverse Rotation
SetData(rot_P, "MITSUBISHI MR J3 A", Rot_P, 0, 1)
short rotat
rotat = 1   // See Note 3.
SetData(rotat, "MITSUBISHI MR J3 A", Rotation, 0, 1)
SetData(rot_P, "MITSUBISHI MR J3 A", P_start, 0, 1) // Start Positioning.
end macro_commandCode language: JavaScript (javascript)

NOTE: Note 3 — Original Factory Manual:

Flowchart showing Positioning Mode start command to make input device valid, with LSP/LSN conditions and data values 00000007 and 00000001 to turn on Servo-on.

Wiring Diagram

NOTE: The serial port pin assignments may vary between HMI models.

RS-485 4W

HMIDirectionPLC
Pin assignmentsCN3 RS485 4W
RJ45 Male
Rx-↔ (bidirectional)4
RX+↔ (bidirectional)5
Tx-↔ (bidirectional)6
Tx+↔ (bidirectional)3
GND↔ (bidirectional)7