I have a few questions.
I read that someone here was trying to program a plc to play a guitar and it caught my interest so I am giving it a go. I am planning on using solenoids on the rift and a few stepper motors to do the strumming.
The PLC that I picked up is a automation direct PLC06. I wanted this model specifically because it can put out a pulse train for my stepper motors and there is enough to play with that I can probably use it on another project aka Christmas lights in sync with Christmas songs.
So, last night I hooked it up and it works. I was just glad that I didn't burn out any of the inputs or outputs while hooking up the 120 ac to power it up and sinking/sourcing setups for the input and outputs.
One of the weird things though not totally unexpected that I ran into was that I got two different results from two logically equal setups. I first had two separate rungs running to two y16 coils. The program would glitch and wouldn't do as I wanted it to but when I ORed the two rungs together it worked perfectly.
So basically my question is is this the result of the plc not executing the entire ladder at once? Does it execute the rungs top to bottom or do certain things get priority? From what I saw, last night it seemed like it executed everything associated with one rung simultaneously. Is this true? How do you usually avoid race conditions that create chatter or random results?
Dealing the project I am working on-
What are some good stepper motors that I can use?
Where can I find some cheap solenoid piston actuators?
my output is rated max of 1 amp / points. Is this 1 amp total for all the points or 1 amp for each point?
I read that someone here was trying to program a plc to play a guitar and it caught my interest so I am giving it a go. I am planning on using solenoids on the rift and a few stepper motors to do the strumming.
The PLC that I picked up is a automation direct PLC06. I wanted this model specifically because it can put out a pulse train for my stepper motors and there is enough to play with that I can probably use it on another project aka Christmas lights in sync with Christmas songs.
So, last night I hooked it up and it works. I was just glad that I didn't burn out any of the inputs or outputs while hooking up the 120 ac to power it up and sinking/sourcing setups for the input and outputs.
One of the weird things though not totally unexpected that I ran into was that I got two different results from two logically equal setups. I first had two separate rungs running to two y16 coils. The program would glitch and wouldn't do as I wanted it to but when I ORed the two rungs together it worked perfectly.
So basically my question is is this the result of the plc not executing the entire ladder at once? Does it execute the rungs top to bottom or do certain things get priority? From what I saw, last night it seemed like it executed everything associated with one rung simultaneously. Is this true? How do you usually avoid race conditions that create chatter or random results?
Dealing the project I am working on-
What are some good stepper motors that I can use?
Where can I find some cheap solenoid piston actuators?
my output is rated max of 1 amp / points. Is this 1 amp total for all the points or 1 amp for each point?
Last edited: