Problem #1
If you copy/paste a script block while in the same wire sheet, the new block will increment by 1 but
the input/output items will be gone. If you enter the script editor, everything looks good. If you check
out the properties of the block, the input/output present value section will be gone. There's no pin slots
with these inputs and outputs hidden.
Problem #2
If you copy/paste a script block from one controller's wiresheet to another controllers wiresheet, the block
will create successfully in the new controller as long as the instance number is not used already. If it's
already taken up, then the new script will become instance number -1 and experience the same issues as
Problem #1
Repairing the block
The only way I've been able to repair the block is to make sure it has a good instance number,
re-compile the script block with a slight change, and then change it right back. After that,
the inputs and outputs are visible in the block once again.
Question.. Good way to copy/paste blocks when knowing a possibility exists of conflicting
instance numbers along the way?