RS232 Knekt Interface
29
C
IRCUIT
S
WITCHER
C
OMMANDS
The following commands are used to control the Knekt Circuit Switcher “source” device.
[rRLY=p]
Operates or returns the status of individual relays.
Command
Response
Description
[rRLY=valueON]
!r<CR>
Switch relay on, value = 1 to 6
[rRLY=valueOFF]
!r<CR>
Switch relay off, value = 1 to 6
[rRLY=value?]
!rRLY=valueON<CR>
!rRLY=valueOFF<CR>
Returns state of selected relay
[rGRP=p]
Operates a group of relays. The relays in the group are defined by “value”, the sum of the binary
values assigned to each relay in the group. For example, [rGRP=42ON] would switch relays 2, 4
and 6 on together. The state of relays not defined in the group remain unchanged.
Relay
Number
Binary
Value
Command
Response
Description
1
1
[rGRP=valueON]
!r<CR>
Switch group on
2
2
[rGRP=valueOFF]
!r<CR>
Switch group off
3
4
[rGRP=ALLON]
!r<CR>
Switch all on
4
8
[rGRP=ALLOFF]
!r<CR>
Switch all off
5
16
[rGRP=?ON]
!rGRP=valueON
Return group on
6
32
[rGRP=?OFF
!rGRP=valueOFF
Return group off
[rAUX=p]
Operates or returns the current status of the AUX output.
Command
Response
Description
[rAUX=OFF]
!r<CR>
Switch AUX output off
[rAUX=ON]
!r<CR>
Switch AUX output on
[rAUX=?]
!rAUX=OFF<CR>
!rAUX=ON<CR>
Returns state of AUX output