3 5
1.3.9 Set Asynchronous IP Address
The Set Asynchronous IP Address command is used to set the IP address and port number
of the network node that asynchronous (unpolled) responses are sent to. Currently only the
Switch Logic states from the four TS devices are reported. The following example command
would setup the CDT100 to send message to port 12345 of node 192.168.50.4 when a switch
changes state.
SASIP 192.168.50.4:12345<CR>
Response:
ACK SASIP 192.168.50.4:12345<CR>
Switch state change messages are sent as BSTATUS messages. BSTATUS messages are in the
following format.
BSTATUS Bx=y<CR>
x = switch indicator
1
TS Port 1 touch switch
2
TS Port 2 touch switch
3
TS Port 3 touch switch
4
TS Port 4 touch switch
5
TS Port 1 user input
6
TS Port 1 RS input
7
TS Port 2 user input
8
TS Port 2 RS input
9
TS Port 3 user input
10
TS Port 3 RS input
11
TS Port 4 user input
12
TS Port 4 RS input
touch switch = RJ-45 pin 5
user input = RJ-45 pin 8
RS input (RS-IN) = RJ-45 pin 1
y = switch state, 0 = inactive (not touched), 1 = active (touched)
Examples
BSTATUS B2=1<CR>
T
his message indicates that TS Port 2 touch switch changed to active
(touched).
BSTATUS B6=1<CR>
This message indicates that TS Port 1 RS input changed to active.
BSTATUS B9=0<CR>
This message indicates that TS Port 3 user input changed to inactive.
Summary of Contents for CDT100 MK3
Page 28: ...2 8 API SPECIFICATION...