@X4-0047-5
- 20 -
■
Maximum voltage setting
You can set the maximum voltage.
The command length of the maximum voltage setting is 4 byte.
Syntax
:
M<value1><value2><CR>
Notes:
Input value1 and value2 in binary.
The range of value1 is from 0 to 20.
The range of value2 is from 0 to 99.
Maximum
voltage
=
<value1> x 100 + <value2>
Maximum voltage is limited to 2000V or less.
As shown below, the command line can be also described in binary.
<4Dh><value1><value2><0Dh>
※
hexadecimal representation
For example, in the case of Visual Basic, when you want to limit
the high voltage output to 1000V or less, you can write as follows;
Dim Cmd
Cmd = “M” + Chr(10) + Chr(0) + Chr(13)
or
Dim Cmd(3) As Byte
Cmd(0) = 77 : Cmd(1) =10 : Cmd(2) = 0 : Cmd(3) = 13
Response
:
command
success
⇒
“VA”(Valid Argument) is returned.
command failure
Bad Command
⇒
“BC” is returned.
Bad Argument
⇒
“BA” is returned.