ML1500 Indirect String Move

bernie_carlton

Lifetime Supporting Member + Moderator
Join Date
Apr 2002
Location
Yakima, Washington
Posts
6,411
Is it possible to do an indirectly address copy of strings in the Micrologix 1500. I would go to the AB forum but it's being incredibly slow. I have RSLogix 5.0 installed. I am getting "Element indirection not supported". Would this be a function of my software level? Or is it just not possible?

BadInst.jpg
 
This problem was discussed on MrPLC.com. Here's an excerpt from a thread there:

"The mov instruction in the ML1500 doesn't support indexed addressing, and the COPy instruction doesn't tolerant different data types. I tried an example that used a loop and indexed COPy instructions, and it verified at the file level, but when I verified the program I got this:
"Error Element level indirection is not supported". You may want to change your data type to integer for storage, and convert it back to String when all the indexed addressing is done. If your string lengths are fixed, it should be fairly easy. Here's a technote on the subject that may help
http://domino.automation.rockwell.com/appl...FE?OpenDocument"
 
Thanks for the info. Rather than the conversions I decided to brute-force it for the moment. (If the index is zero then copy to string zero, if the index is one then copy to string one etc etc etc.) It's in a subroutine and will only be called once per machine startup. This came from a working SLC5/04 program and didn't think to check this item.
 

Similar Topics

Hi all, PLC : Micrologix 1500 lrp HMI : Renu FP3070 TN I am a beginner in the plc world. I am trying to connect the renu hmi with ML1500 lrp in...
Replies
5
Views
725
Hello folks, Hope everyone is doing well. I am a beginner at working in analog signals with PLC Analog module: 1769-IF4 ( 4 analog inputs ) PLC...
Replies
9
Views
1,330
I have a Allen Bradely 1500 that has a cracked board. It still works but needs replaced (battery is no longer connected). To make migration easier...
Replies
10
Views
3,200
I inherited a system with the Micrologix 1500 talking to 8 VFDs using Modbus RTU protocol. One of the VFDs was replaced with a Toshiba VF AS1...
Replies
1
Views
1,178
Hello, I have the PLX setup and configured. Its seen and downloaded to. However my ML1500 does not communicate over it. The port (0) is used...
Replies
5
Views
1,627
Back
Top Bottom