-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Variables #1
Comments
I fixed the problem with address. It was just an idiot bug which I fixed changing the name of vars on requestHandler.generate function. The DataMap is one of my ideas to make the process of updating variables easier, but I think I will not have time to implement the DataMap into this project because all of this was created while I am at CERTI Foundation. Next week I will quit here and there is a lot of tasks in-hold now. Sadly the actual code is satisfactory for my managers and I have to implement other things in this time. I could do that in my spare time but the main problem, that will make me "freeze" this project, is that I will not have any DSPs to test my code anymore (all of them are from CERTI). However, if you manage to send me a DSP and USB-Serial adapter I could try to create these features (and improve the project). |
Bruno, I could probably send you a DSP but you said you would also need a USB -Shane On Wed, Jul 22, 2015 at 12:57 PM, Bruno Luiz Silva <notifications@github.com
|
Hello,
I've been using your ModbusSlave implementation and it was been working very well. I really appreciate the work you have done.
I'm trying to get your ModbusMaster implementation working and I have a couple of questions if you don't mind:
1.) I was able to receive the demo request you had in the code
However, when I change the firstAddr to 0x00 it doesn't change where the data is actually written too, am I changing the right parameter?
2.) My biggest question is how do I create more variables to either write too or read from, like in the ModbusSlave you would create additional variables in the ModbusDataMap.h and then access them via mb.coills.variableName or mb.inputRegisters.variableName, etc. But in the project there was no ModbusDataMap.h so I used the same one I had for ModbusSlave but mb.coils, mb.inputs, mb.inputRegisters, and mb.HoldingRegisters doesn't exist.
Any help would be greatly appreciated.
Thanks,
Shane
The text was updated successfully, but these errors were encountered: