public static void ReadActiveReference(PlcMaster master, ref byte[] data) { if (master == null) { return; } if (master.connected) { master.ReadHoldingRegister(107, 1, master.ActiveReferenceStartAddress, 10, ref data); } }
public static void ReadScanData(PlcMaster master, ref byte[] data) { if (master == null) { return; } if (master.connected) { master.ReadHoldingRegister(100, 1, master.ScanStartAddress, 5, ref data); } }
public static void ReadProductInUnloading(PlcMaster master, ref byte[] data) { if (master == null) { return; } if (master.connected) { master.ReadHoldingRegister(102, 1, master.UnloadingDataMatrixStartAddress, 20, ref data); } }