Technical Forum

STEP 7 / STEP 7 Lite

Variable Time Value Timer

Erstellt von Humble am 07.04.2012 00:20 (23 Antworten)

« Vorheriges Thema Nächstes Thema »
«123» Seite 2 von 3 (24 Objekte)
  17.04.2012, 19:51
Beigetreten am: 22.04.2010
Letzter Besuch: 31.10.2014
Beiträge: 5258
Bewertung:
Bewertung: Exzellent [4,26 von 5 / 533 mal bewertet]. (533) 
Benutzer mit speziellen Fachkenntnissen, die einzelne Konferenzen betreuen
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
I agreeRnf:lblSmileyTooltip_

Made this one in FBD to show the steps needed, like conversion of variables.
Can be verry tricky if not so familiar with all the data types.

Regards,

Marcjan

Problem solved?
Please let us know!

Please no technical questions by PM, use the forum sections for your questions.
Top
  17.04.2012, 19:51
Beigetreten am: 07.04.2012
Letzter Besuch: 07.05.2012
Beiträge: 8
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Many thanks Marcjan.

Now, the mysterious part I need a clarification on is the difference between you calling FC 105 and me calling FC 105.

Your FC 105 has an input called BIPOLAR, I do not have that if you look at my attachment again. What I have is KNKD. I have chosen the CPU313C. I know it has nothing to do with it. Am I doing something wrong? Has it anything to do with different version of Step7 software
Top
  17.04.2012, 20:17
Beigetreten am: 22.04.2010
Letzter Besuch: 31.10.2014
Beiträge: 5258
Bewertung:
Bewertung: Exzellent [4,26 von 5 / 533 mal bewertet]. (533) 
Benutzer mit speziellen Fachkenntnissen, die einzelne Konferenzen betreuen
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Hello,

You use FC 105 Read Analog Value from the S5 converting blocks.
I use FC 105 Scaling Values from TI-S7 converting blocks.

Regards,

Marcjan



=== Edited by Marcjan @ 4/17/2012 8:18 PM [GMT ] ===



Problem solved?
Please let us know!

Please no technical questions by PM, use the forum sections for your questions.
Top
  17.04.2012, 20:30
Beigetreten am: 28.01.2009
Letzter Besuch: 31.10.2014
Beiträge: 4722
Bewertung:
Bewertung: Exzellent [4,22 von 5 / 702 mal bewertet]. (702) 
Benutzer mit speziellen Fachkenntnissen, die einzelne Konferenzen betreuen
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Humble wrote:
Many thanks Marcjan.

Now, the mysterious part I need a clarification on is the difference between you calling FC 105 and me calling FC 105.

Your FC 105 has an input called BIPOLAR, I do not have that if you look at my attachment again. What I have is KNKD. I have chosen the CPU313C. I know it has nothing to do with it. Am I doing something wrong? Has it anything to do with different version of Step7 software


Hello  Humble,

Same problem discussed here in detail:

fc105


 
wrote:

thanks for your reply but i mean that why does instead of writing "hi-limit" it has been written
"ogr" i want to insert the fc like the following attachment.
does the software has problem?

best regards.


Dear saeedplc

You have selected FC105 in "stdlibs"-->fblib1.
Check the right library(TI-S7 converting blocks) for FC105,see the attachment!



Attachment: fc105.zip  (28 Downloads)




Best regards,
Hamid Hosseini
Top
  17.04.2012, 21:52
Beigetreten am: 07.04.2012
Letzter Besuch: 07.05.2012
Beiträge: 8
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
To both Marcjan and hdhosseini,

Now that we have developed the timer program which would work by feeding time value from another control system continuously.

Do you know if once a time value is fed and the timer is activated, then the operator punches a new time value which could be lower or higher than the current time value. What happens to the functioning of the timer? Will it continue to generate pulse output?

Thanks,

Humble
Top
  17.04.2012, 22:50
Beigetreten am: 28.01.2009
Letzter Besuch: 31.10.2014
Beiträge: 4722
Bewertung:
Bewertung: Exzellent [4,22 von 5 / 702 mal bewertet]. (702) 
Benutzer mit speziellen Fachkenntnissen, die einzelne Konferenzen betreuen
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Humble wrote:
To both Marcjan and hdhosseini,

