Download Print this page

Advantech ADAM-6000 series User Manual page 130

Ethernet-based data acquisition and control modules
Hide thumbs Also See for ADAM-6000 series:

Advertisement

Name
Read Channels Status
Description
Asks a specified input module to return the status of all channels
Syntax
$aa6(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal Modbus address
of the ADAM-6000 module you want to interrogate. (Always 01)
6 is the read channels status command.
(cr) is the terminating character, carriage return (0Dh)
Response
!aamm(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 address 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 hexadecimal Modbus address of
an ADAM-6000 module.
mm are two hexadecimal values. Each value is interpreted as 4 bits. The first
4-bit value represents the status of channels 4-7, the second 4 bits
represents the status of channels 0-3. A value of 0 means the channel is
disabled, while a value of 1 means the channel is enabled.
(cr) is the terminating character, carriage return (0Dh)
Example
command: $016(cr)
response: !01FF(cr)
The command asks the analog input module in slot 1 of the system at address
01h to send the status of its input channels. The analog input module responds
that all its multiplex channels are enabling (FF equals 1111 and 1111).
$aa5mm

Advertisement

loading