Loading program code, logging in and starting the PLC
To download the source code of your PLC program onto the controller, you have to log in with the PLC project on the controller. If you have several PLC projects in your project, you have to activate the desired PLC project first.
Loading the PLC project and starting the program
- The PLC project is error-free and is not yet on the controller.
- The PLC project and the communication with the controller are not encrypted.
- 1. Select the PLC project to be the loaded and started in the drop-down list Active PLC Project in the TwinCAT PLC Toolbar Options.
- The active PLC project appears as the first entry in the drop-down list.
- 2. In the TwinCAT XAE Base Toolbar Options click on Activate Configuration .
- A dialog appears asking whether you want to activate the configuration.
- 3. Click OK.
- A dialog appears asking whether TwinCAT should be restarted in Run mode.
- 4. Click OK.
- The configuration is activated, and TwinCAT is set to Run mode. The current status appears in the taskbar: . Activation also transfers the PLC project to the controller.
- 5. Select the command Login in the PLC menu or in the TwinCAT PLC Toolbar Options .
- A dialog appears asking whether you want to create and load the application onto the controller.
- 6. Confirm the dialog with YES.
- The PLC project is loaded onto the controller.
- 7. Select the command Start in the PLC menu or in the TwinCAT PLC Toolbar Options or press [F5].
- The program is running on the controller.
See also:
- Updating the PLC project on the PLC
- TC3 User Interface documentation: Command Login
- TC3 User Interface documentation: Command Activate configuration
- Monitoring values
- Programming languages and their editors