Command
$AASiLs
Description
This command for readback the Digital Input and Output module
Low Latch value or High Latch value for Digital input and output status.
This command only applies on all 87K digital input and output  modules which are plugged in the specified Slot of the I-8000 system.
Syntax
$AASiLs[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
L Command for Digital Latch
s s=0 : Low Latch ; s=1 : High Latch
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of the command
Response
Valid Command
!0D0E00[CHK](cr) for 8 bits DIO modules
!DD0000[CHK](cr) for 8 bits (or less than 8 bits) DO  modules
!EE0000[CHK](cr) for 8 bits (or less than 8 bits)  DI modules 
!DDEE00[CHK](cr)
for 16 bits DIO modules  
!DDDD00[CHK](cr)
for 16 bits DO  modules
!EEEE00[CHK](cr) for 16 bits DI modules
!DDDDEEEE[CHK](cr) for 32 bits DIO modules  
!DDDDDDDD[CHK](cr)
for 32 bits DO modules
!EEEEEEEE[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 latch value (0~Fh)
E 4 bits input latch value (0~Fh)
DD 8 bits output latch value (00~FFh)
EE 8 bits input latch value (00~FFh)
DDDD 16 bits output latch value (0000~FFFFh)
EEEE 16 bits input latch value (0000~FFFFh)
DDDDDDDD 32 bits output latch value (00000000~FFFFFFFFh)
EEEEEEEE 32 bits input latch value (00000000~FFFFFFFFh)
[CHK] 2-characters of Checksum
(cr) Character Return(0x0D) for denote the end of the response
Example
Command $01S1L0
Response !55AA00
Description If this is a 16-channel DI or DO module, the example would read the digital I/O module's Low Latch 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 Low Latched . The third 2-character AAh(10101010) indicate the I/O module channels 1,3,5,7 are Low Latched.

If this is a 8-channel DI and 8-channel DO module, the example would read the digital I/O module's Low Latch value from slot 1 of the I-8000 system at address 01h.The second 2-character 55h (01010101) indicate the DO channels 0,2,4,6 are Low Latched . The third 2-character AAh(10101010) indicate the DI channels 1,3,5,7 are Low Latched.


Command $01S1L1
Response !55AA00
Description If this is a 16-channel DI or DO module, the example would read the digital I/O module's High Latch 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 High Latched . The third 2-character AAh(10101010) indicate the I/O module channels 1,3,5,7 are High Latched.

If this is a 8-channel DI and 8-channel DO module, the example would read the digital I/O module's High Latch value from slot 1 of the I-8000 system at address 01h.The second 2-character 55h (01010101) indicate the DO channels 0,2,4,6 are High Latched . The third 2-character AAh(10101010) indicate the DI channels 1,3,5,7 are High Latched.

Modules
 I-87051, I-8052, I-87052,I-87053, I-87054, I-87055, I-87057,
 I-87063 , I-87064, I-87065, I-87066 , I-87068
Note: This command only support all 87K DIO modules which are insert into to i-8000 MCU.


Back to Previous Page