BackHomeContact Us

 

Code Example

input

 

Syntax

input variable

 

Function

Receives numeric data from the serial port and places it in variable. 
 

Range of Variable

-2147483647 to +2147483647

 

Controller Returns

“?”

 

Mode

Run, Command

 

Example

input A

rem A numeric value should be sent to the controller through the serial port

 

Code Example

print

 

Syntax

print value

print “string

print “string”, value

 

Function

Prints the specified value or string to the serial port. 

 

Range of Value

-2147483647 to +2147483647

 

Controller Returns

string, value

 

Mode

Run, Command

 

Example

A = 123

print “A =”, A

 

 


 

www.OESIncorp.com

Copyright ©  2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.