Sign in to follow this  
Followers 0
marcinmrag

hydraulic cylinder speed function

3 posts in this topic

Hello,

I have speed function written in Siemens. Can someone help me convert this function to sysmac ?

     L #dt_PressPosition    // Actual Press Position
      L     #press_position_stored// Last Press Position
      -R                         // Difference in 200ms  
      T     #actual_diff_press   // Speed in mm/200ms
      L     #dt_PressPosition
      T     #press_position_stored// store actual press Pos for next round


// calculation of speed - mm/s

      L     #actual_diff_press
      L     10.0
      *R
      T     #OutPressActSpeed
      NOP 0

Share this post


Link to post
Share on other sites

Don't even know what language that is, so I can't help.

Share this post


Link to post
Share on other sites

I did this in this way:

speed.png.7279ab70aa1bbdd9762f62a48d811a

 

I think it should be works. I did have chance to test it yet but every second we move actual pos to store pos and speed is a difference in mm.

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