EasyManua.ls Logo

Kramer SL-280 - Page 52

Kramer SL-280
67 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Kramer Electronics Ltd.
SL-280Protocol 3000
50
GPIO-STEP
Functions
Permission
Transparency
Set:
GPIO-STEP
End User
Public
Get:
GPIO-STEP?
End User
Public
Description
Syntax
Set:
Set
I/O
port maximum
step
#GPIO-STEPHwGpioNumber,NumOfStep
Get:
Get I/O port current
step
#GPIO-STEP?HwGpioNumber
Response
~nn@GPIO-STEP
HwGpioNumber,NumOfStep,CurrentStep
␍␊
Parameters
HwGpioNumI/O port number: 18
NumOfStepthe maximum number of steps: for analog = 0255, for digital= 2 (see notes)
CurrentStepthe actual step depending on the measured voltage
Response Triggers
Notes
The Set command can only be used for analog.
In digital in mode the response is 2 and the current state: 0, 1
In analog mode the response is 0 to [NumOfStep minus 1].
In digital out mode an error is returned.
Example
Set I/O port number 1 number of steps to 5:
#GPIO-STEP
1,5<CR>
GPIO-THR
Functions
Permission
Transparency
Set:
GPIO-THR
End User
Public
Get:
GPIO-THR?
End User
Public
Description
Syntax
Set:
Set HW GPIO voltage
levels
#GPIO-THRHwGpioNumber,LowLevel,HighLevel
Get:
Get HW GPIO voltage
levels that were set
#GPIO-THR?HwGpioNumber
Response
~nn
@GPIO-THR
HwGpioNumber,LowLevel,HighLevel
␍␊
Parameters
HwGpioNum I/O port number:
1
8
LowLevel voltage: 500 to 28000 millivolts
HighLevel
voltage: 2000 to 30000 millivolts or 2000 to 4000 when pullup is enabled.
Response Triggers
Notes
This command is only relevant for digital input. There must be a minimum of 800 millivolts between the low
and the high levels.
Example
Set I/O port number 1 voltage low level to 500 millivolts and high level to 2000 millivolts:
#GPIO-THR 1,500,2000<CR>

Other manuals for Kramer SL-280

Related product manuals