[SIEMENS] SIMATIC S7-300 FB41 PID bloc issue.

intertarik

Member
Join Date
Jun 2015
Location
agadir
Posts
4
hello,
I'm new in automatics, and i'm working on a speed control project for a hydraulic turbine.

i'm using FB41 pid bloc, but the LMN give me 0 to 100 input.
the SP is 1000 RPM and the PV is calculated from an inductif sensor.

how can i get bipolar LMN -100% ... +100%
if the speed >1000 rpm, then LMN give négative value to reduce the speed.
and if speed < 1000 rpm, the LMN give ^positive value to increase the speed.

thx a lot
 
Last edited:
Hey,

Try this:

Set the follwing parameters on the FB41 pins or inside the instance DB:

LMN_HLM: 100.0
LMN_LLM= -100.0

Kind regards,
C
 
Thanks

thanks a lot that's exactly what i need
one more question...
I have this little network:
capture_by_tngraphic-d8x5j42.jpg

and i want to execute it one time

exemple:
when md10<950 E0.0=1
when md10>950 E0.0 = 0

and even if md10<950 again, E0.0 = 0

i hope you understand.
 
thanks a lot that's exactly what i need
one more question...
I have this little network:
capture_by_tngraphic-d8x5j42.jpg

and i want to execute it one time

exemple:
when md10<950 E0.0=1
when md10>950 E0.0 = 0

and even if md10<950 again, E0.0 = 0

i hope you understand.

You describe a very simple problem here.
Set an M-bit to remember that the MD10 > 9.5e2 and use that M in your logic.

AND! to manipulate an input (E0.0) like this is normally considered bad practice.

Kalle
 

Similar Topics

Hi to all, Our company does not usually use Siemens PLCs, but have a press with one in it. We are trying to change the IP address in our Simatic...
Replies
2
Views
1,070
Hello all, Newbie in Siemens, I want to ask if there will be any issue when I download the instance datablock of a certain Function block? Also...
Replies
6
Views
4,419
Hi guys, Tomorrow I'm heading down to take a look at an existing SCADA system that has failed, and I was wondering if anyone had some suggestions...
Replies
18
Views
12,829
Hi Guys, I am facing a problem with my Siemens Simatic S7-300,CPU 315-2 DP( 6ES7315-2AF03-0AB0 ).That is in the morning i dont know why but it...
Replies
3
Views
3,354
Could anyone please tell me why i am getting 'illegal command' message whenever i tried to download to the PLC and i can not download to the PLC...
Replies
1
Views
1,297
Back
Top Bottom