Migration Rockwell PLC-5/40 to CLX L71

SuperPLC

Member
Join Date
Oct 2016
Location
Croatia
Posts
8
Dear Automation guys,

Im quite new to Rockwell. I have to do the migration of logic from PLC-5/40 to CLX L71 CPU.
So far:
- I have done exports as said in manual
- Migration tool finishes the job without errors

Butt:
When Studio 5000 import procedure is launched from migration tool. At the end I got the following Error in Line 1 in Studio 5000

Error: Line 1: Data type mismatch - the object's value does not match its data type.

There are first couple of lines of .L5K file:
IE_VER := 2.6;

CONTROLLER PP_GAS (
ProcessorType := 1756-L71,
Major := 24
)


TAG
O : INT[128] (Radix:=Binary,
Comment[19].0:="START/STOP$N170PA01A",
Comment[19].2:="START/STOP$N330HC11",
 
Complete - 0 error(s), 29 warning(s)

This was complete nonsense. Line 1 was Line 1878 OMG!!!! It was PID regulator conversion problem. I have to adress later.

Conclusion:

Please dont return me the .L5K Error in Line 1 if actually it is in Line 1848.

Keep in touch!
 
I have had Data Mis-Matches when using the conversion tool.

What should be REAL was created as a DINT
What should be BOOL was created as a DINT also.

It doesn't happen a lot, just the conversion tool has a few bugs.
 
Hmm what about arrays???
Translator did XIC with the following tag N20[N25_5].13

N20 is a DINT array Base tag
N25_5 is alias of N25[5]
N25 is a DINT array base tag

In other words how should this be defined cause from what I see:

>> N20 >>>>>>>>>>>>> [N25_5] >>>>>>>>>>>> .13
Tag of DINT arrays >>>>>> index of array in N20 as DINT >>>> bit 13 in DINT according to index of N25_5 (N25_5 is alias of N25[5]).

If someone has some clue about that indirect addresing. Please let me know!
 
Hmm what about arrays???
Translator did XIC with the following tag N20[N25_5].13

N20 is a DINT array Base tag
N25_5 is alias of N25[5]
N25 is a DINT array base tag

In other words how should this be defined cause from what I see:

>> N20 >>>>>>>>>>>>> [N25_5] >>>>>>>>>>>> .13
Tag of DINT arrays >>>>>> index of array in N20 as DINT >>>> bit 13 in DINT according to index of N25_5 (N25_5 is alias of N25[5]).

If someone has some clue about that indirect addresing. Please let me know!


Not sure if this is what you're asking, but that's going to be N20[Value of N25_5].13. So if the value in N25_5 is 12, that will be N20[12].13. Again, I'm not sure if that's what you're asking when you asked how it should be defined, but just in case it is, that's how it works I believe.
 
Thanks mate I understand this. But, Obviously Studio 5000 doesn't :cry:. And is trowing Error: Unverified tag

Keep in mind that tag N25_5 is alias of N25[5], cause actually in that tag N25_5 allias N25[5] im calculating the position of N20 array that must be transferred to N20[index].12 XIC

On the other hand in PLC-5/40 this makes more sense, cause tag looks like this N20:[N25:5]/13
- file N25 integer 5 (N25:5) was replaced by project migrator tool to tag N25_5 and was aliased to N25[5].

But obviously this nested tag that is alias to array with index N25[5] is not god structure for Rocky. Exuse me but also if i change N25_5 to base tag, same Error: unverified tag

Migrator tool did write the alias of the tag as this N20[N25_5].12
Data type is blanked out and could not be changed. Should be bool for sure, automatically recognized. But Rocky dont see this like I do.

I think I should define this Migrated tag N20[N25_5].12 in a different way. But have no clue yet.

Tag N25_5 is input parameter of subroutine. (One of)
 
Last edited:

Similar Topics

Hello, i am using siemens s7-1200 normally but since the chip crisis thingy there are like no siemens plcs left in my country anymore, so i was...
Replies
11
Views
3,638
The company I work for is migrating to Win7 and soon I will be forced to leave the XP world. I was looking for any known issues with migrating...
Replies
12
Views
3,662
1) SLC processors will be going away much sooner than I expected. The 1747-ASB silver end date is already set for Jan. 2013. The SLC cpu's will...
Replies
15
Views
5,467
Hi everyone, i have a Siemens S7-300 Cpu 314C-2 DP with several cards of i/o and servos my laptop has TIA version 16 and 17 loaded and...
Replies
4
Views
163
Good day, May I ask, what do I need to perform MIGRATION of HMI program from Siemens MP277 10" Touch hmi to TP1200. I already have WinCC Flexible...
Replies
0
Views
164
Back
Top Bottom