
Kramer Electronics Ltd.
VS-622DT
– Protocol 3000
84
GPIO-STEP
Command Name
Permission
Transparency
Set:
GPIO-STEP
End User
Public
Get:
GPIO-STEP?
End User
Public
Description
Syntax
Set:
Set HW GPIO step
#
GPIO-STEP
SP
HwGpioNumber,Step
CR
Get:
Get HW GPIO step
#GPIO-STEP?
SP
HwGpioNumber
CR
Response
~nn@
GPIO-STEP
SP
HwGpioNumber,NumOfStep,CurrentStep
CR LF
Parameters
HwGpioNum
–
1
(GPIO 1),
2
(GPIO 2)
NumOfStep
– for Digital In GPIO:
0
(Low),
1
(High)
CurrentStep
– the actual step depending on the measured voltage
Notes
In Digital In mode the response is 2
In Analog In mode the response is 1 to 100
In other modes an error is returned.
K-Config Example
Set GPIO 2 (set to Analog In) configuration step to 38mV:
“#GPIO
-
STEP 2,38”,0x0D
GPIO-THR
Command Name
Permission
Transparency
Set:
GPIO-THR
End User
Public
Get:
GPIO-THR?
End User
Public
Description
Syntax
Set:
Set HW GPIO voltage levels
#GPIO-
THR
SP
HwGpioNumber,LowLevel,HighLevel
CR
Get:
Get HW GPIO voltage levels
#GPIO-THR?
SP
HwGpioNumber
CR
Response
~nn@
GPIO-THR
SP
HwGpioNumber,LowLevel,HighLevel
CR LF
Parameters
HwGpioNum
–
1
(GPIO 1),
2
(GPIO 2)
LowLevel
– voltage 500 to 28000 millivolts
HighLevel
– voltage 2000 to 30000 millivolts
K-Config Example
Set GPIO 2 to a low level of 800mV and a high level of 2200mV:
“#GPIO
-THR 2,800,2200
”,0x0D