How do you program a stepper with an encoder for feedback?

mikep69001

Member
Join Date
Aug 2008
Location
North Attleboro,Massachusetts
Posts
5
I have a DL06 PLC,HO-CTRIO Counter Module,STP-DRV-4035 Stepper Driver,TRDSH 100BD Encoder, and a Stepper I already had.
Done all of the wiring and all works well with the CTRIO Workbench Programs.
I have been able to use some of examples to move the stepper motor and read the counts of the Encoder.
My problem is trying to put both the stepper moving part of the program with the Encoder reading part of the program.
Can anybody help me?
 
Steppers are so called "open loop systems" and do not require encoder feedback for functionality.
Optionally, encoder reading may be used for motion monitoring, but it does not have to participate in the stepper motion control.
 
I quite often use a stepper driver and encoder. All I do is let the plc output the pulses to the stepper drive, and when it is finished, I check the position with the encoder. If it is out of position then I flag an alarm. I don't use the encoder until the and motion has stopped.
All you have to do is tie up the encoder counts to the pulse outputs and compare. Generally this works without any problem.
 
Easy: Use a Berger-Lahr TLCC system with a CANbus-encoder equipped stepper motor, and the pre-built and supplied closed loop software routines.

Nothing beats buying the right hardware and software for the job!

Nothing's more difficult than trying to make something unsuitable for the job...suitable.

Good luck.
 

Similar Topics

Hello all, I'm working on a project involving stepper motors that is currently utilizing Allen Bradley hardware/software, but I'm transitioning...
Replies
12
Views
3,134
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
1
Views
71
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
92
Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
87
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
10
Views
169
Back
Top Bottom