App 2-6
Appendix 2. Communication Commands
IM CW120-E
1.4
Data
Data
The data section comes after the header. A
space must be included between the header
and the data. The data contains conditions and
values. It is classified as follows.
Data
Description
<Decimal>
<Voltage>, <Current>,
<Frequency>
<Character data>
<Boolean>
<Character string data>
<Filename>
Value expressed as a decimal
number
Value with a physical dimension
Specified character string
(mnemonic). Select from { }.
Indicates ON/OFF. Specify with
[ON], [OFF], or a value.
Arbitrary character string
Denotes a file name.
<Decimal>
<Decimal> indicates a value expressed as a
decimal number, as shown in the table below.
Decimal values are given in the NR form
specified in ANSI X3.42-1975.
Symbol
Description
Example
<NR1>
Integer
125 -1 +1000
<NR2>
Fixed-point number
125.0 -.90 +00.1
<NR3>
Floating-point number 125.0E+0 -9E-1 +.1E4
<NRf>
Any of the forms
<NR1> to <NR3>
is allowed.
• <NRf> represents the case when any of the
forms <NR1> to <NR3> can be used. The
CW120 accepts decimal values from the
personal computer in any form.
• The form, among <NR1> to <NR3>, used for
the response message is predetermined for
each query. The same form is used
irrespective of whether the value is large or
small.
• When using <NR3>, the "+" after the "E" can
be omitted, but the "–" cannot.
• If a value outside the setting range is
specified, the closest valid value will be used.
• If the value specified is beyond the precision
of the CW120, the value will be rounded.
<Voltage>, <Time>, <Frequency>
<Voltage>, <Time> and <Frequency> indicate
decimal values which have a physical
dimension. <Multiplier> or <Unit> can be
attached to the <NRf> form. The values are
specified in any of the following forms.
Form
Example
<NRf><Multiplier><Unit>
5MV
<NRf><Unit>
5E-3V
<NRf><Multiplier>
5M
<NRf>
5E-3
<Multiplier>
The following multipliers are available.
Symbol
Word
Description
EX
Exa
10
18
PE
Peta
10
15
T
Tera
10
12
G
Giga
10
9
MA
Mega
10
6
K
Kilo
10
3
M
Mili
10
-3
U
Micro
10
-6
N
Nano
10
-9
P
Pico
10
-12
F
Femto
10
-15
<Unit>
The following units are available.
Symbol
Word
Description
V
Volt
Voltage
A
Ampere
Current
HZ
Hertz
Frequency
KHZ
Kilohertz
Frequency
• <Multiplier> and <Unit> are not case-
sensitive.
• "U" is used to indicate "
µ
".
• "MA" is used for Mega (M) to distinguish it
from Mili. If used for current, however, "MA"
is interpreted as Milliampere. To refer to
Megaampere, write as "MAA".
• If both <Multiplier> and <Unit> are omitted,
the default unit (V, A or Hz) will be used.