NAM IL NCT-P3 Current Measurement communication driver is the driver to communicate with NCT P3 current measurement controller of NAM IL Engineering in Korea.
<Figure 1> is read setting example of NAM IL NCT-P3 Current Measurement communication driver.
<Figure 1> Read setting example of NAM IL NCT-P3 Current Measurement communication driver |
Device part of <Figure 1> input Com Port(COM8), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.
NAM IL NCT-P3 Current Measurement communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – 0 ~ 255 controler ID.
2) Read command – Command = IT, I3, P_IT, P_I3, SC, TEMP, HUMI, IT_D, IT_T, I3_D, I3_T, PIT_D, PIT_T, PI3_D, PI3_T, STS, PORT, FAN, HEAT, H_HEAT.(Refer to <Table 1>)
3) Read Start Address – IT, I3, P_IT, P_I3, SC, TEMP, HUMI command : 0 = Phase R, 1 = Phase S, 2 = Phase T,
etc command : Don't care.
4) Save Start Address for Communication Server – Saving start address of Communication Server.
5) Read Size – Size = Fix to 1.
Read schedule example)
READ, 1, P_IT, 0, 0, 1,
READ, 1, FAN, 0, 1, 1,
READ, 1, HEAT, 0, 2, 1,
READ, 1, IT_D, 0, 3, 1,
READ, 1, IT_T, 0, 6, 1,
READ, 1, IT, 0, 9, 1,
<Table 1> is a description of read command and stored values of NAM IL NCT-P3 Current Measurement communication driver.
Read Command | Contents | Stored Values | Remarks |
IT | IT value read of N1L | Start Add + 0 : IT value | Read start address : 0 = Phase R, 1 = Phase S, 2 = Phase T |
I3 | I3 value read of N1L | Start Add + 0 : I3 value | |
P_IT | Peak IT value read of N1L | Start Add + 0 : Peak IT value | |
P_I3 | Peak I3 value read of N1L | Start Add + 0 : Peak I3 value | |
SC | SC value read of N1L | Start Add + 0 : SC value | |
TEMP | Temperature value read of N1L | Start Add + 0 : Temperature | Read start address : 0 = Phase R, 1 = Phase S, 2 = Phase T Real Value = Read Value / 100 |
HUMI | Humidity value read of N1L | Start Add + 0 : Humidity | |
IT_D | Read of IT current date for N1L | Start Add + 0 : Year(0 ~ 99) Start Add + 1 : Month Start Add + 2 : Day |
|
IT_T | Read of IT current time for N1L | Start Add + 0 : Hour(0 ~ 23) Start Add + 1 : Minute Start Add + 2 : Second |
|
I3_D | Read of I3 current date for N1L | Start Add + 0 : Year(0 ~ 99) Start Add + 1 : Month Start Add + 2 : Day |
|
I3_T | Read of I3 current time for N1L | Start Add + 0 : Hour(0 ~ 23) Start Add + 1 : Minute Start Add + 2 : Second |
|
PIT_D | Read of Peak IT current date for N1L | Start Add + 0 : Year(0 ~ 99) Start Add + 1 : Month Start Add + 2 : Day |
|
PIT_T | Read of Peak IT current time for N1L | Start Add + 0 : Hour(0 ~ 23) Start Add + 1 : Minute Start Add + 2 : Second |
|
PI3_D | Read of Peak I3 current date for N1L | Start Add + 0 : Year(0 ~ 99) Start Add + 1 : Month Start Add + 2 : Day |
|
PI3_T | Read of Peak I3 current time for N1L | Start Add + 0 : Hour(0 ~ 23) Start Add + 1 : Minute Start Add + 2 : Second |
|
STS | Read of Relay Status | Start Add + 0 : Relay Status | Bit 0 : R surge On/Off Bit 1 : S surge On/Off Bit 2 : T surge On/Off Bit 3 : Fan Relay On/Off Bit 4 : Heater Relay On/Off |
PORT | Read of Port Option | Start Add + 0 : Port Option | Bit 0 : R Bit 1 : S Bit 2 : T |
FAN | Read of Fan On Temperature | Start Add + 0 : Temperature | Real Value = Read Value / 100 |
HEAT | Read of Heater On Temperature | ||
H_HEAT | Read of Heater On Humidity | Start Add + 0 : Humidity | |
<Table 1> Read commands type and stored values of NAM IL NCT-P3 Current Measurement communication driver |
NAM IL NCT-P3 Current Measurement communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE 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 2> Example of NAM IL NCT-P3 Current Measurement communication driver¡¯s Option dialogue box |
You can also set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of NAM IL NCT-P3 Current Measurement 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> will be shown.
You can set NCT-P3 controller 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 : Port no. (0 ~ 255)
2) STATION : 0 ~ 255 controler ID.
3) ADDRESS : P_IT, P_I3, FAN, HEAT, PORT command : 0 = Phase R, 1 = Phase S, 2 = Phase T,
etc command : Don't care.
4) EXTRA 1 : Write Command =P_IT, P_I3, FAN, HEAT, PORT, DATE, TIME.(Refer to <Table 2>)
5) EXTRA 2 : Don't care.
<Table 2> is a description of write command and write value of NAM IL NCT-P3 Current Measurement communication driver.
Write Command | Contents | Output value | Address | Remarks |
P_IT | Write of Peak IT value for N1L | Value of Peak IT | 0 = Phase R, 1 = Phase S, 2 = Phase T |
|
P_I3 | Write of Peak I3 value for N1L | Value of Peak I3 | ||
FAN | Write of Fan On Temperature | Temperature | (setting value = real value x 100) | |
PORT | Write of Port Option | Port Option | ||
DATE | Syncronization date(computer date) | Don,t care | Don,t care | |
TIME | Syncronization time(computer time) | |||
<Table 2> write command and write value of NAM IL NCT-P3 Current Measurement communication driver |
Write example 1)
PORT:0, station:1, ADDRESS:0000, Extra1:DATE, Extra2 : 0
The setting parameter shown above is an example of write for Syncronization date of NAM IL NCT-P3 Current Measurement connected with 0 port and 1 controller ID.
Write example 2)
PORT:0, station:1, ADDRESS:0000, Extra1:TIME, Extra2 : 0
The setting parameter shown above is an example of write for Syncronization time of NAM IL NCT-P3 Current Measurement connected with 0 port and 1 controller ID.
Block write
NAM IL NCT-P3 Current Measurement communication driver don¡¯t support ¡®Block write¡¯.
<Figure 4> is appearance of NAM IL NCT-P3 Current Measurement Controller.
<Figure 4> Appearance of NAM IL NCT-P3 Current Measurement Controller |