beautypg.com

Command set – Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 137

background image

Command Set


4-34 ADAM 4000 Series User’s Manual

ADAM-4060/4068 Command Table

Command Syntax

Command Name

Command Description

Page
No.

%AANNTTCCFF

Configuration

Sets address, baud rate, and/or
checksum status, to a digital I/O
module

7-4

$AA6

Digital Data In

Returns the values of the digital I/O
channels of the addressed module

7-6

#AABB(data)

Digital Data Out

Writes specified values to either a
single channel or all channels
simultaneously

7-8

#** Synchronized

Sampling

Orders all digital I/O modules to
sample their input values and store
them in a special register

7-11

$AA4 Read

Synchronized

Data

Return the value of a specified digital
I/O module that was stored after an
#** command was issued

7-12

$AA2 Configuration

Status

Returns the configuration parameters
of a specified digital I/O module

7-14

$AA5

Reset Status

Indicates whether a specified digital
I/O module was reset after the last
time the $AA5 command was issued

7-16

$AAF Read

Firmware

Version

Return the firmware version code
from the specified digital I/O module

7-18

$AAM

Read Module Name

Return the module name from the
specified digital I/O module

7-19

$AAX0TTTTDDDD Write Safty Value

Force the DO channels to safety
status when communication is
time-out and over pre-defined period.

7-21

$AAX1

Read Safty Value

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

7-22

$AAX2

Read Safty Flag

Requests the Safty Flag of the
addressed digital I/O module to see
whether the safety value has been

executed since Write Safety Value
command was set.

7-23