Examples
The following pages contain examples (referred to as samples) that illustrate the operation of the TC3 XML server. The examples are numbered consecutively and can be downloaded as a PLC project from here: TC3_XmlSrv_Samples.zip
- Getting started
This section describes the general operation of the TwinCAT XML Data Server, the function of structures and arrays, and the access to individual nodes. - Function blocks
The application and configuration of the function blocks of the PLC library TcXmlDataSrv.Lib is explained based on four examples. (Examples 1-4) - Further examples
This document contains further examples, which describe the one-time initialization during PLC startup and cyclic writing, for instance. (Examples 5-6) - Production example
The production example illustrates the processing of a small production order. It uses FB_XmlSrvReadByName and FB_XmlSrvWriteByName. (Example 7)
Further Information