C300 Transmission protocol for C300 firmware 5.x.x
C300B transmission protocol 2017-06-12.doc
14/22
4.4.Measure a time from START/STOP inputs (Relay trigger time testing – standard communications)
Function
Setup of stop trigger for timer
Command
RELAYSTOP_<IN1>,<IN2>,<IN3>,<TIME>[CR][LF]
Description
Setup of stop trigger for timer.
Parameter(s)
<INx> = 0
input not active
<INx> = 1
change of level of signal(s) at input(s) will stop timer
<TIME>
set a max time of procedure in [ms] (natural number). After <TIME> procedure
automatically stops
Example(s)
RELAYSTOP_0,1,0,1000[CR][LF]
(change of level of signal at input IN2 will stop timer; max time of test procedure is 1000ms)
Example answer
OK[CR][LF]
Function
Setup of start trigger for timer
Command
START_<U1>,<U2>,<U3>,<I1>,<I2>,<I3> [CR][LF]
Description
Startup trigger for timer for testing relays and operate/standby.
Parameter(s)
Same as function STB_
Example(s)
START_0,0,0,1,1,1[CR][LF]
Example answer
OK[CR][LF]
Function
Read values from the timer
Command
RDRELAY_[CR][LF]
Answer
<VAL_INT1> <VAL_INT2> <VAL_INT3> <STATUS>[CR][LF]
Description
Return value of the timer1, timer2 and timer3 and test procedure status
Answer
parameter(s)
< VAL_INTx > = i
time in milliseconds from timer x (natural number)
< VAL_INTx > = -1
no level changes at input x
<STATUS> = 0
status of the operation: test is not ready
<STATUS> = 1
status of the operation: test is completed
<STATUS> = -1
status of the operation: test procedure error (timeout)
Example answer
2200 2210 2205 1[CR][LF]
(timer1 value = 2200 ms; timer2 = 2210ms; timer3 = 2205ms, test is completed)
4.5.Setting command for Fast ramp and Flicker functions (pre-programmed functions)
!Attention: functions based on buffers do not allow to program interharmonics!
START
Set outputs to
Standby
STB_1,1,1,1,1,1
Set parameters
of calibrator's
output
Set trigger timer stop parameters
RELAYSTOP_<IN1>,<IN2>,<IN3>,<TIME>
Start the measure
START_<U1>,<U2>,<U3>,<I1>,<I2>,<I3>
Wait
<TIME>
in ms
Read the measured
trigger time
RDRELAY_
START
Set current
and voltage
range(s)
Start programming buffer
SETTINGSTOBUFFER_
Set parameters
of calibrator's
outputs
NEXT
BUFFER
Set duration
time
DURATION_
YES
NO
Stop programming buffers
SETTINGSTOBUFFER_0
Set the iteration for
loop process
RELAYTESTLOOP_
Start buffer's process
RELAYTESTSTART