Command
$AASi6
Description
This command for readback the Digital Output module
value and read the Digital Input module value
in the specified Slot of the I-8000 system.
Syntax
$AASi6[CHK](cr)
$ a delimiter character
AA address number of the I-8000 system. AA= 00 ~ FFh
Si slot number of the module. i = 0 ~ 3 or 0 ~ 7
6 Command for read data
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of the command
Response
Valid Command
!AA0D0E00[CHK](cr) for 8 bits DIO modules
!AADD0000[CHK](cr) for 8 bits (or less than 8 bits) DO  modules
!AAEE0000[CHK](cr) for 8 bits (or less than 8 bits)  DI modules 
!AADDEE00[CHK](cr)
for 16 bits DIO modules  
!AADDDD00[CHK](cr)
for 16 bits DO  modules
!AAEEEE00[CHK](cr) for 16 bits DI modules
!AADDDDEEEE[CHK](cr) for 32 bits DIO modules  
!AADDDDDDDD[CHK](cr)
for 32 bits DO modules
!AAEEEEEEEE[CHK](cr) for 32 bits DI modules
Invalid Command ?AA[CHK](cr)
Syntax error or communication error may get no response.
! delimiter for valid command
AA address number of the I-8000 system. AA= 00 ~ FFh
? delimiter for invalid command
D 4 bits output value (0~Fh)
E 4 bits input value (0~Fh)
DD 8 bits output value (00~FFh)
EE 8 bits input value (00~FFh)
DDDD 16 bits output value (0000~FFFFh)
EEEE 16 bits input value (0000~FFFFh)
DDDDDDDD 32 bits output value (00000000~FFFFFFFFh)
EEEEEEEE 32 bits input value (00000000~FFFFFFFFh)
[CHK] 2-characters of Checksum
(cr) Character Return(0x0D) for denote the end of the response
Example
Command $01S16
Response !0155AA00
Description The example read the digital I/O module value from slot 1 of the I-8000 system at address 01h.The second 2-character 55h (01010101) indicate the I/O module channels 8,10,12,14 are ON and the channels 9,11,13,15 are OFF. The third 2-character AAh(10101010) indicate the I/O module channels 1,3,5,7 are ON and the channels 0,2,4,6 are OFF.

Command $01S16
Response !01550000
Description The example read the digital I/O module value from slot 1 of the I-8000 system at address 01h.The second 2-character 55h (01010101) indicate the I/O module channels 1,3,5,7 are ON and the channels 0,2,4,6 are OFF.
Modules
I-8040,I-8041,I-8042,I-8050, I-8051, I-87051, I-8052, I-87052
, I-8053 ,I-87053, I-8054, I-87054, I-8055, I-87055, I-8056
,I-8057, I-87057, I-8058, I-8060, I-8063, I-87063
,I-8064, I-87064, I-8065, I-87065, I-8066, I-87066
,I-8068, I-87068



Back to Previous Page