Studio/Logix5000

AustralIan

Member
Join Date
Jan 2013
Location
Leipzig, Germany
Posts
1,368
Anyway to setup the standard PID / PIDE / LEADLAG blocks to be event based rather than time based? I have tried gain scheduling, but I find this changes too quickly for me.

I am considering just writing my own.
 
I cannot comment on LEAD/LAG, but the PID instructions MOST DEFINITELY need to be executed at a periodic rate.

The calculations within the PIDs are based on elapsed real-time, and you will throw them into disarray if you do not execute the instructions on a repetitive, fixed, time-base. And you need to tell the instruction what that time-base is, by writing to the .UPD parameter in the PID tag.
 
You need to ask a specific question about a specific application.
PID/PIDE/Lead-Lag are ALL time-dependent functions. Remove the time element, and what do you have?

What do you expect with "Event" based calculations?
 
I have a conveyer with an encoder.

I would like to do
OP = KP * E + KI * SUM (E dx) + KD * dE/dx
Where x is in meters
Rather than
OP = KP * E + KI * SUM (E dt) + KD * dE/dt

My dead time is 5meters and my lag is 15meters
I have linearised my output so that the steady state process gain is constant.

I think you are right, and my best bet is to write my own, rather than trying to shoehorn my crazy idea into a time dependent set of functions.
 

Similar Topics

i have been tasked with setting up a new machine with the following versions already installed so far. RS Logix5000 V17 & V18 Studio 5000 V28...
Replies
2
Views
1,525
Hey everyone. I have a project coming up where some Logix 5000 version 16 programs are getting jammed into new processors that will be Studio 5000...
Replies
3
Views
8,193
Hey everyone, Ran into a problem recently with Studio/Logix regarding Windows 10. According to my update history, I updated to version 1709 of...
Replies
15
Views
9,325
I tried the trick of offline browsing by setting up a SerialDF1 connection, but I'm using Eth/IP for communications and the tags aren't working...
Replies
4
Views
2,793
Hello, Can anyone tell me how to import the tags from my logix5000 project for use over into a factorytalk studio me program? I cant seem to...
Replies
16
Views
43,516
Back
Top Bottom