BackHomeContact Us

 

Code Example

ifnotbit…then

 

Syntax

ifnotbit value then instruction

 

Function

If the bit specified by value or variable is low then execute instruction. Refer to the hardware reference manual for the location of each pin. 

 

Range of Value

1 to 16

 

Controller Returns

None

 

Mode

Run

 

Example

A = 10

ifnotbit A then goto 100

 

Code Example

ifnotbit…then…else 

 

Syntax

ifnotbit value then instruction1 else instruction2

 

Function

If the bit specified by value or variable is low then execute instruction1, otherwise execute instruction2. Refer to the hardware reference manual for the location of each pin. 

 

Range of Value

1 to 16

 

Controller Returns

None

 

Mode

Run

 

Example

A = 10

ifnotbit A then goto 100 else goto 200

 

 


 

www.OESIncorp.com

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