PCC commands from custom objects
I'd like to generate PCC commands from custom Control Module Types such that in the PCC tree view on a valve there is a direct link to my custom faceplate. Presently I can only see to do this via a pccBoolToPCC or BoolInput (using the PC Device Library).
Is there some code or a particular way to structure the PCC Name String[32] such that the PCDeviceLib Uploader will make the link to my custom object?
Is there some code or a particular way to structure the PCC Name String[32] such that the PCDeviceLib Uploader will make the link to my custom object?
Answers
Yes, Its possible. Check the documentation.
The configuration for the Uploader is held in the Library Structure. Each PC DeviceLib object has a corresponding configuration aspect in the Library. Right Click on the aspects to see the XML code, and then it will become more obvious. ( left clicking shows a blank grey screen). Everything is linked by the aspect name rather than any defined structure link, so ensure everything is named correctly.
(Sorry, I don't have a working example here to give you a better example )
The configuration for the Uploader is held in the Library Structure. Each PC DeviceLib object has a corresponding configuration aspect in the Library. Right Click on the aspects to see the XML code, and then it will become more obvious. ( left clicking shows a blank grey screen). Everything is linked by the aspect name rather than any defined structure link, so ensure everything is named correctly.
(Sorry, I don't have a working example here to give you a better example )
Assuming you're using v6 of library, see Section 3 of manual, Priority Commands and Interlocks, section on PCC Devices Aspect. The aspect is found in Library Structure, Preferences and Customizations, PCDeviceLib Customizations. You can edit the XML in there to add new DeviceType definitions for your custom device types. Defining your device type in here will allow PCC Uploader to find any instances of it.
Add new comment