Hardware manual
Impact Reference Guide OPC Data Access
2-43 Datalogic Automation Inc.
Create Custom OPC Inputs
You can create custom OPC inputs then read and write those input values from other VPM tool properties.
How to create a custom input
1. Click the Add Input button above the properties pane.
2. Click in the new input’s name field and rename it. This is the name that the Impact OPC Server will use
to read and write the input value. Refer to the OPC Server Reference for more details.
Read and Write OPC values
Since VPM tool property values cannot be directly linked to an OPC Data Access property value, you need
to use a Data Set tool to push a value from a tool’s property into the Data Access property. Data Access
property values can be directly linked to a VPM tool property.
How to write to an OPC Data Access property value
1. Place a Data Set tool in the task.
2. In the Data Set tool, click the create link button on the Destination Port, then select the desired OPC
Data Access property.
3. In the Data Set tool, click the create link button for the Value property, then select the property you
want to link from the source tool.
4. When the Data Set tool runs, it pushes the desired value into the OPC Data Access property value.
How to read from an OPC Data Access property value
1. In the desired tool, select the desired OPC Data Access property.
2. Click the create link button.
3. In the OPC Data Access system object, select the desired OPC Data Access property.
4. When the tool runs, it reads the linked value from the OPC Data Access property.
Shutter Speed (x 10
microseconds)
The camera shutter speed
Strobe 1 Duration
(ms)
The duration for strobe 1
Strobe 2 Duration
(ms)
The duration for strobe 2
Strobe 3 Duration
(ms)
The duration for strobe 3
Input Name What it is