CI-154 Communication Driver is the driver to communicate with power DPM.
<Figure 1> is read setting example of CI-154 communication driver.
<Figure 1> Read setting example of CI-154 communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.
CI-154 controller's baud rate, parity bit, data bit, stop bit are fixed to 9600, 0, 8, 1.
You can set CI-154 controller 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 When Extra1 = Y, output address : 0000 ~ 0007.
4) Extra1 Write command = Y or Z
Y : ON/OFF of LED lamp
Z: Melody alarm
5) Extra2 Don't care.
Write example 1)
Address | Extra1 | Output value | Result |
Z | OFF | Melody alarm OFF | |
0000 | Y | ON | 1st LAMP ON |
0005 | Y | ON | 6th LAMP ON |
Word Write
Word write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Don't care.
3) ADDRESS Don't care.
4) Extra1 Area : P ~ Z.
5) Extra2 Don't care.
Write example 1)
Extra1 | Output value | Display type |
P | 1234 | **1.234 |
X | 56789 | *56.789 |
* = space.