monkey082506
Member
Hi all! I've came across this issue a couple times and have yet to find anything about it via AB Knowledgebase or on here. That being said I have fixed my issue and I am going to post the solution.
Back story, a co-worker and I converted a RSView32 project to FactoryTalk View S.E. 8.10. When we tried to run our macro an error would stop us and say "Macro has too many parameters". The macro does have a lot of parameters and it calls two other macros while running. However, I didn't think RSView32 could handle more parameters than FactoryTalk. What ended up being the issue is I had a "#" in the comments. I deleted it, ran the macro and it worked. Odd, but it's Rockwell so I digress.
Four weeks later we were in charge of doing the same upgrade for another branch of the customer. This time it was for three PCs. The first two PCs that are talking to a SLC-5/04 over DH+ worked just fine. The third PC that talks Ethernet to a ControlLogix (Version 16) gave me a "too many parameters" error. I tripled checked my macros, they were the exact same on all three PCs and no "#" anywhere in my comments. Finally, after a couple hours I deleted the comments all together...it worked!
I don't understand what the reasoning behind this "too many parameters" error is or why a comment would mess it up. Has anyone else been hit with this before or have any insight on the error?
Back story, a co-worker and I converted a RSView32 project to FactoryTalk View S.E. 8.10. When we tried to run our macro an error would stop us and say "Macro has too many parameters". The macro does have a lot of parameters and it calls two other macros while running. However, I didn't think RSView32 could handle more parameters than FactoryTalk. What ended up being the issue is I had a "#" in the comments. I deleted it, ran the macro and it worked. Odd, but it's Rockwell so I digress.
Four weeks later we were in charge of doing the same upgrade for another branch of the customer. This time it was for three PCs. The first two PCs that are talking to a SLC-5/04 over DH+ worked just fine. The third PC that talks Ethernet to a ControlLogix (Version 16) gave me a "too many parameters" error. I tripled checked my macros, they were the exact same on all three PCs and no "#" anywhere in my comments. Finally, after a couple hours I deleted the comments all together...it worked!
I don't understand what the reasoning behind this "too many parameters" error is or why a comment would mess it up. Has anyone else been hit with this before or have any insight on the error?