Download Print this page

Advantech ADAM-6000 series User Manual page 148

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

Advertisement

Syntax
$aaCjS(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal Modbus network address of an
ADAM-6000 module.
Cj identifies the desired analog input channel j (j : 0 to 7).
S is the Read Alarm Status command.
(cr) represents terminating character, carriage return (0Dh)
Response
!aahl(cr) if the command was valid
?aa(cr) if an invalid operation was entered.
There is no response if the system detects a syntax error or communication error or if the
specified address does not exist.
! delimiter character indicating a valid command was received.
aa represents the 2-character hexadecimal address Modbus of the corresponding
ADAM-6000 module.
h represents the status of High alarm. '1' means the High alarm occurred, '0' means it did
not occur.
l represents the status of Low alarm. '1' means the Low alarm occurred, '0' means it did
not occur.
(cr) represents terminating character, carriage return (0Dh)
Example
command: $01C1S(cr)
response: !0101(cr)
The command asks the module at address 01h to return its alarm status for channel 1.
The system responds that a High alarm has not occurred, but the Low alarm has occurred.
6-4-6 Digital Input/Output Command Set
Command
Syntax
$aa6
(Always 01)
Command Name
Read Channels Status Asks a specified input module to
Description
return the status of all channels

Advertisement

loading