Mitsubishi — 5.6 Application Instructions

5 Categories and Use of Basic Application Instructions Program Example 3: 1. In the communication between DVP-PM and VFD-B series AC motor drive (ASCII Mode, M1143 = OFF), executes Retry when communication time-out, data receiving error or parameter error occurs. 2. When X0 = ON, DVP-PM will write data H1770 K6000) into address H0100 in device 01 (VFD-B). 3. M1129 will be ON when communication time-out occurs. The program will trigger M1129 and send request for reading the data again. 4. M1140 will be ON when data receiving error occurs. The program will trigger M1140 and send request for 5. M1141 will be ON when parameter error occurs.

The program will trigger M1141 and send request for reading reading the data again. the data again. M1002 Set communication protocol as 9600, 8, E, 1 Retain communication protocol Set communication timeout as 100ms X0 Sending request M1129 M1140 Retry when communication time-out occurs Retry when data receiving error occurs M1141 Retry when parameter error occurs X0 Set communication instruction: Data address: Data: H1770 H0100 Device address: 01 Receiving completed M1127 Processing received data The received data is stored in D1070-D1085 i . n ASCII format Reset M1127 M1129 Reset M1129 (receiving timeout) Program Example 4: 1.

In the communication between DVP-PM and VFD-B series AC motor drive (ASCII Mode, M1143 = OFF), executes Retry when communication time-out, data receiving error or parameter error occurs. Set the times of retry as 3 in D0. When communication retry is successful, the communication can again be triggered by users. 2. When X0 = ON, PLC will write data H1770 (K6000) into address H0100 in device 01 (VFD-B). 3. M1129 will be ON when communication time-out occurs. The program will trigger M1129 and send request for reading the data again. The specified times of retry: 3 (D0 = 3). 4. M1140 will be ON when data receiving error occurs.

The program will trigger M1140 and send request for reading the data again. The specified times of retry: 3 (D0 = 3). 5. M1141 will be ON when parameter error occurs. The program will trigger M1141 and send request for reading DVP-PM Operation Instruction 5-92 MOV H87 D1120 SET M1120 MOV K100 D1129 SET M1122 MODWR K1 H0100 H1770 RST M1127 RST M1129