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