Hardware manual

OPC Data Access Impact Reference Guide
Datalogic Automation Inc. 2-42
To access Impact device data from a PLC, use Read/Write Message commands with PLC5 as the target
device. There are variations in PCCC command implementations across PLC5 product generations. The
files must be accessed using the right combination of File Type, File Name, and File Name index as shown
in the two tables above. Refer to your PLC documentation for command details. IMPORTANT: File names
are case sensitive.
Read and Write PCCC values
Since VPM tool property values cannot be directly linked to a PCCC server property value, you need to use
a Data Set tool to push a value from a tool’s property into the server property. Server property values can be
directly linked to a VPM tool property.
How to write to a server 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 PCCC
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 PCCC property value.
How to read from a server property value
1. In the desired tool, select the desired property.
2. Click the create link button.
3. In the PCCC Server system object, select the desired property.
4. When the tool runs, it reads the linked value from the server property.
OPC Data Access
The OPC Data Access system object interfaces with the Impact OPC Server. The Server provides OPC capa-
ble clients on the network with access to the Impact device through the OPC Data Access system object. The
Server can read and write data to the OPC Data Access properties which are described here.
NOTE: When you add an input to the OPC Data Access system object, you must restart the OPC Server or
the Impact device to make the new input appear in the Servers input list. Whether you should restart the
OPC Server or the Impact device depends on which would cause the least disruption to your operation.
(Also see “Enable OPC/ActiveX Server” on page 2-9.)
For more details about the OPC Server, refer to the OPC Server Reference (Document 843-0136).
NOTE: This System Object is not available while the device is online.
OPC Data Access Properties Tab
Input Name What it is
Online When true, places the Impact device online.
Trigger When true, a camera trigger event is created in the Impact device
Gain The Impact camera gain value