Comments (3)
I successfully read 32 bit floats from a Schneider PLC and an ABB PLC. The type I use is Float32MLE. If I look at the value in Modbus poll I use little endian swap byte. Seems to work well for me - I'm sure RTU has the same config. The register address is 1 more than what is stated in the PLC. For example, the value in the below screenshot is actually at %MW514
![Screenshot 2024-01-24 112145](https://private-user-images.githubusercontent.com/67634279/299296616-fb705737-9de2-4149-b42a-10c1d2f54ce1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDYzNjY2NjEsIm5iZiI6MTcwNjM2NjM2MSwicGF0aCI6Ii82NzYzNDI3OS8yOTkyOTY2MTYtZmI3MDU3MzctOWRlMi00MTQ5LWI0MmEtMTBjMWQyZjU0Y2UxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTI3VDE0MzkyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZjODcwMDgyNGEwYTRjY2FlYjgzODgxOTQ2ZDcwMjk4NzBkM2RkZTM5ODI4YTliYTZjY2M3ZThjYzNiNDdlMTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.IBOOrFa8XB5iUosTovV0Z1k5Rlwc1FWDt8zZMa0FgIs)
from fuxa.
Hi,
I have encountered the same issue. More details at #682
from fuxa.
Thanks for the tip @GrantC27! Seems like a little hack 👌
So in my Case I just simply set:
type: Float32MLE
Address: 7 (since my HR is 6 &7).
from fuxa.
Related Issues (20)
- [BUG] Issue with proxy configuration and Base Href in Fuxa
- [FEATURE]Options select in control tab display HOT 2
- [BUG]Timer works bad HOT 1
- Fuxa application in full screen HOT 1
- Help contribution
- OPCUA Int64 read error
- working (connection || polling) overload! HOT 1
- [BUG] Clunky keypad entry, Decimal Point key causes number deletion. HOT 3
- Port change problem still occurs. HOT 4
- [BUG] Date and Time option in Input control doesn't work correctly HOT 1
- Api get project: RangeError: Invalid string length HOT 1
- [FEATURE] avoid unsafe accesses HOT 1
- [Question] What to input in modbus-rtu Serial port config on Windows OS. HOT 2
- MCPROTOCOL (tested in Mitsubishi system Q) HOT 2
- Press and hold on touch screen devices HOT 3
- [BUG] DAQ settings not populated when importing devices from CSV HOT 1
- [FEATURE] Ability to set/toggle bits with event HOT 1
- [BUG] Won't accept time update from mobile HOT 5
- Possible issue with MQTT HOT 1
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 fuxa.