Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

limit switch MID 7604 stepper motor drive

I am learning the basics of motion control with LabVIEW. I am using a 2 phase stepper to produce movement of a load along one axis (via a lead screw). My setup is:

 

PCI-7330 MoCo

MID-7604 driver

HSI Inc Stepper

Two limit switches (P/N: HOA1881-12; Honeywell)

 

Right now, I am trying to set up limit switches to define a home position and a forward limit of travel. I am using MAX to experiment with this - I haven't used any LV code yet to control the motor. The limit switches are Infrared type (LED source, phototransistor detector). I don't have the specific PCB drawing for how these limit switches are connected and supplied. Thus, I don't know how the switch gets voltage, etc. From a spec sheet, I have determined the wire configuration for the sensors: 4 wire: Ired Anode, Ired Cathode, detector collector, detector emitter.

 

I have looked at the PCB drawing of a similar circuit using a similar Optosensor. In that circuit, the anode of the LED was supplied with 5V and its Cathode was tied to transistor's emitter which was typed to GND. The transistor's collector went to "CONT2 LIMIT". I am kind of sure that "CONT2 LIMIT" is the wire that would be connected to either pins 1 or 3 in the terminal block. Looking at the 6-pin connector on the MID 7604, it is as follows:

 

1) FWD LIM

2) Home Input

3) REV LIM

4) Inhib input

5) Inhib output

6) GND

 

I was wondering how to wire the sensor to the terminal block that plugs into the limit receptacle on the MID...... Which pin from the connector supplies 5V to the sensor?

 

 

Thank you

0 Kudos
Message 1 of 3
(3,784 Views)

I tried figuring out how to get limit switches to work in simple one-axis motion. I haven't been successful yet.... I am not sure if the actual IR switches themselves are functioning properly.... What I did do was wire up two switches to terminal blocks for my MID 7604 driver...

 

From the circuit schematic of a limit switch used elsewhere in the device (and from some light reading about how those switches work), it seems like the LED needs a pull up resistor. I put an appropriate Ohm resistor in series with the Anode pin of the LED and put the lead into position 2 (Home input) of the Limit switch terminal block.... I put the BJT's collector pin lead into position 1 (FWD LIMIT) of the block... From the other circuit schematic, the BJT's emitter lead went to GND and the Cathode of the LED went to GND. I tied those two together and inserted them into position 6 (GND) of the block. However, when I tried to get the switch to work (by enabling them in MAX 1D test zone), nothing happened...... the load continued moving past the switch....... I am not sure what is set up incorrectly...............It might be that I didn't configure the settings in MAX properly............

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

Hi Fascinated,

 

I would recommend confirming that your limit switches work before dedicating too much time to debugging the motion system.

Stephen Meserve
National Instruments
0 Kudos
Message 3 of 3
(3,761 Views)