C300 Transmission protocol for C300 firmware 5.x.x
C300B transmission protocol 2017-06-12.doc
21/22
Function
Stop ramp process
Command
STOPRAMP_[CR][LF]
Description
Stop ramp process (no more steps).
Stopped process can be resumed by STARTRAMP_ command
Parameter(s)
Example(s)
STOPRAMP_[CR][LF]
Example answer
OK[CR][LF]
4.8. Measurement inputs (example for 6AAC input with autorange and 3s average of f
C300
=50Hz)
Function
Set measure inputs settings
Command
WRMETIN_<INPUT>,<REGISTER>,<VALUE>[CR][LF]
Description
Set measure inputs settings.
To read exact values of input ranges it is necessary to use RDMETRANGES_ command.
Parameter(s)
Default input and ranges:
<INPUT> = 0
14VDC input,
<INPUT> = 1
24mADC input,
<INPUT> = 2
10VAC input,
<INPUT> = 3
200mAAC input,
<INPUT> = 4
6AAC input,
<INPUT> = 5
16mAAC input,
<INPUT> = 6
VREF input (only for internal measurements),
<INPUT> = 7
GND input (only for internal measurements),
<REGISTER> = 0
MET_IN_MODE (set mode of ADC input):
<VALUE> = 0
ADC OFF,
<VALUE> = 1
ADC ON with auto range,
<VALUE> = 0
ADC ON with manual range,
<REGISTER> = 1
MET_IN_RANGE (set measuring range):
<VALUE> = 0
<INPUT> / 1 (e.g. 14VDC for 14VDC input),
<VALUE> = 1
<INPUT> / 2 (e.g. 7VDC for 14VDC input),
<VALUE> = 2
<INPUT> / 4 (e.g. 3.5VDC for 14VDC input),
<VALUE> = 3
<INPUT> / 8 (e.g. 1.75VDC for 14VDC input),
<VALUE> = 4
<INPUT> / 16 (e.g. 0.875VDC for 14VDC input),
<VALUE> = 5
<INPUT> / 32 (e.g. 0.4375VDC for 14VDC input),
<VALUE> = 6
<INPUT> / 64 (e.g. 0.21875VDC for 14VDC input),
<VALUE> = 7
<INPUT> / 128 (e.g. 0.10938VDC for 14VDC input),
<REGISTER> = 2
MET_IN_RESERVED
– not used,
<REGISTER> = 3
MET_IN_AVERAGE (set number of signal periods of C300 current
output from which is made average):
<VALUE>
natural number in range from 1 to 2^16,
<REGISTER> = 4
MET_IN_PROGRESS (should not to be set),
<REGISTER> = 5
MET_IN_RMS (should not to be set),
<REGISTER> = 6
MET_IN_PHASE (should not to be set),
Example(s)
WRMETIN_0,0,1[CR][LF]
(set auto range in channel 0
– 24VDC)
Example answer
OK[CR][LF]
START
Set parameters
of calibrator
outputs
Start measurement with
autorange on 6AAC input
WRMETIN_4,0,1
Set 3s average on
6AAC input
WRMETIN_4,3,150
Wait 3s
(measurement
average)
Next
measurement
YES
Read measured
RMS value
RDMETIN_4,5
Read measured
phase angle value
RDMETIN_4,6
NO Stop measurement
in 6AAC input
WRMETIN_4,0,0
Wait 10s
(stabilisation)