This addon aims to automatically create variable pairs for the S7 connector in Visual Components. The functionality is similar as the ADS helper (Connectivity Configuration Helper -Beckhoff ADS), but there is no need to create a separate pairing Excel file.
This addon uses the PLC tag list exported from TIA-Portal as input, and searches the simulation for components, behaviors and properties for similar names as the PLC tags.
The variable pairing logic works as follows:
Attempts to find a simulation variable that matches the tag symbol name and type
- See if the tag should be connected to a servo Dof.
- If no match found, attempt to find a match from behaviour of given tag type.
- If no match found, expand search of properties of given type.
- If still no match, go through all properties and all behaviours once more to see if any names match
If the pairing is successful, the addon generates a ServerConfiguration.xml file. This file can then be imported to Visual Components using the Import Configuration button on the connectivity toolbar.
Download and extract the addon to the My Commands / Python 2 folder.
S7ConnectivityConfigurator.zip (8.1 KB)