Hi everyone,
I have a school project is that controlling a stepper motor with pc interface (will use C# for windows application). I have a IMS MDrive 34 plus, U3-HV, LJTick-InAmp (I dont know why teacher gave me :), i need some explain also for this thing) and sensor for measuring applied torque. My teacher wants fixed torque in specific time. For example, 10 Newton in 10 second. So i have a trouble :)
Because I am newbee for this terriroty, i dont know what i do :) ? I need your help for light my way up. I searched forum and some example codes in this site because U3-HV providing really good control over this thing and i must use U3-HV for sure :) Also i attached a screen shot which is my motors cables.
Could you help me for control this motor please?
Hello,
I would first recommend getting familiar with the motor/driver you are using. From the datasheet of your device, it looks like it wants a 12V+ power source capable of sourcing 4A. The U3 is not going to work well for this as VS is 5V capable of sourcing a maximum of 450mA.
It also looks like that stepper/driver communicates using RS422/485, which you will not be able to interface directly with the U3. This page might help you figure out how to get your devices talking:
https://labjack.com/forums/t7/rs485-labjack
It is not very clear to me how to control the motor using RS422/485, or if you could maybe just control the motor directly some other way, so you may need to talk with the manufacturer or your instructor to clear that up.
Thank you for replying sir.
Yes you are right, motor needs more power. I can feed it with external power so this is not problem for me. In the cable scheme picture you can see motors outputs. Motor has I/O pins so i think U3 can manage the motor with this. This i/o pins is my solution i think. I just dont know how can i use this i/o pins for movement control. About RS422/485 i can use a converter (your link i learned new things, thanks) then communication could have provide, i think :)
So need help for this pins,
If you are using RS485 the IO should be something like TX+,TX-,RX+,RX-. You could connect any of the IO lines (after the appropriate conversion) to FIO lines on the U3. You would want to make sure the FIO lines you use are configured as digital IO. It is unclear to me which IO pin is which for your motor based on the datasheet, so you might configure and need to keep track of what each line does in your software. It is also unclear to me what you will be doing with the AIN line. This might be explained in the docs and specifically the MCode Programming guide here:
https://motion.schneider-electric.com/?wpv_aux_current_post_id=7980&wpv_...