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.

The Text Editors...<br />

When a variable is open, all of its components are listed after it. A minus sign appears in front of the<br />

variable. If you doubleclick again or press , the variable will be closed, and the plus sign will<br />

reappear.<br />

Pressing or doubleclicking on a single-element variable will open the dialog box to write a<br />

variable. Here it is possible to change the present value of the variable. In the case of Boolean<br />

variables, no dialog box appears; these variables are toggled.<br />

The new value is displayed after the variable, in pointed brackets and in turquoise color, and remains<br />

unchanged. If the 'Online' 'Write values' command is given, then all variables are placed in the<br />

selected list and are once again displayed in black.<br />

If the 'Online' 'Force values' command is given, then all variables will be set to the selected values,<br />

until the 'Release force' command is given. In this event, the color of the force value changes to red<br />

5.3 The Text Editors...<br />

The text editors used for the implementation portion (the Instruction List editor and the Structured Text<br />

editor) of CoDeSys provide the usual Windows text editor functions.<br />

The implementation in the text editors is supported by syntax coloring.<br />

In Overwrite mode the status bar shows a black OV. You can switch between Overwrite mode and<br />

Insert mode by key <br />

The most important commands are found in the context menu (right mouse button or +).<br />

The text editors use the following menu commands in special ways:<br />

5-12 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!