Property Transfer Source Expression / Instancing Aspect
On my PLC_DI Object Type a have a AlarmList showing object alarms.
Underneath there is an UnAcq Binary Signal who is intended as AlarmList Unacknowledged Signal for the PLC
I planned to used the Property Transfer Definition Aspect to perform this action.
On the instances of PLC_DI, on UnAcq, the Source Expression for writing is still
How can I replace PLC_DI with the actual name of of instance or even better relative reference avoiding changes in all instances ?
How can I convert Int to Bool ?
Voted best answer
In general, wherever possible, avoid Property Transfer.
I can also give you a few horror stories relating to using AlarmList properties visible via the OPC Injector. Avoid, even if you think you might be able to use them and even if it appears they might do something good for you...
So what is left then, you might ask?
To ascertain and display the Alarm Status of an object (or an object and its descendants), "Alarm Global Properties" aspect is a way to go.
Should be written in the 800xA Bible, so much pain could be (could have been) avoided!