How to set up PM710 meter for MODBUS communication with pm2120 (Schneider) in Machine Edition? In PM710, the address 4000 is in INT format, while in pm2120, it is in FLOAT format at address 3000. How can I achieve this conversion using Machine Edition?
I am struggling to grasp your intentions. To use the Rx3i as a Modbus master to retrieve data from multiple devices, you will need to configure two distinct Modbus commands. The image you provided suggests that you aim to extract 33 integer registers from Modbus device 15, beginning at address 40000, and store the acquired data at %R26600 - %R26632. To execute this, a COMREQ instruction should be linked with the CTR_R241 array. A similar arrangement for fetching REAL values from another Modbus device would involve utilizing Modbus function code 4, specifying the appropriate Modbus device number, starting address 30000, and a length of 66 due to REALs being 32-bit variables.
Steve Bailey expressed his struggle in understanding the desired outcome. If the goal is to utilize the Rx3i as a Modbus master to retrieve data from two devices, separate Modbus commands need to be established. The image provided indicates an attempt to retrieve 33 integer registers from Modbus device 15, starting at address 40000, and store the data at %R26600 - %R26632. An associated COMREQ instruction should be linked to the CTR_R241 array. For retrieving REAL values from a different Modbus device, Modbus function code 4 would be used with the appropriate device number, starting address 30000, and a length of 66 for 32-bit variables. He serves as both a master and a slave to the RX3i through the Modbus map on PM710 (starting at address 4000 as INTEGER). In the case of the new PM2120 meter (starting at address 3000 and as FLOAT), the focus is on exploring how to carry out the transfer or conversion within this setup.
Boost your efficiency and productivity by utilizing PM 710 to PM 2120 software solutions!
It appears that you are upgrading from a PM710, which outputs data in integers from 4xxxxx memory, to a PM2120, which outputs the same data as floating point from 3xxxxx memory. To accommodate this change, you may need to create a new REAL (floating point) array in the rx3i to store the data from the PM2120. It may be necessary to adjust the starting address and number of registers to ensure you are retrieving the same information as before. While it may seem like a lot of details to manage, setting up the new variables and COMREQ instruction for the PM2120 would likely be more efficient than trying to modify the existing ladder logic.
You might consider setting up a conversion operation in Machine Edition. Essentially, what you'd need to do is to read the INT from pm710, convert it into FLOAT and then write it to pm2120. Machine Edition should facilitate the conversion between different data types. Keep in mind, though, that you maintain the scale factor constantly throughout the process (assuming pm710 and pm2120 utilize the same scaling). Always double-check your configuration, and maybe build some error-checking protocol within Machine Edition just to ensure smooth data conversion.
I'd recommend using a function block in Machine Edition to remap your INT to FLOAT data. This way, you can read the value from the PM710 (address 4000), create the conversion, and then write the converted FLOAT value to your pm2120 (address 3000). Keep in mind the different data handling and endianness between two devices, as these can affect your conversion process. You may have to experiment a bit to get the results you desire.
You may need to perform a register translation between the two formats to make them compatible for communication. To convert INT to FLOAT, Machine Edition should have a feature called "Derived Function Blocks" (DFB) which can be used to accomplish this task. You would use the DFB to read the integer value from PM710, and then convert and map it to float value on pm2120. Just be mindful that decimal precision can be lost when converting from a float to an int, so you need to account for that in your setup. Make sure to test thoroughly to ensure the values are being transmitted and read accurately.
To achieve the conversion from INT to FLOAT between the PM710 and pm2120 in Machine Edition, you can create a workaround by reading the 4000 INT value from the PM710 and then converting it into a FLOAT format using a formula or an intermediate variable within your control logic. In your logic, simply retrieve the INT value, and then apply a conversion formula to adjust the scale and offset to fit the necessary FLOAT format for the pm2120 at address 3000. Make sure to verify your read and write addresses in your configuration to ensure smooth communication between the two devices!
To set up the PM710 for MODBUS communication with the PM2120 in Machine Edition, you'll need to configure a modulation between the INT format of the PM710 and the FLOAT format required by the PM2120. Start by defining a register in the Machine Edition that reads the INT value from address 4000 and then employ a function block to convert that INT to FLOAT before writing it to address 3000 in the PM2120. You might use a custom conversion formula or scaling factor within the function block to ensure the data aligns accurately, so double-check the specifics of how the data types match, as this is crucial for proper integration.
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: To set up the PM710 meter for MODBUS communication with PM2120 in Machine Edition, you need to address the conversion between INT format (PM710) and FLOAT format (PM2120) correctly.
Answer: In PM710, the address 4000 is in INT format, while in PM2120, it is in FLOAT format at address 3000. This difference in formats requires a conversion process to ensure proper communication between the two devices.
Answer: To achieve the conversion of address formats between PM710 and PM2120 in Machine Edition, you may need to implement a conversion mechanism to translate INT format (PM710) to FLOAT format (PM2120) and vice versa.
Answer: Yes, you can refer to the address conversion guide provided by Schneider or consult the documentation for Machine Edition to understand the process of converting addresses between different formats for seamless
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.