Hi,
I need some help, better an example to create a ladder logic that set to on outY when outX is off and set to off outY when outX is on.
I want to manage only outX and let the bcs manages the outY
Thank you
Luca
Help on ladder logic
-
- Site Admin
- Posts: 1726
- Joined: Sun Jul 18, 2010 7:51 am
- Bot?: No
- Location: Huntington Beach, CA
- Contact:
Re: Help on ladder logic
That's a pretty straight forward use for ladder logic. See image below.
Re: Help on ladder logic
You need to remember that Ladder Logic takes precedence over all other control.
When you do this, you are controlling Out Y ONLY by Out X and nothing else. That means that if your BCS is powered and Out X is Off, Out Y will be ON. There are two ways to turn Out Y off:
Turn on Out X
Unplug the BCS
You can Add Processes and even States (via Registers) to ONLY have Out Y come On if Out X is Off in Process 1 State 1. Unless you limit the logic, you have the condition above. In this, Out Y is Controlled by Out X when you are in Process 1 and Only in State 1.
You can select a Register in the Process Editor. The Register will be asserted when you are IN the State Where the Register is checked. I use these in ladder Logic when I need a control only within a Process and a State.
(I use the Registers 0-7 as State Markers: State 0 = Register 0 and so on).
When you do this, you are controlling Out Y ONLY by Out X and nothing else. That means that if your BCS is powered and Out X is Off, Out Y will be ON. There are two ways to turn Out Y off:
Turn on Out X
Unplug the BCS
You can Add Processes and even States (via Registers) to ONLY have Out Y come On if Out X is Off in Process 1 State 1. Unless you limit the logic, you have the condition above. In this, Out Y is Controlled by Out X when you are in Process 1 and Only in State 1.
You can select a Register in the Process Editor. The Register will be asserted when you are IN the State Where the Register is checked. I use these in ladder Logic when I need a control only within a Process and a State.
(I use the Registers 0-7 as State Markers: State 0 = Register 0 and so on).
Re: Help on ladder logic
Thank you JonW!
If you ever come to Italy I will offer you a beer
If you ever come to Italy I will offer you a beer
Re: Help on ladder logic
oakbarn wrote:You need to remember that Ladder Logic takes precedence over all other control.
When you do this, you are controlling Out Y ONLY by Out X and nothing else. That means that if your BCS is powered and Out X is Off, Out Y will be ON. There are two ways to turn Out Y off:
Turn on Out X
Unplug the BCS
The 2 output are wired to a 3 position selector (on/off/auto) so for me it's ok that the bcs always control the 2 out. If I need a manual override I just switch the selector.
Thank you
Re: Help on ladder logic
There is a beer waiting for you too of course
Re: Help on ladder logic
Mi piace la birra.
Ho vissuto a Roma molti anni fa.
Viaggio in Italia in occasione.
Alora...
Ho vissuto a Roma molti anni fa.
Viaggio in Italia in occasione.
Alora...
Re: Help on ladder logic
Wow!oakbarn wrote:Mi piace la birra.
Ho vissuto a Roma molti anni fa.
Viaggio in Italia in occasione.
Alora...
Il tuo italiano è migliore del mio inglese
Quando tornerai in Italia sarai mio gradito ospite
Luca
Re: Help on ladder logic
Hi,
I need some help: it is possible with ladder logic to use the same DIN to start/stop a process?
example:
push DIN1 --- start process 5
push DIN1 --- stop process 5
Thank you
Luca
I need some help: it is possible with ladder logic to use the same DIN to start/stop a process?
example:
push DIN1 --- start process 5
push DIN1 --- stop process 5
Thank you
Luca
-
- Site Admin
- Posts: 1726
- Joined: Sun Jul 18, 2010 7:51 am
- Bot?: No
- Location: Huntington Beach, CA
- Contact:
Re: Help on ladder logic
Yes, with a slight modification. I would use either a push on/push off style button switch or a toggle switch. Your ladder logic is then just like my example in post #2 except you have the din as the input and the proc as the action.