I'm developing logic for a machine that has several identical zones. The logic for each zone is identical, with only the addresses being different. I intend to program each zone into its own block and then call each block from the Main ladder. I've pretty much finished the logic for the first zone block, complete with nicknames (and annotations). I intend to use the same nicknames within all of the zone blocks, since the functions of the instructions are identical within each zone.
So, my question is: is there a way to copy my logic into the remaining blocks so that the nicknames stay the same, and the addresses will automatically update to what the names are referencing in the new block's variable declaration table? Or, am I stuck manually re-addressing every instruction on every rung in every block?
Here's what I've tried:
I've been importing nicknames/annotations from .csv
I write my block to a file
I go to my new block and import the file and the variable declarations (I've tried one first and then the other - and vice-versa)
LogicMaster always imports the addresses (and not the names) from the file, and since the names from the original block are out of scope, only the raw addresses (from the original block) are shown.
Thanks in advance for any tips - I have a lot of manual editing (and chances for errors) coming up if there's no way around this.
So, my question is: is there a way to copy my logic into the remaining blocks so that the nicknames stay the same, and the addresses will automatically update to what the names are referencing in the new block's variable declaration table? Or, am I stuck manually re-addressing every instruction on every rung in every block?
Here's what I've tried:
I've been importing nicknames/annotations from .csv
I write my block to a file
I go to my new block and import the file and the variable declarations (I've tried one first and then the other - and vice-versa)
LogicMaster always imports the addresses (and not the names) from the file, and since the names from the original block are out of scope, only the raw addresses (from the original block) are shown.
Thanks in advance for any tips - I have a lot of manual editing (and chances for errors) coming up if there's no way around this.