Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-04-26 01:02 AM
Hi,
I am using a TM221CE24R PLC to read, through Modbus RTU, some energy parameters from PM5100 power meter. My question is how could I convert the values of 4 registers into the value displayed on power meter?
I have tried to do it in PLC, but EcoStruxure Machine Expert-Basic doesn't the possibility of concatenating and converting the four registers into a float value. On this post, @kasmic_mike offered an excel of converting two registers into a float value. Is there an equivalent for reading and converting 4 registers?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-04-27 11:34 AM
PM5xxx register 3204 - Active Energy Delivered (Into Load) is INT64 of Wh. It's not a float.
PM5xxx register 2700 - Active Energy Delivered (Into Load) is FLOAT32 of kWh.
Read 2 registers from PM5xxx Modbus address 2699.
Result need to swapped to %MFxxx variable.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-04-28 11:13 PM
And to merge the readed values into a float should be explained in this video from LeTomas
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.