Code generator for RsLogix5000