2.7 Communications with a Mitsubishi PLC (QnA-compatible 3E Frame Protocol)
Message Functions
2-181
Function Code (PARAM12)
This parameter gives the function code that was received.
Note: B: Bit data, W: Word (channel) data
Reserved for System (PARAM13)
This parameter is used by the system.
Data Address (PARAM14 and PARAM15)
These parameters give the data address that was requested by the remote station.
The type of device and device range determine the data area.
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.
Bit Device Conversion Table
Device
QnA-compatible 3E
Frame 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
Link Special
Relays
SM000000 to SM002047 Decimal
01, 05, and 0F
hex: Coils
43008 to 45055
MB026880 to
MB02815F
Timer Contacts TS000000 to TS002047 Decimal 02 hex: Relays 08192 to 10239
MB005120 to
MB00639F
Timer Coils TC000000 to TC002047 Decimal 02 hex: Relays 10240 to 12287
MB006400 to
MB00767F
Counter
Contacts
CS000000 to CS001023 Decimal 02 hex: Relays 12288 to 13311
MB007680 to
MB00831F
Counter Coils CC000000 to CC001023 Decimal 02 hex: Relays 13312 to 14335
MB008320 to
MB00895F