Macro Command Reference - Omron FZ4 Series User Manual

Vision sensor
Table of Contents

Advertisement

Syntax error
Type
mismatch
Undefined
array
Undefined
label
4
Undefined
line number

Macro Command Reference

Classified Order
General instruction
Definition of the array variables is carried out.
The execution of the statements between Do and Loop are repeated as long as
the conditions continue to be fulfilled.
Free the array variable memory region that was defined by the Dim command.
Gets the Error occurrence commands during exception handling.
Gets the error class during exception handling.
Repeats and executes the statements between the For statement and the Next
statement.
Moves the processing to the specified subroutine.
Moves the processing to the line of the specified Label.
Controls the flow of processing in accordance with the judgement conditions of the
logical expression.
Controls the flow of processing in accordance with specified conditions.
Branches in accordance with the specified condition.
Branches processing in accordance with the specified condition.
Inserts comments into the program.
Controls the branching of processing in accordance with the expression results.
Carries out exception handling.
Returns saved variables.
Temporarily saves the value of a variable.
172
Using Custom Command
Wrong format or spelling of command or
function. Or command or function is
used not following the rule.
Type of variables mismatch, such as
left-right side of expression, or
parameters of functions.
An undefined array is used.
Referring to an undefined label.
Branching to an undefined line number.
Function
Check the calling format and description of command or
function using command reference. Check how to use
variables or arrays using Programming rules.
Reference:
Common rules for Macro (p.159)
Please set variables or arrays in correct type. Check if
assigning a string data to a variable for numerical data, or
correct array is used.
Arrays must be declared before use.
Check correct name of label is specified.
Please check if the specified line number exists. Line
number is automatically assigned, therefore use <Label>
as destination position for goto command.
Dim
Do - Loop
While
Erase
Errcmnd$
(Function)
Errno
(Function)
For...To...Step -
Next
Gosub
Goto
If...Then - Elseif
- Else - Endif
If...Then - Else
On Gosub
On Goto
Rem
Select ... Case -
Case Else -
End Select
Try - Catch -
End Try
Varpop
Varpush
Command
References
name
Reference: Detai l s (p.199)
Reference: Detai l s (p.201)
Reference: Detai l s (p.203)
Reference: Detai l s (p.204)
Reference: Detai l s (p.205)
Reference: Detai l s (p.209)
Reference: Detai l s (p.218)
Reference: Detai l s (p.219)
Reference: Detai l s (p.221)
Reference: Detai l s (p.220)
Reference: Detai l s (p.244)
Reference: Detai l s (p.245)
Reference: Detai l s (p.255)
Reference: Detai l s (p.266)
Reference: Detai l s (p.285)
Reference: Detai l s (p.292)
Reference: Detai l s (p.294)
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents