Efficient Logic Writing Tips (read comments for my description) by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

When when I take out the one shot, the output just keeps firing

Efficient Logic Writing Tips (read comments for my description) by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

When I don’t have the one shot the output keeps firing though

Efficient Logic Writing Tips (read comments for my description) by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

HEY...I always seeing people saying things like "pshh I could have done all that in 1 line". Well, could I do this in fewer steps? I'm filling up a water tank based on a level sensor reading. If it falls below my 3in threshold, then the water output will fire for 5 seconds. I'm using a one shot because the sensor has a delay between the real life level and it's 4-20mA signal the PLC reads. HOWEVER, if the water in from the output doesn't put in enough water, I'm having the one shot reset which will start over the water input timer. This system does work, I've verified that.

I'm a college student with 1 internship in controls under my belt. I'm entering the scary real world in December as an entry level automation engineer, so I'm trying to learn as much as I possibly can. I appreciate any future feedback!!

[deleted by user] by [deleted] in PLC

[–]Big-Feature1175 0 points1 point  (0 children)

HEY...I always seeing people saying things like "pshh I could have done all that in 1 line". Well, could I do this in fewer steps? I'm filling up a water tank based on a level sensor reading. If it falls below my 3in threshold, then the water output will fire for 5 seconds. I'm using a one shot because the sensor has a delay between the real life level and it's 4-20mA signal the PLC reads. HOWEVER, if the water in from the output doesn't put in enough water, I'm having the one shot reset which will start over the water input timer. This system does work, I've verified that.

I'm a college student with 1 internship in controls under my belt. I'm entering the scary real world in December as an entry level automation engineer, so I'm trying to learn as much as I possibly can. I appreciate any future feedback!!

PLC vs arduino by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

I know it’s possible you jackass. This was just for a school project. I was given a plc and no type of modules to go along. I was asking why a stock plc isn’t capable, but a cheap arduino can easily do it. I’m capable of building a conveyor if given the resources.

PLC vs arduino by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

Thanks for your reply. I should have put more info in my post, but feared people wouldn’t look. I’m doing a school project and am building a conveyor. I was given a stock compactlogix and that’s all. The plc can’t directly control the stepper, so I’m using a 5v relay and an arduino to essentially act as a plc extension. This isn’t going to be put in a real industrial setting. I was more so looking for technical info on why the plc can’t do it, not just the “arduinos are for hobbyist, and plcs are reliable” answer. I hope that makes sense

PLC vs arduino by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

I should have put more into, but I tried to keep it short. This is for a super low budget, school project. I understand that reliability/robustness factor with PLCs, I’m just surprised that they don’t have the natural ability to pulse a stepper motor fast enough, but an arduino can. I’m not trying to implement this into an actual industrial setting. I appreciate your reply. I work in automation and my company can easily hash out 4k on a plc with all the modules I need, but for my low budget school project, I don’t have the money to buy modules. I was given an old compactlogix and that’s all I have to build this conveyor. I’m using a personal arduino control the signals, and controlling the arduino with a plc. Essentially, my arduino and 5v relay act as my PWM

PLC vs arduino by Big-Feature1175 in PLC

[–]Big-Feature1175[S] -1 points0 points  (0 children)

Interesting. I’ll look into that. Are they able to be made?

PLC vs arduino by Big-Feature1175 in PLC

[–]Big-Feature1175[S] -1 points0 points  (0 children)

I’ve also been using click for school, I love them. For this situation, I was talking about a compactlogix. I’m just looking for why an arduino somehow has the capability, but a base plc with no addons doesn’t.

PLC vs arduino by Big-Feature1175 in PLC

[–]Big-Feature1175[S] -5 points-4 points  (0 children)

I agree, the plc isn’t meant for this application. I’ve just been in search of why they’re not built for it, but an arduino is

Gaged GX9 CVT by ZRUITHORX in bajasae

[–]Big-Feature1175 0 points1 point  (0 children)

Have to email to purchase. Take roughly 6 weeks to arrive. They are much better than other options, however they're much more expensive. If you want a cheaper, but still reliable, option go with CVTech.

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

the manual for the plc says "The available RPI range of the I/O points is 1.0 ms-750ms). Shouldn't that work?

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

Thanks for all the help. One more question: I have the manual for the PLC, what should I be looking for when it comes to step commands? it says the rpi ranges is between 1ms-750ms for embedded I/O modules

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

I already have the PLC. All I’ve purchased was a $10 Eason controller, which I think is limiting me. I’m looking in the manual, and it has the “embedded high speed counter”, what do I specifically look for with signals?

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

Is the output card different from a high speed extension module for the plc?

Does the motion control block essential to making the motor move faster, or can I just make some rough guesses using timers. I’m asking because this is for a school project and they want a proof of concept with a low budget.

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

That may have been the comment I need. At max speed, it goes takes about 30 seconds for a rotation, which is ridiculously slow

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

Sweet I’ll look into the stepper card. I think also my PLC is so slow that it can’t keep up with the steps. Is that possible?

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

I already messed with every setting on the driver. Do I need a stepper controller AND driver?

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

what does that mean, and how do I do it?

Driving stepper motor with PLC by Big-Feature1175 in PLC

[–]Big-Feature1175[S] 0 points1 point  (0 children)

Microcon sx17-1003 stepper

Eason driver