4000 4 362-03-21
19
ENGLISH
APPENDIX A
–
OPERATING CODES
Commands control format :
[address]
<SP>Parameter<SP>Command<SP>[Value]<CR>
[address] = character ASCII 0 (port USB)
Parameter = IDN
–
SERIAL - VOLT - CURR - OVP- OCP - OUT- RCL - STO - REM -
MODE (ASCII character).
Command = WR - RD - MES (ASCII character).
<SP> = 20h (space).
[Value] = ASCII character.
<CR> = 0Dh (return)
Example 1 : 0 VOLT WR 1250
Writing setpoint 1,25 V on USB port
Example 2 : 0 CURR MES
Current measurement request on USB port
Answer :
[address] <SP>Status<SP>Value<CR>
[address] = character ASCII 0 (USB)
Status = OK- ERR- Local (ASCII character).
OK
Command valid.
ERR
Syntax error in the command.
LOCAL
Command impossible, the power supply is in local mode.
<SP> = 20h (space).
[Value] = characters ASCII.
<CR> = 0Dh (enter)
Example 3 : 0 OK
Back of
example 1
Example 4 : 0 OK 450
Back of example 2 current measurement : 450 mA
Command & Answers
Description
Command :
[Address] VOLT WR [0-32200]
Answer :
[Address] OK
Writing the voltage setpoint in mV.
Command :
[Address] CURR WR [0-6100]
Answer :
[Address] OK
Writing the current setpoint in mA.
Command :
[Address] OVP WR [0-32200]
Writing the limit voltage setpoint in mV.