From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am trying to get variable length digital pulses out of the flexmotion6 board using the UMI-Flex6 terminal block. Yusuf C, suggested I configure the axis to run on open loop stepper mode and tap the Step(CW) and Dir(CCW) lines during a simple move. This should give a pulse train. And I can change the frequency by changing the velocity of the move.
When trying to configure axis 5 as a stepper and running the 1-D interactive program under the MAX program to test the axis, I get the error message "Error 70017 NIMC_StepperOnlyError Occurred in set stepper loop mode (flex_set_stepper_loop_mode) on Axis 05 This command is valid only on a stepper axis"
I have also considered using the flex_load_DAC command to load a value into the DA C directly. Is it possible to use this cammand with DAC 1 through 6, provided they are not associated with an axis (ie. the axis is disabled or the DAC channel is not selected for a particular axis.
Ysusf's suggestion should work for you. The error which you are getting indicates that you are trying to change the stepper loop mode on an axis which is set up as a servo. To fix this change the axis configuration to stepper and then hit apply and initialize board.
In order to use the DAC on a channel it must also be configured as a stepper. And then you can do the load DAC. I'm not sure how this is to be a substitute for outputing a pulse train but if does the trick then great!