B&R Community
How can I convert Modbus 485 data received as 2 bytes into Float AB CD?
Ask Questions
structured-text
,
fieldbus
,
modbus
alexander.hefner
(Alexander Hefner)
May 11, 2024, 4:10am
2
Hi,
just memcopy the both UINTs in the right order into a REAL variable.
image
1390×564 22.6 KB
Best regards!
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
HEX decimal data points to decimal
Ask Questions
automation-studio
,
fieldbus
,
structured-text
,
modbus
2
281
July 11, 2024
Reading Floating point value from modbus slave
Ask Questions
modbus
4
177
January 21, 2025
BOOL_TO_INT Converstion 16bit data to 1 Integer
Ask Questions
modbus
3
92
May 28, 2025
LREAL bits and/or WORDs
Ask Questions
structured-text
,
modbus
12
364
May 29, 2024
"illegal syntax in expresion" Modbus Address in Datamod for RTU 485
Ask Questions
modbus
1
34
June 4, 2025