Send data

Discussion about Template Builder and graphic pages creation.
rolf.viktor
Posts: 11
Joined: Mon Aug 06, 2012 12:02 pm

Send data

Postby rolf.viktor » Tue Aug 07, 2012 7:00 am

Hello,

i have a problem and I don't know how to rezolve it. I want to send data from a sielco template (for exemple if a user want to introduce a limit or something) to a plc using modbus rtu. I intend to have a label or something where user could introduce his data and then push a button to send data.

User avatar
admin
Site Admin
Posts: 322
Joined: Tue Nov 17, 2009 1:18 pm

Re: Send data

Postby admin » Tue Aug 07, 2012 9:58 am

Dear Sir,
is very simple. Insert an Edit object and link up to device gate previously defined in Gate Builder.

Best Regards

rolf.viktor
Posts: 11
Joined: Mon Aug 06, 2012 12:02 pm

Re: Send data

Postby rolf.viktor » Tue Aug 07, 2012 11:00 am

Here is my function code:

function void citire_valoare()
int value;
value=GetNumGateValue("Cota_Energie",3);
//trimitere date catre alt label value=2;
SetNumGateValue("Afisare_Energie",3,value);

end

i don't know what is wrong with it....

after i press the button the gate "Cota_Energie " it's not initialized and i don't know why...

User avatar
admin
Site Admin
Posts: 322
Joined: Tue Nov 17, 2009 1:18 pm

Re: Send data

Postby admin » Tue Aug 07, 2012 11:04 am

Dear sir,
please send your application to support@sielcosistemi.com

Best Regards

rolf.viktor
Posts: 11
Joined: Mon Aug 06, 2012 12:02 pm

Re: Send data

Postby rolf.viktor » Tue Aug 07, 2012 11:16 am

i've send right now my application. It's just a test application....

rolf.viktor
Posts: 11
Joined: Mon Aug 06, 2012 12:02 pm

Re: Send data

Postby rolf.viktor » Tue Aug 07, 2012 1:21 pm

how can i send this data to a TWIDO plc? can you describe in a few words which are the steps ?

User avatar
admin
Site Admin
Posts: 322
Joined: Tue Nov 17, 2009 1:18 pm

Re: Send data

Postby admin » Tue Aug 07, 2012 1:57 pm

You just need to configure channel with TWIDO protocols and gate with correct address.

Regards

rolf.viktor
Posts: 11
Joined: Mon Aug 06, 2012 12:02 pm

Re: Send data

Postby rolf.viktor » Tue Aug 07, 2012 1:59 pm

thank you again for the replay and for the email.:)


Return to “Templates - Template Builder”

Who is online

Users browsing this forum: No registered users and 1 guest