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