![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() 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? thanks |
![]() |
![]() |
#2 |
Member
![]() ![]() 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. |
![]() |
![]() |
#3 |
Member
|
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. OG
__________________
I despise when people take random quotes and ascribe them to me - Julius Caesar |
![]() |
![]() |
#4 |
Member
![]() ![]() 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. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |