beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 143

background image

Chapter 6

Planning Your Application Program

$aaSi3

Name

CJC Status Command (ADAM-5018 only)

Description

Returns the value of the CJC (Cold Junction Com-

pensation) sensor for a specified analog input mod-
ule

Syntax $aaSi3(cr)

$ is a delimiter character.

aa (range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system.
Si identifies the I/O slot which contains the CJC Sta-
tus you wish to retrieve.

3 is CJC Status command.

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

Response >(data)(cr)

if the command is valid.

?aa(cr) if an invalid operation was entered. There is
no response if the module detects a syntax error or
communication error or if the specified ad- dress
does not exist.
>delimiter character indicating a valid command was
received.
? delimiter character indicating the command was in-
valid.
aa (range 00-FF) represents the 2-character hexadeci-
mal address of an ADAM-5000/TCP system.
(data) is the value that is retrieved by the module by
reading its CJC sensor. The data format, in degrees
Celsius, consists of a “+” or “-” sign followed by five
decimal digits and a fixed decimal point. The resolu-
tion of the data is 0.1°C.

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

Example

command: $01S13(cr)

response: >+0136.8(cr) The command requests the
analog input module in slot 1 of the ADAM-
5000/TCP system at address 01h to read its CJC
sensor and return the data. The ana- log input
module responds with 36.8°C.


6-76

ADAM-5000/TCP User’s Manual