Comments (2)
I don't see how this could be an NModbus issue. How are you reading the value
back
from your device? My guess is you're using the wrong numbering format... the
register
value is assumed to be an unsigned integer.
Original comment by [email protected]
on 19 Jun 2009 at 12:37
from nmodbus.
Hi,
When I read back the value from the nmodbus library, the value is the same
(38000)
so the library is consistent.
After doing some more research, I realized that my controller registers were in
32
bit floating point (signed). The old way I was used to connect to it used
Modicon
Modbus protocol (enabling floating point data transfer) So if i understood
well,
using the nmodbus library I cant write in the memory of my the controller a
true
signed 16 bit Integer. Because once the packed is recieved by my controller it
will
convert the value to a signed short. One solution to this is to convert the
value
back (in the controller) to a unsigned. I didnt open the library yet in .NET
2008.
Do you think is is feasable to modify the library to accept different numbering
format?
Thanks a lot and very nice work with this library, It helped me a lot realizing
my
project.
Original comment by [email protected]
on 30 Jun 2009 at 1:03
from nmodbus.
Related Issues (20)
- Uninterruptible CRC error cycle during ModbusIpMaster work
- NModbus' FTDAdapter is not multi-platform (but can be very easily, and I've done it) HOT 1
- Delay Between Poll
- cannot open chm documentation file in windows HOT 1
- Log4Net Depedant library version conflict
- Implementation does not follow Modbus data model addressing HOT 1
- Serial Port Read/Write or Return Freezes the Application HOT 1
- WriteMultipleRegisters throws exception
- Timeout read operation closing TCPClient connection HOT 1
- Network Failure HOT 1
- Preset Multiple Holding register
- Accessing ModbusIpMaster while remote debugging throws SecurityException HOT 1
- ModbusIpTransport no call of StreamResource.DiscardInBuffer before StreamResource.Write HOT 1
- Library throw an exception instead of return a exception response for illegal function
- Framework Compact Edition 2.0
- IModbusSerialMaster.ReadWriteMultipleRegisters generates an invalid CRC.
- WriteMultipleRegisters GSM timeout
- On Close of Modbus Master we are getting REST, ACK, reason TCPSlave is not disposed befor removing from dictionary
- Exception response for invalid address
- o
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmodbus.