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.

The Graphic Editors...<br />

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

divider.<br />

The Sequential Function Chart editor is a graphic editor. The most important commands are found in<br />

the context menu (right mouse button or ). Tooltips show in Offline as well as in Online<br />

mode and in the zoomed state the full names or expressions of steps, transitions, jumps, jump labels,<br />

qualifiers or associated actions.<br />

For information about the Sequential Function Chart see Chapter 2.2.3, 'Sequential Function Chart'.<br />

The editor for the Sequential Function Chart must agree with the particulars of the SFC. In reference<br />

to these, the following menu items will be of service.<br />

Marking Blocks in the SFC<br />

A marked block is a bunch of SFC elements that are enclosed in a dotted rectangle.<br />

You can select an element (a step, a transition, or a jump) by pointing the mouse on this element and<br />

pressing the left mouse button, or you can use the arrow keys. In order to mark a group of several<br />

elements, press for a block already marked, and select the element in the lower left or right<br />

corner of the group. The resulting selection is the smallest cohesive group of elements that includes<br />

both of these elements.<br />

Please regard, that a step can only be deleted together with the preceeding or the succeeding<br />

transition !<br />

'Insert' 'Step Transition (before)'<br />

Symbol:<br />

Shortcut: +<br />

This command inserts a step in the SFC editor followed by a transition in front of the marked block.<br />

'Insert' 'Step Transition (after)'<br />

Symbol:<br />

Shortcut: +<br />

This command inserts a step in the SFC editor followed by a transition after the first transition in the<br />

marked block.<br />

Delete Step and Transition<br />

A step can only be deleted together with the preceeding or the succeeding transition. For this purpose<br />

put a selection frame around step and transition and choose command 'Edit' 'Delete' or press the<br />

key.<br />

'Insert' 'Alternative Branch (right)'<br />

Symbol:<br />

Shortcut: +<br />

This command inserts an alternative branch in the SFC editor as a right branch of the marked block.<br />

For this the marked block must both begin and end with a transition. The new branch is then made up<br />

of one transition.<br />

'Insert' 'Alternative Branch (left)'<br />

Symbol:<br />

This command inserts an alternative branch in the SFC editor as the left branch of the marked block.<br />

For this the marked block must both begin and end with a transition. The new branch is then made up<br />

of one transition.<br />

5-30 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!