原创 TwinCAT PLC和上位機HMI通訊初探

在PLC的程序中,添加如下變量     intCount AT %Q*: DINT;        可讀     intVarIn AT  %I* : DINT:=0;   可寫     PLCVar   : DINT:=0;