Beckhoff Automation GmbH & Co. KG TX1200 — 4.6 Online Functions

Individual Components 'Online' 'Login' Shortcut: This command combines the programming system with the PLC (or starts the simulation program) and changes into the online mode. If the current project has not been compiled since opening or since the last modification, then it is compiled now (as with "Project" "Build"). If errors occur during compilation, then TwinCAT PLC Control does not change into Online mode. If the current project was changed on the controller since the last download, but not closed, and if the last download information was not deleted with the command ' Project' 'Clear all', then after the command 'Login' a dialog opens with the question: „The program has been changed.

Load changes? (Online Change)“. By answering Yes you confirm that, on log-in, the modified portions of the project are to be loaded onto the controller. No results in a log-in without the changes made since the last download being loaded onto the controller. Cancel cancels the command. Load all > causes the entire project to be reloaded onto the controller. After a successful login all online functions are available (if the corresponding settings in 'Project' ' Options' category 'Build' have been entered). Use the "Online" "Logout" command to change from online back to offline mode. Error case Error:

"A connection to the PLC could not be established" Check if your TwinCAT System runs (TwinCAT Icon in Taskbar is green). If not started, start the TwinCAT system by right mouse click on the icon then select system and start. The colour of the TwinCAT icon changes from red to green. Error: "The program has been modified! Should the new program be loaded?" The project which is open in the editor is incompatible with the program currently found in the PLC. Monitoring and debugging is therefore not possible. You can either choose "No," logout, and open the right project, or use "Yes" to load the current project in the PLC. Message: „The program has been changed. Load changes? (ONLINE CHANGE)“.

The project is running on the controller. The target system supports 'Online Change' and the project has been altered on the controller with respect to the most recent download or the most recent Online Change. You may now decide whether these changes should be loaded with the controller program running or whether the command should be cancelled. You can also, however, load the entire compiled code by selecting the Load all button. 'Online' 'Logout' Shortcut: The connection to the PLC is broken. Use the "Online" "Login" command to change to the online mode. 'Online' 'Download' This command loads the compiled project in the PLC (download, not to mistake with 'Online''download source code' !).

Download information is saved in a file called 0000000ar.ri , which is used during Online Change to compare the current program with the one most recently loaded onto the controller, so that only changed program components are reloaded. This file is erased by the command 'Project' 'Clear all'. 'Online' 'Run' Shortcut: This command starts the program in the PLC or in Simulation Mode. This command can be executed immediately after the "Online" "Download" command, or after the user program in the PLC has been ended with the "Online" "Stop" command, or when the user program is at a break point, or when the ' Online' 'Single Cycle' command has been executed. 'Online' 'Stop' Shortcut:

+>F8> Stops the execution of the program in the PLC or in Simulation Mode between two cycles. Use the "Online" "Run" command to restart the program. TX1200 104 Version: 1.3