beautypg.com

Temp – Visara Master Console Center Scripting Guide User Manual

Page 199

background image

Chapter 5 Script Commands

Scripting Guide

199

TEMP

Syntax:

TEMP( %Port) ==> %Temp

Description:

Reads the current temperature from a sensor unit.

Action:

The temperature value is read from the sensor unit connected to the

specified port.

Parameters:

%Port. Numeric expression. The assigned sensor port number to

which the sensor is connected. Refer to Ports on page 24 for more
information.

Returns:

Numeric value. The current temperature reading.

Notes:

N/A

Example:

%Temp := TEMP( 2)
LOG( LOG_EXEC, ”TEMP 2 = ” + STR( %Temp))

See Also:

HUMID