2.15 Using Message Functions
Using Function Codes
2-365
Function Code: 0E Hex
Function: Writes data to multiple specified registers, one point at a time.
Data is written one word at a time in registers in the remote station as specified in the remote station
address table that is stored in registers in the local station. This function writes the number of data
items specified by the data size parameter.
The applicable registers that can be written to in the remote station are the M registers. The register
addresses to store the data to be written in the local station are set to the sum of each address speci-
fied in the remote station address table and the local station data address.
The following parameters need to be set in the MSG-SNDE function.
If the hold register offset parameters in the MSG-RCVE function are set to a non-zero value, the actual
addresses that are read in the remote station will be the sum of the specified data addresses and the
value in the hold register offset parameters.
MSG-SNDE Function Parameter Description
PARAM10 Connection Number Set the connection number used to determine the remote station.
PARAM11 Option
This parameter is used with the QnA-compatible 3E Frame protocol.
Refer to the section for each protocol for details.
PARAM12 Function Code Set the function code for the function to use.
PARAM14
Remote Station Data
Address, Lower Word
Set the first register address where the remote station address table is
stored.
PARAM15
Remote Station Data
Address, Upper Word
PARAM16
Remote Station Register
Type
Set the register type (M, G, I, O, or S) in the local station where the
remote station address table is stored.
PARAM17 Data Size Set the number of data items to write.
PARAM18
Remote CPU Module
Number
This parameter is used with the Extended MEMOBUS protocol. Set the
CPU number at the remote station.
Continued on next page.
MW0010000
03E8 hex
Data 1
FFFFF hex(1048575)
MW0000000
12
13
14
10
11
15
16
17
18
19
20
21
22
000D hex
0000 hex
2710 hex
0001 hex
0000 hex
0000 hex
0000 hex
0003 hex
0000 hex
0000 hex
03E8 hex
0000 hex
0001 hex
MW0000000
3E8 hex(1000)
2710 hex(10000)
03E8 hex(1000)
0001 hex
0000 hex
0000 hex
10
20
21
0000 hex
11
0000 hex
0000 hex
22
23
0000 hex
0000 hex
24
25
0000 hex
0000 hex
26
27
0000 hex
0000 hex
28
29
0000 hex
0000 hex
30
31
0000 hex
0000 hex
32
33
0000 hex
0000 hex
34
35
0000 hex
0000 hex
36
37
FFFF hex
000F hex
38
39
0000 hex
0000 hex
40
41
FFFF hex
001F hex
42
43
0000 hex
0000 hex
44
45
7FFF hex
0001 hex
46
47
1FFFFF hex(2097151)
17FFF hex
MW0010002
07D0 hex
0BB8 hex
0003 hex(3)
GW0002000
Data 2
Data 3
GW0000000
GW0001000
GW0003000
GW0004000
+BB8 hex
3E8 hex
7D0 hex
BB8 hex
MW0001000
MW0002000
MW0003000
07D0 hex(2000)
0BB8 hex(3000)
+3E8 hex
+7D0 hex
MP3000-series Controller (Send: master)
MSG-SNDE Function
Parameter List
Use connection number 1.
FC = 0D hex: Reads
the contents of
non-consecutive
hold registers.
Remote Station
Data Address
M registers
Data size: 3 items
1 = G registers
0 = M registers
Remote
Station
Address
Table
G registers
Local station
data addresses
Data 1
Data 2
Data 3
MP3000-series Controller (Receive: slave)
MSG-RCVE Function
Parameter List
Use connection number 1.
M registers
Hold Register Offset
M Register Writing Range High
G Register Writing Range High
O Register Writing Range High
Example of Addressing and Offset Addressing with Function Code 0D Hex