ODA DC-Power Supply Ex Series communication driver

 

ODA DC-Power Supply Ex Series 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 Ex Series communication driver.

<Figure 1>  Read setting example of ODA DC-Power Supply Ex Series communication driver

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

In protocol option part, you can set termination code of protocol( 0 = LF, 1 = CR, 2 = CR + LF, default = 0 ), whether to use RS-485 Multi-drop communiction( MULTI = use, space, ... = don't use, default = space), 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 Ex Series communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – don't care.

2) Read command – command = APPLy?, VOLT?, VOLT:STEP?, VOLT:OVP?, VOLT:OVP:TRIP?, ... ( 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, VOLT:STEP?,     0,    0,   1,

READ,     0, CURR:STEP?,     0,    1,   1,

READ,     0, VOLT:OVP?,     1,    2,   1,

 

<Table 1> is read command contents of ODA DC-Power Supply Ex Series communication driver.

Read command

Contents

Data saving address

Remarks

APPLy?

Read Voltage & Current

Start addr + 0 : setting voltage value

Start addr + 1 : setting current value

VOLT?

Read Voltage

Start addr + 0 : setting voltage value

VOLT:STEP?

Step Voltage

Start addr + 0 : setting Step voltage value

VOLT:OVP?

Over Voltage Protection

Start addr + 0 : OVP Level value

VOLT:OVP:TRIP?

OVP Trip

Start addr + 0 : OVP Trip occur

0 = normal, 1 = Trip

VOLT:UVL?

Under Voltage Limit

Start addr + 0 : UVP Level value

VOLT:OVL?

Over Voltage Limit

Start addr + 0 : OVL Level value

CURR?

Read Current

Start addr + 0 : setting current value

CURR:STEP?

Step Current

Start addr + 0 : setting Step current value

CURR:OCP?

Over Current Protection

Start addr + 0 : OCP Level value

CURR:OCP:TRIP?

OCP Trip

Start addr + 0 : OCP Trip occur

0 = normal, 1 = Trip

CURR:UCL?

Under Current Limit

Start addr + 0 : UCL Level value

CURR:OCL?

Over Current Limit

Start addr + 0 : OCL Level value

FLOW?

Constant Voltage/Current

Start addr + 0 : CV or CC status value

CV(Constant Voltage) = 0,

CC(Constant Current) = 1

POL?

Read Polarity

Start addr + 0 : output terminal polarity status

P(positive polarity ) = 0,

N(negative polarity ) = 1,

MEAS:VOLT?

Output Voltage

Start addr + 0 : output voltage value

MEAS:CURR?

Output Current

Start addr + 0 : output current value

MEAS:ALL?

Output Voltage/Current

Start addr + 0 : output voltage value

Start addr + 1 : output current value

read of output voltage and current

FACT:LAST-STA?

Last Status

Start addr + 0 : Lsat Status value

DISABLE = 0,

SAFETY = 1,

FULLY = 2

FACT:AUTO-CUR?

Auto Cursor

Start addr + 0 : Auto Cursor setting value

0 = Disable, 1 = Enable

FACT:AUTO-LOC?

Auto Key Lock

Start addr + 0 : Auto Key Lock setting value

FACT:OVP?

OVP Status

Start addr + 0 : OVP Status value

FACT:OCP?

OCP Status

Start addr + 0 : OCP Status value

FACT:ADC?

ADC Sampling

Start addr + 0 : ADC Sampling value

5, 20, 50, 100, 300, 1300Hz

SYST:ERR?

Read System Error

Start addr + 0 : system Error number

Start addr + 1 : error message

refer to STRING memory for Error message

SYST:VERS?

Read Version

Start addr + 0 : year of development and vision

refer to STRING memory for version information

OUPT?

Output Status

Start addr + 0 : output status

0 = protection, 1 = can output

KEYL?

Key Protection Status

Start addr + 0 : key operation protection status

0 = permit, 1 = protection

*IDN?

Read manufacturer

Start addr + 0 : company of manufacturer

Start addr + 1 : model of product

Start addr + 2 : detail version

refer to STRING memory

*SN?

Read Serial Number

Start addr + 0 : serial number

<Table 1> Read command contents of ODA DC-Power Supply Ex Series communication driver

ODA DC-Power Supply Ex Series 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 Ex Series communication driver¡¯s Option dialog box

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

Also, you can set termination code of protocol, whether to use RS-485 Multi-drop communiction, whether to check response code when write by using the part of ¡®Protocol End Code¡¯, ¡®Use Multi Drop Communication¡¯, ¡®Exist Write Return Code¡¯ shown in <Figure 2>.

<Figure 3> Example of ODA DC-Power Supply Ex Series 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 Ex Series 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             don't care.

3)  ADDRESS          data saving start address when read command. ( refer to <Table 1> )

4)  Extra1                  read/writte command.

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

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0100, Extra1:APPLy?,  Extra2 : 0

The setting parameter shown above is read of Voltage & Current request example.

After reading, the readed data save at 100 ~ 101 WORD, DWORD, FLOAT, STRING memory.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0100, Extra1:VOLT:STEP 0.5,  Extra2 : 0

The setting parameter shown above is Step Voltage setting example to 0.5. ( setting voltage = 0.5 V )

 

Note) Protocol of ODA DC-Power Supply Ex Series don't use response code after writing.

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-232C( or RS-485, Ethernet, ... ) communication cable to 9 pin connector of ODA DC-Power Supply Ex Series controller such as <Figure 4>.

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

 

 Connection of main power

Please connect AC main power ( 110V or 220V ) to power input connector such as <Figure 4>.