Use one of the automatic name getting features of CODESYS to generate the names for the sparkplug metrics. eg: {attribute 'instance-path'} __POUNAME * SymbolConfig IECVarAccess
I used this trick in the EoN and Device to initialise the log with the Device Instance name.
Log in to post a comment.
I used this trick in the EoN and Device to initialise the log with the Device Instance name.