Hi guys, looking for a solution to something that is really frustrating me at the moment.
If I add a PLC, then a rack, then a number of modules in the PLC Manager everything is ok until I have to change something.
For each module I enter the card position and slot (under manufacturer data) as the same number (the actual slot number in the rack) and a description of, say, "Digital Input Module".
If I do it in order to start with then everything is rosy. The module appears in the tree in the correct order and the card position doesn't change.
If, however, I make a mistake like a spelling mistake in the description and go back into change it, all hell breaks loose.
The card numbers for all the modules in the rack change randomly (some to negative numbers) and the order in the tree gets jumbled as well.
There seems to be no way to recover from this point and get them all back in their correct order without deleting all the modules and starting again.
Even if I try to go back in and manually change the card position numbers (to match the slot numbers), the rest of the module card position numbers and the order in the tree change randomly again
Also, if I select all modules and delete the card position number, the modules are still jumbled in the tree.
Anyone else come across this issue?
Andrew, I have seen this process get wonky if a certain Manufacturer Data field is PREFILLED (ie already set in your part library). The "Card Position" Variable if set to "1" or some other value can cause ordering issues when laying out your modules, and then you have to go into each module, set the card position to some unused value, then reengage them all with their proper values.
However, If you leave it blank in your library, then set it to your preferred card position value when added in the project, things go more smoothly. If it is set to "1", all the cards get that value when added to the project, and then things get out of line. So look at your parts in your library and leave that Card position blank and see if they act a little nicer then when specifying the card position later.
On a side note, A quick clarification on the "Slot" variable...Slot for a module means "how many spaces does this take up" if it is mounted in an actual rack. If you leave it blank, SWE assumes one. For a RACK style PLC part, the SLOT value indicates how many positions it has for modules to slide in. Just FYI.