Stepper motor control with omron CJ1M

cocolizop

Member
Join Date
Mar 2013
Location
Mérida, Yucatán
Posts
1
I need to control a 3-axis table with 3 stepper motors.

the table is THIS and it is a school project.

What i need to do is to control de Y axis with 4-20mA.

I'm using the omron CJ1M CPU22 and the instructions from CJ-series Built-in I/O W395 Manual. I have some ideas on how to do this, but i'm having trouble understanding the instructions.

What i have done so far is to move with push buttons in CJ1W-ID211 Input unit, CW and CCW the X and Y stepper motor.

I have used the PULS and SPEED instruction to do this.


What i want to do is when, lets say, i have 12mA im at the center, 4mA completly on the left and 20mA completly on the right.

I will be using a fulke process multimeter for the 4-20mA test, and a MAD42 analog unit.

So far i have been able to acquire signal from 4-20mA and visualize it on the CX-Programmer from 0 - 4000 sacale.

The Y axis has ~18"

i'm using Half Step -->0.0005" per step so

18"/.0005" = 36 000 steps.

Any ideas will be usefull thanks.
 
It will be hard to have enough speed to control your cnc machine by a plc. as the standard looptime of a plc is about 10 ms it means max speed is 100 hz.
the plc is 24 volts and your cnc is only 5 volts so big problem to convert all signals.

have a look at an arduino to do this.
if you have an analog input you will have to convert it to the yaxle.
some like 36000/4000 and then if setp is higher as measuring give one puls, add one step to the measuringy if position is reached give signal ready yaxle.( it means evry point the stepper motor will step 9 times.



on arduino this is very simple with 3 lines instruction.
 

Similar Topics

I'm controlling an Applied Motion HW23-601D using a Leadshine EM542S connected to a 2080-LC50-48QBB, using CCW, and experiencing some weird...
Replies
2
Views
624
Hello everyone, It's been a while I haven't dive into PLC programming (more than 5 years) and I wasn't doing it alot as programmer. I am now...
Replies
1
Views
1,850
Hello, I’m looking to control a bipolar stepper motor using a stepper motor drive and a compact Logix PLC. Can anyone point me to how to program...
Replies
9
Views
3,666
The company I work for recently bought stepper motors and the appropriate parts / expansion card to control them. I, however, have never used...
Replies
2
Views
1,232
Hello specialists! I am facing the problem with controlling the stepper motor. In this project I am using S7-1200 CPU 1214C DC/DC/DC (4 PTO...
Replies
8
Views
3,795
Back
Top Bottom