I'm developing a CmdHandler object, i need to have a internal elements as a library. On CPS my library is an extension of my object and my object extends OpconCmdHandler.
For any reason in this CmdHandler the porperty distribute to chains is not available on unit. Why? I though that there is no difference between types on ComdHnadler. Distribute to chain should be available on any CmdHnadler.
Thanks in advance.
Solved! Go to Solution.
I am not sure if I understand your problem correctly, so first some words about the DistributeToChains property:
By the way, the DistributeToChains property is more or less obsolete since Control plus Studio 5.1: Since that version, all SFC sequences are automatically generated with a reference to the Unit FB (rUnit), so they can access all sub-structs of the unit without bothering about DistributeToChains.
In case this does not help you, I have some questions:
Once more you are right. Nexidator nick is not coming for free.
In the command Handler that is implemented on the CPS
The was the fault baseType="OpconCmdHandler" is missing.
Once baseType="OpconCmdHandler" of the base type is added right, the property can be selected.
Aniway we are using rUnit that is allways generated.