Now that we have developed the timer program which would work by feeding time value from another control system continuously.

Do you know if once a time value is fed and the timer is activated, then the operator punches a new time value which could be lower or higher than the current time value. What happens to the functioning of the timer? Will it continue to generate pulse output?

Thanks,

Humble

Hello  Humble ,

It may affect operation of timer or may cause jumps in your
analog output signal.I rechecked previous scenario with
SFB3.In case of increase of timer's pre-set value(more than
current value), the operation of timer is extended to the new
increased value.If a decrease happens(less than current value)) ,
operation of timer aborted and a jump would be experienced(as
illustrated in attachment).

There is a simple way to delay pre-set update while timer is
running!Sorry again it is in STL!Rnf:lblSmileyTooltip_
 

Best regards,
Hamid Hosseini

Dateianhang: 2.zip  (22 Downloads)



=== Edited by hdhosseini @ 4/17/2012 10:58 PM [GMT ] ===



Top
  03.05.2012, 21:32
Beigetreten am: 12.01.2012
Letzter Besuch: 26.09.2014
Beiträge: 21
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
hdhosseini wrote:
Humble wrote:
I would like to configure a pulse timer which would not have a preset time value rather the value is fed from another control system through an analog output - analog input hardware connection. The AO will reside in other control system, then a 2-wire signal cable will be connected to a S7-300 PLC AI channel. How can I transform the incoming value into a S5 time format and feed in to TV input of a pulse timer?

Hello ,
One way, to scale the analog signal to values you
want(Result as Real) and check the result to represent "second".
Round this value and Multiply this "double integer" value by 1000.
Then feed this value to FC40 as shown in attachment


Best regards,
Hamid Hosseini


Hello dhosseini,
I had tried what you did post in the attachment "convert.jpg", and I am afraid but it does not work. MUL_DI only accepts all inputs and output of DINT type, and the FC40 input only accepts TIME type. Am I wrong? Did you write it down on your programm and it works? because on STEP7 V.5.5 it does not let you do it.
I appreciate any feedback.
Thank you,
vperezb

Dateianhang: Convert_notWork_jpg1.JPG  (23 Downloads)



=== Edited by vperezb @ 5/3/2012 9:34 PM [GMT ] ===
Edit note:
See in the attachment below what I see on my program


Top
  04.05.2012, 15:45
Beigetreten am: 28.01.2009
Letzter Besuch: 31.10.2014
Beiträge: 4722
Bewertung:
Bewertung: Exzellent [4,22 von 5 / 702 mal bewertet]. (702) 
Benutzer mit speziellen Fachkenntnissen, die einzelne Konferenzen betreuen
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
vperezb wrote:


Hello dhosseini,
I had tried what you did post in the attachment "convert.jpg", ...

Hello vperezb,

My nickname is "hdhosseini" cry and about the question,please
check the following attachment for a tip and online manual of STEP7.

Best regards,
Hamid Hosseini

Dateianhang: tip1.zip  (23 Downloads)

Top
  12.07.2012, 21:41
Beigetreten am: 10.10.2010
Letzter Besuch: 23.10.2014
Beiträge: 222
Bewertung:
Bewertung: Herausragend [3,5 von 5 / 10 mal bewertet]. (10) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
thank you hdhosseini for your time and efforts
if i need to control the timing value , time base via HMI using IEC timers based on FC40
what should i do to control the timing in minutes , just write the no. of minutes "without s5t# format" in I/O field and show the result of time output in output field in HMI

thanks in advance
Top
  12.07.2012, 23:26
Beigetreten am: 28.01.2009
Letzter Besuch: 31.10.2014
Beiträge: 4722
Bewertung:
Bewertung: Exzellent [4,22 von 5 / 702 mal bewertet]. (702) 
Benutzer mit speziellen Fachkenntnissen, die einzelne Konferenzen betreuen
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
metwally mustafa wrote:
thank you hdhosseini for your time and efforts
if i need to control the timing value , time base via HMI using IEC timers based on FC40
what should i do to control the timing in minutes , just write the no. of minutes "without s5t# format" in I/O field and show the result of time output in output field in HMI

thanks in advance




  

Dateianhang: hd_result.jpg  (18 Downloads)

Top
«123» Seite 2 von 3 (24 Objekte)
Aktionen