<< 点击显示目录 >> 主页
ACOPOS 6D使用手册 > mapp 6D > 入门指南 > 开始使用 ACOPOS 6D Defining global communication variables |
必须创建通信变量,以便在 ACOPOS 6D 和 X20 控制器之间建立通信。这些变量将在后续步骤中与配置和硬件相连。
声明全局变量:
(*Communication Variables*)
VAR
gCommInput : Mc6DControllerFBIOType; (*Communication variable INPUT*)
gCommOutput : Mc6DControllerFBIOType; (*Communication variable OUTPUT*)
END_VAR
Communication variables must be created to establish communication between an ACOPOS 6D and an X20 controller. These variables will be linked to the configuration and hardware in further steps.
Declaration of a global variable:
(*Communication Variables*)
VAR
gCommInput : Mc6DControllerFBIOType; (*Communication variable INPUT*)
gCommOutput : Mc6DControllerFBIOType; (*Communication variable OUTPUT*)
END_VAR