how to make items> How to transfer data from Allen Bradley to OPC

Open automation software can be used to transfer data from Allen Bradley ControlLogix, CompactLogix, GuardLogix, Micro800 MicroLogix, SLC 500, and PLC-5 controllers to OPC servers, locally or over a network. This tutorial walks you through downloading and installing OAS, configuring an Allen Bradley driver, configuring Allen Bradley and OPC tags, and implementing data routing.
Step 1. Download and install Open Automation Software and start the OAS service
If you have not already done so, you will need to download and install the OAS platform. Fully functional trial versions of the software are available for Windows, Windows IoT Core, Linux, Raspberry Pi, and Docker at ourdownload page.
Aboutwindowsrun the downloaded Setup.exe file to install one or more Open Automation Software features. select patterntypical installationif you are not sure which features to use or whatcustom installationif you want to save disk space on the target system. When prompted, accept the End User License Agreement to continue with the installation.
For more detailed instructions and video tutorials, please visit your system's installation guide:
window installation|linux installation|raspberry pi installation|Installing the docker
When the installation is complete, the OAS Service Control application will appear. Use this app to start all 4 services. If this is the first time you install the software, it will automatically enter Runtime with an exampleQualificationSettings.
Step 2. Set up your Allen Bradley data source
- First, you will need to open the Configure OAS application from the Open Automation Software program group.
- Select Configure >> License from the top menu and verify that Allen Bradley is one of the available drivers in the bottom left corner of the form. The demo license will have this by default. If you do not see Allen Bradley available, please contactsupport@openautomationsoftware.comto update your license.
- Select Configure >> Controllers from the top menu.
- Select localhost or the remote service you want to modify with the Select button to the right of the list of network nodes.
- The Configure Drivers screen will appear. Select AB Classic for MicroLogix, SLC 500, and PLC-5 or AB Logic for ControlLogix, CompactLogix, GuardLogix, and Micro800 from the Controller drop-down box.
- Enter a meaningful controller interface name to refer to this physical connection when defining tags with an Allen Bradley data source.
- Set the properties for the desired physical connection.
- Click the Add Controller button above the controller list in the left pane to add the controller interface as a selection available when defining tags in the next step.
For more detailed instructions on how to set up your Allen Bradley data source,Click hereto see ourIntroduction Allen Bradleytutorial.
Step 3. Set up your Allen Bradley labels
OAS provides several ways to add and define tags:
- Add and define tags manually using the Configure OAS app.…know more…
- CSV import and export…know more…
- programmatically…know more…
- One Click Allen Bradley…know more…
- OPC with one click…know more…
To manually add a tag:
- In the Configure OEA application, select Configure >> Labels from the top menu.
- Select localhost or the remote service you want to modify with the Select button to the right of the list of network nodes.
- Click the Add Tag button located at the top of the Tag Browser on the left side of the screen.
- A dialog will appear. Enter a name for your new tag and click OK.
- A setup screen for your new label will appear. Select the type of data source from the Data Source dropdown box.
- Specify the correct data type in the Data Type dropdown box.
- Click Apply Changes at the bottom right of the window.
For more detailed instructions on how to set up your labels,Click hereto see ourintro tagstutorial.
Step 4. Configure OPC server tags
OAS provides several ways to add and define tags:
- Add and define tags manually using the Configure OAS app.…know more…
- CSV import and export…know more…
- programmatically…know more…
- One Click Allen Bradley…know more…
- OPC with one click…know more…
To manually add a tag:
- In the Configure OEA application, select Configure >> Labels from the top menu.
- Select localhost or the remote service you want to modify with the Select button to the right of the list of network nodes.
- click noadd taglocated at the top of the tag browser on the left side of the screen.
- A dialog will appear. Enter a name for your new tag and click OK.
- A setup screen for your new label will appear. Select OPC inData sourcedrop down box.
- Use the Browse button to the right of the OPC item to search the OPC servers for the desired OPC item.
- Select Location, the desired OPC Server, branch into OPC Server and OPC Item and click OK.
- specify the desiredOPC update ratefor the brand.
- CliqueApply changesin the lower right corner of the window.
To add labels with One Click OPC:
- In the Configure OEA application, select Configure >> Labels from the top menu.
- Select localhost or the remote service you want to modify with the Select button to the right of the list of network nodes.
- To start the One Click OPC process, select theGroupwould like to import in the tag settings. If you want to import at the root level, select the tag group at the top of the tree. Then select theOne-Click Importbutton on the top menu bar.
- Click the Import OPC DA 2.XX or 3.0 Items button in the popup window.
- use theOne-Click OPC Wizardto search for a branch as starting position within an OPC Server or simply select the OPC Server name to add all items of the selected OPC Server. For the best network design, select Local OPC Servers, even if you are configuring a remote OAS Service.
- Select to enable the options to get the data type from the OPC server and optionally the descriptions. Also, if you want to specify the trend for all points, selecttrend points.
- Cliqueadd tagsand it will automatically add all OPC items from the OPC server branch you selected and all sub-branches below it.
- Select thesave buttonin the toolbar at the top.
For more detailed instructions on setting up OPC server tags, please visit ourIntroduction to OPCtutorial or theOPC with one clicktutorial or watch the video tutorial below:
Step 5. Configure the source tags destination tab
- Select one of yoursource tags.
- select isAimaba
- To allowwrite to target
- Select thetarget type(Tag, OPC, Azure IoT, Azure IoT Edge or MQTT) without dropdown.
- Select the destination of the value to send. YeahQualificationis selected, select Browse and select the desired label on the local host system or, optionally, a remote system to transfer over a network.
Local:Tag name.Value
Remote control:\\192.168.0.1\Label name.Value
SeArticle OPCis selected select browse and select theOPC servermiArticle
SeIoT an Azureis selected, then select thecontroller interface.
SeMQTTis selected, then select thecontroller interfacemiHe.
- Enter the desired float valuedead bandfield. Enter 0 for no dead band.
- If you want to specify a desired refresh rate for the target scanwrite continuouslyand enter the desired frequency. If Write contentiously is not checked, the destination will be updated every time the source label changes.
- click noApply changesbutton to save changes.
- Repeat this step for each tag you want to transfer data from. This can also be done in bulk with CSV Import/Export or programmatically.
For more detailed instructions on how to configure data routing functionality, please visit ourGetting Started: Data Routingtutorial or watch the videos below: