问题描述:
使用READ(WRITE)_VAR功能块。所属产品线:
PL7解决方法:
在mast 程序段里添加库功能块,也可以按住电脑"shift+F8"调用功能块,在弹出的对话框中找到"communication“",在右侧找到read_var,点击上面“"details"在弹出对话框中填写信息,address:ADR#0.0.6,the type of object to read:%mw,the number of the first object to read:100, the number of objects to read:10,containing the value of read objects:%mw10:10, report:%MW40:4 ,填完参数在操作块上显示为:READ_VAR(ADR#0.0.6, `%MW', 100, 10, %MW10:10, %MW40:4)
是否有帮助?