Read Alarm Status; Analog Output Command Set - Advantech ADAM-6217 User Manual

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

$aaCjS
Name
Description
Syntax
Response
Example
ASCII
B.1.5

Analog Output Command Set

Function
Read analog out-
put startup value
Set analog output
startup value
Write AO values
Read AO range
code

Read Alarm Status

Reads whether an alarm occurred to the specified input channel in the
specified ADAM-6200 module
$aaCjS(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of an ADAM-6200 module. (Always 01)
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)
!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 communi-
cation error or if the address does not exist.
! delimiter indicating a valid command was received.
aa represents the 2-character hexadecimal slave address of the corre-
sponding ADAM-6200 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)
The command asks the module at address 01h to return its alarm sta-
tus for channel 1.
The system responds that a High alarm has not occurred, but the Low
alarm has occurred.
Command: $01C1S(cr)
Response: !0101(cr)
Description
Read startup output
value from a specific
analog output channel
Set startup output
value to a specific
analog output channel
Write value to the spe-
cific analog output
channel
Return the channel
range code form
specific analog output
channel
Command
Cmd: $aaDScc(cr)
Ret:!aannnn (cr)
nnnn range:
0x0000 ~ 0x0FFF
Cmd: #aaD-
Sccnnnn(cr)
Ret: !aa(cr)
Cmd:
#aaBCccnnnn(cr)
Ret: !aa(cr)
Cmd: $aaBEcc(cr)
Ret: !aannnn(cr)
169
ADAM-6200 User Manual
Example
Send: $01DS01(cr)
Receive: !010800(cr)
Send:
#01DS010800(cr)
Receive: !01(cr)
Send:
#01BC010800(cr)
Receive: !01(cr)
Send: $01BE00(cr)
Receive: !010147(cr)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents