I am facing difficulties in controlling an Eaton M-Max Variable Frequency Drive (VFD) using Modbus RTU from a Siemens S7 PLC. I am uncertain about the correct configuration of the Communication Load. The Master Database consistently appears busy and I only see a flashing TX light on the RS485 Siemens module. If anyone can identify my mistake or provide some guidance, it would be greatly appreciated.
When troubleshooting parameters in your PLC system, it is important to consider the MB_COM_LOAD block, which may be classified as a legacy block. To determine compatibility, verify if your PLC firmware matches the MB_com_load version (indicated by a blinking tx light during initialization). Additionally, check the "mode" parameter in the DB6 static area – if it is set to the default value of 0, the card will be initialized to RS232. Ensure that your modbus slave number is correctly set to 10 for the VFD. The DB4.in/out area, where VFD data is stored, should be a minimum length of 3 words. If the address 42001 has a length of 3 words, it is acceptable. Begin by checking the mode parameter and confirm if Siemens PtP is configured as RS232 or RS485 (note: the MB_COM_LOAD block will override any hardware settings).
Hello Lare, thank you for responding. I am currently utilizing a S7 1214 AC/DC/RLY with Firmware 2.2. Could you please provide guidance on how to verify the "mode" parameter on DB6? I am unable to locate it. The slave number 10 is accurate, and I have configured it the same way in the VFD. DB4 contains the VFD information. How can I check the word length? I have attempted to locate it in the assignment list without success.
Are you considering setting the mode parameter of the Cm1241 module to half duplex (RS485) 2-wire?
When accessing the properties of the CM module in the network view, you will encounter four operating mode options under RS422/RS485 interface > Port configuration. For RS485 2-wire communication, select the bottom option. I have successfully utilized these blocks in a previous project on a 1200, where both available options proved to be effective with the CM module. If the Tx light is illuminated, it indicates that the communication load has been successful and the master device is attempting to execute commands. To troubleshoot, consider swapping the A and B pins used for communication. Additionally, monitor the status of the master block for any errors, as this information can assist in diagnosing issues.
In my understanding, the MB_COM_load block overrides any hardware settings that have been configured. To make adjustments, you need to modify the "%DB6.Mode" address in the static area of the instance data blocks before initializing the MB_COM_load block. I have previously discussed, "What does the 'mode' parameter in the DB6 static area refer to?" The static tags in the instance DB/MB_COM_LOAD include the parameter "MODE" which denotes the operating mode. Valid operating modes include: - 0 = Full duplex (RS232) - 1 = Full duplex (RS422) four-wire mode (point-to-point) - 2 = Full duplex (RS422) four-wire mode (multipoint master, CM PtP (ET 200SP)) - 3 = Full duplex (RS422) four-wire mode (multipoint slave, CM PtP (ET 200SP)) - 4 = Half duplex (RS485) two-wire mode
It sounds like you're having a pretty complex issue. From my experience with VFDs and PLCs, I suspect the issue might be with your Modbus RTU settings. Ensure that your parity, baud rate, and stop bits match on both the Eaton M-Max VFD and the Siemens S7 PLC. Also, try checking if you're correctly addressing the register in the PLC. Remember, Siemens S7 uses a 1-based register index, whereas Modbus traditionally uses a 0-based index. Lastly, ensure there are no interruptions or damage to your RS485 physical ethernet. Hopefully, tweaking these areas might help alleviate the issue.
It sounds like there might be an issue with the Modbus address setup. Check if the Modbus addresses in your Eaton M-Max VFD match the ones in your Siemens S7 PLC program. Also, verify if the Baud rate and data format (number of data bits, parity, stop bits) configured in VFD matches with Modbus master. Lastly, ensure that your RS485 network has appropriate termination and biasing. Sometimes, the "busy" state of your Master Database might suggest that it's awaiting response from the slave, which could be due to the aforementioned issues. Hope this helps!
I dealt with a similar issue some time ago. It's essential to ensure that the baud rate, data bits, parity, and stop bits of both the Eaton M-Max VFD and the Siemens S7 PLC are coherent. Keep in mind, in the Communication Load, you will need to specify the function codes correctly, like 03 for reading and 06 or 16 for writing. Also, check if you're using the correct addressing; remember that Modbus addressing starts from 0 while Siemens starts from 1. Another thing to contemplate h overs the timeout and delay in your Modbus configurations. You might want to increase these settings if your Master Database remains busy. Don't forget to double-check your RS485 cabling as well, it could be a simple physical layer issue!
It sounds like you're dealing with a fairly common obstacle when interfacing between different manufacturers' hardware. I'd suggest double-checking your Modbus addressing as manufacturers might use different starting points. Don't forget to ensure parity, data bits, and stop bits are matched on all devices. Lastly, investigate if Modbus RTU over RS485 requires a specific termination or biasing resistors for your setup. Even the best-configured system can exhibit quirky behaviors if the physical layer isn't robust. Hang in there; these teething issues are always a part of integrating various systems, but once ironed out, your platform should work smoothly.
✅ 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: 1. How can I control an Eaton M-Max VFD with a Siemens S7 PLC using Modbus RTU? - To control an Eaton M-Max VFD with a Siemens S7 PLC using Modbus RTU, ensure correct configuration of the Communication Load and proper setup of the Master Database.
Answer: - The Master Database may appear busy due to incorrect configuration settings or communication issues between the Siemens S7 PLC and the Eaton M-Max VFD. Check the settings and connections for any errors.
Answer: - A flashing TX light on the RS485 Siemens module typically indicates transmission (TX) activity. If the light is continuously flashing without successful communication with the VFD, there may be a configuration or compatibility issue that needs to be resolved.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.