57(83)
IF [condition]
{
serial action A
}
ENDIF
Program will judge the condition firstly, if equals the condition, then execute
serial action A. Otherwise, jump the serial action A, and execute the action after
the conditional control.
The type of the condition is as below:
Variable Expression
:
Program will judge if the variable equal to, not equal to,
greater than, greater than or equal to, less than, less than or equal to another
variable or constant. The condition can also be a variable only, when the
variable not equal to 0, satisfy the condition; otherwise, not satisfy the condition.
Input Port Expression
:
Condition can be an input port directly. When the input
port has signal, then satisfy the condition. Otherwise, no input signal means not
satisfy the condition.
Output Port Expression
:
Condition can be an output port directly. When the
output port has signal, then satisfy the condition. Otherwise, no output signal
means not satisfy the condition.
Note: The Condition cannot be a constant.
Recycle Control
:
The format of recycle control is as below:
FOR [recycle times]
{
serial action A
}
ENDFOR
Serial action A will repeat times as the program setting.
Two types of recycle times:
Constant: Serial action will repeat the times as the program setting.
Variable: The recycle times is appointed by the variable. The variable can be
user variable, or the program variable, or system variable.
Note: Repeat times cannot be the input/output port.
Summary of Contents for ST2
Page 2: ......
Page 8: ...8 83 ...
Page 31: ...31 83 4 Operating Instruction 4 1 Hand Controller 4 1 1 Operation Panel of Hand Controller ...
Page 63: ...63 83 7 Assembly Diagram 7 1 Traverse Unit Picture 7 1 Traverse Unit ...
Page 65: ...65 83 7 3 Main Arm Unit Picture 7 2 Main Arm Unit ...
Page 67: ...67 83 7 5 Crosswise Unit Picture 7 3 Crosswise Unit ...
Page 76: ...76 83 8 8 Z axis I O Board Wiring Diagram Picture 8 8 Z axis I O Board Wiring Diagram ...
Page 77: ...77 83 8 9 Main Arm Wiring Diagram 1 Picture 8 9 Main Arm Wiring Diagram 1 ...
Page 78: ...78 83 8 10 Main Arm Wiring Diagram 2 Picture 8 10 Main Arm Wiring Diagram 2 ...
Page 79: ...79 83 8 11 Sub arm Wiring Diagram Picture 8 11 Sub arm Wiring Diagram ...
Page 83: ...83 83 8 15 Pneumatic Schematic Diagram Picture 8 15 Pneumatic Schematic Diagram ...