
Visit our shop for nerds in control lifestyle products.
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
www.control.com/rss
Also, Ethernet and Modbus are two different technologies that operate at different layers. Modbus is at the application layer, Ethernet is a family of frame-based computer networking technologies for local area networks (LANs).
If you are only having problems with 'negative numbers with a decimal' and all other data types can be successfully transfered, then the problem is not at the physical layer.
Since Modbus does not define storage format for floating points, you are most likely experiencing problems with word ordering.
If you want to test this using a different Modbus master on a PC to try and isolate the problem, visit automatedsolutions.com and download a Modbus ActiveX Control or OPC Server.
Both can be used to interact with your Modbus slave and have settings for floating point word ordering.
It could be that either the slave or master can not handle a particular number format. The implementation of an open standard (which Modbus is) does not require any particular requirement to handle certain number formats.
Can you provide examples of the number value and the number format you believe the master and the slave are using with those particular registers?
David
As such, it appears to me that your problem is caused either with:
a) Incorrect data type specification for the data tag that you are acquiring via MODBUS
b) Incorrect byte ordering specification (if any)
While the first one is very likely, the second is not normally left by the driver vendor to be specified by end-users. But you could still check it out.
As regards your original question - if Ethernet is better than MODBUS, I would say that these two cannot be compared at the same level. In fact when you run MODBUS TCP, you are already using Ethernet as the Data Link/Physical layer with TCP/IP providing the network and transport layers and MODBUS itself at the application layer.
Thanks.
Ganesh Okade
CTO
Sunlux Technologies Ltd.
http://www.sunlux-india.com
Industrial Communication Experts
- WirelessHART compliance verification receiver available
- PTO reports high growth, cross-industry collaboration
- Wireless helps Hexion with smoke detection, control room reporting
- Wireless networks for water and wastewater plant: easy, timely info access
- Chemical company processes critical data via wireless Ethernet
- Enclosures: Improve NEMA designs, enclose wireless equipment, keep cabinets cool
- New products: Supporting wireless communications at every level
- NIWeek: National Instruments targets WiFi, Ethernet, adds LabVIEW 8.6
- Fisher BioServices deploys General Electric Wireless Mesh
- Fieldbus Foundation: Better Device Descriptions, Device Coupler Test Spec, board member
Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.
Patronize our advertisers!



