I can't believe I would need assistance on this issue, didn't think this would be a problem.
Anyways, I just bought a Micrologix 1500 LRP plc in order to do some recipe control with the aid of a barcode reader. I did all my testing on the LSP version so I know the program would work but guess what, my program is telling me that the LRP doesn't support element indirect addressing... Seriously? Why would the LSP and LRP have a difference like that, the only difference I thought there was is the additional com port the LRP has, not to mention the LRP I believe is newer.
My question is am I doing something wrong? I'm asking because I feel that this should work but it doesn't. If for some reason this actually isn't supported, can anybody think of a different way of doing this?
Attached is my program, which I hope people can read through. This is what happens, a barcode reads a part# and then I have some code to determine if it's a barcode that is new or that has been used before. If it's something old then the parameters that were made for that part# are called up and are sent to a different plc. If it's new then the user will have to give it some numbers then they have the option to delete or save that recipe only once. They can save a recipe at any time only if input I:0/0 (key switch) is on, this is another layer of security as I don't want anyone being to save without good reason.
Hopefully someone can spot a mistake I made or has a suggestion to make this work. Logix500 apparently doesn't like the indirect addressing to string (compares and copies). Again, this works for a Micrologix 1500 LSP and can't for the LRP. Also, can't use the LSP due to memory constraints in case somebody asks that.
EDIT: Wow, completely forgot that the previous test I had was in a slc 5/03, not a Micrologix 1500. So that's why I can't do the indirect element addressing. Is there any other way to do this within a Micrologix 1500?
Anyways, I just bought a Micrologix 1500 LRP plc in order to do some recipe control with the aid of a barcode reader. I did all my testing on the LSP version so I know the program would work but guess what, my program is telling me that the LRP doesn't support element indirect addressing... Seriously? Why would the LSP and LRP have a difference like that, the only difference I thought there was is the additional com port the LRP has, not to mention the LRP I believe is newer.
My question is am I doing something wrong? I'm asking because I feel that this should work but it doesn't. If for some reason this actually isn't supported, can anybody think of a different way of doing this?
Attached is my program, which I hope people can read through. This is what happens, a barcode reads a part# and then I have some code to determine if it's a barcode that is new or that has been used before. If it's something old then the parameters that were made for that part# are called up and are sent to a different plc. If it's new then the user will have to give it some numbers then they have the option to delete or save that recipe only once. They can save a recipe at any time only if input I:0/0 (key switch) is on, this is another layer of security as I don't want anyone being to save without good reason.
Hopefully someone can spot a mistake I made or has a suggestion to make this work. Logix500 apparently doesn't like the indirect addressing to string (compares and copies). Again, this works for a Micrologix 1500 LSP and can't for the LRP. Also, can't use the LSP due to memory constraints in case somebody asks that.
EDIT: Wow, completely forgot that the previous test I had was in a slc 5/03, not a Micrologix 1500. So that's why I can't do the indirect element addressing. Is there any other way to do this within a Micrologix 1500?
Last edited: