Individual Components The variables reach the watchlist via the commands ' Online' 'Write Values' and are transferred to the forcelist by the command 'Online' 'Force Values'. The values can be edited here in the „Prepared Value“ or „Forced Value“ columns by clicking the mouse on an entry to open an editor field. If the entry is not type- consistent, an error message is displayed. If a value is deleted, it means that the entry is deleted from the writelist or the variable is noticed for suspension of forcing as soon as the dialog is closed with any other command than Cancel . The following commands, corresponding to those in the Online menu, are available via buttons: Force Values:
All entries in the current writelist are transferred to the forcelist, that is the values of the variables in the controller are forced. All variables marked with 'Release Force' are no longer forced. The dialog is then closed. Write Values: All entries in the current writelist are written once only to the corresponding variables in the controller. The dialog is then closed. Release Force: All entries in the forcelist will be deleted or, if a writelist is present, the dialog “Delete write-/ forcelist” comes up, in which the user must decide whether he only wants to release forcing or discard the writelist , or both.
The dialog will close at that point, or after the selection dialog is closed as the case may be. 'Online' 'Show Call Stack' You can run this command when the PLC stops at a breakpoint. You will be given a dialog box with a list of the POUs currently in the Call Stack Example of a Call Stack The first POU is always the in the appointed debug task called program, because this is where the executing begins. The last POU is always the POU being executed. After you have selected a POU and have pressed the Go to button, the selected POU is loaded in its editor, and it will display the line or network being processed.
'Online' 'Flow Control' If you have selected the flow control, then a check will appear in front of the menu item. Following this, every line or every network will be marked which was executed in the last PLC Cycle. The line number field or the network number field of the lines or networks which just run will be displayed in green. An additional field is added in the IL-Editor in which the present contents of the accumulator are displayed. In the graphic editors for the Function Block Diagram and Ladder Diagram, an additional field will be inserted in all connecting lines not transporting any Boolean values.
When these Out- and Inputs are verified, then the value that is transported over the connecting line will be shown in this field. Connecting lines that transport only Boolean values will be shaded blue when they transport TRUE. This enables constant monitoring of the information flow. 'Online' 'Simulation' Simulation Mode is only accessibly for Buscontroller BC and not for TwinCAT PC. If Simulation Mode is chosen, then a check will appear in front of the menu item. In the simulation mode, the user program runs on the same PC under Windows. This mode is used to test the project. The communication between the PC and Simulation Mode uses the Windows Message mechanism.
If the program is not in simulation mode, then the program will run on the PLC. The status of this flag is stored with the project. TX1200 109 Version: 1.3