Chapter 6

 

 

$aaSiCjAh

$aaSiCjAh

Name

Read Alarm Disable/Latch

Description

Return the alarm mode for the specified channel.

Syntax

$aaSiCjAh(cr)

 

$ is a delimiter character.

 

aa (range 00-FF) represents the 2-character hexadecimal

 

address of an ADAM-5000 system.

 

SiCj identifies the desired slot i and the desired channel j.

 

A is the Read Alarm Mode command.

 

h indicates alarm type and can have the value H = High

 

alarm, L = Low alarm

 

(cr) represents terminating character, carriage return (0Dh)

Response

!aap(cr) if the command was valid

 

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 of the

 

corresponding ADAM-5000 system.

 

p indicates alarm mode.

 

p=D, if alarm is Disable.

 

P=L, if alarm is Latch.

 

(cr) represents terminating character, carriage return (0Dh)

ADAM-5000

6-149

Page 271
Image 271
Advantech RS-485 user manual Read Alarm Disable/Latch