Nice tip, techshoot.
Another example, which I have written for the 90-30 GE/Fanuc plc, is a subroutine I named "UP_SCL", which takes a value from 0 - 100 (for instance a motor speed, stopped to wide open) and turns it into an equivalent 0 - 32,000 integer, which the GE plc uses for...