2.7 Communications with a Mitsubishi PLC (QnA-compatible 3E Frame Protocol)
Message Functions
2-167
Function Code (PARAM12)
Set the function code to send.
You can use the functions that are registered to the function codes.
Note: B: Bit data, W: Word (channel) data
Reserved for System (PARAM13)
This parameter is used by the system.
Remote Station Data Address (PARAM14 and PARAM15)
Set the first address for data in the remote station.
Enter the first address as a decimal or hexadecimal number.
The applicable function codes and valid range of data addresses depend on the device type and device
range of the Mitsubishi Q/QnA-series PLC.
QnA-compatible 3E Frame
Commands
MEMOBUS
Function Code
Target
Data
Type
Function
Command
Subcom-
mand
0401 hex
0001 hex 01 or 02 hex B Reads bit devices in units of one point.
0000 hex
03, 04, 09, or 0A
hex
W Reads word devices in units of one point.
1401 hex
0001 hex 05 or 0F hex B Writes bit devices in units of one point.
0000 hex 06, 0B, or 10 hex W Writes word devices in units of one point.
1402 hex 0000 hex 0E hex W Writes word devices in units of one point.
0403 hex 0000 hex 0D hex W Reads word devices in units of one point.
0619 hex 0000 hex 08 hex W Performs a loopback test.
Do not change the value of PARAM13 from a user program or by any other means.
If the first address is MW01000, enter “1000” (decimal) or “3E8” (hexadecimal).
Bit Device Conversion Table
Device
QnA-compatible 3E
Device Range
Notation
MEMOBUS
Command
First Address
Register
Address
Input Relays X000000 to X001FFF Hexadecimal 02 hex: Relays 00000 to 08191
MB000000 to
MB00511F
Output Relays Y000000 to Y001FFF Hexadecimal
01, 05, and 0F
hex: Coils
00000 to 08191
MB000000 to
MB00511F
Internal Relays M000000 to M008191 Decimal
01, 05, and 0F
hex: Coils
08192 to 16383
MB005120 to
MB01023F
Latch Relays L000000 to L008191 Decimal
01, 05, and 0F
hex: Coils
16384 to 24575
MB010240 to
MB01535F
Step Relays S000000 to S008191 Decimal
01, 05, and 0F
hex: Coils
24576 to 32767
MB015360 to
MB02047F
Link Relays B000000 to B001FFF Hexadecimal
01, 05, and 0F
hex: Coils
32768 to 40959
MB020480 to
MB02559F
Annunciators F000000 to F002047 Decimal
01, 05, and 0F
hex: Coils
40960 to 43007
MB025600 to
MB02687F