UPI RF COM Communication Driver

 

RF COM is driver to communicate with Reverse Pulse Rectifier of UPI Co.,Ltd in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of UPI RF COM communication driver.

<Figure 1> Read setting example of UPI RF COM communication driver

Device part of <Figure 1> input Device type(COM1), Com Baud(19200), Parity Bit(0), Data Bit(8), Stop Bit(1).

 

Reference) You can change station of UPI RF COM device and Com Baud, etc by using setting button for the front of device. ( Refer to 4 paragraph )

 

Read schedule example)

READ Station Command to read Address to read (Nonuse) Memory save address Read size ( Fixed to 1)
READ, 255, S, 0, 0, 1,
READ, 254, S, 0, 20, 1,

1) Station : Station among no.0 ~ no.255.

2) Device Type : S = Read entire data ( Refer to <Table 1> ), X = Read partial data ( Refer to <Table 2> ),

3) Read Start Address : Don't care

4) Save Start Address for Communication Server : Saving start address for Communication Server. ( 0 ~ 9999 )

5) Read Size : Size to read. ( Fixed to 1, refer to <Table 1> and <Table 2> about size and contents for real read data )

  

Notice) Value which is read by read command of UPI RF COM driver is saved at designated address of WORD, FLOAT, DWORD, STRING together.

Memory save address

Command

Contents

Remarks

Save addr + 0

M

Mode

0 = CV mode,

1 = CC mode

Save addr + 1

R

Operation status

0 = Stop,

1 = Run

Save addr + 2

T1

Primary Soft Start Time

00 ~ 99 sec

Save addr + 3

T2

Primary current(voltage) holding time

Save addr + 4

T3

Secondary Soft Start Time

Save addr + 5

T4

Secondary current(voltage) holding time

0000 ~ 9999 sec

9999 is consecutive

Save addr + 6

C1

Primary current setting

0000 ~ MAX

Save addr + 7

C2

Secondary current setting

Save addr + 8

V1

Primary voltage setting

000 ~ 199

Save addr + 9

V2

Secondary voltage setting

Save addr + 10

XC

Rectifier current capacity setting

1000 = 1000A

Setting when it releases from factory

Save addr + 11

XV

Rectifier voltage capacity setting

0400 = 4V

Setting when it releases from factory

Save addr + 12

AO

Analog Out

0000 ~ 4000

Save addr + 13

H0

Real voltage ( In case of 4V (MAX), 2048 )

0000 ~ 2048

Save addr + 14

H1

Real current ( In case of 1000A (MAX), 2048 )

Save addr + 15

I

Input status of rectifier ( 00 ~ 0F )

Don't care

Save addr + 16

F

Output status of rectifier

<Table 1> Contents and save address which are read by read command of S (Read entire data)

Memory save address

Command

Contents

Remarks

Save addr + 0

M

Mode

0 = CV mode,

1 = CC mode

Save addr + 1

R

Operation status

0 = Stop,

1 = Run

Save addr + 2

AO

Analog Out

0000 ~ 4000

Save addr + 3

H0

Real voltage ( In case of 4V (MAX), 2048 )

0000 ~ 2048

Save addr + 4

H1

Real current ( In case of 1000A (MAX), 2048 )

<Table 2> Contents and save address which are read by read command of X (Read partial 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> Example of UPI RF COM driver's Option dialog box

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

 
<Figure 3> Example of UPI RF COM 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.

 

2. Write settigs

You can read/write of data by using digital/analog output command.

 

Digital Write

Digital write and analog write have the same setting parameters except output value(0,1).

 

Analog Write

You can output read of data and setting value by using analog output.

 

Analog write setting parameters are as follows :

1) PORT : Port number which set UPI RF COM communication driver. (0 ~ 255)

2) STATION : Station number among no.0 ~ no.255.

3) Address : Read command of S and X : Memory position to save read value, (Save contents and position refer to <Table 1> and <Table 2>)

