38.5.2.2 如何直接指定寄存器地址

WriteDeviceBit("#WinGP", "M100", nDataAry(0), 1)

WriteDeviceBit("#WinGP.PLC1", "M100", nDataAry(0), 1)

PLC1是连接至WinGP的控制器/PLC名称。

WriteDeviceBit("#WinGP.#MEMLINK", "10000", nDataAry(0), 1)

WriteDeviceBit("#WinGP", "USR10000", nDataAry(0), 1)
WriteDeviceBit("#WinGP", "LS10000", nDataAry(0), 1)

WriteDeviceBit("#WinGP.#INTERNAL", "USR10000", nDataAry(0), 1)
WriteDeviceBit("#WinGP.#INTERNAL ", "LS10000", nDataAry(0), 1)