Beckhoff Automation GmbH & Co. KG TX1200 — 5.3 Instruction List Editor

Editors IL Editor with Possible Breakpoint Positions (darker number fields) How do you set a breakpoint? In order to set a breakpoint, click the line number field of the line where you want to set a breakpoint. If the selected field is a breakpoint position, then the color of the line numbers field will change from dark gray to light blue, and the breakpoint will be activated in the PLC. Deleting Breakpoints Correspondingly, in order to delete a breakpoint, click on the line number field of the line with the breakpoint to be deleted.

Setting and deleting of breakpoints can also be selected via the menu (" Online" "Toggle Breakpoint "), via the function key , or via the symbol in the tool bar. What happens at a breakpoint? If a breakpoint is reached in the PLC, then the screen will display the break with the corresponding line. The line number field of the line where the PLC is positioned will appear in red. The user program is stopped in the PLC. If the program is at a breakpoint, then the processing can be resumed with "Online" "Run" . In addition, with "Online" "Step over" or "Step in" you can cause the program to run to the next breakpoint position.

If the instruction where you are located is a CAL command, or, if there is a function call in the lines up to the next breakpoint position, then you can use " Step over " to bypass the function call. With " Step in ", you will branch to the open POU. Line Number of the Text Editor The line numbers of the text editor give the number of each text line of an implementation of a POU. In Off- line mode, a simple click on a special line number will mark the entire text line. In Online mode, the background color of the line number indicates the breakpoint status of every line: dark gray: This line is a possible position for a breakpoint. light blue: a breakpoint has been set in this line. red:

The program has reached this point. In Online mode, simply clicking the mouse will change the breakpoint status of this line. 5.3 Instruction List Editor This is how a POU written in the IL looks under the corresponding TwinCAT PLC Control editor: TX1200 128 Version: 1.3