Wonil DPM communication driver is the driver to communicate with indicator of Wonil Technology Co.,Ltd. in Korea.
<Figure 1> is read setting example of Wonil DPM communication driver.
<Figure 1> Read setting example of Wonil DPM communication driver |
Device Settings of Wonil DPM are input, Com Port(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1).
Wonil DPM read schedule
Wonil DPM protocol just needs single line such as 'READ,'.
Digital Write of Wonil DPM
There is no digital output setting of Wonil DPM.
Analog Write of Wonil DPM
Analog write setting parameters are as follows :
1) PORT : Connected PORT no.(0 ~ 255).
2) ADDRESS : Output address(0000 ~ 00FF).
3) EXTRA1 : The way of filling the blanks.
0 : Fill the blank as 0.
Character except for 0 : Leave the blanks unfilled.
4) EXTRA2 : Sub digit of decimal point.
0 = Not use decimal point.
1 = Display sub 1 digit of decimal point
2 = Display sub 2 digit of decimal point
3 = Display sub 3 digit of decimal point
Write example)
Extra1 | Extra2 | Written value | Format to be displayed |
0 | 0 | 12.34 | 0012 |
0 | 1 | 12.34 | 012.3 |
0 | 2 | 12.34 | 12.34 |
0 | 3 | 12.34 | 2.340 |
1 | 0 | 12.34 | **12 |
1 | 1 | 12.34 | *12.3 |
1 | 2 | 12.34 | 12.34 |
1 | 3 | 12.34 | 2.340 |
'*' means the blanks.