Appendix A Table 2 Example 1: the method of revising COM1 communication format. To revise COM1 communication format, add the following program codes to the WPLSoft software. When DVP10MC11T turns from STOP to RUN, PLC would detect if M1138 is on in the first scan cycle. If M1138 is on, the setting of COM1 will be revised according to D1036 value. In the following graph, COM1 communication format is revised into ASCII mode, 115200bps ( Baud rate ) , 7 ( Data bits ) , E ( Parity ) , 1 ( Stop bits ) . Example 2: the method of revising COM2 communication format (COM2 is possessed by PLC ) . To revise COM2 communication format, add following program codes to WPLSoft software.
When DVP10MC11T turns from STOP to RUN, PLC would detect if M1120 is on in the first scan cycle. If M1120 is on, the setting of COM2 will be revised according to D1120 value. In the following graph, COM2 communication format is revised into ASCII mode, 57600bps ( Baud rate ) , 7 ( Data bits ) , E ( Parity ) , 1 ( Stop bits ) . A-4 DVP-MC operating manual D6516 bit Explanation D6516 Communication format setting no.
b3~b0 Communication format b3~b0=0000(H0) Data bits =7, Parity =E, Stop bits =1 b3~b0=0001(H1) Data bits =7, Parity=O, Stop bits =1 b3~b0=0010(H2) Data bits =7, Parity =N, Stop bits =1 b3~b0=0100(H4) Data bits =8,Parity =N, Stop bits =2 b7~b4 Baud rate b7~b4=0000(H0) b7~b4=0001(H1) 9600bps 19200bps b7~b4=0010(H2) 38400bps b7~b4=0011(H3) 57600bps b7~b4=0100(H4) 115200bps b15~b8 Communication address b15~b8=00000010(H2) Communication address is 2