Mitsubishi — 5.6 Application Instructions

5 Categories and Use of Basic Application Instructions Program Example 2: Communication between DVP-PM and VFD-B series AC motor drive (RTU mode, M1143 = ON) M1002 Set communication protocol as 9600, 8, E, 1 Retain communication protocol Sett receiving timeout as 100ms Set as RTU mode Sending request X1 X0 Set communication instruction: D Data address: H2102 D ata length: 2 words M1127 The received data in HEX. is stored in D1070~D1085 evice address: 01 Processing received data Receiving completed Reset M1127 DVP-PM Ц VFD-B, DVP-PM transmits: “ 01 03 2102 0002 6F F7 ” VFD-B Ц DVP-PM, DVP-PM receives:

“ 01 03 04 1770 0000 FE 5C ” Registers for data to be sent (sending messages) Registers for received data (responding messages) DVP-PM Application Manual 5-87 Register DATA Explanation D1081 high ‘1’ 31 H 2105 H converts ASCII codes and store the converted value in D1054 D1082 low ‘3’ 33 H D1082 high ‘6’ 36 H D1083 low ‘0’ 30 H Content in address 2106 H 0000 H PLC automatically converts ASCII codes and store the converted value in D1055 D1083 high ‘0’ 30 H D1084 low ‘0’ 30 H D1084 high ‘0’ 30 H D1085 low ‘3’ 33 H LRC CHK 1 LRC CHK 0 D1085 high ‘B’ 42 H MOV H87 D1120 SET M1120 MOV K100 D1129 SET M1143 SET M1122 MODRD K1 H2102 K2 RST M1127 Register DATA Explanation D1089 low 01 H Address of AC motor drive D1090 low 03 H Command code of AC motor drive D1091 low 21 H Starting data address D1092 low 02 H D1093 low 00 H Number of data (count by word) D1094 low 02 H D1095 low 6F H CRC CHK Low D1096 low F7 H CRC CHK High Register DATA Explanation D1070 low 01 H Address of AC motor drive