User manual

ACL ViewFlex String Commands
The ViewFlex String Commands are written as:
Print / Println “%ViewFlex string commands %”
ViewFlex helps you make applications that combine vision and robot
guiding that will use the ACL language for controlling and executing
robot tasks.
ViewFlex Variable
Vision functions are written in Visual Basic (VB) script. The vision script
will operate the vision task. To synchronize the vision and robot tasks,
there is the Global Variable (VF). After executing the Vision Function or
subroutine, the VF value will be 1 (VF=1).
SNAP
Format:
%SNAP%
Description:
Will capture an image from the camera and put it into
the Image Processing Tool.
Examples:
PRINTLN "%SNAP%"
RUN
Format:
%RUN prog%
Description:
Where: prog is the name of a function or subroutine in
the script. The function returns the ACL command back
to the controller.
Examples:
PRINTLN "%RUN PROG%"
This executes the function or subroutine in the open VB
script file. If you execute the function, the results will be
sent to the controller.
The script must be loaded before it can be executed from
the ACL.
ViewFlex v.3.3 2-24 User Manual
1209