3 7
1.3.13 Get TS Status
The Get TS status command is used to retrieve the logic input / output state of either all four
ports or a selected port. The data is formatted similarly for each channel.
CHxR=y provides the current state for channel x Red LED,
y = 0 for inactive, 1 for active
CHxG=y provides the current state for channel x Green LED,
y = 0 for inactive, 1 for active
CHxB=y provides the current state for channel x Blue LED,
y = 0 for inactive, 1 for active
CHxSCi=y provides the current state for channel x Switch Logic Control,
y = 0 for inactive, 1 for active,
i = 1 for touch switch, 2 for RS-IN input, 3 for user input
The following command returns the status of all four TS ports:
GTS 0<CR>
Response:
ACK GTS 0 CH1R=0 CH1G=1 CH1B=1 CH1SC1=0 CH1SC2=1
CH1SC3=0 CH2R=1 CH2G=1 CH2B=1 CH2SC=1 CH2SC2=0
CH2SC3=0 CH3R=0 CH3G=1 CH3B=1 CH3SC1=0 CH3SC2=0
CH3SC3=0 CH4R=0 CH4G=1 CH4B=1 CH4SC1=0 CH4SC2=0
CH4SC3=0<CR>
The following command returns the status of TS port 2:
GTS 2<CR>
Response:
ACK GTS 2 CH2R=0 CH2G=1 CH2B=1 CH2SC1=1
CH2SC2=0
CH2SC3=0
Summary of Contents for CDT100 MK3
Page 28: ...2 8 API SPECIFICATION...