DY-CPU communication driver is the driver to communicate with electronic display board controller of Dongyoung in Korea.
<Figure 1> is read setting example of DY-CPU communication driver.
<Figure 1> Read setting example of DY-CPU communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(fixed to 9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of controller.
DY-CPU communication driver¡¯s read schedule
DY-CPU communication driver's read schedule input 'READ' one line( or blank ).
Read schedule example)
READ,
You can write the setting value by using write settings.
Bit Write
Bit write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Don't care.
3) ADDRESS 0000 ~ 9999 write address.(decimal unit)
4) Extra1 Write command.
E, F = ALARM, STOP,
blank, etc = RUN, STOP.
5) Extra2 Don't care.
Write example 1)
Port:: 0, Station : 0, Address: 0000, Extra1 : , Extra2 :
The setting parameter shown above is a RUN/STOP control example of DY-CPU.(equipment address = 0)
Write example 2)
Port:: 0, Station : 0, Address: 0002, Extra1 : F , Extra2 :
The setting parameter shown above is a ALARM/STOP control example of DY-CPU.(equipment address = 2)
Word Write
Word write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Don't care.
3) ADDRESS 0000 ~ 9999 write address.(decimal unit)
4) Extra1 Write command(blink status setting).
E, e = ALARM,
blank, etc = normal status.
5) Extra2 Decimal point = 0 ~ 5.
0 : don't use decimal point,
1 ~3 : 1 ~ 3 digit decimal point.
Write example 1)
Port:: 0, Station : 0, Address: 0000, Extra1 : , Extra2 : 1
The setting parameter shown above is a write example of DY-CPU with 1 decimal point.(equipment address = 0)
Write example 2)
Port:: 0, Station : 0, Address: 0001, Extra1 : E, Extra2 : 3
The setting parameter shown above is a write example of DY-CPU with 3 decimal point and 'ALARM' status.(equipment address = 1)