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

2. Text fields for the elements box, input, output, jump, label, return and comments as well as text<br />

fields for connection marker<br />

3. Inputs for the elements box, input, output, jump and return<br />

4. Outputs for the elements box and input:<br />

'Insert' 'Box' in the CFC<br />

Symbol:<br />

Shortcut: +<br />

This command can be used to paste in operators, functions, function blocks and programs First of all,<br />

it is always inserted an "AND" operator. This can be converted by Selection and Overwrite of the text<br />

into every other operator, into every function, into every function block and every program. The input<br />

assistance serves to select the desired block from the list of supported blocks. If the new block has<br />

another minimum number of inputs, these will be attached. If the new block has a smaller highest<br />

number of inputs, the last inputs will be deleted.<br />

'Insert' 'Input' in CFC<br />

Symbol:<br />

Shortcut: + <br />

This command is used to insert an input. The text offered "" can be selected and replaced by a<br />

variable or constant. The input assistance can also be used here.<br />

'Insert' 'Output'in CFC<br />

Symbol:<br />

Shortcut: +<br />

This command is used to insert an output. The text offered "" can be selected and replaced by a<br />

variable. The input assistance can also be used here. The value which is associated with the input of<br />

the output is allocated to this variable.<br />

CoDeSys V2.3 5-37

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

Saved successfully!

Ooh no, something went wrong!