赋值运算符=> 将函数、函数块或方法的输出赋值给变量。操作符右侧的位置也可以是空白。
语法
<output> => <variable>
示例
FBcomp_Output1 => bVar1; FBcomp_Output2 => ;
FBcom_Output1 和FB_Output2 是功能块的输出。FBcom_Output1 的值分配给变量bVar1 。
赋值运算符=> 将函数、函数块或方法的输出赋值给变量。操作符右侧的位置也可以是空白。
语法
<output> => <variable>
示例
FBcomp_Output1 => bVar1; FBcomp_Output2 => ;
FBcom_Output1 和FB_Output2 是功能块的输出。FBcom_Output1 的值分配给变量bVar1 。