BackHomeContact Us

 

Code Example

clrbit

 

Syntax

clrbit value or variable

 

Function

Resets the discrete output specified by value or variable. Refer to the hardware reference manual for the location of each pin.

 

 Range of Value

1 to 16

 

Controller Returns

None

 

Mode

Run, Command

 

Example

rem Reset discrete output 5

clrbit 5

A = 10

rem Reset discrete output 10

clrbit A

 

Code Example

setbit

 

Syntax

setbit value or variable

 

Function 

Sets the discrete output specified by value or variable. Refer to hardware reference manual for the location of each pin.  

 

Range of Value

1 – 16

 

Controller Returns

None

 

Mode

Run, Command

 

Example

setbit 5

A = 12

setbit A

 

 


 

www.OESIncorp.com

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