24.01.2015 Views

PLC Programming

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tools<br />

%V If NAME is a variable name, the expression is expanded to<br />

#:, otherwise there is no alteration (this notation<br />

#: is interpreted by the controller as a memory address)<br />

%T<br />

%S<br />

If NAME is a variable name, the expression is expanded to ,<br />

otherwise there is no alteration.<br />

If NAME is a variable name, the expression is expanded to ,<br />

otherwise there is no alteration.<br />

The % character is ignored if the escape symbol \ (Backslash) is placed in front. The escape symbol<br />

as such is only transmitted if written \\.<br />

Example:<br />

Entry in command line: (memory dump of the variable .testit )<br />

mem %V.testit<br />

Output in result window:<br />

mem #4:52<br />

03BAAA24 00 00 00 00 CD CD CD CD ....ÍÍÍÍ<br />

6.12.4 Further <strong>PLC</strong> Browser options<br />

In the 'Extras' menu or in the <strong>PLC</strong>-Browser's toolbar there are the following commands for handling<br />

the command entry or history list:<br />

With History forward and History backward you can scroll backwards and forwards through<br />

the query results already carried out. The history recording is continued until you leave the project.<br />

With Cancel command<br />

you can break off a query which has been initiated.<br />

With Save history list you can save the query results carried out up until that point in an external<br />

text file. The dialogue 'Save file as' will appear, in which you can enter a file name with the extension<br />

„.bhl" (Browser History List). The command Print last command opens the standard dialogue to print.<br />

The current query plus the output data in the message window can be printed.<br />

6.13 Tools<br />

The object 'Tools' will be available in the 'Resources' tab if the functionality is enabled for the currently<br />

set target system. It shows all available shortcuts (connections) to executable files of external tools,<br />

which can be activated by a double-click in order to call these external programs from within<br />

CoDeSys. It is defined by the target file which and how many shortcuts are allowed. Depending on<br />

this definition the user can add or delete new shortcuts in the 'Tools' folder.<br />

For example the Tools folder in the Object Organizer might look like this:<br />

6-60 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!