User Manual

B-10 Appendix B - Instruction Properties
If
Description: Conditionally executes a block of instructions. Must have a matching End instruction.
Syntax:
IF <condition>
[Instructions]
END
Properties:
Property Description
Condition
The condition to evaluate can only be True, False, or IOState.
If True, execute instructions. This is used for testing the dispensing
program.
If False, either do nothing or execute conditional Else instructions. Also
used for testing product programs. For example, to force a program to
ignore a set of instructions, insert an If instruction with the condition set
to False at the beginning of the set, and an End instruction at the end of
the set.
If IOState, compare current state of inputs and/or outputs with settings
made in Conditional Edit dialog box. Normal setting for using robot
inputs.
NOTE If the Condition property is set to IOState, a More button
appears in the property field. Clicking on this button displays
the Conditional Edit dialog box for the instruction. Use the
dialog box to set conditions for the If instruction.
Log Message
Description: Allows programmer to send a message to the log file when a specified event occurs. May
be used to log product completion times to evaluate production timing and lapse times.
Properties:
Property Description
Event Level
Event, Warning, Error.
Log Message
Message string.
Move Relative
Description: Moves the tool the specified X, Y, and Z distances from current position.
Properties:
Property Description
X, Y, Z
Target coordinates, expressed as relative to current position.