Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 256

Advertising
background image

Chapter

7


7-21 ADAM 4000 Series User’s Manual

$AAX1

Name

Read Safety Value command

Description Read the time-out setting and pre-defined safety status of DO

channels.

Syntax

$AAX1(cr)

$

is a delimiter character.

AA

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

address that you will access to.

X1

is the Read Safety Value command.

(cr)

is the terminating character, carriage return (0Dh).

Response

! TTTTDDDD(cr)

if the command is valid.

?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.

TTTT

is the time, 100 ms per number.

DDDD

is the four-hexadecimal character representing the

desired input safety value. The first character D is always 0,
and the others are the channels values.

For Example, 017A

First character is always 0

The meaning of 17A is as follows:

Digital value

0 0 0 1 0 1 1 1 1 0 1 0

Adam-4056SO channel no. 11 10 9 8 7 6 5 4 3 2 1 0

17A means channels 1, 3,4,5, 6, 8 are ON, and the rest are
OFF.

(cr)

is the terminating character, carriage return (ODh).

4055, 4056S, 4056SO,

4060, 4068, 4069

Advertising