Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Bolt on December 04, 2021, 12:19:06 AM
-
I used Ctrl+R to replace a SL0 with SS0, which was the Value/Destination for FIFOLOAD/UNLOAD. It replaces all instances in the program except in those 2 instructions, with no warnings or errors, until you do a Program Check.
-
I did it on another program, and there it worked as expected, replaced SL0 with SS0 within the FIFO instructions. I think it's related to if the system configuration has been changed already, or if it's still in a full blown RUN mode status link with the PLC.
-
The Queue based instructions are MEMORY based, not VALUE based. Hence, the string user block you are using for your queue must also change in size from the max length of SL to SS (256 max chars to 64 max chars) or vice versa.
You should ALWAYS get that error, unless you simultaneously change the Queue User Block parameter as part of the same multi-variable replace operation, e.g. from MyLongString with MyShortString when also replacing the Value parameter SL to SS.