120 views 0 0
Save Embed Share Print
How to get data from Festo CoDeSys v3.5 controllers via OPC
This document will tell you how to create a CoDeSys V3.5 project, that is designed to e
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
Open CoDeSys V3.5 and start a new CECC project. Once open right click on “applicat
device tree and goto Add Object -> Symbol configuration. Click on Symbol configurat
Click “OPEN”. “Symbol configuration “ will be added to the device tree.
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
Double click on “Device” in the Device tree to access communication settings. Scan
to add Available PLC’s. The default names will be CECC1, CECC2, etc. It is important
names of the PLC’s for the configuration of the OPC server later.
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
Double click on Symbol configuration. You may have to click the refresh button to updat
variables.
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
Add the variables that you want to access via the OPC by highlighting them and click the
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
Go online and download. Make sure to run the PLC and check the program is running.
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
Now we must configure the OPC server. The OPC configurator is not located in the “Start
located in the program files of CoDeSys V3.5. Navigate to the OPC configurator and r
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
Selection Connection and click edit to change the PLC connection settings
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
We will now test the OPC server using a simple client called dOPC explorer http://www.
Download and run dOPC.
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
Double click on CoDeSysOPCDA to connect to it. This will start the OPC server and u
Sybol configuration file from the PLC. Expand the server tree until you find the tag “C
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
To monitor the value of the tag, drag the tag into Groups -> Default.
open the “Default” folder to see the tags live value’s.
Make sure the “Default” folder is active by right clicking on it and selecting “Active
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
We will now configure Rensen OPC office link to show tag values in excel.
Open Rensen OPC office link. All available OPC servers will appear including CoDeSysOP
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
Open the Data Group and right click on the tag and select “ Copy Live”
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
Open up a new excel spreadsheet. Select a cell and right click on it. Select paste special
Under “Paste link” select “Unicode Text” and click OK.
RELATED TITLES
Documents Science & Tech Tech
Digital & Social Media
120 views 0 0
Save Embed Share Print
120 views 0 0
Save Embed Share Print
Go back to the Excel Spreadsheet and you see the value LIVE.