Resources 'Extras' 'Compress' With this command the values shown for the sampling trace are compressed; i.e., after this command you can view the progression of the trace variables within a larger time frame. A multiple execution of the command is possible. This command is the counterpart to "Extras" "Stretch". 'Extras' 'Save Trace' With this command you can save a sampling trace. The dialog box for saving a file is opened. The file name receives the extension "*.trc". The saved sampling trace can be loaded again with "Extras" "Load Trace". 'Extras' 'Load Trace' With this command a saved sampling trace can be reloaded. The dialog box is opened for opening a file.
Select the desired file with the "*.trc" extension. With "Extras" "Save Trace" you can save a sampling trace. 'Extras' 'Trace in ASCII-file' With this command you can save a sampling trace in an ASCII-file. The dialog box is opened for saving a file. The file name receives the extension "*.txt". The values are deposited in the file according to the following scheme: TwinCAT PLC Control Trace D:\TWINCAT PLC CONTROL\PROJECTS\TRAFFICSIGNAL.PRO Cycle PLC_PRG.COUNTER PLC_PRG.LIGHT1 0 2 1 1 2 1 2 2 1 ..... If no frequency scan was set in the trace configuration, then the cycle is located in the first column; that means one value per cycle has been re-corded at any given time.
In the other respects, the entry here is for the point in time in ms at which the values of the variables have been saved since the sampling trace has been run. In the subsequent columns, the corresponding values of the trace variables are saved. At any given time the values are separated from one another by a blank space. The appertaining variable names are displayed next to one another in the third line, according to the sequence (PLC_PRG.COUNTER, PLC_PRG.LIGHT1). 6.6 Watch and Recipe Manager With the help of the Watch and Recipe Manager you can view the values of selected variables.
The Watch and Recipe Manager also makes it possible to preset the variables with definite values and transfer them as a group to the PLC ( "Write Recipe" ). In the same way, current PLC values can be read into and stored in the Watch and Recipe Manager ( "Read Recipe" ). These functions are helpful, for example, for setting and entering of control parameters. All watch lists created ( "Insert" "New Watch List" ) are indicated in the left column of the Watch and Recipe Manager. These lists can be selected with a mouse click or an arrow key. In the right area of the Watch and Recipe Manager the variables applicable at any given time are indicated.
In order to work with the Watch and Recipe Manager, open the object for the Watch and Recipe Manager in the Ressources register card in the Object Organizer. In Offline Mod e, you can create several watch lists in the Watch and Recipe Manager using the "Insert" "New Watch List" . For inputting the variables to be watched, you can call up a list of all variables with the Input Assistant, or you can enter the variables with the key-board, according to the following notation: . . With global variables, the POU Name is left out. You begin with a point. The variable name can, once again, contain multiple levels. Addresses can be entered directly. Example of a multiple-level variable:
PLC_PRG.Instance1.Instance2.Structure.Componentname Example of a global variable: .global1.component1 TX1200 179 Version: 1.3