
Chapter 8 Communication Functions
8-59
7) Function code types and memory mapping
Code
Function code name
Modicon PLC
Data address
Remark
01
Read Coil Status
0XXXX(bit-output)
Read bits
02
Read Input Status
1XXXX(bit-input)
Read bits
03
Read Holding Registers
4XXXX(word-output)
Read words
04
Read Input Registers
3XXXX(word-input)
Read words
05
Force Single Coil
0XXXX(bit-output)
Write bit
06
Preset Single Register
4XXXX(word-output)
Write word
15
Force Multiple Coils
0XXXX(bit-output)
Write bits
16
Preset Multiple Registers
4XXXX(word-output)
Write words
•
MASTER-K120S Mapping
Bit area
Word area
Address
Data area
Address
Data area
h0000
P area
h0000
P area
h1000
M area
h1000
M area
h2000
L area
h2000
L area
h3000
K area
h3000
K area
h4000
F area
h4000
F area
h5000
T area
h5000
T area(current value area)
h6000
C area
h6000
C area(current value area)
h7000 S
area
h8000 D
area
8) Modbus addressing rules
MASTER-K120S main unit starts its address from 0 and matches with 1 of Modicon products' data address. So MASTER-
K120S's address n matches n+1 of Modicon products' address. This means that the output contact point 1 (0001) of
Modicon products is marked as communication address 0 and the input contact point 1 (0001) of Modicon products is
marked as communication address 0 in MASTER-K120S.
9) The size of using data
As for data size, MASTER-K120S main unit supports 128 bytes in ASCII mode and 256 bytes in RTU mode. The maximum
size of the Modicon products is different from each other kind. So refer to "Modicon Modbus Protocol Reference Guide."
Содержание MASTER-K 120S Series
Страница 26: ...Chapter 4 Names of Parts 4 3 2 K7M DRT60U 3 K7M DT60U 4 1 2 40 points main unit Standard 1 K7M DR40U ...
Страница 27: ...Chapter 4 Names of Parts 4 4 2 K7M DRT40U 3 K7M DT40U 4 1 3 30 points main unit Standard 1 K7M DR30U ...
Страница 28: ...Chapter 4 Names of Parts 4 5 2 K7M DRT30U 3 K7M DT30U 4 1 4 20 points main unit Standard 1 K7M DR20U ...
Страница 29: ...Chapter 4 Names of Parts 4 6 2 K7M DRT20U 3 K7M DT20U 4 1 5 30 points main unit Economic 1 K7M DR30UE ...
Страница 138: ...Chapter 7 Usage of Various Functions 7 54 c Program ...
Страница 306: ...Appendix 3 External Dimensions App3 2 2 Slim type G7E DC08A G7E RY08A G7F ADHB G7F DA2V G7F RD2A ...