04-01-2019 02:52 AM
Hi,
I'm working with a cRIO and softmotion I would like to know how to send a Step to my Engine via AKD. In my tools of Softmotion I have several type of move (Line, Arc, Contour) but I don't have a Step. Thanks for your answer
04-02-2019 02:42 AM
Instead of using a complete motion, you can use the invoke node Write Position Setpoint inside a loop (preferably TimedLoop) for position control mode and alter the value inside the loop once from one iteration to the next. Keep in mind however, that:
04-02-2019 06:14 AM - edited 04-02-2019 06:28 AM
Hi Lysandros,
I'm working with servo speed (Velocity) and not in Position, in some example of SoftMotion I can see an example who name "Axis Velocity Override.vi" I think it'll be fine for me.
04-02-2019 06:24 AM
Hi,
See in this attached the "Axis Velocity Override.lvproj"
04-05-2019 08:17 AM
Hi,
I am not accustomed to the SoftMotion Express VIs, therefore cannot advise you on this.
The way I would approach this, is to cyclically send velocity setpoint commands to the motor drive. This will not have the comfort of smooth starting and stopping procedure and might require caution to avoid aburpt movements, but you have other freedoms.
04-09-2019 01:41 AM
Hi Lysandros,
Thanks for your discuss, your proposition seems simple, I'll try this method. But I would like to ask you a question (see attachment) In the first we define the method to work (velocity and 2 parameters : Velocity and Accel) after the setpoint unlike your screen shot this value is a percentage of the Velocity enter previously ! Do you tell me if you already have to try with a real engine or is it a simulation? Thanks for your discuss
04-09-2019 02:59 AM
Hi,
I have juste to modify the projet "Axis Velocity Override" to Axis Velocity Setpoint (simulation only) and you can see in this attached I've an error -77004 "Axis when setting 'Axis Control Mode' on Axis 1 at Nœud de propriété (arg 1) dans Axis Velocity Setpoint.vi" have you got an idea for me ?
04-09-2019 03:06 AM
Hello,
as mentioned, I have not used the express VI's and the override functions, only the invoke and property nodes. Make sure, that the motor/drive is correctly enabled and that you have the suitable control mode (velocity when you setpoint the velocity, position when you setpoint the position). Writing setpoints when the motor is not enabled may produce this error.
With AKD drives for example, one has to make sure, that the settings in Labview and the settings in the motor manufacturer software do not contradict each other.
04-09-2019 03:42 AM
Hi,
"one has to make sure, that the settings in Labview and the settings in the motor manufacturer software do not contradict each other" After recommendation I only use the parameters for the Kollmorgen but in my example I only working with the Simulated Axis (see in this attached) normally it'll work isn't it ?
04-09-2019 04:24 AM - edited 04-09-2019 04:25 AM
I have not tried the simulated axis, only real axis. I wouldn't recommend prototyping motion control with the simulated axis, because in reality there are other implications (communication to the drive, limit switches, operating modes). Do you know how to add real axis in Labview? Also, download the AKD Kollmorgen Workbench program and connect to your AKD over Ethernet via the configuration port. "Find" your drive in Workbench and make sure that:
1) Command source is 1-FieldBus (else the drive will expect to be in service mode or it wait for an analog voltage at its input terminals, old fashioned)
2) Operating mode is 1-Velocity Mode
In this program you can also check parallel to Labview, if your axis is enabled or not, if there are errors, or if limits are exceeded. There are many, many options and settings. Consult also:
https://www.kollmorgen.com/en-us/developer-network/akd-drive-command-source-fieldbus-versus-service/