Network Sites:
Latest
Forums
Education
Tools
Videos
Datasheets
Giveaways
Latest
Projects
Education
Latest
News
Technical Articles
Market Insights
Education
Latest
News
Opinion
Interviews
Product Highlights
Research
Forums
Log In
Join
Log in
Join Control.com
Or sign in with
Facebook
Google
LinkedIn
0:00
/
0:00
Podcast
Latest
Subscribe
Google
Spotify
Apple
iHeartRadio
Stitcher
Pandora
Tune In
Menu
Explore
Content
Company Directory
Forums
Industry Articles
Industry White Papers
News
Technical Articles
Textbook
Worksheets
Products
Circuit Protection
Connectors
Control Panel
Control Systems & HMIs
Enclosures, Racks & Cabinets
IIoT
Industrial Controls
Motors
Networking
PLCs & PACs
Pneumatics & Hydraulics
Power
Protocols
Robotics
Safety
Sensors
Simulation
Test & Measurement
Vision Systems
Wire & Cable
View All
Industry
Agriculture
Automotive
Building
Cement
Chemical
Electronics
Food & Beverage
Metal
Military/Aerospace
Mining
Nuclear
Oil & Gas
Medical & Pharmaceutical
Pulp & Paper
Rubber & Plastics
Utilities
View All
Articles
Latest
News
Technical Articles
Industry Articles
Industry White Papers
Forums
Latest
General Discussion
Hardware
Software
Communication
Education
Vol. I - Fundamentals
Vol. II - Instrumentation
Vol. III - Measurement
Vol. IV - Control
Vol. V - Reference
Worksheets
Datasheets
Directory
Company Directory
Podcast
Connect with us
Network Sites:
Home
Members
kannannatesh
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Recent content by kannannatesh
Search Forums
New Posts
K
How to convert modbus 8byte hex to double
I have concluded my one-week headache with your help, Now i got new hope/energy from your help, thanks a lot for your support and guidance
kannannatesh
Post #29
Sep 21, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
HI Jschulze Thanks a lot for your support, i was changed the meter which has a 32bit data output, now i can read all the values from the meter through RS485, once again thank you so much, friend.
kannannatesh
Post #27
Sep 21, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Hi, i changed everything that you suggest in previous, but i am getting an error in double, the CRC value is correct that is shown in COm test pro. jpg, the output data is shown in Hercules.jpg, Hex data from Modbus is shown in Modscan.jpg my code is shown in below #include <SoftwareSerial.h>...
kannannatesh
Post #25
Sep 15, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
oh sorry, i will recheck the code and update on Monday then i will share the output, i will check the CRC value using the Modbus software, thanks for point out my mistakes
kannannatesh
Post #24
Sep 12, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Hi I have print the values in my serial that is attached below with code it will help to understand the problem clearly #include <SoftwareSerial.h> #define Pin13LED 13 byte byteSend[10]; unsigned short reg_data[4]; long temp_int64; double final_value; unsigned int j = 0; byte request[] =...
kannannatesh
Post #22
Sep 12, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
I was done all the correction in my code and the output is given below for your reference, and if i change register address 74 instead of 75 i am getting nothing so i don't change register address, here i have two problems why the "j"(unsigned int) value does not increase to greater than 9...
kannannatesh
Post #21
Sep 12, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
oh sorry i forget to the device address, register address bytes, and length of the bytes, then also forget to write the j++ lines after the serial print function if i upload my above program to my Arduino definitely that will confusing me for some minutes so thanks for point out my mistakes, i...
kannannatesh
Post #20
Sep 11, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
i have shared the code what i am going to upload to arduino for your reference, if i miss any step what you are share with me kindly point that mistake #include <SoftwareSerial.h> #define Pin13LED 13 byte byteSend[10]; unsigned short reg_data[4]; long temp_int64; double final_value; int...
kannannatesh
Post #18
Sep 11, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Sure, i will change the register value 116 instead of 117, then i will update the result to the forum after converting data, i am just using Arduino for check my meter can talk with my microcontroller or not, if i am complete the conversion with my Arduino, i will change the controller that's...
kannannatesh
Post #16
Sep 11, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Thanks for the step by step clarification, then i don't use any library in my Arduino code i have attached my code for your reference, i will try above steps and i will let you know the result if you have knowledge on Arduino coding kindly help to understand one problem i have used the serial...
kannannatesh
Post #14
Sep 11, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Thanks for the clarification, i already mentioned i am a newbie to RS485 so if you can kindly help to how can i convert the hex data to double, i was searched in google regarding this finally i found this link https://en.wikipedia.org/wiki/IEEE_754-1985#Single-precision_32-bit it shows an...
kannannatesh
Post #12
Sep 11, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Hi jschulze i have attached my modscan32 software screenshot for your reference and i am reading the Holding register 117, the screenshot shows i choose double variable i get the exact meter value which is shown in the meter display, otherwise, if I choose float type the software shows 1.9362...
kannannatesh
Post #10
Sep 10, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Hi jschulze, Thanks for the response, this is my complete data 010308FCF4D4823FF700013925 this data is received from my sensor, then i am a newbie to RS485 so can't understand the communication and other things, i was googled about data conversion i found this...
kannannatesh
Post #8
Sep 10, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Hi Xiaojun, thanks for your reply, i have completed reading data from the Modbus meter with the help of MAX485, My problem is the meter returns 8byte double data, this is the return value in hex FCF4D4823FF70001 i don't know how to convert the hex data to double
kannannatesh
Post #5
Sep 10, 2020
Forum:
Modbus
K
How to convert modbus 8byte hex to double
Hi Jschulze Thanks for your reply, We bought a flow sensor from a local distributor and they are imported from China so they are don't have much technical documents and they share single page register address with the data type, I have attached the sheet for your reference, that sheet shows...
kannannatesh
Post #3
Sep 10, 2020
Forum:
Modbus
Top
Continue to site
QUOTE OF
THE DAY
“
”
-