Command ‘REF= (reference assignment)’

Symbol: c400d785a767d305c0a8640e01f278bf_71afa084700eaa2cc0a8640e00ec6bbf

Function: This command assigns a reference to an element Output.

Call: Main menu CFC ‣ Set/Reset, context menu Set/Reset

Requirements: A CFC editor is active. The input of an Output element is selected.

Example:

Declaration:

ref_int : REFERENCE TO INT;
a : INT;

CFC:

../_images/e23ec7b07a3867aac0a8640e00b244fc

This corresponds to the ST-code ref_int REF= a;

Further information can be found in the description of the data type REFERENCE TO.

See also