U-66xxP Series CMS is driver to communicate with controller of cooling Co.,Ltd in Korea.
<Figure 1> is read setting example of U-66xxP Series CMS communication driver.
<Figure 1> Read setting example of U-66xxP Series CMS driver |
Device Setting of <Figure 1> are input, Com Port(COM1), Com Baud(9600), Parity Bit(2), Data Bit(8), Stop Bit(1). (Fixed to 9600, 2, 8, 1)
Also, enter the read time after writing( 0 ~ 5000 mSec, Default = 200 ) at protocol option part.
U-66xxP Series CMS driver's read schedule
Read schedule setting parameters are as follows :
1) Station : Station number of device. ( 0 ~ 255 )
2) Command(Sign) Number to Read : Enter among 01, 51 and 80. ( Refer to <Table 1> )
3) Read Start Address : Don't care. ( Set as 0 )
4) Save Start Address for Communication Server : Communication memory start address to save read value.
5) Read Size : Set as 1. (Read size is decided according to each command, refer to <Table 1>)
Read schedule example)
READ, 1, 01, 0, 0, 1,
READ, 1, 51, 0, 20, 1,
READ, 1, 80, 0, 22, 1,
<Table 1> is read command and contents which are used at U-66xxP Series CMS communication driver.
Command Number |
Contents |
Read Data Save Address and Contents |
01 |
Reading Analog Data |
Refer to <Table 2> |
51 |
Reading Digital Data |
Save Addr + 0 : Digital data 1 ( 16 bit ) Save Addr + 1 : Digital data 2 ( 16 bit ) |
80 |
Reading Step Data |
Save Addr + 0 : Number of remained Step ( 0 ~ 800 ) |
<Table 1> Read command and contents of U-66xxP Series CMS communication driver |
Data Saving Address | Contents | Range |
Remarks |
Save Addr + 0 | Measured temperature(PV) | -9999 ~ 22000 (Over Range : 22000, Under Range : -9999) |
Real value = Read value/100 |
Save Addr + 1 | Measure humidity(PV) | 0 ~ 10000 (Over Range : 10000, Under Range : 0) |
|
Save Addr + 2 | Set temperature(SV) | -9999 ~ 22000 |
|
Save Addr + 3 | Set humidity(SV) | 90 ~ 10000 (When out of controlled system = 32767) |
|
Save Addr + 4 | Remained Step time(Hour) | 0 ~ 99 |
Real value = Read value |
Save Addr + 5 | Remained Step time(Minute) | 0 ~ 59 |
|
Save Addr + 6 | Integration time of control execution(Hour) | 0 ~ 9999 (Clear every 10000 hours) |
|
Save Addr + 7 | Integration time of control execution(Minute) | 0 ~ 59 |
|
Save Addr + 8 | Step number | 0 ~ 799 |
|
Save Addr + 9 | Pattern number | 0 ~ 99 |
Real value = Read value ( In case of invalidity = 65535(-1) ) |
Save Addr + 10 | Link number | 0 ~ 9 |
|
<Table 2> Read data saving address and contents of reading analog data |
If you click the icon in protocol option part, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> U-66xxP Series CMS communication driver's Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> U-66xxP Series CMS communication driver's read schedule Add/Edit dialog box |
When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.
You can set mode and time, etc by using write settings.
Digital Write
Digital write and analog write have the same setting parameters except output value(0 or 1).
Analog Write
Analog write setting parameters are as follows :
1) Port : Connected Port number. (Not COM number)
2) Station : Station number of device. ( 0 ~ 255 )
3) Address : Command number(sign) to write. (Refer to <Table 3>)
4) Extra1 : Don't care. (Set as blank)
5) Extra2 : Set control number, in case of control setting command(0053).
When command number is 0053 : Enter the control number between 1 and 4 (Refer to <Table 3>),
Etc command number : Don't care.
Notice) You have to enter the write value parameter before writing to 'WorkDirectory\SCAN\COMMxxx.ini' file(xxx = Communication port(Port) number) because write value of U-66xxP Series CMS communication driver write setting command number(0010 ~ 0015) is read from this file. But, you have to recreate file when you you output again, because writing value file is deleted after printing out data.
Command Number | Contents | Parameter of Writing Value | Setting Range |
Remarks |
0010 | Step setting | Pattern No. | 0 ~ 99 |
Print out to WorkDirectory\SCAN\COMMxxx.ini file(xxx = Communication port number) after entering the write value parameters in order Refer to write value parameter setting method of below part |
Step No. | 0 ~ 799 |
|||
Temperature setpoint | -9990 ~ 20000 |
|||
Humidity setpoint | 0 ~ 10000 |
|||
Hour | 0 ~ 99 |
|||
Minute | 0 ~ 59 |
|||
Signal 1 | 0 ~ 9 |
|||
Signal 2 | 0 ~ 9 |
|||
0011 | Repeat setting | Pattern No. | 0 ~ 99 |
|
Total number of iterations | 1 ~ 999 |
|||
Partial repeat start step (1) | 0 ~ Number of registered steps |
|||
Partial repeat end step (2) | Number of start step ~ registered step |
|||
Partial repeat number (3) | 1 ~ 999 |
|||
Repeat (1), (2) and (3) four times | Same with (1), (2) and (3) items |
|||
0012 | Operation setting | Subject | 0 = Pattern, 1 = Link |
|
Pattern/Link No. | Pattern = 0 ~ 99, Link = 0 ~ 9 |
|||
Run | 0 = Fixed immediate Start, 1 = Fixed time Start, 2 = Program immediate Start, 3 = Program time Start |
|||
Hour | 0 ~ 23 |
|||
Minute | 0 ~ 59 |
|||
Month | 1 ~ 12 |
|||
Day | 1 ~ 31 |
|||
Outage/Return mode | 0 = Control break, 1 = Restart, 2 = Control continuously |
|||
0013 | Link setting | Link No. | 0 ~ 99 |
|
Connect Pattern 1 | 0 ~ 99 (255 = Blank) |
|||
Connect Pattern 2 ~ 6 | ||||
0014 | Time Signal setting | Signal No. | 2 ~ 9 |
|
Delay time(Hour) | 0 ~ 99 |
|||
Delay time(Minute) | 0 ~ 59 |
|||
Cutback time(Hour) | 0 ~ 99 |
|||
Cutback time(Minute) | 0 ~ 59 |
|||
Mode | 0 = Step, 1 = Time |
|||
0015 | FIX setting | Temperature setpoint | -9990 ~ 20000 |
|
Humidity setpoint | 0 ~ 10000 |
|||
Gradient velocity temperature | 10 ~ 990 (Real 0.1 ~ 9.9) |
|||
Gradient velocity humidity | 10 ~ 990 (Real 0.1 ~ 9.9) |
|||
Select gradient temperature | 0 = None, 1 = Presence |
|||
Select gradient humidity | ||||
0053 | Control setting | Control number(Input to Extra2) | 1 = Run, 2 = Stop, 3 = Put off, 4 = Next |
Control value = 1, But, in case of control number 3 Control value = 0 (Clear) or 1 (Execution) |
<Table 3> Write command and contents which are used at U-66xxP Series CMS communication driver |
Write the write value parameter of write command number(0010 ~ 0015) to 'WorkDirectory\SCAN\COMMxxx.ini' file(xxx = Communication port number), as follows.
(1) Write all parameters at first line.
(2) Each parameter is classified by comma(,).
(3) Enter all parameters as decimal number.
(4) Enter the parameter to each write command as much as you need.
(5) Additional entered parameter is ignored and not entered parameter is regarded as 0.
(6) You have to enter minimum 6 parameters.
Write example 1)
PORT : 0 STATION : 1 ADDRESS : 0010 EXTRA1 : Blank EXTRA2 : Blank
The setting parameter shown above is example of writing Step setting value of U-66xxP Series CMS connected with port no.0 and station no.1. But, before writing, you have to write 9 items(refer to <Table 3>) of write parameter value to 'WorkDirectory\SCAN\COMM000.ini' file.
Write example 2)
PORT : 0 STATION : 1 ADDRESS : 0053 EXTRA1 : Blank EXTRA2 : 1
The setting parameter shown above and write analog/digital value as 1, you can send run control command of U-66xxP Series CMS connected with port no.0 and station no.1.
Write example 3)
PORT : 0 STATION : 1 ADDRESS : 0053 EXTRA1 : Blank EXTRA2 : 2
The setting parameter shown above and write analog/digital value as 1, you can send stop control command of U-66xxP Series CMS connected with port no.0 and station no.1.
Connect communication cable and basic power to U-66xxP Series CMS as follows.
Communication cable connection
Connect RS-485 +, - terminal of computer side to 43( + ), 42( - ) terminal of back side(refer to <Figure 4>) of U-66xxP Series CMS, as follows.
U-66xxP Series CMS side Computer side( RS-485 )
No.43 terminal ---------------------------- + Terminal
No.42 terminal ---------------------------- - Terminal
<Figure 4> Appearance of connecting communication cable and basic power, etc to U-66xxP Series CMS |
Basic power connection
Connect 100 ~ 240V AC power to power input section of <Figure 4>.
<Figure 5> is front appearance of U-66xxP Series CMS device.
<Figure 5> Front appearance of U-66xxP Series CMS |