0
Under review

Hello,RealVirtual.IO,How can I get NC Axes information by Twincat ADS(PRO)From ADS Port 501 directly

Dragon Yun 20 hours ago in General Questions updated 14 hours ago 3

Hi,Dear developer,

I want to get TwinCAT3 NC Axes information by TwinCAT ADS From ADS Server Port=501。

It make me quickly get NC Axes symbol From Port 501,do not use any PLC program codeing,it is a very useful Method to get Axis information

But now,I can't connect to Port 501,the port has the only right value which is PLC Project port,such as TC3=851 ,TC2=801

Please give me some ideas about how to get axes information FROM NC PORT 501,thanks

Image 1246

Image 1247

Image 1248

Under review

Hi, I am sorry, we are not deep TwinCAT Experts? Can you please describe your problem more in detail, what is not working?

I have done some thing as follows:

  1. As you can see,the picture 2 about "TwinCAT ADS Interface",I set Parameters in PLC option,such as netid=xxx/Port=501.
  2. The Port no.501 has so many symbols as picture 1 arrowhead shows.
  3. Then I new a "plc output float(script)" for get actual position about cube1-Axis ,the name = Axes.Cube1.Actpos

The problem is :

  1. when i click play button, the "TwinCAT ADS Interface" script feedback ADS State is "Not Connect"
  2. we do not connect with ADS Server about Port 501,So we can't get the symbol's data about "Cube 1 Actpos Symbol" too

thans about your attention  ^_^