C300 Transmission protocol for C300 firmware 5.x.x
C300B transmission protocol 2017-06-12.doc
17/22
Function
Set IDetect inputs settings (detection of current loop break)
Command
WRMETIDETECT_<INPUT>,<REGISTER>,<VALUE>[CR][LF]
Description
IDetect input is connected with trigger input and is used to measure a current loop break time
for relay testing.
When IDetect input 1 is active then IN1 trigger input is measuring a C300 current I1 loop
break time (same for inputs 2 and 3).
When IDetect input 1 is inactive then on a IN1 trigger input is measuring time from IN1 trigger
input (same for inputs 2 and 3).
Parameter(s)
<INPUT> = 0
select IDetect 0 input (for IN1 trigger input),
<INPUT> = 1
select IDetect 1 input (for IN2 trigger input),
<INPUT> = 2
select IDetect 2 input (for IN3 trigger input),
<REGISTER> = 0
MET_IDETECT_MODE (set value of mode detection):
<VALUE> = 0
OFF,
<VALUE> = 1
ON
– measure a time of current loop break,
<VALUE> = 2
not used,
<VALUE> = 3
not used,
<REGISTER> = 1
MET_ IDETECT _RESERVED
– not used
<REGISTER> = 2
MET_ IDETECT_LEVEL
– not used
Example(s)
WRMETIDETECT_0,0,1[CR][LF]
(set IDetect input 0 to measure a current loop break time of I1 current)
Example answer
OK[CR][LF]
Function
Read IDetect inputs settings
Command
RDMETIDETECT_<INPUT>,<REGISTER>[CR][LF]
Answer
<VALUE>[CR][LF]
Description
Read IDetect inputs settings
Answer
parameter(s)
<INPUT> = 0
select IDetect 0 input,
<INPUT> = 1
select IDetect 1 input,
<INPUT> = 2
select IDetect 2 input,
<REGISTER> = 0
MET_IDETECT_MODE (return value of mode detection):
<VALUE> = 0
OFF,
<VALUE> = 1
ON
– measure a time of current loop break,
<VALUE> = 2
not used,
<VALUE> = 3
not used,
<REGISTER> = 1
MET_ IDETECT _RESERVED
– not used
<REGISTER> = 2
MET_ IDETECT_LEVEL
– not used
Example(s)
RDMETIDETECT_0,0[CR][LF]
(read IDetect mode from input 0)
Example answer
0[CR][LF]
(IDetect if OFF)
Function
Configuration of trigger inputs
Command
CONFIGTIMERINPUTS_<IN1>,<IN2>,<IN3>[CR][LF]
Description
Configuration of trigger inputs IN1, IN2 and IN3. This command is used to enable/disable
trigger input and set the edge of the input signal
Parameter(s)
<INx> = 0
input not active,
<INx> = 1
input active on the falling edge on the input,
<INx> = 2
input active on the rising edge on the input,
<INx> = 3
input active on the any edge (rising and falling) on the input
Example(s)
CONFIGTIMERINPUTS_0,1,3[CR][LF]
(IN1 input not active; IN2 input active on falling edge; IN3 input active on any edge)
Example answer
OK[CR][LF]