beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 257

background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-22 ADAM 4000 Series User’s Manual

$AAX2

Name

Read Safety Flag command

Description Requests the Safety Flag of the addressed digital I/O module

to see whether the safety value has been executed since Write
Safety Value command was set.

Syntax

$AAX2(cr)

$

is a delimiter character.

AA

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

address that you will access to.

X2

is the Read Safety Flag command.

Response

!XX (cr)

if the command is valid.

XX

is two-hexadecimal character – (00: OFF, 01: ON)

?AA(cr)

if an invalid command has been issued.

!

is a delimiter character which indicates a valid command.

?

is a delimiter character which indicates an invalid

command.

(cr)

is the terminating character, carriage return (ODh).

4055, 4056S, 4056SO,

4060, 4068, 4069