easy-forum
English Support - Software => easySoft => Thema gestartet von: amin am April 20, 2012, 14:48:57 Nachmittag
-
DEAR SIR
I AM USING EASY 819-DC-RC 3N0S + EASY618-DC-RC 1NO AS FOLLOWING:
NET-ID1 ( EASY 819-DC-RC )
NET-ID2 ( EASY 819-DC-RC )
NET-ID3 ( EASY 819-DC-RC + EASY 618-DC-RC )
MY QUESTION ....
HOW CAN I PROGRAM ANALOG INPUTS IN NET-ID1 OR ID2 OR ID3 , THERE IS NO OPTION TO CHOICE THE STATION NUMBER ...
PLS HELP
WITH BEST REGARDS
AMIN
-
Hello. You have to use the SN Element to send Flags to your Net Devices. On the device itself, you write a problem which uses RN ( Receive Net Bit), and then what the Device should with the Data.
For sending / receiving Values itself, you have to use PT on the device which sends the value, and GT on the device which gets the value.
E.g.: Net ID 2 sends it's analogue Value :
PT01 with QA as I1 Parameter
Net ID 1 wants to receive :
GT01 with the Net ID 2 and PT 1 as paramters. On QV you then set where you want to store the Value, e.g. and Word ( MW ).
Hope it helps :)
Greets,
Nico Blanke
-
THANK YOU FOR HELP ...
WOULD YOU PLEASE SEND SMALL EXAMPLE
WITH BEST REGARDS
AMIN :)
-
Hi there.
This small example does nothing but copying the Analogue Input from Net ID 2 to Net ID 1 and putting the value into a Word. Since I am not able to test it here because I only have one device at hand, I could not test it. But I think it should work fine if I did not miss anything :)
Greets,
Spellbreaker
-
HELLO AGATN
RECIEVED YOUR EXAMPLE BUT NOT GOOD UNDERSTAND ... PLEASE PROVIDE ME ANOTHER SAMPLE THAT I CAN MORE UNDERSTAND ....
IF I HAVE IN NET ID2 ANALOG INPUT PRESSURE TRANSMITER SHOULD GIVE OUTPUT AT 1.4V ....
I SHOULD GET M1 MARKER OUTPUT IN NET ID 1
ONE MORE QUESTION
IS IT NOT POSSIBLE TO MAKE SIMULATION ON COMPUTER ??
AND IF WE WANT TO DOWNLOAD THE PROGRAM TO EASY SHOULD WE DOWNLOAD MAIN PROGRAM ON NET ID1 ? AND PROGRAM OF NET ID2 ON NET ID2 ALSO ......
PLS ADVICE
WITH BEST REGARDS
AMIN
-
Dear Spellbreaker.
Your explanation and example in principle is correct but you have to keep in mind, that the
PT-function block has to be triggered. It is sending a value only at a rising edge at the input
coil (change from 0 to 1).
To trigger the coil you may either use a timing relay in flashing mode or a toggle marker.
Regards
Maikky