Command
#AASiCjj
Description
This command for readback the Digital Input counter value from the specified channel of Digital I/O module with digital input channel.
This command only applies on all 87K digital I/O modules with digital input channel which are plugged in the specified Slot of the I-8000 system.
Syntax
 #AASiCjj[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
C Command for Channel
jj  jj: 00 ~ 0F if channel count<=16; jj: 0 ~ 1F for 32 channel count
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of the command
Response
Valid Command
!AADDDDD[CHK](cr)
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
DDDDD 16 bits DI counter value (0~ 65535)
[CHK] 2-characters of Checksum
(cr) Character Return(0x0D) for denote the end of the response
Example
Command #01S1C02
Response !0112345
Description The example read the digital input module's DI counter value from slot 1 of the I-8000 system at address 01h.The counter value of channel 0 is 12345

Example
Command #01S1C1F
Response !0112345
Description The example read the digital input module's DI counter value from slot 1 of the I-8000 system at address 01h.The counter value of channel 31 is 12345

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


Back to Previous Page