09-08-2006 04:48 AM
09-08-2006 12:00 PM
Have you verified with a voltmeter that the expected voltage and polarity is actually being outputted by the DAQ card?
Is there a drive or motor enable input on the Parker drive that has to be at the correct logic level to allow the motor to move? Any drive error or fault lights that are on?
Is an encoder required to be connected to the drive?
Not familiar with C++ commands for Flexmotion, but the above tips may be useful from a hardware standpoint
09-09-2006 06:40 AM
The drive and controller work fine when using position and velocity control. No hardware proplems.
I want to be able to control the +-10 volt signal directly from my code. I have a dac mapped to each channel as a default setting in macs. When I perform a position or velocity move I can read the DAC channels. However, I would like to control the +-10 volt signal directly (as a target torque (current) )from my code and read the position and velocity fedback as a result of the target current sent.
Any ideas?
Thivash
09-11-2006 11:59 AM
Hello Thivash,
Thank you for contacting National Instruments. One thing to check for is if the DAC channel that you are trying to control programmatically isn't already reserved for a servo axis. You can check for this in MAX by going to the axis number of the DAC channel that you wish to control, i.e. axis 1 for DAC channel 1, and check to see if it is set to servo as shown in the attached image. If it is, switch the type to Stepper, save the settings, and re-initialize the motion card. You should now be able to programmatically control the DAC channel.
Regards,
Mike T
National Instruments