Hi all,
I have an odd error with a set of MSG commands. I have 14 different MSG commands, each with their own routing info file. They are sending or receiving CIP generic messages to a variable frequency drive over ethernet. It's been working on all my systems for months and never had a problem. However something has happened to the latest one, where a minor change to a completely unrelated part of the code (for example changing a comparison from 'equal to' to 'greater than' results in all the message functions returning the same error:
021: Bad Parameter in MSG file, command could not be built by local processor'
If I then reverse the change I made and download again, the error remains. The only way to get the system working again is the revert to the original file and download that.
It doesn't seem logical, as there have been no changes to any part of the file relating to MSG functions. The memory in the PLC is only about 20% used, so plenty of room there, and the Channel configs haven't changed either.
One thing I noticed is that the LBN (Local Bridge Node) is -1 in the working file, but 0 in the non working file. This is a read-only parameter so I think it's possibly changing as a result of the error, rather than being a cause of it.
Would be very grateful for any thoughts!
Thanks,
I have an odd error with a set of MSG commands. I have 14 different MSG commands, each with their own routing info file. They are sending or receiving CIP generic messages to a variable frequency drive over ethernet. It's been working on all my systems for months and never had a problem. However something has happened to the latest one, where a minor change to a completely unrelated part of the code (for example changing a comparison from 'equal to' to 'greater than' results in all the message functions returning the same error:
021: Bad Parameter in MSG file, command could not be built by local processor'
If I then reverse the change I made and download again, the error remains. The only way to get the system working again is the revert to the original file and download that.
It doesn't seem logical, as there have been no changes to any part of the file relating to MSG functions. The memory in the PLC is only about 20% used, so plenty of room there, and the Channel configs haven't changed either.
One thing I noticed is that the LBN (Local Bridge Node) is -1 in the working file, but 0 in the non working file. This is a read-only parameter so I think it's possibly changing as a result of the error, rather than being a cause of it.
Would be very grateful for any thoughts!
Thanks,