Back to top

Comparator in PLCopen, Change Cam on the fly

0 votes
+ vote
Vote up!

Hi, I need to change a cam on the fly at a specific position and speed, in Pipe Network we have the comparator block to make the change, but is there a function to do the same in PLCopen?

Best regards

 

 

0 Comments

1 Answer

1 vote
+ vote
Vote up!

The same ProfileBuild function block can be used with a PLCopen project. There is another sample project on KDN at https://www.kollmorgen.com/en-us/developer-network/cam-profile-creation-plc-code/ that is done with PLCopen.

 

As for Comparator, can use the MC_ReadActPos function block to check when an axis is at a certain position to start or stop a cam profile. We also have a PLS function to check for a range of positions inside the Kollmorgen UDFB section of the function block library.

Comments

Thanks Joe, but if i use MC_ReadActPos or PLS function block its to slow, if slave is absoluted jumps and get significant jerk. i need to do this https://www.kollmorgen.com/en-us/developer-network/kas-program-example-s... but with PLCOpen motion engine, I need to do the change in a specific position of the slave where the new profile has the same velocity and position when starts.

JUANPAVQ - Mon, 07/12/2021 - 15:13

Comparator in Pipenetwork is not anymore accurate than writing your own code in PLCopen, it still updates at the EtherCAT update rate. If you do not have an area of zero or constant velocity where it is easy to switch cam profiles, can have an overlapping area where the old and new cam profiles are identical and switch in this area. Would need to have master absolute option turned on.

Joe Parks - Tue, 07/13/2021 - 05:28

I get it, thanks Joe

JUANPAVQ - Tue, 08/31/2021 - 20:07
Log in or register to post comments
ANSWER THIS QUESTION
You may login with either your assigned username or your e-mail address.
The password field is case sensitive.

If you do not have an account, click here to register.