2.15 Using Message Functions
Using Function Codes
2-376
The following example illustrates how to write to the random access buffer by using function code 33 hex.
In this example, 600 words of data starting from register IW05000 in the local station are written to regis-
ters starting at 00016 in the remote station.
No-protocol Communications (No Function Code)
Function: Writes data.
The specified size of data is read from registers in the local station and written to M registers in the
remote station.
The applicable registers in the remote station are the M registers.
The following parameters need to be set in the MSG-SNDE function.
1. If the data is being received by an MP3000 slave, the data will be written to the addresses that are
specified by the hold register offset parameters in the MSG-RCVE function.
2. Set the address of the register to write to within the range specified by the M Register Writing
Range Low and M Register Writing Range High parameters in the MSG-RCVE function. Data will
not be written if an address exceeds the valid setting range.
MSG-SNDE Function Parameter Description
PARAM10 Connection Number Set the connection number used to determine the remote station.
PARAM11 Option Not used.
PARAM12 Function Code Not used.
PARAM14
Remote Station Data
Address, Lower Word
Not used.
PARAM15
Remote Station Data
Address, Upper Word
Not used.
PARAM16
Remote Station Register
Type
Not used.
PARAM17 Data Size
Set the size of the data to write. Specify the size in words for No-proto-
col 1, and in bytes for No-protocol 2.
PARAM18
Remote CPU Module
Number
Not used.
PARAM20
Local Station Data
Address, Lower Word
Set the first register address in the local station where the data to be
written is stored.
PARAM21
Local Station Data
Address, Upper Word
Continued on next page.
IW05000
00016
00000
12
13
14
10
11
15
16
17
18
19
20
21
22
0033 hex
0000 hex
0010 hex
0001 hex
0000 hex
0000 hex
0000 hex
0258 hex
0000 hex
0000 hex
5000 hex
0000 hex
0002 hex
IW00000
5000 hex
0010 hex(16)
258 hex(600)
IW05257
00615
MP3000-series Controller (Send: master)
Mitsubishi PLC (Receive: slave)
MSG-SNDE Function
Parameter List
Use connection number 1.
FC = 33 hex: Changes
the states of multiple bits.
I registers
Random
access buffer
Data
Data size: 600 words
∗ If the data is received by an MP3000-series Machine Controller, the data
will be written to the M registers.
Specify the register to write to by using the hold register offset parameters.
Local station
data addresses
Data size: 600 words
Data
2 = I registers
Example of Addressing and Offset Addressing with Function Code 33 Hex