beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 134

background image

Chapter

4


Chapter 4 Command Set 4-31

ADAM-4055 Command Table

Command Syntax

Command Name

Command Description

Page
No.

%AANNTTCCFF

Configuration

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

7-4

#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 special registers

7-11

$AA2 Configuration

Status

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

7-14

$AA4 Read

Synchronized
Data

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

7-12

$AA5

Reset Status

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

7-16

$AA6

Digital Data In

Returns the values of the digital I/O
channel in the addressed module

7-6

$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

$AAXnnnn

Watchdog Timer
Setting

Set communication WDT cycle time
from 0000 ~ 9999 (unit: 0.1 second. if
value is 0000, the communication
WDT function will be disable)

7-27

$AAY

Read Watchdog
Timer Setting

Read the cycle time setting of
communication WDT

7-28