private static void dispatcherTimer_Tick(object sender, EventArgs e) { CurrentPosition = AdsCommunication.CoordinateRead(ReferenceHandler.GetReferenceAdress("CurrentPos")); }
public static void ConnectRoutineADS(AdsNotificationExEventHandler eventHandler) { CommunicationData = ReadControlData.GetVariable(); AdsCommunication.Connect(eventHandler); AdsCommunication.RegisterNotification(CommunicationData, 256); }