
adccommunitymod (AutomationDirect) asked a question.
Created Date: October 19,2006
Created By: samr
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I have port 2 on a DL06 hooked to a SVA-2040 Sure servo drive. I'm able to use the MWX instruction and send data to the servo drive via modbus. The problem is using multiple MRX instructions to get data out of the drive. When I have one rung with one MRX, I can get data from one or more memory addresses in the the drive. When I try to use more MRX's in additional rungs, only the first rung will work. I have it set up like rung #50 in Application Note AN-SERV-004.
Created Date: October 23,2006
Created by: bcarlton
Have you used Stage Programming at all? One trick to sequencing multiple reads or writes is to enable one stage which only does one read or write.
Inside the stage it looks just like the 'mRX ' example but without the C100 interlock. OPnce the MRX has been executed then JMP to the next stage which will hold tyhe next read or write. It will wait until the 'busy ' bit is reset, do its command, then JMP to yet the next stage.
The final stage just JMPs back to the first stage. All you have to do to get this running is a simple JMP or SET of one of the stages on program start.
I illustrate this in my web site http://www.theplcguy.com/Modbus/Index.htm (though it is addressing a different type of drive - don't let that throw you). Step '5 ' shows a rung. Just ignore the references to the Control Techniques drive.
Created Date: October 19,2006
Created by: samr
I have port 2 on a DL06 hooked to a SVA-2040 Sure servo drive. I'm able to use the MWX instruction and send data to the servo drive via modbus. The problem is using multiple MRX instructions to get data out of the drive. When I have one rung with one MRX, I can get data from one or more memory addresses in the the drive. When I try to use more MRX's in additional rungs, only the first rung will work. I have it set up like rung #50 in Application Note AN-SERV-004.