Function code
|
Quantum memory address
|
M340 and Premium memory address
|
Meaning
|
---|---|---|---|
1
|
16#0XXX
|
%M
|
Read output bits, refer to note below.
|
2
|
16#1XXX
|
%M
|
Read input bits
|
3
|
16#4XXX
|
%MW
|
Read consecutive integer values (until 125 registers for Premium/Atrium PLCs)
|
4
|
16#3XXX
|
%MW
|
Read consecutive input integer values (until 124 registers for Premium/Atrium PLCs)
|
5
|
16#0XXX
|
%M
|
Write single output bit
|
6
|
16#4XXX
|
%MW
|
Write single integer value
|
151
|
16#0XXX
|
%M
|
Write n output bits
|
161
|
16#4XXX
|
%MW
|
Write consecutive integer values
|
232
|
16#4XXX
|
%MW
|
Read/write consecutive integer values3
|
Function code
|
Quantum memory address
|
M340 and Premium memory address
|
Modbus request
|
Communication function
|
---|---|---|---|---|
1
|
16#0XXX
|
%M
|
Read output bits
|
READ_VAR
|
2
|
-
|
%I
|
Read input bits, see 1)
|
READ_VAR
|
3
|
16#4XXX
|
%MW
|
Read consecutive integer values (until 125 registers for Premium/Atrium PLCs)
|
READ_VAR
|
4
|
-
|
%IW
|
Read consecutive input integer values (until 124 registers for Premium/Atrium PLCs), see 1)
|
READ_VAR SEND_RER for Premium/Atrium PLCs
|
15
|
16#0XXX
|
%M
|
Write n output bits
|
WRITE_VAR
|
16
|
16#4XXX
|
%MW
|
Write consecutive integer values
|
WRITE_VAR
|
![]() |
UNEXPECTED APPLICATION BEHAVIOR - DATA EXCHANGE COMPATIBILITY
Data structure alignments are not the same for Premium/Quantum and M340 PLCs so verify that the data exchanged are compatible.
See the page DDT: Mapping rules for more information.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
|