dar Posted June 23, 2017 Report Share Posted June 23, 2017 Hi, & use "read float registers" to read float using modbus RTU. After that & need to invert it. & tried "copy mem", "swap bytes", "copy mem", but result is bad. & think , problem is that "swap bytes" changes bytes 1234 to 4321, but for inverted float & need 3412. Could anyone suggest what to do? PLC-Samba. Darius Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted June 24, 2017 Report Share Posted June 24, 2017 I think you need swap bytes using B=32 bit or a series of swap functions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.