ICP DAS USA 8430 Network Card User Manual


 
$AASi6
Command $AASi6
Description Read back the Digital Output module value and read the Digital Input
module value of a specified slot in the I-8000 unit.
$AASi6[CHK](cr)
$ A delimiter character
AA A 2-character HEX module address for the specified
I-8000 unit, ranging from 01 to FFh
Si The specified slot number. i = 0 to 3 (4 slots) or
i = 0 to 7 (8 slots)
6 A Command to read the data
[CHK] A 2-character checksum
Syntax
(cr) Carriage Return (0x0D) to denote the end of
command
Valid Command !0D0E00[CHK](cr) for 8-bit DIO modules
!DD0000[CHK](cr) for 8-bit (or less than 8 bits)
DO modules
!EE0000[CHK](cr) for 8-bit (or less than 8 bits) DI
modules
!DDEE00[CHK](cr) for 16-bit DIO modules
!DDDD00[CHK](cr) for 16-bit DO modules
!EEEE00[CHK](cr) for 16-bit DI modules
!DDDDEEEE[CHK](cr) for 32-bit DIO modules
!DDDDDDDD[CHK](cr) for 32-bit DO modules
!EEEEEEEE[CHK](cr) for 32-bit DI modules
Invalid Command ?AA[CHK](cr)
Any syntax or communication error may receive no response.
! A delimiter for valid command
? A delimiter for invalid command
D 4-bit output value (0~Fh)
E 4-bit input value (0~Fh)
DD 8-bit output value (00~FFh)
EE 8-bit input value (00~FFh)
DDDD 16-bit output value (0000~FFFFh)
EEEE 16-bit input value (0000~FFFFh)
DDDDDDDD 32-bit output value (00000000~FFFFFFFFh)
EEEEEEEE 32 bit input value (00000000~FFFFFFFFh)
[CHK] A 2-character checksum
(cr) Carriage Return (0x0D) to denote the end of
response
Command $01S16
Response !0155AA00
Example
Description The example reads the digital I/O module value from
slot 1 of the I-8000 unit at address 01h. The second
2-character value 55h (01010101) indicate the I/O
module channels 1,3,5,7 are ON and channels
0,2,4,6 are OFF.
8430/8830/8KE4/8KE8 User’s manual, Jan 2005, Version 1.0, 8MS-002-10 ----- 75