![YASKAWA JEPMC-MP2300S-E Скачать руководство пользователя страница 413](http://html.mh-extra.com/html/yaskawa/jepmc-mp2300s-e/jepmc-mp2300s-e_user-manual_907071413.webp)
A-59
A
Appendices
2. Address table
An address table used for the read/write request to the multiple holding registers is used for specifying
addresses indirectly in order to indicate read/write data. The four words of addresses at the beginning
of the M register set by PARAM05 (data address) are used as an address table.
For the address table, specify a data address and data size for reading and a data address and data
size for writing.
Read behaves same as “Reads holding register content (function code: 03H)”. Write behaves same as
“Writes to multiple holding registers (function code: 10H)”.
The address table used when reading/writing multiple holding registers is as follows:
( 8 ) Data Size (PARAM06)
Set the data size (number of bits or words) for the read/write request.
Be sure that the last data address determined based on the offset, data address, and data size does not go beyond the
scope of the data addresses.
The range of data sizes may differ, depending on the function code.
The following table gives the valid ranges of data sizes when using MODBUS/TCP as a protocol.
* 1. Specify the number of bits
* 2. Specify the number of words
* 3. Invalid when Ethernet (218IF) is used.
Note: The data size in the table is represented in decimal number.
MW
MW
+
1
MW
+
2
MW
+
3
PARAM05
F
or
read
i
ng
F
or
wr
i
t
i
ng
Address
tab
l
e
for
read
i
ng
/
wr
i
t
i
ng
mu
l
t
i
p
l
e
ho
l
d
i
ng
reg
i
sters
Data
address
Data
s
iz
e
Data
address
Data
s
iz
e
Table G.14 Valid Range of Data Sizes (MODBUS/TCP)
Function Code
Target
Data Type
Function
Valid Range of Data Addresses
00H
–
Unused
Disable
01H
B
Reads coil state
*1
1 to 2000
02H
B
Reads input relay state
*1
1 to 2000
03H
W
Reads holding register content
*2
1 to 125
04H
W
Reads input register content
*2
1 to 125
05H
B
Changes single coil state
*1
Disable
06H
W
Writes to single holding register
*2
Disable
07H
:
–
Unused
Disable
0EH
0FH
B
Changes multiple coil states
*1
1 to 00
10H
W
Writes to multiple holding registers
*2
1 to 100
11H
:
–
Unused
Disable
15H
16H
W
Mask writes to holding register
*2, *3
Disable
17H
W
Reads/Writes multiple holding registers
*2, *3
Read: 1 to 125
Write: 1 to 100
Содержание JEPMC-MP2300S-E
Страница 14: ...MEMO ...
Страница 24: ...MEMO ...
Страница 114: ...MEMO ...
Страница 132: ...MEMO ...
Страница 154: ...5 2 User Programs 5 2 2 Motion Programs 5 22 2 Example using a ladder program ...
Страница 156: ...5 2 User Programs 5 2 2 Motion Programs 5 24 2 Example using a ladder program ...
Страница 190: ...MEMO ...
Страница 280: ...MEMO ...
Страница 300: ...7 3 Operation 7 3 5 How to Determine Input Error 7 20 Continued from the previous page ...
Страница 302: ...7 3 Operation 7 3 5 How to Determine Input Error 7 22 Application Example Continued on the next page ...
Страница 306: ...7 3 Operation 7 3 6 Management to Resume Slave CPU Synchronization 7 26 Application Example Continued on the next page ...
Страница 310: ...MEMO ...