-
Notifications
You must be signed in to change notification settings - Fork 0
3. B&R Automation Studio
This tutorial guides you through the configuration of ros_powerlink_tutorial project in B&R Automation Studio. B&R X20CP PLC is utilized for this purspose, however the same procedure should also work with different B&R POWERLINK compatible hardware.
Open B&R Automation Studio and use Project Wizard to create new project named ros_powerlink_tutorial.
Enter the parameters of new configuration manually or let B&R Automation Studio to identify your hardware
In case of manual configuration, select a specific type of your PLC
Complete your hardware configuration by adding all peripherals, your configuration should look similar to the picture shown below:
If your hardware configuration is ready, you can proceed to importing external fieldbus device:
For this tutorial we decided to use basic CiA401 profile for generic IO modules, which is commonly used within fieldbus communications. Select CiA401 device description file representing your PC from POWERLINK software stack. This file, which consist profile definition is available within the official openPowerlink github repository .
Add CiA401 Powerlink device to your hardware configuration:
Drag a connection between PLC and particular port of POWERLINK device (representing your PC):
Enter configuration menu of POWERLINK device:
Increase default response time from 22ms to 100ms:
Select which channels from CiA401 profile you want to activate for cyclic exchange:
Your final configuration should look similar to the figure below:
Your project is now configured for communication with ros_powerlink tutorial CPP node.
As a last step you need to upload your configuration to the Compact Flash Card, use standard Offline Install tool provided by B&R Automation Studio:
Select your Compact Flash Card and hit Create Compact flash button:
Insert Compact Flash Card to the PLC and you are ready to communicate over POWERLINK!
Next step: 4. Runtime Instructions