You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

Thread Tools Display Modes
Old May 19th, 2023, 08:55 AM   #1
United States

hunter44102 is offline
Join Date: Oct 2022
Location: Cleveland, OH
Posts: 4
PLC5 - cross reference shows different tag?

All - I don't know much about PLC5, I am more from ControlLogix.

Can someone answer this:

So I am looking at a N262:10 tag with offset 2 (N262:12) which has a value of 100.

When I right click on the Offset 2 (N262:12) to do a cross reference, why does the cross reference report show N262:18 as the top result? What are these results when it doesn't show N262:12 anywhere?

  Reply With Quote
Old May 19th, 2023, 09:18 AM   #2
United States

joseph_e2 is offline
Join Date: Dec 2010
Location: Harrisonburg, VA
Posts: 582
I don't have a license for RSLogix 5 any more, but I remember this functionality being a lot like RSLogix 500. Do you see that value changing?

In 500, when you go to the cross reference, it shows you how that memory location is used. If you open it up and don't see N262:12 directly, scroll up to lower addresses and look for a COP or FLL that has a LEN parameter that would extend to or past the address you're looking for. Look also for BTR (block transfer read) instructions that use that address or a lower address that's nearby. If you're in the data file, click the "Usage" button and it'll show an "X" on addresses that are used in the PLC. In RSLogix 500, it will show that address as used if it's within the range of a COP instruction (for example). If you open the cross-reference, though, you may have to scroll up to see the COP instruction listed under a previous address if N262:12 isn't used in the code directly.

Another possibility is that it's being written to by an HMI or by a MSG instruction from another PLC.

By the way, that's not really a tag with an offset. It's just a memory location. In the PLC5 world, storage memory is arranged in files (file number 262 in your case) with individual elements. This one is "N", which is intended for storing 16-bit 2's complement signed integers. You can get to individual bits in each register as well. So N262:12 is just a 16-bit integer register.
  Reply With Quote
Old May 19th, 2023, 04:38 PM   #3
United States

Operaghost is offline
Operaghost's Avatar
Join Date: Apr 2002
Location: Dallas, TX USA
Posts: 3,941
Keep in mind, what you are looking at is a report. It shows every address in the controller cross-referenced to it's location in logic. If that particular address is not located in the logic, it will show you the next closest address. That would seem to indicate that this address is not used in the logic. As joseph_e2 mentioned, the value you are seeing in that address may be coming from an HMI or another device on the network.

Another option when you are looking at the Data File is to select "Usage". It will show you what addresses are being used. It doesn't give you the detail of the XREF report, but it helps you identify addresses that are available for use.

I despise when people take random quotes and ascribe them to me - Julius Caesar
  Reply With Quote
Old May 25th, 2023, 03:46 PM   #4
United States

kekrahulik is offline
Join Date: Apr 2009
Location: Lancaster,pa
Posts: 335
Cross reference returns a report. So you will have to realize that what you are looking for isn't used because it's not in the report.

In PLC5 or PLC500 the "Find All" is often more helpful/friendly than the "cross reference". If the address is not used, "Find All" will return "xxx was not found".

Operaghost's comment about "usage" is also very helpful when looking at datatables.

Cross Reference is needed if you are looking (for instance) at a timer done bit and want to find the timer, because "Find All" will only find the specific done bit usage.
  Reply With Quote
Jump to Live PLC Question and Answer Forum

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
RSlogix 5000 Cross Reference Help Cherokee 96 LIVE PLC Questions And Answers 6 February 27th, 2017 08:46 PM
Schneider Unity Pro Cross Reference mandla LIVE PLC Questions And Answers 0 September 4th, 2016 03:37 AM
Siemens cross reference OA_74 LIVE PLC Questions And Answers 3 April 18th, 2016 08:07 AM
how to use PLC5 program import tag alfredxa LIVE PLC Questions And Answers 0 March 1st, 2004 09:15 AM
Window cross reference in Wonderware ettikudiappan LIVE PLC Questions And Answers 1 April 22nd, 2003 08:42 AM

All times are GMT -4. The time now is 09:09 AM.