ADAM-4000 Series User Manual 2344080, 4080D7.2.2.8 $AA7NName Read/Clear Overflow Flag commandDescription The command requests the module to return the status ofthe overflow flag for either counter 0 or counter 1. Thenclear the flag afterwards.Syntax $AA7N(cr)$ is a delimiter character.AA (range 00-FF) represents the 2-character hexadecimaladdress that you will access to.7 is the Read/Clear Overflow Flag command.N determines the channel whose overflow flag statusshould be read and cleared. When N = 0, it representscounter 0. On the other hand, N = 1 represents counter 1(cr) is the terminating character, carriage return (0Dh).Response !AAV(cr) if the command is valid.?AA(cr) if an invalid operation was entered.There is no response if the module detects a syntax orcommunication error, or even if the specified address does not exist.! is a delimiter character which indicates a valid command.? is a delimiter character which indicates an invalid command .AA (range 00-FF) represents the 2-character hexadecimaladdress of the module.V represents the status of the Nth channel's overflow flag.V = 1 means that the overflow flag has been set because thecounting has exceeded the maximum count.V = 0 means that the overflow flag has not been set.(cr) is the terminating character, carriage return (0Dh).Example command: $1371(cr)response: !131(cr)The command requests the counter/frequency module ataddress 13 to return the status of the overflow flag forcounter 1 and to reset it. The module replies with theoverflow flag for counter 1indicating overflow. Then it is being reset.