Delay RSLogix SFC Transition by One Scan?

cstech

Lifetime Supporting Member
Join Date
May 2011
Location
TN
Posts
34
Hello All,

I am using a stepper motor controller by AMCI (SD17060E), and am using a SFC program to control an automatic cycle. My difficulty is that one of my transitions needs to use a "motion completed" status bit from the AMCI driver. Normally, this bit stays high, and when motion is occurring, it goes low. Since the command in the SFC to run the stepper drive is right before the "motion completed" transition, the motion will begin, and the transition of "motion complete" is still high, since the CPU has not updated the bit status from the AMCI. I COULD just use a TON in the ladder to delay longer than a scan to make sure my motion bit is in the right state, but that seems wrong.

Is there something simple that I am missing here?

Thanks!
Chip
 
Could you check for the "Motion Complete" bit being low and use that to latch another bit? Then check for both "Motion Complete" and that bit being high before transitioning? Don't forget to unlatch the memory bit as well.

ex.

XIO Motion_Complete OTL B3/0
--Logic--
XIC Motion_Complete XIC B3/0, OTU B3/0, Transition
 
Thanks guys - both good solutions. I was definitely over thinking...
 

Similar Topics

Build error occurs with TON ladder logic command. Time Input expected on block. Using Integer Tag under Control Local, and then hard number 19...
Replies
2
Views
753
I have an SLC 503 running a machine with a scanner and 1794 RIO. One of the functions is a register motor on a printing cylinder. The manual 3...
Replies
3
Views
1,273
Hello all, I am using a temposonic R series linear transducer for positioning of a lower ram on a hydraulic powdered metal press. The transducer...
Replies
7
Views
1,938
My first post so I am going to try my best.:D I am totally new to RSlogix 5000, all my previous work was on 500. I am working with a...
Replies
14
Views
5,561
In the code below I have what should be, in its current condition, a simple cycling up counter with a delay before recycling. But as it is shown...
Replies
36
Views
8,169
Back
Top Bottom