Warning
You are reading an old version of this documentation. If you want up-to-date information, please have a look at 2024.6 .Plugin installation and configuration
The plugin is delivered in a .zip
folder. Unzip it and you will find the library and other elements.
Library_PluginSiemensProfinetAsycube.al15_1
Several folders
The library contains the following elements
Installation of the library
Click on Open global library to add an existing library to your project.
Add the
Library_PluginSiemensProfinetAsycube.al15_1
.
Add the Gateway in the configuration
Once your library is installed, expand the Master copies folder and drag and drop the Gateway configuration in the Devices & networks section. Should you have several Gateways, repeat this operation several times.
Link the Gateway to desired network.
Import
HOLDING_REGISTER_READ
andHOLDING_REGISTER_WRITE
structures from the library to the PLC data types folder.
Import the PLC Tags table Gateway from the library to the PLC Tags folder. Should you have several Gateways, import the tag many times.
Link I/O
In the device overview of the Gateway, you can find the list of inputs and outputs as well as their addressing. If needed, modify their addresses. Please make sure that they follow each other.
Select the corresponding PLC Tag and modify the addresses of
regAsycubeRead
andregAsycubeWrite
so that they correspond respectively to the first input and the first output address of the Gateway.
Connect the registers to the FB
Here is an example of an application with the input and output registers filled in. You must connect the PROFINET status register of the gateway to the input of each FB that you are using as well as the input and output registers of the Asycube.