HANYOUNG NP Series communication driver is the driver to communicate with digital temperature controller of HanYoung Nux Co., Ltd. in Korea.
Note) Normall, to use HANYOUNG NP Series controller, you should to install RS-422/485 communication card or RS-232C to RS-485 communication converter at computer.
<Figure 1> is read setting example of HANYOUNG NP Series communication driver.
<Figure 1> Read setting example of HANYOUNG NP Series communication driver |
Device part of <Figure 1> input Com Port(COM8), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of controller.
Also you can set 'use of CheckSum data' (0 = don't use, 1 = use, default : 1) by using option part.
Note) Station, baud rate, parity bit, data bit, stop bit of HANYOUNG NP Series can set by using front panel button. ( refer to <Table 4> )
HANYOUNG NP Series communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) Station – NP( Nx, Px ) series controller station number = 1 ~ 99.
2) Read Command – command = D, I, DM, IM. ( Refer to <Table 1> )
3) Read Start Address – reading start register number when D, I command. ( 1 ~ )
4) Save start address for Communication Server – saving start address of Communication Server.
5) Read Size – 1 ~ 32 read size.
D, I command : 1 ~ 32,
DM, IM : fixed to 1. ( according to size of registered monitoring data )
Read schedule example)
READ, 1, D, 1, 0, 32,
READ, 1, I, 1, 32, 32,
<Table 1> is command and contents of HANYOUNG NP Series communication driver
Command |
Contents |
D |
Read/write of D register area |
I |
Read/write of I register area |
DM |
Read/write of D register registered monitoring data |
IM |
Read/write of I register registered monitoring data |
<Table 1> Command and contents of HANYOUNG NP Series communication driver |
<Table 2>, <Table 3> are address and contents for D, I register.
Register address |
Mark |
Meaning |
D0001 |
NPV |
present value |
D0002 |
NSV |
setting value |
D0003 |
SSV |
for test |
D0004 |
|
|
D0005 |
MVOUT |
curretn output value |
D0006 |
HOUT |
Heating output value |
D0007 |
COUT |
Cooling output value |
D0008 |
PIDNO |
PID value |
D0009 ~ D0012 |
|
|
D0013 |
ALMNO |
alarm status |
D0014 |
UOSTS |
User Output Status |
D0015 |
DISTS |
DI Status |
D0016 |
|
|
D0017 |
ERROR |
Error Status |
D0018 |
NOWSTS |
Mode Status |
D0019 |
COMOP |
|
D0020 |
CPTNOY |
Pattern No. for operating |
D0021 |
CSGNO |
Segment No. for operating |
D0022 |
CSGSV |
Segment target setting for operating |
D0023 |
CSGTM |
Segment setting time value for operating |
D0024 |
RSGTM |
elapsed time |
D0025 |
BRSGTM |
remain time |
D0026 |
BWRSGTM |
waited time |
D0027 |
CRPT |
progressed number of repeat |
D0028 |
TRPT |
setting number of repeat for current pattern |
D0029 |
PTSTS |
Pattern Status |
D0030 ~ |
refer to Nx, Px Series user's manual |
|
<Table 2> Address and contents for D register |
Register address |
Read/write |
D0001 ~ D0049 |
read only |
D0100 ~ D899 |
read/write |
D0900 ~ D1100 |
read only |
<Table 3> Address and contents for I register |
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 HANYOUNG NP Series communication driver¡¯s Option dialogue box |
You can set read schedule by using , , button and listbox of <Figure 2>.
Also, you can set use of CheckSum data by using the part of 'Use Check Sum Code' shown in <Figure 2>.
<Figure 3> Example of HANYOUNG NP 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.
Digital Write
Digital write and analog write have the same setting parameters except output value.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION NP( Nx, Px ) series controller station number = 1 ~ 99.
3) ADDRESS writing register address according to Write command. ( 1 ~ , decimal unit )
D, I : writing register address (1 ~ ),
DM, IM : to be registered monitoring address.
4) Extra1 Write command = D, I, DM, IM.( Refer to <Table 1> )
5) Extra2 option to be registered monitoring when DM, IM write command.
0 = register to Monitoring data to memory,
1 = transfer Monitoring data in the memory to NP series controller,
2 = delete all registered Monitoring data in the memory.
Write example 1)
PORT:0, station:1, ADDRESS:0301, Extra1:D, Extra2 : 0
The setting parameter shown above is a setting example of D0301 ( SV1 value ) register memory.
Write example 2)
PORT:0, station:1, ADDRESS:0301, Extra1:I, Extra2 : 0
The setting parameter shown above is a control example of I0301 register memory.
Write example 3)
PORT:0, station:1, ADDRESS:0001, Extra1:DM, Extra2 : 0
The setting parameter shown above is register to Monitoring data to memory example for D0001 register memory.
Write example 4)
PORT:0, station:1, ADDRESS:0005, Extra1:DM, Extra2 : 0
The setting parameter shown above is register to Monitoring data to memory example for D0005 register memory.
Write example 5)
PORT:0, station:1, ADDRESS:0001, Extra1:DM, Extra2 : 1
The setting parameter shown above is transfer Monitoring data in the memory to NP series controller example. ( can read by DM read command )
Write example 6)
PORT:0, station:1, ADDRESS:0001, Extra1:DM, Extra2 : 2
The setting parameter shown above is delete all registered Monitoring data in the memory example.
Connection of main power and communication cable are as follows.
Connection of main power
Please connect 100 ~ 240V AC, 50~ 60 HZ power to 8, 9 connector such as <Figure 4>.
<Figure 4> Connection example of main power and communication cable to HANYOUNG NP Series |
Connection of communication cable
Please connect RS-485 communication cable to 31 ~ 34 connector such as <Figure 4>.
computer HANYOUNG NP Series
Tx+ -------------------------------------- 33 connector ( Rx+ )
Tx- -------------------------------------- 34 connector ( Rx- )
Rx+ -------------------------------------- 31 connector ( Tx+ )
Rx- -------------------------------------- 32 connector ( Tx- )
<Figure 5> is appearance of HANYOUNG NP100 controller.
<Figure 5> Appearance of HANYOUNG NP100 controller |
Station number, baud rate and protocol type of HANYOUNG NP Series controller can set by using front panel button such as follows.
Setting of station
Station number can set by using front panel button such as follows.
1) Press 'SET' button about 2.5 seconds. Then will be display 'G.EnG' at screen.
2) Press 'SET' button again and select 'G.CoF' by using 'Up', 'Down' button.
3) Press 'SET' button 6 times. Then will be display 'Adr' at screen.
4) Select 1 ~ 99 station number by using 'Up', 'Down' button.
5) Return to 'operation mode' by pressing 'SET' button about 2.5 seconds.
Setting of baud rate
Baud rate can set by using front panel button such as follows.
1) Press 'SET' button about 2.5 seconds. Then will be display 'G.EnG' at screen.
2) Press 'SET' button again and select 'G.CoF' by using 'Up', 'Down' button.
3) Press 'SET' button 2 times. Then will be display 'bpS' at screen.
4) Select baud rate among 600, 1200, 2400, 4800, 9600 by using 'Up', 'Down' button and press 'SET' button.
5) Return to 'operation mode' by pressing 'SET' button about 2.5 seconds.
Setting of protocol type
Protocol type can set by using front panel button such as follows.
1) Press 'SET' button about 2.5 seconds. Then will be display 'G.EnG' at screen.
2) Press 'SET' button again and select 'G.CoF' by using 'Up', 'Down' button.
3) Press 'SET' button 1 times. Then will be display 'P-rS' at screen.
4) Select protocol type between PCL.0, PCL.1 by using 'Up', 'Down' button and press 'SET' button.( PCL.0 = don't use Check Sum ( default ), PLC.1 = use Check Sum )
5) Return to 'operation mode' by pressing 'SET' button about 2.5 seconds.
<Figure 6> is appearance of HANYOUNG PX9 controller.
<Figure 6> Appearance of HANYOUNG PX9 controller |