24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 - The Resources<br />

Watch and Receipt Manager in the Offline Mode<br />

The variables in the watch list can be preset with constant values. That means that in Online mode<br />

you can use the 'Extras' 'Write Receipt' command to write these values into the variables. To do to do<br />

must use := to assign the constant value of the variable:<br />

Example:<br />

<strong>PLC</strong>_PRG.TIMER:=50<br />

In the example, the <strong>PLC</strong>_PRG.COUNTER variable is preset with the value 6<br />

'Insert' 'New Watch List'<br />

With this command in offline mode a new watch list can be inserted into the Watch and Receipt<br />

Manager. Enter the desired name for the watch list in the dialog box that appears.<br />

'Extras' 'Rename Watch List'<br />

With this command you can change the name of a watch list in the Watch and Receipt Manager.<br />

In the dialog box that appears, enter the new name of the watch list.<br />

'Extras' 'Save Watch List'<br />

With this command you can save a watch list. The dialog box for saving a file is opened. The file<br />

name is preset with the name of the watch list and is given the extension "*.wtc".<br />

The saved watch list can be loaded again with 'Extras' 'Load Watch List'.<br />

'Extras' 'Load Watch List'<br />

With this command you can reload a saved watch list. The dialog box is opened for opening a file.<br />

Select the desired file with the "*.wtc" extension. In the dialog box that appears, you can give the<br />

watch list a new name. The file name is preset without an extension.<br />

With 'Extras' 'Save Watch List', you can save a watch list.<br />

Watch and Receipt Manager in the Online Mode<br />

In Online mode, the values of the entered variables are indicated.<br />

Structured values (arrays, structures, or instances of function blocks) are marked by a plus sign in<br />

front of the identifier. By clicking the plus sign with the mouse or by pressing , the variable is<br />

opened up or closed.If a function block variable is marked in the watch list, the associated context<br />

menu is expanded to include the two menu items 'Zoom' and 'Open instance'.<br />

In order to input new variables, you can turn off the display by using the 'Extras' 'Active Monitoring'<br />

command. After the variables have been entered, you can use the same command again to activate<br />

the display of the values.<br />

CoDeSys V2.3 6-41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!