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.

6 - The Resources<br />

ppt<br />

pid<br />

pinf<br />

tsk<br />

startprg<br />

stopprg<br />

resetprg<br />

resetprgcold<br />

resetprgorg<br />

reload<br />

getprgprop<br />

getprgstat<br />

Read POU table<br />

Read project Id<br />

Read project info<br />

Show IEC-task list containing task infos.<br />

Start <strong>PLC</strong> program<br />

Stop <strong>PLC</strong> program<br />

Reset <strong>PLC</strong> program<br />

Reset <strong>PLC</strong> program cold<br />

Reset <strong>PLC</strong> program original<br />

Reload boot project<br />

Program properties<br />

Program status<br />

filedir<br />

filecopy<br />

filerename<br />

filedelete<br />

saveretain<br />

restoreretain<br />

setpwd<br />

delpwd<br />

File command "dir"<br />

Copy file [from] [to]<br />

Rename files [old] [new]<br />

Delete file [filename]<br />

Save retain variables<br />

Load retain variables<br />

Set password on controller<br />

Syntax: setpwd [level]<br />

can be "0" (default) just valid concerning logins from the programming<br />

system, or "1" valid for all applications<br />

Delete password on controller<br />

Note: The first word of the command sequence entered is interpreted as keyword. If a keyword is preceeded by a<br />

„" (e.g. „mem "), the ini-file will be searched for the existence of a help section to this<br />

keyword. If one is available, nothing is sent to the controller, but only the help text is displayed in the<br />

output data window.<br />

If the first word of the command entry () is not recognized by the controller, the<br />

response 'Keyword not found' will appear in the result window.<br />

6.12.3 Use of macros during the command entry in <strong>PLC</strong>-Browser<br />

If a command associated with a macro is entered in the command line, this is expanded before it is<br />

sent to the controller. Then the response in the result window appears in a similarly expanded form.<br />

The entry syntax is: <br />

is the command.<br />

Macros are:<br />

%P<br />

If NAME is a POU-name, the expression is expanded to , otherwise<br />

there is no alteration<br />

CoDeSys V2.3 6-59

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

Saved successfully!

Ooh no, something went wrong!