ControlCity with ICU Communication Driver is the driver to communicate with ControlCity controller of Samsung SDS in Korea.
<Figure 1> is read setting example of ControlCity with ICU communication driver.
<Figure 1> Read setting example of ControlCity with ICU communication driver |
Device part of <Figure 1> input Device Type(TCP/IP), IP address of controller(192.168.10.220), Service port number(fixed to 3000 or 3001) respectively.
Also input 'OCS Code number(51 ~ 63)' to option part.
ControlCity with ICU communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – ICU address = 1 ~ 50.
2) Saving option – VAL = save current value, DATA(default) = object status and current value.
3) Read Start Address – 0 ~ 255 read map address. ( Refer to <Table 1> )
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – Fixed to 1. (read multi data according to map setting)
Read schedule example)
FLOAT, 1, DATA, 0, 0, 1,
FLOAT, 1, DATA, 1, 20, 1,
<Table 1> is store values and contents according to saving option of ControlCity with ICU communication driver.
<Table 2> is each bit contents of saved object status.
<Table 3> is input method of map file and <Figure 2> is input example of read map file.
Saving Option | Contents | Store Values |
VAL | Save current value | Start Addr + 0 : channel no(Fixed to 0) Start Addr + 1 : current value of 1st device, module, type, channel specified by MAP, Start Addr + 2 : current value of 2nd device, module, type, channel specified by MAP, ¡¦ |
DATA | Save object status and current value | Start Addr + 0 : channel no(Fixed to 0) Start Addr + 1 : object 1 status of 1st device, module, type, channel specified by MAP, Start Addr + 2 : object 2 status of 1st device, module, type, channel specified by MAP, Start Addr + 3 : current value of 1st device, module, type, channel specified by MAP, Start Addr + 4 : object 1 status of 2nd device, module, type, channel specified by MAP, Start Addr + 5 : object 2 status of 2nd device, module, type, channel specified by MAP, Start Addr + 6 : current value of 2nd device, module, type, channel specified by MAP, ¡¦ |
<Table 1> Store values and contents according to saving option of ControlCity with ICU communication driver |
Status type | Bit position | Contents | Remarks |
Object 1 status | 15 bit | setOvr | Command by Override Set |
14 bit | lnkPage | ||
13 bit | msgUser | ||
12 ~ 8 bit | commander | Commander | |
7 ~ 4 bit | priority | residual command priority | |
3 bit | setObj | Object setting status(setting=1) | |
2 bit | enCmdReport | Report status for Point Object | |
1 bit | lockOutput | Hold status | |
0 bit | lockCom | Lock status | |
Object 2 status | 15 bit | enFPH | Weather to saving data(sampling) every 1 second |
14 bit | enPH | Saving to Point History | |
13 bit | enCOSRep | Report to server when occur COS or Reset | |
12 bit | enCOS | Change Of Status | |
11 bit | enAlarmRep | Report to server when occur WE/AE/FAE statusor Reset | |
10 bit | enFeedback | Alarm when feedback signal | |
9 bit | enAlarm | Alarm status | |
8 bit | enWarn | Warning status | |
7 bit | stsOos | Unstable status of point value | |
6 bit | lockEvent | Evnet Lock | |
5 bit | stsOvr | Override status | |
4 bit | stsComlock | Lock status | |
3 ~ 0 bit | stsAlarm | alarm status | |
<Table 2> Each bit contents of saved object status |
Filename |
Input method of map file |
Work folder\SCAN\ OBJID%03d_%03d.ini
front %03d = 0 ~ 255 Port number, rear %03d = 0 ~ 255 Map number, |
1) device, module, type, channel of Object ID separate by dot ( . ). Example) 1.0.1.1 2) Separate each input parameter by comma( , ) 3) Input max 391 device, module, type, channel. 4) You can input one line or multi line. |
<Table 3> Input method of map file |
<Figure 2> Input example of read map file |
ControlCity with ICU communication driver store the same data in WORD, DWORD, FLOAT, STRING memory, but the data formats 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 3> Example of ControlCity with ICU communication driver¡¯s Option dialogue box |
You can set read schedule by using , , button and listbox of <Figure 3>.
'OCS Code number' and 'read map data' can input by 'OCS No' and , button such as <Figure 3>
<Figure 4> Example of ControlCity with ICU communication driver¡¯s read schedule Add/Edit dialogue box |
When you click Add button or Edit button in dialogue box of <Figure 3>, dialogue box of <Figure 4> is shown.
<Figure 5> is example of read object ID setting dialogue box.( select by button)
<Figure 6> is example of object ID map file data by 'Nodepad' program. (select by button )
<Figure 5> Example of read object ID setting dialogue box |
<Figure 6> Example of object ID map file data by 'Nodepad' program |
You can write current value of object ID(station, device, module, type, channel) by using write settings.
Bit Write
Bit write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION ICU address = 1 ~ 50.
3) ADDRESS Setting of ICU type. 3 = UNIMAX S-600, 10 = UNIMAX V-600, 1 = ICU-600.
4) Extra1 device(0 ~ 31), module(0 ~ 15), type(0 ~ 127), channel(0 ~ 1023) of Object ID separate by dot ( . ).
example) 1.0.1.1 (device = 1, module = 0, type = 1, channel = 1)
5) Extra2 Write type.
1 = normal,
2 = Override,
3 = Override + Value,
4 = Release.
Write example 1)
PORT : 0 , STATION : 1, ADDRESS : 0001, EXTRA1 : 1.0.5.1, EXTRA2 : 1
The setting parameter shown above is an example of Object ID value's normal write for 1.0.5.1 (device = 1, module = 0, type = 5, channel = 1, real Object ID = 1.1.0.5.1).
Write example 2)
PORT : 0 , STATION : 1, ADDRESS : 0001, EXTRA1 : 1.0.5.1, EXTRA2 : 2
The setting parameter shown above is an example of Object ID value's override write for 1.0.5.1 (device = 1, module = 0, type = 5, channel = 1, real Object ID = 1.1.0.5.1).
Write example 3)
PORT : 0 , STATION : 1, ADDRESS : 0001, EXTRA1 : 1.0.5.2, EXTRA2 : 1
The setting parameter shown above is an example of Object ID value's normal write for 1.0.5.2 (device = 1, module = 0, type = 5, channel = 1, real Object ID = 1.1.0.5.2).
Word Write
Word write and bit write have the same setting parameters except output value.
You have to connect normal ethernet UTP ControlCity equipment such as <Figure 7>.
<Figure 7> Appearance of ControlCity with ICU |