GithubHelp home page GithubHelp logo

Comments (7)

zatalian avatar zatalian commented on June 1, 2024 1

the default examples all work with the combination codesys + leonardo.
I suspect the different usb to serial drivers used by the different arduino's but i haven't found a solution yet.

from arduinomodbusslave.

ysmilda avatar ysmilda commented on June 1, 2024 1

Quick sanity check:

  1. Did you change the Serial port to Serial1 for the leonardo and Serial for the uno?
  2. Did you disconnect the USB on the uno when testing? The Serial port is shared between the two

from arduinomodbusslave.

yaacov avatar yaacov commented on June 1, 2024

Hi, thanks for the issue 👍

Is this a know problem (and maybe a solution/workaround)?

a. no, if you fix it, please send a pull request fixing it.
b. if you post the relevant code that fails on uno and works on leonardo here, maybe someone can see the problem and help fix the issue.

from arduinomodbusslave.

zatalian avatar zatalian commented on June 1, 2024

I don't use an RS485 shield. I communicate directly over the usb comport. So I use Serial on both the leonardo and the uno.

from arduinomodbusslave.

yaacov avatar yaacov commented on June 1, 2024

@zatalian any news ?

from arduinomodbusslave.

zatalian avatar zatalian commented on June 1, 2024

no solution yet but i don't think it is the arduino code that is causing the problem. I have similar problems with another program communicating with a leonardo and an uno. For the uno, i have to disable RTS and DTR. Something i can't do with codesys...

from arduinomodbusslave.

yaacov avatar yaacov commented on June 1, 2024

👍 thanks

from arduinomodbusslave.

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.