GithubHelp home page GithubHelp logo

Exchanging strings about arduinomodbusslave HOT 5 CLOSED

yaacov avatar yaacov commented on June 13, 2024
Exchanging strings

from arduinomodbusslave.

Comments (5)

yaacov avatar yaacov commented on June 13, 2024 2

have fun, If you do decide to implement file read/write, It will be welcome even if it will a bad implementation :-) [ it will be better than no implementation at all ]

from arduinomodbusslave.

yaacov avatar yaacov commented on June 13, 2024

Should I implement these services?

a. That will be great !
b. If you just want to copy string ( and not implement new features, although that is fun too :-) ) you can use write and read multiple registers ( FC04, FC16 ) for specific address, and agree that this address represent a string.

e.g.
for hello
send this registers: 68 65 6c 6c 6f ( + 00 pedding ) to address 0050:
11 10 0050 0003 06 6865 6c6c 6f00 CRC0

from arduinomodbusslave.

raffaeler avatar raffaeler commented on June 13, 2024

The read/write multiple registers was already my fallback strategy :)
I was wondering whether you have any suggestions about implementing read/write file record... what is the gain on your opinion?

I have no device doing that, so the risk is writing a bad implementation that works just because I own both the master and the slave.
I am using QModMaster on a PC to test the slave implementation, but it does not support the read/write file record.

from arduinomodbusslave.

yaacov avatar yaacov commented on June 13, 2024

I have no device doing that, so the risk is writing a bad implementation that works just because I own both the master and the slave.

I never worked with a device that used modbus for file transfer, usually if we needed to move files, we used other methods ( e.g. data card, tcp, other protocol ... ) so I can not offer an advice here, For small strings ( like a title in display ) we did use FC16.

from arduinomodbusslave.

raffaeler avatar raffaeler commented on June 13, 2024

Agree, I'll see, 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.