Table Lookups on Modicon Quantum

sanger

Member
Join Date
Nov 2005
Location
Toronto
Posts
172
We need to implement an Ascii Table Lookup function on a Modicon 140 CPU 434 12A using Quantum 2.6 software.

In summary this is what we need to do:
- The CPU memory will contain a table of product codes
and product specifications.
- Product codes contain characters and numerals up to 10
characters in length. Specifications are integers.
- A product code will be entered in the HMI and the PLC
will automatically scan the table and retrieve the product specifications.

For reliability reasons this lookup must occur in the PLC, not in the HMI.

I do this routinely on A/B PLCs using String Data Files and Indirect Addressing but I'm at a loss as to how to do this with Quantum.
 
Quantum 2.6 is not a software package.

Do you mean Concept 2.6? If so are you using 984LL or one of the IEC languages?
 
First thought:

SRCH searches a block of registers (source table) and looks for a specific bit pattern. When a match is found the output of the SRCH block can be used to move (using BLKM) the pointer register into a different pointer register which can be used in an indirect address function, like a table to register(T->R) block.

Areas to be aware of:
SRCH; if register 4x is your pointer then register 4x+1 is your "product code".
T->R; you need constant power to the middle input
If register 4y is your "product code"/pointer then register 4y+1 is your "product specification".
 

Similar Topics

Out of interest, I'd like some thoughts on what would be considered best practice with regards to a 2-position turntable control scheme (see...
Replies
17
Views
1,124
I've asked this before but I still couldn't make it work. I just can't envision a solution. Local RTU has a screen to set a handful of...
Replies
18
Views
1,542
Since upgrading to V6.2 12.24 SP12 24-21 the M221 PLC is no longer recognised by the HMI. The screen still works but it does not talk with the...
Replies
3
Views
977
Hello, Does anyone know if there is a portable version of RSLinx Lite (even an old one)? I am wondering as I am trying to put together some tools...
Replies
0
Views
681
Hi. I'm working with a SLC 5/05 but I have no experience with it. I've been tasked with trying to figure out if it is possible to directly modify...
Replies
6
Views
1,058
Back
Top Bottom