How to
Instead of downloadable sample code which comes included in a Visual Studio project, this section provides code snippets for several tasks.
Please note that many code snippets are also included in some way or another in one of our sample code downloads, which should allow you to understand its usage in an overall picture. |
Further Information
- How to activate a previously created configuration
- How to link variables
- How to unlink variables
- How to disable/enable a tree item (e.g. an I/O device)
- How to change the path to a plc project and/or rescan the project
- How to change the fieldbus address (station no.) of a profibus box
- How to export/import the information of a child of a tree item
- How to enumerate through the child's of a tree item
- How to add child items (devices, boxes, terminals, variables etc.)
- How to update the address information of I/O devices
- How to create/change a linkage of a nc axis, encoder or drive to an I/O device, box or terminal
- How to exchange a fieldbus device and move all childs to the new one
- How to scan devices and boxes
- How to add routes to a remote ADS device
- How to execute a broadcast search