CORELEX PAN Controller Communication Driver

 

CORELEX PAN Controller Communication Driver is the driver to communicate with PLC(Power line Communication) controller of Corelex Co., Ltd. in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of CORELEX PAN Controller communication driver.

<Figure 1>  Read setting example of CORELEX PAN Controller communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(2400), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.

 

CORELEX PAN Controller communication driver¡¯s read schedule 

Read schedule setting parameters are as follows:

1) STATION – Controller address = 0 ~ 255.

2) Read Command – Command = STS, CURR, VOLT, POW.

STS(default) : Read of relay status,

CURR : Read of current value,

VOLT : Read of voltage value,

POW : Read of power value. 

3) Read Start Address Don't care.

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) 

READ,    1,   STS,     0,    0,   1,

READ,    1,  CURR,     0,    1,   1,

READ,    1,  VOLT,     0,    2,   1,

READ,    1,   POW,     0,    3,   1,

 

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 CORELEX PAN Controller communication driver¡¯s Option dialogue box

 You can set read schedule by using , , button and listbox of <Figure 2>.  

<Figure 3> Example of CORELEX PAN Controller 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.

 

2. Writing settings

You can read and write by using write settings.

 

Bit Write

Bit write setting parameters are as follows: 

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Controller address = 0 ~ 255.

3)  ADDRESS           Start saving address of read data for STS, CURR, VOLT, POW write command. (decimal unit)

4)  Extra1                   Write command.

blank or etc – Relay ON/OFF control,

RST, RESET – PAN controller reset,

STS : Read of relay status,

CURR : Read of current value,

VOLT : Read of voltage value,

POW : Read of power value.

5)  Extra2                   Don't care.

 

Write example 1)

PORT : 0 , STATION : 1, ADDRESS : 0000, EXTRA1 :  , EXTRA2 : , 

The setting parameter shown above is an example of relay ON/OFF control of address 1 PAN controller.

 

Write example 2)

PORT : 0 , STATION : 3, ADDRESS : 0000, EXTRA1 : RST, EXTRA2 :  , 

The setting parameter shown above is an example of PAN controller reset.(controller address = 3)

 

Write example 3)

PORT : 0 , STATION : 1, ADDRESS : 0012, EXTRA1 : STS, EXTRA2 :  ,  

The setting parameter shown above is an example of relay status read and save readed data from 12 memory address.(controller address = 1)

 

Write example 4)

PORT : 0 , STATION : 3, ADDRESS : 0123, EXTRA1 : VOLT, EXTRA2 :  , 

The setting parameter shown above is an example of voltage value read and save readed data from 123 memory address.(controller address = 3)

 

 

Word Write

Word write and bit write have the same setting parameters except output value.

 

 

* Connection of RS-232C communication cable with CORELEX PAN controller

You have to connect full RS-232C cable(because of CORELEX PAN controller use RTS signal) to CORELEX PAN controller.