Mitsubishi — 5.6 Application Instructions

5 Categories and Use of Basic Application Instructions the data again. The specified times of retry: 3 (D0 = 3). M1002 Set communication protocol as 9600, 8, E, 1 Retain communication protocol Set communication timeout as 100ms X0 M1129 Sending request Retry when communication time-out occurs M1140 Retry when data receiving error occurs M1141 Retry when parameter error occurs X0 Set communication instruction: Data: H1770 Data address: H0100 Device address: 01 M1122 M1127 Receiving completed Processing received data The received data is stored in D1070-D1085 in ASCII format . Reset M1127 M1129 Reset M1129 (receiving timeout) M1140 M1141 Points to note: 1.

If rising-edge contacts (LDP, ANDP, ORP) or falling-edge contacts (LDF, ANDF, ORF) is used before MODWR instruction, sending request flag M1122 has to be executed as a requirement.. 2. There is no limitation on the times of using this instruction, but only one instruction can be executed at a time on the same COM port. DVP-PM Application Manual 5-93 MOV H87 D1120 SET M1120 MOV K100 D1129 MOV K3 D0 SET M1122 LD>= D0 D100 MODWR K1 H0100 H1770 INC D100 RST M1127 RST D100 RST M1129 RST M1140 RST M1141