Modbus Easycon
Modbus Easycon
RS485 instructions;
*RS485-1 power-on default is FX programming port protocol;
*RS485-1 supports switching between Mitsubishi FX programming port protocol and
MODBUS-RTU protocol;
* communication parameters of RS485-1 are set in D8400, and communication
parameters of RS485-2 are set in D8420, which supports ADPRW to switch between
RS485-1 and RS485-2;
* The maximum length of data read and written by *ADPRW is 520, if it exceeds
6343 or 6363 fault;
name Effective
RS485-1 RS485-2 Detailed content R/W
station
Communi
cation Master/ Set the communication
D8400 D8420 format
D8420 slave format. See below for R/W
setting station details.
Step
where The step number of the
main R
D8404 D8424 communi
station first ADPRW
cation
error instruction with error
occurs will be stored.
The step number of ADPRW
instruction in MODBUS
communication will be
Commun
stored. (When the
D8407 ication instruction is not
D8427 main R
executed, 0 will be
step station stored.) The step number
of the last executed
number ADPRW instruction will
be kept.
The When the communication
current is retried due to the
D8408 D8428 number of main response timeout of the R
retries slave station, the
station current number of
retries will be stored.
RS485 RS485
Effective
name station Detailed content R/W
-1 -2
When the slave station
fails to respond within
the time set in the
response timeout of the
slave station, the master
station sends the text
until the set number of
retries is reached, and
D8412 D8432 Number of main R/W
the instruction processing
retries station will be ended due to
timeout error.
Setting range: 0 ~ 20
[times]. When setting a
value above 20, the number
of retries is 20.
passive Store the slave station
station passive number, with the setting
D8414 D8434 R/W
This site station range of 1 ~ 247.
Special relay
Effective
RS485-1 RS485-2 name station Detailed content R/W
M8410 R/W
RS485-1/2 Off: RS485-1 Use ADPRW
use main instruction.
ADPRW station On: RS485-2 uses ADPRW
instruction instruction.
switching
0x3400~0x34FF —— X0~X377
Word address
MODBUS-RTU Slave station soft component address
Soft component
Read out special Read/write address
0xA7B8~0xA7C7 —— X0~X377
RS485-1/RS485-2 communication parameter setting D8400/D8420 setting instructions
content
Bit number name
0(bit=OFF) 1(bit=ON)
b0 data sheet *α
7 place 8 place
b2 b1
b1 (0 0)-No parity
b2 odevity
(0 1)--odd number (ODD)
(1 1)--even number (EVEN)