Download FlexDC Software User Manual

Transcript
FlexDC Software User Manual
Part III– FlexDC Macro Language
15.4.5 JZ – Jump Zero
Purpose:
Jump to a specified label or pointer location, and clears subroutines stack (to restart the
macro with subroutines stack clear).
Attributes:
Type:
Axis related:
Array:
Assignment:
Receive parameter:
Parameter type:
Scope:
Restrictions:
Save to Flash:
Default Value:
Range:
Command.
No.
---.
---.
Yes.
Number or Label.
Program.
None.
---.
---.
---.
Syntax:
JZ,<Label>; JZ,<Constant>
Keyword is not axis related, thus XJZ, YJZ and BJZ are equivalent.
Examples:
#MAIN:
XPA1=0
XJZ,#MAIN
‘Jumps the MAIN label, clears the subroutines stack.
See also:
JP, JF, JT
Nanomotion Ltd.
319