DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 364H87MOVM1002D1109SET M1136K100MOV D1252MODRW K2K1X0H0500 D0 K16Connection deviceaddress: K1Function code: K2read multiple bitsData address: Y0=H0500Data st oring registerData length(bit)SETX0M1316M1320 = OFF,ASCII modeRST M1320 SET M1320Set communication protocol as 9600, 8, E,1Retain communication settingSet receiving timeout as 100msSending requestM132 0 = ONRTU modeRST M1318Processing received dataReset M1318M1318Receiving completedASCII mode: The received data is converted to Hex valueand stored in registers starting from D0RTU mode: The received data is stored in registers starting from D0 ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):When X0 = ON, MODRW instruction executes the function specified by Function Code 02PLC1 PLC2, PLC1 sends: “01 02 0500 0010 E8”PLC2 PLC1, PLC1 receives: “01 02 02 3412 B5”PLC1 data receiving register D0Register Data DescriptionsD0 1234H PLC converts the ASCII data in address 0500H~0515H andstores the converted data automatically.Analysis of the read status of PLC2 Y0~Y17: 1234HDevice Status Device Status Device Status Device StatusY0 OFF Y1 OFF Y2 ON Y3 OFFY4 ON Y5 ON Y6 OFF Y7 OFFY10 OFF Y11 ON Y12 OFF Y13 OFFY14 ON Y15 OFF Y16 OFF Y17 OFF