Hi Joe
Thanks for your quick reply.
I,m just retrofitting an old dough lamination machine. The stepper motor just controls the lamination roller height, so precision or speed is not paramount.
I had this M90 stuck on a shelf for years, and when the machine controller broke down last week, it was the most suitable thing at hand for a quick fix. I,m about to finish the program. Worst case scenario I will use the analog out linked to an arduino to provide the pwm, and read the pulses with the high speed input. As I told precision is not key here, so some missing steps up or down during the program doesn't make a difference. I will send the roller to the home position after every complete cycle to reset the position.
If it goes OK, with more time I will implement into a SM70-J-T20 , so I can retrofit all the three machines on site.
Other I/Os are just some sensors and relays, no rocket science here.
What about that interrupt routine? Do you have any example?
Thanks in advance for your help.
Is something like this: