Command |
$AABS |
Description |
Set Input Mode |
Syntax |
$AABS[CHK](cr)
$ |
a delimiter character |
AA |
address of setting module (00 to FF) |
B |
command for setting input mode |
S |
input mode:
0 = counter 0 and counter 1 are from non-isolated input pins
1 = counter 0 and counter 1 are from isolated input pins
2 = counter 0 is non-isolated, counter 1 is isolated
3 = counter 0 is isolated, counter 1 is non-isolated
|
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of command |
|
Response |
Valid Command |
!AA[CHK](cr) |
Invalid Command |
?AA[CHK](cr) |
Syntax error or communication error may get no response.
! |
delimiter for valid command |
? |
delimiter for invalid command. |
AA |
address of response module (00 to FF) |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of response |
|
Example |
Command |
$01B0 |
Response |
!01 |
Description |
Set address 01 input mode as both counter input from non-isolated input pins, return success. |
|
Reference |
$AAB
|
|