CB-7080 & CB-7080D Counter/Timer User's Guide
$AAAG
2-30
$AAAG
Description
: Set gate control mode. Refer to "
Gate control setting
" for more information.
Syntax
: $AAAG[chk](cr)
$
A delimiter character
AA
2-character HEX module address, from 00 to FF
G=0
Gate is low active
G=1
Gate is high active
G=2
Gate is disabled
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Response
:
Valid response
!AA[chk](cr)
Invalid response
?AA[chk](cr)
no response
Syntax error, communication error or address error
!
A delimiter character indicating a valid response
?
A delimiter character indicating an invalid response
AA
2-character HEX module address
G=0
Gate is low active
G=1
Gate is high active
G=2
Gate is disabled
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Examples
:
Module 1 gate is active low:
command:
$01A0(cr)
response:
!01(cr)
Module 2 gate is active high:
command:
$02A1(cr)
response:
!02(cr)
Module 3 gate is disabled (always active):
command:
$03A2(cr)
response:
!03(cr)