beautypg.com

TE Technology TC-36-25-RS232 User Manual

Page 46

background image

IV. Commands

1. INPUT1 (reads the temperature of the primary thermistor)

Write Command: NA

Read Command: 01

Interpret:

Convert the hexadecimal “return value” to decimal and divide by 100

10

to

interpret as the temperature in °F/°C.

Example:

Suppose the temperature is 10.00 °F (sensor type = 1).

Send:

*00010000000041(etx)

Receive *000003e8c0^

Convert 000003e8

16

to decimal = 1000

10

Divide by 100 = (10.00 °F)

2. DESIRED CONTROL VALUE (set value)

Write Command: NA

Read Command: 03

Interpret:

This command returns the set value determined by Input2 or as a fixed value

set by communications. Convert the hexadecimal “return value” to decimal

and divide by 100

10

to interpret.

3. POWER OUTPUT

Write Command: NA

Read Command: 02 or 04

Interpret:

-511

10

represents –100% output.

0 returned is 0% output.

511

10

represents 100% output.

4. ALARM STATUS

Write Command: NA

Read Command: 05

Interpret:

0 returned means no alarms.

Bit 0 = 1 means HIGH ALARM.

Bit 1 = 1 means LOW ALARM.

Bit 2 = 1 means COMPUTER CONTROLLED ALARM.

Bit 3 = 1 means OVER CURRENT DETECTED.

Bit 4 = 1 means OPEN INPUT1.

Bit 5 = 1 means OPEN INPUT2.

Bit 6 = 1 means DRIVER LOW INPUT VOLTAGE.

Example:

Suppose there are two alarm conditions: HIGH ALARM and OVER CURRENT

DETECTED.

Send: *00050000000045^

Receive: *0000000989^

Convert 00000009

16

to binary: 0001001

2

(bit 3 and bit 0 are set)

5. INPUT 2

Write Command: NA

Read Command: 06 hex

Interpret:

When a secondary thermistor temperature sensor is used, the temperature it

is sensing can be read. Convert the hexadecimal “return value” to decimal

and divide by 100

10

to interpret as °F/°C.

46