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 Set receiving timeout as 100ms X1 Set as RTU mode Sending request X0 Set communication instruction: Data address: H2000 Write in data H12 Device address: 01 M1127 The receiving data is stored in D1070~D1085 in Hex. Process of receiving data Receiving completed Reset M1127 DVP-PM Ц VFD-B, DVP-PM transmits: " 01 06 2000 0012 02 07 ” Registers for sent data (sending messages) VFD-B Ц DVP-PM, DVP-PM receives:
“ 01 06 2000 0012 02 07 ” Registers for received data (responding messages) DVP-PM Application Manual 5-91 MOV H87 D1120 SET M1120 MOV K100 D1129 SET M1143 SET M1122 MODWR K1 H2000 H12 RST M1127 Register DATA Explanation D1089 low 01 H Address of AC motor drive D1090 low 06 H Command code of AC motor drive D1091 low 20 H Data Address D1092 low 00 H D1093 low 00 H Data content D1094 low 12 H D1095 low 02 H CRC CHK Low D1096 low 07 H CRC CHK High Register DATA Explanation D1070 low 01 H Address of AC motor drive D1071 low 06 H Command code of AC motor drive D1072 low 20 H Data Address D1073 low 00 H D1074 low 00 H Data content D1075 low 12 H D1076 low 02 H CRC CHK Low D1077 low 07 H CRC CHK High