Nonconvertible PLC-5 indirect addressing

phuz

Member
Join Date
Jun 2008
Location
Mohnton, PA
Posts
1,044
Running into a PCE that I haven't encountered before. They are using indirect addressing for a recipe structure and you can't use the same format in Logix.
Just curious what you guys have done for minimally invasive workarounds.

Capture.JPG
 
I guess they have used different integer datafiles Nx .. Ny to create a two dimensional structure. Each datafile contains the values for one recipe. N7:0 would then be a recipe index, N[N7:0]:5 one of the recipe parameters.
The Logix equivalent would be a two dimensional array like INT[x,y], where x would be the recipe index and y the recipe parameter. Look at the datafiles referenced by N7:0 to see how many parameters you will need. Search for the upper and lower limits of N7:0 to see how many recipes you will need to recreate. You will have to edit the indexing logic though.
 
Adding indexing logic was one of my thoughts, but it appears to be only 12 recipes, so a simple index comparison to the value followed by its respective COP instruction will suffice for this one.

Thanks for your reply.
 
If I'm thinking correctly, I have run across this issue before. I'd be inclined to avoid two dimensional arrays as I don't like how they're laid out in the tag database, among other things. If it were me, with only 12 recipes, I'd use compare & copy logic like you suggested.
 

Similar Topics

I'm trying to integrate a Beckhoff IPC with a Controllogix PLC. There is some documentation, on the Beckhoff website, on how to do a PLC-PLC comms...
Replies
0
Views
49
Hello all, I have a one problem. I would like to upgrade Mitsubishi PLC Q02 to Q03UDVCPU. I have Q02 program and I change to PLC type and try to...
Replies
3
Views
73
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
284
the conveyor can stop because of a safety sensor or safety switch. And also it can stop because of an object jam detector sensor. If the conveyor...
Replies
5
Views
198
Back
Top Bottom