Chapter 6 – B&B Electronics ADAM-5000_TCP - Manual User Manual
Page 228

Planning Your Application Program
#aaSiCj
Chapter 6
Name
Read One Channel Counter (Frequency) Data
Description
The command will return the input value from one of
the four channels of a specified module.
Syntax #aaSiCj(cr)
# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus address of the ADAM-5000/TCP sys-
tem you want to interrogate.
Si identifies the I/O slot you want to interrogate.
Cj identifies the channel you want to read.
(cr) is the terminating character, carriage return (0Dh)
Response >(data)
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 exists.
> is a delimiter character.
? delimiter character indicating the command was
invalid.
(data) is the input value in engineering units of the
interrogated module of the specified system. If the
numbers of (data) are ten ,counter/frequency mode
is in decimal format. If the numbers of (data) are eight,
counter/frequency mode is in hexadecimal format. If
(data) = “ “, it means the channel is invalid.
(cr) is the terminating character, carriage return (0Dh)
ADAM-5000/TCP User’s Manual
6-157