Hardware manual
Impact Reference Guide Links between CPM controls
4-19 Datalogic Automation Inc.
5. To add the link to an existing control, hold the mouse cursor over the control and right-click.The
choices displayed will depend on the VPM property data type and the compatible data types in the con-
trol. If the control does not have a compatible data type, no choices are displayed.
To add the link to a new control, hold the mouse over a blank area on the Canvas, or the Panel icon in
the Control Tree and right-click. Some properties can only be linked to with a Get Data link. If this is
the case, no choices are displayed.
6. Repeat steps 4 and 5 until all links have been made.
Delete Links to VPM
You must delete links to VPM through the Impact Connector control.
To delete a link
1. Display the Control Panel tree.
2. Click on the Impact Connector control in the Control Panel tree.
3. Depending on the type of link you want to delete, click the Get Data Links, Set Data Links, Method
Links, or Links tab.
4. Select the link you want to delete, then click the Delete Link icon.
5. Repeat step 3 until all the desired links are deleted.
Links between CPM controls
Links are the connections between controls (properties, methods, and events). For example, if you want an
indicator light control to turn on when the Control Panel operator presses a button control, you can link the
button’s "Action" event to the indicator light’s "Turn On" method. When the button’s "action" changes (i.e. it
is pressed), the indicator light method that it is linked to (Turn On) is activated. Links can be created from
the "source" (the button) control or the "destination" (the indicator light) control, depending on the property
data types.
When you link control properties together, they are synchronized. For example, since the "On Color" prop-
erties of the two Indicator Lights are linked together, they are the same color when they are On.
In describing links, the following terms are used in this section:
• Source control: The control’s property that provides the value when the link selection is "Get link
from here." For example, if you select "Get link from here" on a Toggle Button’s property, then link to
an Indicator Light’s, the Toggle Button is the Source.
• Beginning control: The control that is selected to start the link process. When you create right-click
links, the beginning control normally keeps the focus when the link is complete. To shift the focus to
the Ending control when the link is complete, hold down the Ctrl key while you right-click on the
Ending control.
Panel
Icon
Delete
Link
Button
"Action"
Event
Indicator Light
"Turn On"
Method
Link
Indicator
Light
"On Color"
Property
Indicator
Light 2
"On Color"
Property
Link