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 />

'Extras' 'Order' 'Order topologically'<br />

Elements are ordered in a topological sequence when the execution takes place from left to right and<br />

from above to below, that is the number increases from left to right and from above to below for<br />

topologically arranged elements. The connections are not relevant, only the location of the elements is<br />

important.<br />

All selected elements are topologically arranged when the command 'Extras' 'Order' 'Order<br />

topologically' is executed. All elements in the selection are taken out of the sequential processing list<br />

by this process. The elements are then entered into the remaining sequential processing list<br />

individually from bottom right through to upper left. Each marked element is entered into the<br />

sequential processing list before its topological successor, i.e. it is inserted before the element that in<br />

a topological sequencing would be executed after it, when all elements in the editor were sequenced<br />

according to a topological sequencing system. This will be clarified by an example.<br />

The elements with numbers 1, 2 and 3 are selected. If the command 'Order topologically' is selected<br />

the elements are first taken out of the sequential processing list. Var3, the jump and the AND-operator<br />

are then inserted again one after the other. Var3 is placed before the label and receives the number 2.<br />

The jump is then ordered and receives the number 4 at first but this then becomes 5 after the AND is<br />

inserted. The new order of execution which arises is:<br />

When a newly generated block is introduced it will be placed by default in front of its topological<br />

successor in the sequential processing list.<br />

'Extras' 'Order' 'One up'<br />

With this command all selected elements with the exception of the element which is at the beginning<br />

of the sequential processing list are moved one place forwards in the sequential processing list.<br />

5-42 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!