Problem

Begonnen von SweElite, 22. September 2009, 12:36:06

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 3 Gäste betrachten dieses Thema.

SweElite

Hello !

Im having a small problem that has got me stuck. I programming in Beckhoff plc control, and i need a function that does the following. I need 1x input in a function block and 2x time inputs and 1x output. When the input is high i need to switch between the two outputs, and if possible have a deadband between the outputs for 2x seconds. The block must be working "cyclic".

Is there anyone who knows how to do this ?
Please help.

hugo

what exactly do you mean by 2xinput ...

sorry i dont understand what you are trying to achieve
you describe 3 inputs butonly the function of one input.

SweElite

Sorry for my extreamly bad explanation.

What i mean with 2x input is  2 diffrent times. I need to have 1x digital  input, and one digital output. When the input is high i want the output q1 to be high (time input 1) and after that has elapsed then have a deadband with 2sec, and then next output q2 to be high related to time input 2


Zitat von: hugo in 22. September 2009, 12:54:10
what exactly do you mean by 2xinput ...

sorry i dont understand what you are trying to achieve
you describe 3 inputs butonly the function of one input.

hugo

try this

[gelöscht durch Administrator]

hugo

#4
sorry forgot to put PT of TOF to T#2s
i assumed in1 and in2 are pulses in case you want to act on a rising edge of the inputs use R_trig in fromt of the inputs

SweElite

Thanks alot for the help Hugo ! I cant belive that this small issue have given me this trouble :)

Zitat von: hugo in 22. September 2009, 15:54:17
sorry forgot to put PT of TOF to T#2s
i assumed in1 and in2 are pulses in case you want to act on a rising edge of the inputs use R_trig in fromt of the inputs