Sign in to follow this  
Followers 0
atomic_robo

MOVE

5 posts in this topic

Hello all,

I am sorry in advance for asking such a noob question. 

I have a few Ethernet/IP stepper drives that I am controlling using nX1P2. Now, I am trying to execute 3 motions sequentially. It's not working. I have the logic attached in the pic. 

My idea was to use a ZoneCompare and when the motor is in that position it has to execute the next move. 

 

Any ideas why it's no working? 

Thank you a lot  

q.PNG

Share this post


Link to post
Share on other sites

Looking at the picture none of the compares are within range.  Your current position shows as -200.012, just outside the second compare.

How fast is the value changing?  Is it possible it goes in and out of those ranges so fast the PLC doesn't have time to act upon it?

Share this post


Link to post
Share on other sites

Considering you are using Ethernet/IP, usually aside from the Position Command, the Drives also have status bits mapped to the PLC Memory. Something like BUSY, FLAG, DONE, or whatever... It will be easier if you can use one of these status bits to check whether the first movement is completed, before giving the next movement instruction.

I'd say using Zone Compare is not a reliable method for Ethernet/IP because there is no guarantee that the data transmission is on a constant cycle, so the ladder program might missed some intermediate values

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0