Autor Thema: PUT and GET functions  (Gelesen 9504 mal)

Offline Snidley7

  • Newbie
  • *
  • Beiträge: 2
PUT and GET functions
« am: Juli 19, 2005, 22:50:01 Nachmittag »
I am trying to display the value of an analog input on a MFD Display.  I am getting a value to transfer but it is not correct and it does not update as the analog signal changes.

I have never used the put and get function before, does anybody know where i can find a sample application that uses the PT and FT functions?

Thanks,

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #1 am: Juli 19, 2005, 23:03:32 Nachmittag »
Hallo Snidley7,

to Update the Signal try this or use a Timer

« Letzte Änderung: Juli 19, 2005, 23:37:55 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #2 am: Juli 19, 2005, 23:26:33 Nachmittag »
Which Signal use your Sensor?


example  0 – 10V  0 –50C°?

Use a LS for the correct Signal
« Letzte Änderung: Juli 20, 2005, 10:12:54 Vormittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline Snidley7

  • Newbie
  • *
  • Beiträge: 2
Re: PUT and GET functions
« Antwort #3 am: August 06, 2005, 16:11:35 Nachmittag »
Thanks for the help,

I tried using a timer with the put function and my application worked.

Offline malishhd

  • Jr. Member
  • **
  • Beiträge: 23
Re: PUT and GET functions
« Antwort #4 am: September 18, 2005, 15:26:32 Nachmittag »
Hallo Snidley7,

to Update the Signal try this or use a Timer



hi

i had the same problem of snidley ( put & get function block) for updating an analog input from a sensor .
but PT01Q1 never  gets the status 1 . i have done a lot for testing different situations !. but even after it has been triggered itdoesn't get the status 1 ?      why ?   ???  ???  please ?

Ali

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #5 am: September 18, 2005, 21:11:57 Nachmittag »
Hi Ali,

You  triggered only 1 time?

You have to trigger  by a impulse.

use my first example, or a timer with a impulse each second / 0,5 second...

mfg Jürgen

« Letzte Änderung: September 18, 2005, 23:40:47 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline malishhd

  • Jr. Member
  • **
  • Beiträge: 23
Re: PUT and GET functions
« Antwort #6 am: September 19, 2005, 10:55:20 Vormittag »
hi Juergen

i did all you said but  i didn't see any change in PT01Q1 status .
i attached a small program of your first example .
i know that regularly it has to work correctly  but ... ??
could you give me  your first example (attach or change my program)

thanks
ALI

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #7 am: September 19, 2005, 14:30:06 Nachmittag »
Hi Ali,

In the example:

Put Sendt a value at the 2 Easy Net (ID2)

you doesn't have any program in the 2 Easy.
Use online help of Put and Get
Do you use the correct function?

What should the program do?




Jürgen
« Letzte Änderung: September 19, 2005, 16:27:58 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #8 am: September 19, 2005, 16:28:49 Nachmittag »
Hi,
If no Net function is necessary,
Possibly this function is better
« Letzte Änderung: September 19, 2005, 17:07:05 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline malishhd

  • Jr. Member
  • **
  • Beiträge: 23
Re: PUT and GET functions
« Antwort #9 am: September 19, 2005, 17:30:32 Nachmittag »
hi again

could you make your first example for me.
that doesn't work.
i have made one in the attachment .
  ( as i said before i am getting an analog input from a sensor and i want to update that while i am putting it on the net . so i have to retregger the put fb frequently => 1.with timer   2. with a marker which blinks 3. your first example : the best way    )
          ------
 ------- M01 ----------------------------------------- [ M01 -   (second way)

        -----------     
------ PT01Q1 -------------------------------------- [PT01_T-  (your first example)

  this way (your first example) regularly has to work but i am still unsuccessful to make it work .
i expect that  PT01Q1 to be ON but ... why ?
the attachment shows what i am  saying . ( its just as an example )
thanks
ALI

Offline malishhd

  • Jr. Member
  • **
  • Beiträge: 23
Re: PUT and GET functions
« Antwort #10 am: September 19, 2005, 17:38:58 Nachmittag »
hi Juergen

net is important to me
i am getting the analog input in net id 1 and i want it to be on the net for net id 2
and i dont want to use  send io :   it  disturbs the net and makes traffic .

thanks
ALi

Offline malishhd

  • Jr. Member
  • **
  • Beiträge: 23
Re: PUT and GET functions
« Antwort #11 am: September 19, 2005, 17:44:49 Nachmittag »
hi
this is the attachment i told you

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #12 am: September 19, 2005, 17:47:18 Nachmittag »
Hi,

PT and GT need (require)  Hardware!
do you use only Software? :'(

Jürgen
« Letzte Änderung: September 19, 2005, 18:02:19 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.

Offline malishhd

  • Jr. Member
  • **
  • Beiträge: 23
Re: PUT and GET functions
« Antwort #13 am: September 19, 2005, 18:07:16 Nachmittag »
hi

i don't understand by that ?? ???

Offline Juergen

  • easy god
  • *****
  • Beiträge: 1950
  • Jürgen
Re: PUT and GET functions
« Antwort #14 am: September 19, 2005, 18:09:12 Nachmittag »
Hi

Funktion GT,  PT and some other, No Software Test possibly. 


Download the Programm to Easy.
Test with Hardware

Jürgen
« Letzte Änderung: September 19, 2005, 18:52:52 Nachmittag von Juergen »
Mit freundlichem Gruß Juergen


Alle Programme sind nur Beispiele und Selber zu Testen.
Geprüft wurde nur in der Simulation der Software oder mit Simulator am Schreibtisch. Die Beispiele sind mit Sicherheitsschaltungen zu ergänzen.