ST Assignment Operator for Outputs

The assignment operator => assigns the output of a function, a function block, or a method to a variable. The position on the right side of the operator can also be blank.

Syntax

<output> => <variable>

Example

FBcomp_Output1 => bVar1;
FBcomp_Output2 => ;

FBcom_Output1 and FB_Output2 are outputs of a function block. The value of FBcom_Output1 is assigned to the variable bVar1.