DCU-100C Communication Driver is the driver to communicate with power control equipment of Shinyoung ENT.in Korea.
<Figure 1> is read setting example of DCU-100C communication driver.
<Figure 1> Read setting example of DCU-100C communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of controller.
DCU-100C communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) Station – DCU station number = 0 ~ 15.
2) Read Command – Don't care.
3) Read Start Address – Don't care.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – fixed to 1. ( Refer to <Table 1> )
Read schedule example)
READ, 0, , 0, 0, 1,
READ, 1, , 0, 30, 1,
<Table 1> is store values and contents of DCU-100C communication driver.
Store Values | Contents | Data Range | Remarks |
Start Add + 0 ~ 3 or 0 ~ 7 |
16 or 32 DI status value | 4 DI value( 0 ~ 15 ) at each address | the numbers of DI = differ from according to controller type |
Start Add + 5 ~ 19 or 8 ~ 23 |
16 AI current value | 0 ~ 4095 ( 12 bits ) | |
Start Add + 20 ~ 23 or 23 ~ 27 |
4 PI current value | 0 ~ 65535 ( 16 bits ) | When using PI |
<Table 1> Stored values and contents of DCU-100C communication driver |
DCU-100C communication driver store the same data in WORD, DWORD, FLOAT memory, but the data format are different.
You can control of DO by using write settings.
Bit Write
Bit write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION DCU station number = 0 ~ 15.
3) ADDRESS Relay number.
4) Extra1 Write command = CLEAR - command of PI board clear, DO or space - control of DO.
5) Extra2 Don't care.
Write example 1)
PORT : 0 STATION : 0 ADDRESS : 0000 EXTRA1 : EXTRA2 : 0
The setting parameter shown above is an example of 0(1st) DO control(On/Off) of 0 DCU-100C controller address.
Write example 2)
PORT : 0 STATION : 0 ADDRESS : 0005 EXTRA1 : EXTRA2 : 0
The setting parameter shown above is an example of 5(6th) DO control(On/Off) of 0 DCU-100C controller address.
Write example 3)
PORT : 0 STATION : 0 ADDRESS : 0000 EXTRA1 : CLEAR EXTRA2 : 0
The setting parameter shown above is an example of PI board clear command of 0 DCU-100C controller address.
Word Write
Word write and bit write have the same setting parameters except output value.
You have to connect normal RS-232C or RS-485 communication cable at RS-232C or RS-485 connector of DCU-100C controller.
<Figure 2> shows the appearance of DCU-100C controller.
<Figure 2> Appearance of DCU-100C controller |