Ok, Thanks for all the help! Since all the code in my program is Melsec converted everything is in Ladder and global labels are not used. If i create a new structured ladder/FBD program with the scaleing code in my project can i use direct adressed inputs (AI channel) and data register instead of global labels?