Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

NIMC_VELOCITY stops when passing home

I'm using a PCI7340 board with motion control software to move a device around.

 

According to the software manual doing a flex_set_op_mode(boardID, axis, NIMC_VELOCITY); followed by a start_motion command will cause the device to move until it encounters a stop_motion command.  In other words "keep moving until I tell you to stop".

 

The problem that I am having is that every time the device passes the home (reference) position it stops.   I didn't send a stop motion command to the device to stop there, it just stops automatically when passing home.

 

I get the impression that there is some setting in the system that needs to be disabled for this not to occur.     Some sort of limit or trigger?   I looked through the manual and found no command or setting which would cause this or prevent this.

 

Any ideas what might be the cause of this stop when passing home (reference) position in NIMC_VELOCITY mode and how to go about disabling this feature?

 

 

 

 

0 Kudos
Message 1 of 2
(3,281 Views)

If activated, the home switch acts just like a limit switch and the axis stops, when the limit switch is hit. You can either deactivate the home switch with flex_enable_home_inputs() when you don't run a reference move or you can use the smart enable feature in MAX (Find Reference Settings) for this purpose,

 

Regards,

Jochen Klier

National Instruments

0 Kudos
Message 2 of 2
(3,272 Views)