ODA DC-Power Supply OPM 101E communication driver

 

ODA DC-Power Supply OPM 101E communication driver is the driver to communicate with DC Power Supply of ODA Technologies in Korea.

 

1. Read Settings

 

<Figure 1> is read setting example of ODA DC-Power Supply OPM 101E communication driver.

<Figure 1>  Read setting example of ODA DC-Power Supply OPM 101E communication driver

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

In protocol option part, you can set whether to check response code when write( 0 = don't check, 1 = check, default = 0). Each argument  is a comma-delimited.

 

ODA DC-Power Supply OPM 101E communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – 0 ~ 254 station number.

2) Read command – command = B, C, E, F, G, H, I, J, M, N, O, P, T, U, X, Y, a, 9, 0, !, @, ... ( refer to <Table 1> )

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 schedule example)

READ,     0,     B,     0,    0,   1,

READ,     0,     a,     0,    5,   1,

 

<Table 1> is read command and contents of ODA DC-Power Supply OPM 101E communication driver.

Read command Contents

Data saving address

Remakrs

B read of Maximum voltage, current

Start addr + 0 : OVP value

Start addr + 1 : Maximum voltage value

Start addr + 2 : OCP value

Start addr + 3 : Maximum current value

C read of Maximum current

Start addr + 0 : Maximum current value

use B command according to controller

E read of Error status

Start addr + 0 : error status value

0 = none error.

1 = don't executed previous command.

2 = overflow receive buffer 20 byte.

3 = not exist command.

4 = received data size mismatch.

5 = data difference next of command.

F read of CV/CC type

Start addr + 0 : CC/CV value

0 = CC, 1 = CV

G OVP ON/OFF status

Start addr + 0 : OVP ON/OFF status value

0 = Off, 1 = On

H OCP ON/OFF status

Start addr + 0 : OCP ON/OFF status value

I OVP Trip status

Start addr + 0 : OVP Trip status value

0 = normal, 1 = Trip

J OCP Trip status

Start addr + 0 : OCP Trip status value

M read of OVP Level

Start addr + 0 : OVP Level value

N read of OCP Level

Start addr + 0 : OCP Level value

O read of OUTPUT status

Start addr + 0 : OUTPUT status value

0 = Off, 1 = On

P read of Parallel status

Start addr + 0 : Parallel status value

T read of measurement voltage

Start addr + 0 : measurement voltage value

U read of measurement current

Start addr + 0 : measurement current value

X read of setting voltage

Start addr + 0 : setting voltage value

Y read of setting current

Start addr + 0 : etting current value

a read of measurement voltage/current, Flow,
OVP/OCP Trip status

Start addr + 0 : measurement voltage value

Start addr + 1 : measurement corrent value

Start addr + 2 : Flow

Start addr + 3 : OVP Trip status value

Start addr + 4 : OCP Trip status value

 

 

0 = normal, 1 = Trip

9 Calibration DAC Low voltage

Start addr + 0 : Calibration DAC Low voltage

0 Calibration DAC High voltage

Start addr + 0 : Calibration DAC High voltage

! Calibration DAC Low current

Start addr + 0 : Calibration DAC Low current

@ Calibration DAC High current

Start addr + 0 : Calibration DAC High current

<Table 1> Read command and contents of ODA DC-Power Supply OPM 101E communication driver

ODA DC-Power Supply OPM 101E communication driver store the same data in WORD, DWORD, FLOAT, STRING memory, but the data format are different.

If you click the icon  in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of ODA DC-Power Supply OPM 101E communication driver¡¯s Option dialog box

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

Also, you can set whether to check response code when write by using the part of ¡®Exist Write Return Code¡¯ shown in <Figure 2>.

<Figure 3> Example of ODA DC-Power Supply OPM 101E communication driver¡¯s read schedule Add/Edit dialog box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Write settings

You can set ODA DC-Power Supply OPM 101E controller 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             0 ~ 254 station number.

3)  ADDRESS          data saving start address when 2, 4, 6, 8 write command.

4)  Extra1                  writte command = C, G, H, k, L, O, P, Q, R, S, Y, W, 1 ~ 8, #, $, %, ^, &, *, (. ( refer to <Table 2> )

refer to <Table 1> and user's manual of  ODA DC-Power Supply for more read/write command.

5) Extra2                   don't care.

 

<Table 2> is write command and contents of ODA DC-Power Supply OPM 101E communication driver.

Write command Contents

Remarks

D OVP Trip Clear command

Output value = don't use

G OVP ON/OFF

0 = Off, 1 = On

H OCP ON/OFF
K OVP Level setting

Output value = word unit Level value

L OCP Level setting
O OUTPUT ON/OFF

0 = Off, 1 = On

P Parallel ON/OFF
Q OCP Trip Clear

Output value = don't use

R Reset command
S Recall command

Output value = 0 ~ 9 room number

V setting of voltage

Output value = word unit voltage/current value

W setting of current
Z Store command

Output value = 0 ~ 9 room number

1 Calibration Low voltage Start

Output value = don't use

2 Calibration Low voltage setting

Output value = word unit DVM setting value,

save Cal ADC value at input Address memory

3 Calibration High voltage Start

Output value = don't use

4 Calibration High voltage setting

Output value = word unit DVM setting value,

save Cal ADC value at input Address memory

5 Calibration Low current Start

Output value = don't use

6 Calibration Low current setting

Output value = word unit DVM setting value,

save Cal ADC value at input Address memory

7 Calibration High current Start

Output value = don't use

8 Calibration High current setting

Output value = word unit DVM setting value,

save Cal ADC value at input Address memory

# Last State setting

0 = Disable, 1 = Enable

$ ADC Sampling mode setting

0 = Buffer Mode, 1 = Present Mode

% Calibration Restore command

Output value = don't use

^ Calibration Backup command
& Calibration Factory Restore command
* Calibration Factory Backup command
( User Memory Clear
<Table 2> Write command and contents of ODA DC-Power Supply OPM 101E communication driver

 

Write example 1)

PORT:0,  station:0, ADDRESS:0000, Extra1:G,  Extra2 : 0

The setting parameter shown above is OVP ON/OFF control example.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0100, Extra1:2,  Extra2 : 0

The setting parameter shown above is Calibration Low voltage setting example.

After writing, save Calibration ADC valut at 100 WORD, DWORD, FLOAT memory.

 

Note) Protocol of ODA DC-Power Supply OPM 101E don't use response code after writing.( except 2, 4, 6 9 write command )

Therefore, you should check writing data by read Procedures.

 

3. Connection of communication cable and main power

Connection of communication cable and main power are as follows:

 

Connection of communication cable

Please connect normal RS-485 communication cable to D+, D- connector of ODA DC-Power Supply OPM 101E controller such as <Figure 4>.

1.png
<Figure 4> Connection example of main power and communication cable to ODA DC-Power Supply  OPM 101E controller

 

 Connection of main power

Please connect AC main power to power input connector such as <Figure 4>.