Command
#AASiCjV
Description
This command for the Counter Frequency module
to read  specified channel's counter  and overflow value
in the specified Slot of the I-8000 system.
Syntax
#AASiCjV[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
Cj channel number of the module. j =  0 ~ 7
V command to read counter and overflow value
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of the command
Response
Valid Command >HHHHHHHHXXXX [CHK](cr) for specified channel's counter and overflow value in Hex format
>+DDDDDDDDDD+VVVVV[CHK](cr) for specified channel's counter and overflow  value in Decimal format
Invalid Command ?AA[CHK](cr)
Syntax error or communication error may get no response.
> delimiter for valid command
? delimiter for invalid command
HHHHHHHH 32 bits pulse/dir counter positive value (00000000~7FFFFFFFh)
32 bits pulse/dir counter negative value (FFFFFFFF~80000000h)
32 bits up/down counter positive value (00000000~7FFFFFFFh)
32 bits up/down counter negative value (FFFFFFFF~80000000h)
32 bits up frequency value (00000000~FFFFFFFFh)
32 bits up counter value (00000000~FFFFFFFFh)
+DDDDDDDDDD 32 bits pulse/dir counter value (-2147483648 ~ 2147483647)
32 bits up/down counter value (-2147483648 ~ 2147483647)
32 bits frequency value (00000000~4294967295)
32 bits up counter value (00000000~4294967295)
XXXX 16 bits pulse/dir overflow positive value (0000~7FFFh)
16 bits pulse/dir overflow negative value (FFFF~8000h)
16 bits up/down overflow positive value (0000~7FFFh)
16 bits up/down overflow negative value (FFFF~8000h)
16 bits up overflow value (0000~FFFFh)
+VVVVV 16 bits pulse/dir overflow value (-32768 ~ 32767)
16 bits up/down overflow value (-32768 ~ 32767)
16 bits up overflow value (00000~65535)
[CHK] 2-characters of Checksum
(cr) Character Return(0x0D) for denote the end of the response
Example
Command #01S1C0V
Response >+0805306367+00001 in decimal format
>2FFFFFFF0001 in hex format
Description Channel 0 counter value is 805306367 and overflow is 1  in decimal or  counter value is 2FFFFFFF and overflow is 1 in hex decimal
. The module is plug in slot 1 of the I-8000 system (address =01h).
Modules
I-8080,I-8084W



Back to Previous Page