CFC Element ‘Box’

Symbol: a41bd17b0cb87d3bc0a8640e00e1c848_c6a4b7e6554139a0c0a8640e0147f169

You use the element in order to insert an operator, a function, a function block or a program. By default CODESYS inserts the element with the name ???. You can directly edit this field by clicking on it and entering a function block name. Alternatively you can open the input assistant and select a function block by clicking on a41bd17b0cb87d3bc0a8640e00e1c848_1c1810501108e68bc0a8640e01b2d0e8 .

In the case of a function block, CODESYS additionally displays an input field (???) above the function block symbol. You must replace this name by the name of the function block instance. If you instance a function block with constant input parameters, the function block element displays the ‘Parameter…’ field in the bottom left corner. You edit the parameters by clicking on this field.

In order to replace an existing box, you replace only the currently inserted identifier with the desired new name. When doing this, please note that CODESYS adapts the number of input and output pins in accordance with the definition of the POU and that existing assignments may therefore be deleted.

See also