CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Dec 16, 2018 10:15 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Apr 06, 2011 11:05 am 
Offline

Joined: Tue Nov 09, 2010 9:57 am
Posts: 12
Hello,

I have question regarding the 3 way control valve with magnetic actuator which is MXG461B15-1.5. As i want to use this valve for accurate water temeprature control application for cold and hot water. I would like to control the outlet temperature of the water. I have gone through the documentation of this control valve also.

This valve input and output, i will connect with Beckhoff PLC Terminals
respectivaly EL3162 and EL4104.

Now, there are three different ways for controlling through the switch position.

1. Voltage control
2. Current control
3. As per valve characterisitc i.e. Linear and Equal Volumetric %

My question is, how to control from the PLC ? Do i need to change the
voltage or current respectively from terminal ? From where i should get feedback of position
or position error ?

I have limitation also that i can use only Beckhoff PLC as another system running
on Beckhoff PLC.

Can i get example with same terminal from Beckhoff i.e. EL3162 and
EL4104 ?

Thanks.

Regards,
tech007


Top
   
PostPosted: Mon Apr 18, 2011 9:55 am 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 985
as you have a voltage output on your plc set the valve to this (better would be a mA signal ) but use what you have it will work.
the valve should also be in voltage control, As the feedback has the same configuration it is impossible to use the feedback (not needed anyway as the valve will not be stuck anyway).

For character i first would use linear and if valve tends to regulate in lower or higher 20% ( below 20% or above 80% change over to exp.) this way you have better control of the temp.

Now use two temp sensors one in your tank and one on the outgoing line this will gaurantee you never go out of bounds and you can control your tank accurate.

for a good PID or control look at www.oscat.de
if you would like it fuzzy (expert system ) give me mail.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
PostPosted: Wed May 11, 2011 2:07 pm 
Offline

Joined: Tue Nov 09, 2010 9:57 am
Posts: 12
Hi,

I will go with voltage 0-10 v feedback signal. And as per chearacterisitc concern, as you said i will try first

with linear. And then, try to maintain the temperature on inlet and outlet pipes.

I am planning to use three sensor. One with hot water pipe and second with cold water pipe. At the outlet of
valve, i willalso measure with temperature sensor. So, i can really have good idea of valve controlling

behaviour.

I am planning to use PID controller. I need to try it out that.

I learnt fuzzy logic but i didn't touch it since 3 years.

I will send you email once i decide to use fuzzy logic.

Thanks.


Top
   
PostPosted: Wed May 11, 2011 3:45 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 985
you do not need the feedback so yes i would use 0-10 Volt too.
As this is your output card doing.
the siemens valve can only do one type it is 4/20 mA OR 0/10 V.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
PostPosted: Mon May 23, 2011 5:10 pm 
Offline

Joined: Tue Nov 09, 2010 9:57 am
Posts: 12
Hello,

I using beckhoff terminal EK1100,EL3162(analog input) and EL4104(analog output). The application is to control the valve thorugh

analog input and output terminal. But right now, i want to programme analog terminals.

I am giving additional 10 V DC to analog output terminal and measuring at analog input terminal through multimeter.

I would like to have similar voltage 10 V DC at input terminal which i am giving at analog output terminal 10V DC.

My problem is at analog input terminal i am getting variable DC voltage although i am giving contast dc voltage to analog output

terminal. And this varibale voltage is keep decreasing and reachign zero at analog input terminal which i want to measure.

There is no error as well. All terminals in OP mode.

For programme, i am using FB which is analog_in and analog_output and variables linked through respective input and output.

Can somebody help me with this ?

Can i have example programme for Twin CAT system ?

Thanks.


Top
   
PostPosted: Mon May 23, 2011 6:59 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 985
VAR
a AT %QW0 :INT;
output :INT:=20000;

END_VAR

program
a:=output

start by login
and run the program
duobleclick on output
change the value and press F7
this is smallest test possible.

see my previous post.
about type of outputs and inputs.
I also use these siemens valves for expansion valve in freezing installations.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
PostPosted: Mon Jun 11, 2018 12:14 pm 
Offline

Joined: Wed May 30, 2018 2:21 pm
Posts: 5
hello. i need help connecting beckhoff plc with codesys.


Top
   
PostPosted: Fri Jun 15, 2018 6:10 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3019
Hi,
what about using an EL6692 to connect both ethercat masters?
Which plc are you using on CODESYS side.

BR
Edwin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited