SetTagWord("Pump",GetTagWord("Pump")|0x2000);
最佳答案
置位一般用“|”(“按位或”运算符)
复位一般用“&”(“按位与”运算符)
SetTagWord("Pump",GetTagWord("Pump")&0xDFFF);
图片说明:
提问者对于答案的评价:
原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc361433.html