Etc : Don't care.

4) Extra1 : Command. (Refer to <Table 3>)

One of S, X, M, R, T1, T2, T3, T4, C1, C2, V1, V2, XC, XV, AO, H0, H1, I and F

5) Extra2 : Don't care,

Output command

Contents

Output enable time

Output range

S

Reading entire data

-

Save the read contents from address number

(Refer to <Table 1> and <Table 2>)

X

Reading partial data

M

Mode

Only case of OFF

0 = CV mode,

1 = CC mode

R

Operation status

OFF, ON

0 = Stop,

1 = Run

T1

Primary Soft Start Time

Only case of OFF

00 ~ 99 sec

T2

Primary current(voltage) holding time

T3

Secondary Soft Start Time

T4

Secondary current(voltage) holding time

0000 ~ 9999 sec

9999 is consecutive

C1

Primary current setting

OFF, ON

0000 ~ MAX

C2

Secondary current setting

V1

Primary  voltage setting

000 ~ 199

V2

Secondary  voltage setting

XC

Rectifier current capacity setting

Setting when it releases from factory

1000 = 1000A

XV

Rectifier voltage capacity setting

0400 = 4V

AO

Analog Out

Reference needless

0000 ~ 4000

H0

Real voltage (In case of 4V (MAX), 2048)

O

0000 ~ 2048

H1

Real current (In case of 1000A (MAX), 2048 )

I

Input status of rectifier (00 ~ 0F)

Don't care

Don't care
F

Output status of rectifier

<Table 3> Contents and output range of output command

Write example 1)

Station : 255  Address : 0150  Extra1 : S, EXTRA2 : Blank

If you set as above and output the analog value, it reads and saves entire data of 255 RF COMI device to no.150 addr ~ WORD/DWORD/FLOAT memory such as <Table 1>.

 

Write example 2)

Station : 255  Address : 0150  Extra1 : X, EXTRA2 : Blank

If you set as above and output the analog value, it reads and saves partial data of 255 RF COMI device to no.150 addr ~ WORD/DWORD/FLOAT memory such as <Table 2>.

 

Write example 3)

Station : 255  Address : 0000  Extra1 : M, EXTRA2 : Blank

If you set as above and output the analog value, you can change M value(namely mode) of 255 RF COMI device.( 0 = CV mode, 1 = CC mode )

 

Write example 4)

Station : 255  Address : 0000  Extra1 : R, EXTRA2 : Blank

If you set as above and output the analog value, you can change R value(namely status of run) of 255 RF COMI device.( 0 = Stop, 1 = Run ).

 

Write example 5)

Station : 255  Address : 0000  Extra1 : T1, EXTRA2 : Blank

If you set as above and output the analog value, you can change T1 value(namely primary Soft Start Time value) of 255 RF COMI device as set value.

 

Write example 6)

Station : 255  Address : 0000  Extra1 : T4, EXTRA2 : Blank

If you set as above and output the analog value, you can change T4 value(namely secondary current/voltage holding time) of 255 RF COMI device as set value.

 

3. Communication cable connection of UPI RF COM

 

RS-422 communication cable connection

Connect RS-422 T+, T-, R+ and R- terminal of computer side to J20 RS-422 terminal of UPI RF COM device, as follows.

Computer side                              J20 terminal side of RF COM

Tx+  -------------------------------------- First terminal

Tx-  -------------------------------------- Second terminal

Rx+  -------------------------------------- Third terminal

Rx-  -------------------------------------- Fourth terminal

 
<Figure 4> Appearance of UPI RF COM device

4. Station setting of UPI RF COM

 

Station of UPI RF COM device can be changed by using the front of control switch, as follows.

             1) Turn on the device in status of pressing RESET key.

             2) Select Address setting by pressing S key constantly.

             3) Set the address among no.0 ~ no.255 address by using left, right, up and down movement keys.

             4) Press RESET key when setting is complete.