Command Set

Analog Input Alarm

 

5013/5017/5017H/5017UH/5018/5018P

 

 

 

 

 

 

$aaSiCjAhs

 

 

 

 

Name

Set Alarm Mode

 

 

 

Description Sets the High/Low alarm of the specified input channel

 

 

in the addressed ADAM-5000 system to either Latching

 

 

or Momentary mode.

 

 

 

Syntax

$aaSiCjAhs(cr)

 

 

 

 

$ is a delimiter character.

 

 

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

 

 

address of anADAM-5000 system.

 

 

SiCj identifies the desired slot i (i : 0 to 3) and the

 

 

desired channel j (j : 0 to 7).

 

 

Ahs is the Set Alarm Mode command.

 

 

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

 

 

alarm, L = Low alarm

 

 

 

 

s indicates alarm mode and can have the value M =

 

 

Momentary mode, L = Latching mode

 

 

(cr) represents terminating character, carriage return

 

 

(0Dh)

 

 

 

Response

!aa(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.

 

 

(cr) represents terminating character, carriage return

 

 

(0Dh)

 

 

 

 

 

 

 

6-72

 

ADAM-5000

Page 137
Image 137
Advantech 5000 Series user manual 5013/5017/5017H/5017UH/5018/5018P, Syntax $aaSiCjAhscr