wildswing
Member
[FONT="]Hey fellas,[/FONT]
[FONT="]
[/FONT]
[FONT="]My question is about best practice for COP ladder instruction in RSL5k when aliases are involved.[/FONT]
[FONT="] [/FONT]
[FONT="]I'm dealing with some RSLogix5 ladder logic converted to RSLogix 5000, specifically a COP block copying a handful of reals from one large array to another (old plc5 F files). In the 5 they all had Symbols, which were converted to aliases. The resulting alias tags are not in alphabetic order. The COP block, resulting from the conversion, copies the first alias tag of the source array to the first alias tag of the destination array. I've tested it and it does seem to work.[/FONT]
[FONT="] [/FONT]
[FONT="]Is it a better practice to replace the aliases with the actual base array tags?[/FONT]
[FONT="] [/FONT]
[FONT="]Should I replace this...[/FONT]
[FONT="]COP(FirstSourceTag,FirstDestTag,5)[/FONT]
[FONT="]with this...[/FONT]
[FONT="]COP(F8[1],F80[1],5)[/FONT]
[FONT="]Any advice you may have is much appreciated. Thanks in advance.
[/FONT]
[FONT="]
[/FONT]
[FONT="]My question is about best practice for COP ladder instruction in RSL5k when aliases are involved.[/FONT]
[FONT="] [/FONT]
[FONT="]I'm dealing with some RSLogix5 ladder logic converted to RSLogix 5000, specifically a COP block copying a handful of reals from one large array to another (old plc5 F files). In the 5 they all had Symbols, which were converted to aliases. The resulting alias tags are not in alphabetic order. The COP block, resulting from the conversion, copies the first alias tag of the source array to the first alias tag of the destination array. I've tested it and it does seem to work.[/FONT]
[FONT="] [/FONT]
[FONT="]Is it a better practice to replace the aliases with the actual base array tags?[/FONT]
[FONT="] [/FONT]
[FONT="]Should I replace this...[/FONT]
[FONT="]COP(FirstSourceTag,FirstDestTag,5)[/FONT]
[FONT="]with this...[/FONT]
[FONT="]COP(F8[1],F80[1],5)[/FONT]
[FONT="]Any advice you may have is much appreciated. Thanks in advance.
[/FONT]