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