Git Product home page Git Product logo

Comments (4)

pbruenn avatar pbruenn commented on July 21, 2024

Indeed, you need to compile the PLC project and then upload it to your PLC.
This README cannot cover all aspects of ADS and TwinCAT so I like to refer you to our Infosys:
https://infosys.beckhoff.com/content/1033/tc3_plc_intro/2525041803.html?id=7770895129335440874

Two more common problems:

  1. You cannot use this OpenSource lib to connect to a TwinCAT server on localhost.
  2. Make sure you setup your ADS/AMS routes correctly

from ads.

ceremcem avatar ceremcem commented on July 21, 2024

So I understand that the "PLC-TestProject" is for TwinCAT-3 and not for TwinCAT-2. I'm not able to find such a menu option in TwinCAT-2.

In fact, you've explained ADS/AMS route settings so clear (1, 2, 3) that I won't be able to create connection with node-ads without these instructions.

from ads.

pbruenn avatar pbruenn commented on July 21, 2024

Yes, PLC-TestProject is a TwinCAT 3 project.
If you were able to connect to your TwinCAT server with node-ads. It should be straightforward to adjust example/example.cpp to read exactly the same values.

from ads.

ceremcem avatar ceremcem commented on July 21, 2024

I'm currently not capable of editing the example/example.cpp but this issue can be considered as "answered". Thank you.

from ads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.