DEESYS D2K-ED Series Communication Driver is the driver to communicate with digital short circuit detector of Deesys Co., Ltd. in Korea.
<Figure 1> is read setting example of DEESYS D2K-ED Series communication driver.
<Figure 1> Read setting example of DEESYS D2K-ED Series 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.
DEESYS D2K-ED Series communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) Station – Controller station number = 1 ~ 16.
2) Read Command – Command = M, FS, F. ( Refer to <Table 1> )
3) Read Start Address – Channel, Fault number according read command. ( 1 ~ )
M : 1 ~ 32 channel number,
F : 1 ~ 10 Fault number,
FS : 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> )
M : 3 FLOAT data,
FS : 1 Fault ( 0 ~ 10 Fault ),
F : 8 data, Fault status, month day, hour, minute, second. ( When Fault data does not exist, save only 'status data' )
Read schedule example)
READ, 1, M, 1, 0, 1,
READ, 1, M, 2, 3, 1,
READ, 1, M, 3, 6, 1,
READ, 1, M, 4, 9, 1,
READ, 1, M, 5, 12, 1,
READ, 1, M, 6, 15, 1,
<Table 1> is read, write command and contents of DEESYS D2K-ED Series communication driver.
<Table 2> is data saving address and contents of 'M' read, 'S' write command.
<Table 3>, <Table 4> are saving address and contents of 'FS', 'F' read command
Read Command |
Contents |
Remarks |
M |
Read of 1 ~ 32 cnannel monitoring data |
Refer to <Table 2> |
FS |
Read of fault count |
Refer to <Table 3> |
F |
Read of 1 ~ 10 fault value |
Refer to <Table 4> |
S |
Write of I, T value 1 ~ 32 channel |
Refer to <Table 2> |
<Table 1> Read, write command and contents of DEESYS D2K-ED Series communication driver |
Data Saving Address |
Contents |
Range |
Setting value of write |
Start Add + 0 |
I °ª |
0.2 ~ 1.0 |
2 ~ 10 |
Start Add + 1 |
T °ª |
0.1 ~ 3.0 |
1 ~ 30 |
Start Add + 2 |
Current |
|
|
<Table 2> Data saving address and contents of 'M' read, 'S' write command |
Data Saving Address |
Contents |
Range |
Remarks |
Start Add + 0 |
Fault Count |
0 ~ 10 |
0 = none fault |
<Table 3> Data saving address and contents of 'FS' read command |
Data Saving Address |
Contents |
Remarks |
Start Add + 0 |
Read status |
0 = error, data not exist 1 = normal read |
Start Add + 1 |
Feeder |
|
Start Add + 2 |
Current |
3 decimal point |
Start Add + 3 |
Month |
Time of fault occurence |
Start Add + 4 |
Day |
|
Start Add + 5 |
Hour |
|
Start Add + 6 |
Minute |
|
Start Add + 7 |
Second |
|
<Table 4> Data saving address and contents of 'F' read command |
DEESYS D2K-ED Series communication driver store the same data in WORD, DWORD, FLOAT memory, but the data format are different.
If you click the icon in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> Example of DEESYS D2K-ED Series communication driver¡¯s Option dialogue box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of DEESYS D2K-ED Series communication driver¡¯s read schedule Add/Edit dialogue box |
When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.
You can write the setting value by using write settings.
Bit Write
Bit write and word write have the same setting parameters except output value.( 0 or 1 )
Word Write
Word write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Controller station number = 1 ~ 16.
3) ADDRESS Channel, Fault number according read command. ( 1 ~ )
M, S : 1 ~ 32 read, write channel number,
F : 1 ~ 10 read fault number, 0 = all,
FS : don't care.
4) Extra1 Read, write command.
M, FS, F : read command,
S : 1 ~ 32 channel I, T value write command.
5) Extra2 I value setting or readed data save start address.
M, FS, F : readed data save start address of WORD, DWORD, FLOAT memory,
S : I valse setting, I value = 2 ~ 10 ( 0.2 ~ 1.0 ).
Write example 1)
Station : 1 Address : 0001 Extra1 : M, EXTRA2 : 100
The setting parameter shown above is an example of monitoring data(M command) read of 1 channel and save readed data to 100 ~ 102 WORD, FLOAT, DWORD memory.
Write example 2)
Station : 1 Address : 0001 Extra1 : F, EXTRA2 : 200
The setting parameter shown above is an example of fault status(F command) read of 1 fault value and save readed data to 200 ~ 207 WORD, FLOAT, DWORD memory.
If does not exist fault data, save 0 value at 200 WORD, DOWRD, FLOAT memory.
Write example 3)
Station : 1 Address : 0001 Extra1 : S, EXTRA2 : 5, Output value : 10
The setting parameter shown above is an example of write I, T value(S command) to 1 channel. The setting value of I = 0.5 ( Extra2 = 5 ), T = 1.0 (Output value = 10 ).
Write example 4)
Station : 1 Address : 0032 Extra1 : S, EXTRA2 : 10, Output value : 30
The setting parameter shown above is an example of write I, T value(S command) to 32 channel. The setting value of I = 1.0 ( Extra2 = 10 ), T = 3.0 (Output value = 30 ).
Connection of main power line and communication cable are as follows.
Connection of main power line
Please connect 100/220 V AC 60 HZ main power to 'AUX Power Pp, Pn' connector such as <Figure 4>.
<Figure 4> Connection example of main power line and communication cable to DEESYS D2K-ED Series |
Connection of RS-485 communication cable
You have to connect RS-485 communication cable between DEESYS D2K-ED Series and computer such as <Figure 4>.
Computer side DEESYS D2K-ED Series side
Tx+, Rx+ -------------------------------------- DA + connector
Tx-, Rx- -------------------------------------- DB - connector
<Figure 5> shows the appearance of DEESYS D2K-ED controller.
<Figure 5> Appearance of DEESYS D2K-ED controller |
You can set DEESYS D2K-ED controller's station number by front operation button such as <Figure 5>.
1) Press 'MODE' button.
2) Select '4 Comm Set' menu by using 'Up', 'Down' button.
3) Press 'Enter' button.
4) Select '1 Port No' menu and press 'Enter' button.
5) Select 1 ~ 16 station number by using 'Up', 'Down' button and press 'Enter' button.