beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 184

background image




5-38

ADAM 4000 Series User’s Manual

4018M

@AASO

Name

Set Memory Operation Mode command

Description

Sets the operation mode of the analog input data logger at
address AA to Start or Stop.

Syntax

@AASO(cr)

@

is a delimiter character.

AA

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

address of an analog input data logger.

S

is the Set Memory Operation Mode command.

O

represents the operation mode:

‘1’: enables the recording of data.

‘0’: disables the recording of data.

(cr)

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

Response

!AA(cr)

if the command is valid.

?AA(cr)

if an invalid parameter was entered. There is no

response if the module detects a syntax error or
communication error or if the specified address does not
exist.

!

is a delimiter character indicating a valid command was

received.

?

is a delimiter character indicating the command was

invalid.

AA

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

address of an analog input data logger.

(cr)

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

Example

command: @03S1(cr)
response: !03(cr)

The command enables the analog input data logger at
address 03 to record data.

The response indicates that the command was received.