Setting up a target project
UP generates the application code, but the code has to land in a project of your platform's toolchain — that project is what compiles the binary and downloads it to the controller. This is a one-time setup per target project; afterwards every generator run simply refreshes the generated sources in place.
Choose your platform:
- B&R Automation Studio — create the Automation Studio project and point UP at it. The generated sources are pulled in through a linked folder, described in Create linked target folder.
- Beckhoff TwinCAT — requires the UP TwinCAT (Beckhoff) plugin, which is part of the UP release. If several people work on the same TwinCAT project, also read Reduce git conflicts.
- Siemens S7 TIA — set up the TIA project and the TIA settings resource that controls how the generated blocks are imported.
The model does not change
Only this step is platform-specific. The UP model, the validation and the way you work stay identical — the generator type selected in the project settings decides which platform the code is produced for, and it can be changed at any time.