Is there a way to make an AXC F 2152 Profinet-wise appear as a device defined within a GSDML file? This would provide a standardizable interface to make the AXC interchangable with other existing devices.
Within the PLCnext Engineer I have only found the options to drag and drop the device of a GSDML file into the Profinet section of the AXC, which seems to add it as a Profinet device the AXC wants to talk to, or to include it to the project alongside the AXC which does… nothing?
Thanks in advance for any suggestions!
I have successfully changed the VendorID and DeviceID of the plc by adding the respective variables in /opt/plcnext/config/Io/PnS/PnS.local.config.
This allows a connection to be established but the default Profinet modules are not fully compatible with the given GSDML interface file. Is there a way to change/add the default modules?
Also I wondered how the PND_S1_INPUTS and PND_S1_OUTPUTS variables within the Engineer are created. Are they hardcoded or could I somehow create similar variables for additional slots? They seem to exist without the Engineer having to communicate with the plc, yet I cannot find them in the original axc-GSDML.
Any ideas?
Though not specified in the GSDML, the FDCML (which can be extaced from the project file), does contain information about the PND_S1_INPUTS and PND_S1_OUTPUTS and by appending new variables here they show up within PLCnext Engineer.
Through editing /etc/plcnext/device/Io/PnD/PnD.settings I have been able to add additional slots. With that I have been able to exchange data between controller and device.
But something is still off, as in the WBM of the Profinet controller it warns that the modules have differences. Also I don’t see at all how I can change the module in slot 0…