I abandoned this PLC Crap...
I'm sorry that we weren't able to effectively solve your problem, but I don't think that there is any reason to be unkind. We've tried to help you.
I am a Newbie and have very little experience in programming pls's.
I'm sure that your experience level hasn't helped.
It is a reasonably open secret that the CTRIO wasn't built for motion control and that there are far better motion solutions out there. For those that didn't know, the CTRIO was built primarily as a high-speed counter and timer, and the motion functions were an add-on to try and address what the CTRINT module did not.
For years now, we have kicked around the idea of a full motion module, but have chosen not to pursue one. There are many reasons, but chief among them is the difficulty of doing those types of applications without more direct PLC integration, a level of integration that was nearly impossible with the current PLCs.
Another open secret is that Host is currently developing a new control engine that will be deployed on several new PLCs, to be released in the not-too-distant future. This new engine is being designed with features that will make high-end intelligent module integration a very easy and natural thing. It should then come as no surprise that we are also planning to revisit the CTRIO/motion module in the context of that new engine. Trust me, you'll like it.