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.

5 - Editors in CoDeSys<br />

5.3.2 The Editor for Structured Text...<br />

This is how a POU written in ST appears under the corresponding CoDeSys editor:<br />

All editors for POUs consist of a declaration part and a body. These are separated by a screen<br />

divider.<br />

The editor for Structured Text is a text editor with the usual capabilities of Windows text editors. The<br />

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

For information about the language, see Chapter 2.2.2, 'Structured Text (ST).<br />

5.4 The Graphic Editors...<br />

Zoom<br />

The editors of the graphically oriented languages, sequential function chart SFC, ladder diagram LD<br />

and function block diagram FBD and of free graphic function block diagrams have many points in<br />

common. In the following paragraphs these features will be summarized; the specific descriptions of<br />

LD, FBD an CFC, as well as the Sequential Function Chart language SFC follow in separate sections.<br />

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

Objects such as POUs, actions, transitions etc. in the languages SFC, LD, FBD, CFC and in<br />

visualizations can be enlarged or reduced in size with a zoom function. All elements of the window<br />

contents of the implementation part are affected; the declaration part remains unchanged.<br />

In standard form, every object is displayed with the zoom level 100%. The zoom level that is set is<br />

saved as an object property in the project.<br />

The printing of project documentation always occurs at the 100% display level!<br />

The zoom level can be set through a selection list in the toolbar. Values between 25% and 400% can<br />

be selected; individual values between 10% and 500% can be entered manually.<br />

The selection of a zoom level is only available if the cursor rests on an object created in a graphical<br />

language or a visualization object.<br />

CoDeSys V2.3 5-17

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

Saved successfully!

Ooh no, something went wrong!