beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 171

background image

Chapter

5


5-25

ADAM 4000 Series User’s Manual

4011, 4011D, 4018, 4018+, 4018M, 4019+

$AA9SNNNN
Name

CJC Offset Calibration command

Description

Calibrates an analog input module to adjust for offset errors
of its CJC (Cold Junction Compensation) sensors.

Syntax

$AA9SNNNN(number of counts)(cr)

$

is a delimiter character.

AA

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

address of the analog input module which contains the CJC
status you wish to retrieve.

9

is the CJC Status command.

S

sign, + or -, indicates whether to increase or decrease the

CJC offset value.

NNNN

(number of counts)

is a four character hexadecimal

“count” value. Each count equals approximately 0.009 ℃.
The value can range from 0000 to FFFF.

(cr)

is the

terminating character, carriage return (0Dh).

Response

!AA(cr)

if the command is valid.

?AA(cr)

if an invalid command was issued.

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

!

delimiter character indicates a valid command was

received.

?

delimiter character indicates the command was invalid.

AA

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

address of an analog input module.

(cr)

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

Example

command:

$079+0042(cr)

response:

!07(cr)

The command increases the CJC offset value of the analog
input module at address 07h with 66 counts (42 hex) which
equals about 0.6 ℃.

NOTICE: An analog input module requires a maximum of 2 seconds to

perform auto calibration and ranging after it received a CJC
Calibration command. During this interval, the module can not
be addressed to perform any other actions.