C300 Transmission protocol for C300 firmware 5.x.x
C300B transmission protocol 2017-06-12.doc
15/22
Function
Start/Stop programming of buffers
Command
SETTINGSTOBUFFER_<INDEX>[CR][LF]
Description
Start/Stop programming of buffers.
After that command any other command will be saved into buffer.
Parameter(s)
<INDEX> = 0
stop programming of buffers,
<INDEX> = 1…500
clear <INDEX> buffer and start programming
– any other command
will be saved into buffer (natural number)
Example(s)
SETTINGSTOBUFFER_1[CR][LF]
(clear and start saving commands to buffer 1)
SETTINGSTOBUFFER_0[CR][LF]
(stop programming of buffers)
Example answer
OK[CR][LF]
Function
Buffer's duration time in ms
Command
DURATION_<TIMEMS>[CR][LF]
Description
Buffer's duration time in ms. This command can be used only in SETTINGSTOBUFFER_
command
!!!Warning: minimal value of the duration time is 20ms.
Parameter(s)
<TIMEMS> = 20…2^32
time of a buffer duration (natural number)
Example(s)
DURATION_50[CR][LF]
Example answer
OK[CR][LF]
Function
Define parameters for loop process
Command
RELAYTESTLOOP_<STARTIDX>,<STOPIDX>,<LOOPNUMBER>[CR][LF]
Description
Command setup begin loop boundaries of loop process.
Parameter(s)
<STARTIDX>
index of begin buffer (natural number)
<STOPIDX>
index of end buffer (natural number)
<LOOPNUMBER>
number of iterations, 0-unlimited (natural number)
Example(s)
RELAYTESTLOOP_1,4,0 [CR][LF]
(loop buffers from 1 to 4 with unlimited iterations)
RELAYTESTLOOP_1,4,1 [CR][LF]
(loop buffers from 1 to 4 with 1 iteration)
Example answer
OK[CR][LF]
Function
Start buffer's process
Command
RELAYTESTSTART_<STARTIDX>,<STOPIDX>,<TIMEMS>[CR][LF]
Description
Start process from first to last buffer with programmed time.
!!!Without use the RELAYTESTLOOP_ command process will be generated once and the
duration time of the last active buffer will be increased to the <TIMEMS> parameter.
Parameter(s)
<STARTIDX>
index of begin buffer (natural number)
<STOPIDX>
index of end buffer (natural number)
<TIMEMS> = 20…2^32
time of the process in ms (natural number)
Example(s)
RELAYTESTSTART_1,4,10000[CR][LF]
(process start from 1 to 4 buffer, and stop after 10000ms)
Example answer
OK[CR][LF]
Function
Control pause mechanism of a buffer's process
Command
RELAYTESTPAUSE_<STATE>[CR][LF]
Description
Command control pause of buffer realization process.
Parameter(s)
<STATE> = 0
pause ON - pause of the process (outputs are not changed, time is paused)
<STATE> = 1>
pause OFF - run of the process
Example(s)
RELAYTESTPAUSE_0[CR][LF]
Example answer
OK[CR][LF]
Function
Stop buffer's process
Command
RELAYTESTSTOP_[CR][LF]
Description
Immediately stop the buffer's process.
!!!Warning: After that command calibrator keep last programmed settings.
To read last programmed setting use commands: ENDAMP_, ENDPHA and ENDFRQ.
Parameter(s)
Example(s)
RELAYTESTSTOP_[CR][LF]
Example answer
OK[CR][LF]