Reference Manual
Chapter
3
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
41
Programming
Upper preview window
Can be used for most geometrical settings.
Preview
Select a program step containing a
geometrical setting and execute it. The
top image in the pane to the far right in
the window now contains a figure repre-
senting the setting. It is possible to move
the circle and change the size of it direct-
ly in the preview window.
For fine-tuning, double-click the image to
display it in a separate window. Note how
the values in the parameter field in the
program step are updated as you change
the settings.
The size of the preview can be changed
by clicking and dragging the borders
around the previews..
The dotted button
Click the dotted button to open a window
enabling interactive setup.
Setup button
Double-click the Setup button to open a
window enabling interactive setup.
3.8.3
Using Macros
Macros are used for operations that are performed frequently and are used by more than
one program. It makes programs more readable.
Macros are available from the
Macros
tab in the tab bar. As they are created the macros
are listed as available tools on the toolbar. Default name is
Macro TOOL
. Use the tool tip to
distinguish between the macros.
Note:
The execution time of a macro includes the time it takes to run the two tools Start
Macro and End Macro. This means that the total execution time of the macro is slightly
larger than the sum of the steps in the macro. This difference is more apparent when
executing the macro in IVC Studio as then also the communication with the camera is
included in the execution time of the macro.
To create a new
macro
Right-click
Macro
in the tree view and choose
New Macro
from
the pop-up menu.
To delete a macro
Right-click the macro and choose
Delete Macro
from the pop-up
menu.
To make a copy of a
macro
Right-click the macro and choose
Copy Macro
from the pop-up
menu. Click
YES
to confirm and name the new macro.
To import a macro
Right-click
Macro
or a macro in the tree view and choose
Import
Macro
from the pop-up menu.
To export a macro
Right-click the macro in the tree view and choose
Export Macro
from the pop-up menu.
To print a macro
Right-click the macro in the tree view and choose
Print Macro