Troubleshooting Speed Reference Sending via Modbus to Omron M1 Drive with Siemens S7-1200

Question:

Hello everyone, I am currently facing challenges in sending a speed reference via Modbus to an Omron M1 drive. I have successfully sent a run command and confirmed the communication between the two devices. However, I am struggling with the documentation for the Omron M1 drive. I have included a screenshot of the MB_MASTER block used for the run command, which is functioning correctly. As a novice in Modbus, I am unsure about the parameters needed to write a speed reference to the drive. The M1 manual suggests writing to address S05 for the run command, but my attempts have not been successful. Any assistance would be greatly appreciated.

Top Replies

Am I correct in assuming that the address I should use is 45005? I've attempted to use this address without success. However, I'm unsure if this is the right address for my specific needs...

Can you confirm if the correct address to write to is 45005? Based on the parameter S05's address being in 5005h, the Modbus address for the parameter could likely be 420485. This information is crucial for communication protocols and data transmission accuracy.

I attempted this without success, but I'm beginning to question if I'm addressing the correct register. Could I be targeting the wrong audience altogether?

Have you checked parameter S05 to confirm if the value you are attempting to write is being received? Or is your concern regarding the drive not operating at the desired speed as you are commanding? Typically, a specific parameter must be set in the drive to indicate which speed command to use. This could be a 4-20 mA signal at terminal X, a 0-10 volt signal at terminal Y, a speed command from the keypad, or a speed command via the network. This parameter is separate from the one that enables the drive to accept the run command from the network. This information is drawn from my general experience with drives, and may vary for your specific model.

The M1 manual provides a modbus write example for setting the C99 frequency at address 1388h. C99 serves as the first frequency reference, while E109 is identified as the second frequency reference. I have not yet had the opportunity to use Omron VFDs.

Hi there, good job on establishing the initial communication. You might need to pay attention to your Modbus map. Typically, drive speed references are written to an address associated with frequency command or similar, not typically the run command. I would advise you to look for Speed Reference or Frequency Command in the Modbus map provided in your drive's manual, that should be the address you need to write your speed reference to. Make sure you're writing speed values within the manageable range of the drive. Lastly, ensure your speed variable type matches the register type expected by the M1 drive. Hope this helps!

From your query, it seems like you have already grasped the basics of Modbus communication since you've successfully sent a run command, which is excellent. As for setting the speed reference, different devices often have varying addresses for speed references. Since the M1 manual suggests writing to address S05 for the run command, you should look for an address for speed reference in the same manual. Now, if you're still encountering issues, it could be related to the format or data type expected by the drive. For instance, the drive might require the speed reference in a specific format like HEX, BCD, etc. Another thing to consider is the numerical base you're using. Modbus addresses might differ based on whether you're using a zero-based or one-based array. It's crucial to align this with the documentation. If possible, provide further details about the settings you're using to send the speed reference. That way, we can guide you more effectively.

Hi there! It looks like you've done some solid groundwork. Don't worry, Modbus can be a bit tricky at first. If the run command works fine, it implies the basic setup, including wiring and bus parameters are likely correct. As for writing speed reference, are you sure you're using the right data type and format? Modbus communication usually requires a 16-bit register, so ensure that your speed reference matches this. Furthermore, do also check if the speed reference needs to be scaled or offset, as this tends to be needed for certain drives. Keep experimenting and don't get discouraged - you're on the right track!

Hi there! Modbus can indeed be a bit tricky when you're first getting used to it. Addressing can be especially confusing on different controllers. For the Omron M1 drive, writing a speed reference is usually performed on a different address than the run command. You mentioned you've been using address S05 for the run command. For the speed reference, try looking to addresses between S06 and S08, as these are often used for that purpose. Make sure you’re writing in the right format with correct data type too (which is often 16-bit integer for these drives). I would strongly suggest reviewing the part of your manual that covers Modbus address listings in more detail, too. Hope this helps, and keep experimenting, it's a great way to learn!

More Replies β†’

Streamline Your Asset Management
See How Oxmaint Works!!

βœ…   Work Order Management

βœ…   Asset Tracking

βœ…   Preventive Maintenance

βœ…   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. What is the specific challenge faced when sending a speed reference via Modbus to an Omron M1 drive?

Answer: - The challenge is related to understanding the parameters required to write a speed reference to the Omron M1 drive, specifically addressing the issue of unsuccessful attempts to write to address S05 as suggested in the M1 manual.

FAQ: 2. How can I confirm successful communication between the devices in a Modbus setup?

Answer: - One way to confirm successful communication is by sending a run command, as mentioned in the discussion thread. Additionally, checking for any error codes or indicators of successful data transmission can help verify the communication.

FAQ: 3. As a novice in Modbus, what resources or guidance can help in understanding the necessary parameters for writing a speed reference to the Omron M1 drive?

Answer: - It is recommended to thoroughly review the Omron M1 drive's manual for specific instructions on setting speed references. Consulting Modbus communication guides or seeking assistance from experienced professionals in Modbus configuration can also provide valuable insights.

FAQ: 4. What steps can be taken to troubleshoot unsuccessful attempts at writing a speed reference to the Omron M1 drive, despite successful run command communication?

Answer: - Some troubleshooting steps may include verifying the data format and structure being sent via Modbus, ensuring the correct Modbus function codes are used for writing speed references, and double-checking the device addresses and configurations to match the requirements of the Omron M

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  β†’