PLC Programming with TwinCAT PLC Control
The handling of the CX10xx PLC(CX device of type CX1000 or CX1020) with the TwinCAT PLC control does not differ from other hardware and is already described in the Beckhoff Information System. We will briefly refer to it for introduction purposes.
Quick Reference:
- The programming languages for the creation of programs in the TwinCAT PLC control correspond to the IEC61131-3 standard.
- With each compilation, the project information is written to a <Project Name>.tpy file. This file is XML based and can be opened with the Internet Explorer. The bottom section, "Symbols" contains a listing of the PLC variables with detailed information about data types and ADS parameter for the access to the PLC symbols (such as index group, index offset, length).
- After compilation, you must read the file <Project Name>.tpy into the TwinCAT System Manager.
- Map the PLC variable with the I/O points in the TwinCAT System Manager.
- Select the target system into which the PLC project is to be loaded. To do so, enter "Runtime 1 (Port 801)" under Target system (port), and "CX1000" under Target system (machine) in the dialog box "Selection of target system".
- Next, log in and create a boot project.