Back to top
Comparator in PLCopen, Change Cam on the fly
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?
Submitted by JUANPAVQ Fri, 07/09/2021 - 13:59
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.
Submitted by Joe Parks Mon, 07/12/2021 - 11:03
Comperator blok is working is based on PLC cycle so you also can calculate proper point to change cam with using basic if statement (comparate acutal position).
But you have to careful when you switch profile to other. Your axis moment speed have to equal to new profile speed.
Submitted by Ezel Mon, 09/20/2021 - 05:30
This question has been answered and is now closed. If you have further questions, please contact Kollmorgen Support or open a new question.