It's like a hidden parameter

Reizeik

Member
Join Date
Dec 2016
Location
Iligan
Posts
10
Please help me answer this PLC Programming problem.

Problem 1.

When Start Push Button is pressed, Motor is going to start. When Stop Push Button is pressed Motor will stop, but the START Pushbutton (I0.0) and the STOP Pushbutton (I0.1) are not included in the program in any POU (Main, Subroutine, Interrupt).

I/O ADDRESS ASSIGNMENT:
I0.0 ----------- START P.B
I0.1 ----------- STOP P.B
Q0.0 ----------- MOTOR


If you may, can you please send a ladder program if you have a possible answer? That would be a great help for a newbie like me.
Thank you experts for your kind reply.
 
Last edited:
The question Sir is how to program that you can turn on/off output Q0.0 by flipping switches I0.0 and I0.1 without finding the switches in the program?
 
Is Q0.0 turning on, or do the start and stop PB control a latching relay circuit that is controlling the motor and not the PLC.

I don't really understand the terms you are using Sir but it is like when you on the switches I0.0 and I0.1 it turns Q0.0 on and off, so basically it turns the machine on and off but without the parameters I0.0 and I0.1 in the program. So it's like the switch will control the machine directly.
 
magic I guess, or force Q0.0 on when someone flips switch.

Is this a school exercise cause it doesn't make much sense

Yes Sir, it's a pre given final exam review question and our instructor assures us that this question will come out on the exam.
 
Is this an exercise that is trying to teach you to use aliases/references to the physical I/O?

For example. instead of using I0.0 directly on a contact, create a boolean variable called "StartPB" that is aliased to I0.0 etc.
 
do you actually see Q0.0 turning on and off what is in the PLC program now, what inputs come on when you hit the start button.

is this a working system?

I think so that this is a working system, Sir. Our instructor is a well-known trainer in PLC programming, he even coached students in the recent 2016 ASEAN Skills competition in Malaysia and they won a gold medal.

So much for that, yes, it is required that Q0.0 will turn on and off on the PLC when switches I0.0 and I0.1 is flipped
 
I think this is a textbook problem rather than a "can I please have more information."

There can be several reasons for this, particularly as the PLC brand was not clearly stated. The most obvious solutions are indexed addressing or referencing the entire byte, word or double word with a mask.
 
do you actually see Q0.0 turning on and off what is in the PLC program now, what inputs come on when you hit the start button.

is this a working system?

Is this an exercise that is trying to teach you to use aliases/references to the physical I/O?

For example. instead of using I0.0 directly on a contact, create a boolean variable called "StartPB" that is aliased to I0.0 etc.

I think that's a good idea, Sir. Our instructor never gave us many hints for this. He just said that "I0.0" "I0.1" should not be seen in main subroutine and interrupt but switches still functions the same.
 
Is this an exercise that is trying to teach you to use aliases/references to the physical I/O?

For example. instead of using I0.0 directly on a contact, create a boolean variable called "StartPB" that is aliased to I0.0 etc.

If you may Sir, can you please send me a ladder program for your solution? That would be a great help for a newbie like me.
 

Similar Topics

Hi, I'm an absolute beginner in PLCs.. I have an Allen Bradley SLC5/03 PLC installed on a machine, the program is working well, I uploaded it to...
Replies
25
Views
3,836
Hi, I'm a bit new to this and this is my first post, so I hope I'm doing this right. I have an Allen Bradley Family 5 PLC in our plant and I am...
Replies
17
Views
4,529
I have a S5-115U, 941B.... In OB1, I can see some block calls Like JU PB16, JU PB17 and so on.... But in the Directory I don't see these blocks at...
Replies
44
Views
10,738
Hello, I have a problem with Eplan, and I can't seem to find answer anywhere online. I am working on a project, and I have many pages of...
Replies
2
Views
3,093
In RSL5K, I've concluded that the PID_ENHANCED data-type holds errors under hidden tags from previous executions of a PIDE instruction (... PV-Sp...
Replies
3
Views
1,577
Back
Top Bottom