B&B Electronics ADAM-5000_TCP - Manual User Manual
Page 238

Planning Your Application Program
$aaSi7
Name
Read Overflow Flag
Chapter 6
Description
The command requests the addressed module to re-
turn the status of the overflow flag of counter.
Syntax $aaSi7(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of the ADAM-5000/
TCP system.
Si identifies the I/O slot i (i : 0 to 7).
7 is the command for the last value read-back.
Response
!aaff ff ff ff(cr) if the command is valid.
?aa(cr) if an invalid operation was entered. There is
no response if the module detects a syntax error or
communication error or if the specified ad- dress
does not exist.
! delimiter character indicating a valid command was
received.
? delimiter character indicating the command was
invalid.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of an ADAM-5000/
TCP system. ffffffff is the number of overflow for a
specified chan- nel.
(ffffffff represents 0~3 channels, each of which is
represented by one ff).
(cr) is the terminating character, carriage return (0Dh)
Note:
When this command is issued, the overflow value is cleared and
starts afresh.
ADAM-5000/TCP User’s Manual
6-167