TITAN-SVX Software Manual
page 42
Rev 4.01
A.14.12. Digital IO
TITAN-SVX has 8 digital inputs and 3 digital outputs. Digital inputs can be read
by using
DIN
command. Digital outputs can be read and set using
DOUT
command.
To check the digital input values
Command:
@01:DIN
Reply:
#01:DIN=7
To check the digital output values
Command:
@01:DOUT
Reply:
#01:DOUT=0
To set the digital output value to 3 (turn on first two bits)
Command:
@01:DOUT=3
Reply:
#01:DOUT=3
A.14.13. LED
TITAN-SVX has three internal LED outputs (Red, Green, and Blue) and one front
face blue LED.
By default, the front face LED turned on when TITAN-SVX is powered on.
Command LED is used to check and set the front LED.
By default, the three internal LED will turn on in a different color depending on
the motor type. Command RGB is used to check and set the three internal LED.
To check the RGB led status
Command:
@01:RGB
Reply:
#01:RGB=4
To set the turn on the green internal LED
Command:
@01:RGB=2
Reply:
#01:RGB=2
To turn off the front face blue LED
Command:
@01:LED=0
Reply:
#01:LED=0