one sensor

rubhan

Member
Join Date
Aug 2004
Posts
6
one sensor to see when box is full
1 cylinders to move product into box (no sensors on cylinders)
gravity fed product is moved into box by 1 cylinder (double acting)
sensor is on until box is full
plc programming is such fun so this should be simple ?
please be kind and dont laugh to much, any help would be appricated
regards
rubhan
 
when sensor is off or on,do the following,i was thinking there was another way besides a jmp
 
MACHINE step logic, your sensor is your "eye"
or 5 line as we like to call it...
line 1
preceeding logic will confirm box located under loader cylinder and ready to receive load. (This is the first time to use the eye) is this a full box?
yes: go to line 5
line 2
local process ready? (pusher got stuff?)
no: go to line 1

line 3
perform local process (push stuff in box)

line 4
is local process done? (this is where the eye works) is the box full?
no: go to line 1

line 5
request next process

Hopefully this helped your thought process

bitmore
 
Last edited:
like being ship wrecked ,bitmore states the obvious

i am asking for any one who can help use a single sensor
to complete a plc process

this is not the place to be "obvious guy"
 
sorry "obvious guy" first of all you did not know what the question was , only after i posted the "did not want to use a jmp" did you get smart and obvious
i have seen what most of you do to new commers on this site
and it is shameful
you offer not thing but reduicule ,i truly hope to not become like any of you
i was hoping for pratical help
how ever it seems to be not forth comming
thanks
anway
 
:confused:
The step logic is not a smart idea I just got,, and for Jumps you don't need them in sequential logic as long as you follow the 5 line logic. Each next step is only predicated by the fulfillment of the previous. Therefore simple Normally Open contacts that are held closed represent in logic the "ok" to proceed.
If the preceeding step has not been accomplished, the "enable or step bit" is not turned on for the machines process or "steps" to proceed.
You don't really need go to statements, I just wrote it that way to make it easier to understand step logic. Heck, if that were a "real" running program it would get lost.
 
Last edited:
maybe i dont get it, i see no way of "asking" the plc if a sensor is on or off, it's input is either on or off, "as opposed to c programming" so with out a jmp i find it's not possible
any way
thanks for your help
rubhan
 
first of all you did not know what the question was
Reread your first post...your only question is if this should be simple.

i have seen what most of you do to new commers on this site
If you actually pay attention you will see that newcomers who actually put forth some effort will most certainly get helped. Those students who come here and post a poorly worded "question" can't reasonably expect a response.

i see no way of "asking" the plc if a sensor is on or off, it's input is either on or off,
I have no clue what this means....you don't know how to "ask" the plc if a sensor is off? Then you state its input is either on or off.
If the input is on, that generally indicates the sensor is on (in the case of a normally open sensor), if the input is off, that generally indicates the sensor is off.

Code:
  Sensor    Internal Bit
---| |---------( )
 
Bitmore explained it in perfect fashion, the job now is to use ladder logic to conform to that. Ladder doenst have to explicitly use goto, if, else etc but it works the same.

Let me explain this in another way. The application as you described it just states the box is to be filled. Place the box in position and push a button to initiate a start sequence, this in turn will turn on the output.....in front of that output is an xic --| |-- for the sensor....when the box is full that xic for the sensor will go false turning off the output. There are several ways to do this but I am a simple person.

boxfill.jpg
 

Similar Topics

Hi looking to install a smaller less sophisticated PLC for fountain timing and also one analog pressure sensor which would be used to detect...
Replies
23
Views
560
Hi everyone, I am working with micro850, a proximity sensor (FOTEK, PL-05P) and a 3DOF serial arm robot. I use MC_MoveRelative to control the...
Replies
1
Views
108
Maybe a stretch to call this a PLC question, but it does connect to a PLC input. I have two German switches: Sick WL9LG-3P2232 And a...
Replies
0
Views
124
Hi, Need help with coding for a faulty component sensor which we are using a push button as we are using a test rig. the plc is a allen bradley...
Replies
4
Views
238
Hi all, I am implementing an incremental encoder sensor (ABZ) to replace the existing "manual" encoder wheel I have in my device. This is a 360...
Replies
0
Views
184
Back
Top Bottom