DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 3743. For ASCII or RTU mode, PLC COM2 stores the data to be sent in D1256~D1295, and receiveddata in D1070~D1085.4. Take the connection between PLC (PLC COM2) and VFD-B for example, the tables belowexplains the status when PLC reads status of VFD-B. (M1143 = OFF, ASCII Mode) (M1143 =ON, RTU Mode)H87MOVM1002D1120SET M1120K100MOV D1129RST M1127Set communication protocol as 9600, 8, E, 1Retain communication protocolSet communication timeout as 100msMODRW K6K1X0H2000 D50 K1Connection deviceaddress: K1Function code K6write in single dataData address: H2000Data storing registerD50=H1770Data lengthProcessing received dataASCII mode: The received data is stored in D1070~D1085 in ASCII formatRTU mode: The received data is stored in D1070~D1085 in Hex formatReset M1127M1127SETX0M1122 Sending requestM1143 = OFFASCII modeRST M1143 M1143 = ONRTU modeSET M1143Receiving completedASCII mode (M1143 = OFF)When X0 = ON, MODRW instruction executes the function specified by Function Code 06PLC VFD-B, PLC sends: “01 06 2000 1770 52”VFD-B PLC, PLC receives: “01 06 2000 1770 52”Registers for data to be sent (sending messages)Register Data DescriptionsD1256 Low byte ‘0’ 30 H ADR 1 Device address of VFD-B:ADR (1,0)D1256 High byte ‘1’ 31 H ADR 0D1257 Low byte ‘0’ 30 H CMD 1 Control parameter: CMD (1,0)D1257 High byte ‘6’ 36 H CMD 0D1258 Low byte ‘2’ 32 HData AddressD1258 High byte ‘0’ 30 HD1259 Low byte ‘0’ 30 HD1259 High byte ‘0’ 30 HD1260 Low byte ‘1’ 31 H DatacontentH1770 = K6000.The content of register D50D1260 High byte ‘7’ 37 HD1261 Low byte ‘7’ 37 H