PAC320 with .NET or Labview or InteractX: Using OPC DA Server

PAC320 with .NET or Labview or InteractX: Using OPC DA Server

There is an OPC Server on the PAC.  If the user wanted to to use VB.Net, C#.Net, LabView or other software package, the PC's software would communicate to an OPC Client. Thus any software package that can connect to an OPC client can connect to the PAC.

 

In a Visual Studio project you will need to develop an OPC DA client.  Example client code can be found on the internet in open source format.

This method will get the file data from the PC to the PAC.  At that point the user could write the data to a file on the SD CARD or work with the data in memory.

 

The OPC Server is installed with PAM.  You will need to open the OPC Configurator update the connection to point to the IPAddress of your PAC or PACs.

 

pac_opc1_3762-20240521-001100.jpg

 

pac_opc2_3763-20240521-001100.jpg

 

 

Next you will need to add the symbol configuration to your application and expose the variables that you want.  I created a global string variable called g_NCFile.  You may want it to be an array of bytes to hold the file.  After adding the symbol configuration you will need to build and download to your PAC.

 

pac_opc3_3764-20240521-001100.jpg

 

 

OPC Quick Client from Xpress Manager can be used to verify.  You will first need to add a new server connection CoDeSys.OPC.DA, new Group "My Group" and then add an item.  The screen shots below show the steps.

 

pac_opc4_3765-20240521-001100.jpg

 

.

pac_opc5_3766-20240521-001101.jpg

 

 

pac_opc6_3767-20240521-001101.jpg

 

 

pac_opc7_3768-20240521-001101.jpg

 

 

Now test writing data.

pac_opc8_3769-20240521-001101.jpg

 

 

Configuring the PAC to Communicate to Client via OPC (pdf)

 

The Parker InteractX HMI has an OPC Client that can also talk to the PAC.  Here's an apps note on this:

InteractX to PAC (pdf)

 

 

Full details are available in the OPC Server v3 user manual, which is installed as part of the Parker Automation Manager software, available from the PAC product page:

http://www.parkermotion.com/globalpac/

 

2/15jh

edited title for InteractX and specify OPC DA 12062019