4K Switcher with Soft Codec & Matrix Outputs
32
6.3.8 Relay setting command
Command
Function
Command & Feedback
Example
#SET_RELAY_CONTRO
L_MODE (param1)
(param2)
Set relay control mode.
param1 = RELAY1, RELAY2.
RELAY1 - RELAY1 CONTROL
RELAY2 - RELAY2 CONTROL
param2 = 0, 1
1 - RELAY CLOSE
0 - RELAY BREAK
#SET_RELAY_CONTROL_M
ODE RELAY1 0
#SET_RELAY_CONTROL_M
ODE RELAY1 1
#SET_RELAY_CONTROL_M
ODE RELAY2 0
#SET_RELAY_CONTROL_M
ODE RELAY2 1
@RELAY1_CONTROL_MOD
E 0
@RELAY2_CONTROL_MOD
E 0
@RELAY1_CONTROL_MOD
E 1
@RELAY2_CONTROL_MOD
E 1
#SET_RELAY_AUTO_TI
ME (param1) (param2)
Set duration of relay when automatic
closing.
param1 = RELAY1, RELAY2.
RELAY1 - RELAY1 CONTROL
RELAY2 - RELAY2 CONTROL
param1 = (1 ~ 180)
Duration of automatic closing and the unit
is second.
#SET_RELAY_AUTO_TIME
RELAY1 10
#SET_RELAY_AUTO_TIME
RELAY2 10
@RELAY1_AUTO_TIME x
SECONDS
@RELAY2_AUTO_TIME x
SECONDS
#GET_RELAY_AUTO_TI
ME (param1)
Get duration of relay when automatic
closing.
param1 = RELAY1, RELAY2. This param
could be omitted.
RELAY1 - RELAY1 CONTROL
RELAY2 - RELAY2 CONTROL
(If this param is omitted, which means
getting duration of automatic closing from
both RELAY1 and RELAY2
simultaneously.)
#GET_RELAY_AUTO_TIME
#GET_RELAY_AUTO_TIME
RELAY1
#GET_RELAY_AUTO_TIME
RELAY2
@RELAY1_AUTO_TIME x
SECONDS
@RELAY2_AUTO_TIME x
SECONDS