MX2N series HMI PLC all in one programming manual
are executed at the same time, the system will communicate in turns. If the communication is
overtime, M8129 turns ON and reports 6306 fault and exits this communication, and records
this overtime station number in the D8122 register,execute the next communication
instructions;
2. The FROM/TO instruction cannot be used with the RS instruction in the program at
the same time, reporting 6609 failure;
3. The maximum data length of the FROM/TO instruction: bit (1~64), register (1~64);
4. The communication parameters of the master station and the slave station must be set
same to communicate, such as data length, parity, stop bit, and rate;
5. When using the 05 command to set the slave station component, such as: TO H501
K4000 D0 K1—Set the M0 state of slave No. 1. If D0 is equal to 0, slave M0 is OFF; when
D0 is non-zero, slave M0 is ON;
6. When using the TO command, you can send instructions to all slaves, and only need
to set the slave address to 0.
For example, TO H600 K0 D0 K3: Write D0, D1, D2 of master station to register
addresses 0, 1, 2 of all slaves.
D8129—Communication timeout setting, default 500ms; setting technique, set D8129
larger,when writing program communication is normal, run a period of time, monitor the
value of D8124, D8129 equals D8124 plus 3 (only for reference );
Note: 1) The function needs to be enabled in IO setting and activation software,
otherwise it will report 6506 fault (unsupported instruction) when using FROM/TO
instruction;
9.5Modbus-RTU Protocol slave station element address