CeeDee
Member
I have a small part of a working project that I have going on and I wanted some suggestions or advice on how this will play out before trying it on the machine. The ladder program in the machine currently works, I've just been modifying to the program to make it run with an auto/manual motor control switch I've added within the HMI for better user control. I've omitted a lot of the extra stuff, like how the auto and manual mode work for example, and just listed what I'm trying to figure out at the moment. The addresses are all made up. I had to regurgitate all this from memory since all this is at work. I can't bring it home. I know I know... it sucks. Tell me 'bout it!
I have two things I'm looking at here:
I'm not too sure on the OSR command, and how it works in a practical sense. I want the run enable to disengage (go false) when the auto/manual (mode select) switch is switched from whatever state it is in while the motor is running. This will shut the motor off after 15 sec. If the motor is not running and the mode switch is toggled, I want the run enable to stay true. The stop button has an immediate stop to the motor.
The next thing is the restart delay timer. I just want to make sure the motor can't restart after shutting down until 15 seconds has passed. I'm not sure I'm reasoning out the ladder scan correctly.
Please go easy on me. I'm no expert at this. Just a guy trying to make a living.
I have two things I'm looking at here:
I'm not too sure on the OSR command, and how it works in a practical sense. I want the run enable to disengage (go false) when the auto/manual (mode select) switch is switched from whatever state it is in while the motor is running. This will shut the motor off after 15 sec. If the motor is not running and the mode switch is toggled, I want the run enable to stay true. The stop button has an immediate stop to the motor.
The next thing is the restart delay timer. I just want to make sure the motor can't restart after shutting down until 15 seconds has passed. I'm not sure I'm reasoning out the ladder scan correctly.
Please go easy on me. I'm no expert at this. Just a guy trying to make a living.
Last edited: