Mathematical Integration on ABCLX

gibbom

Lifetime Supporting Member
Join Date
Sep 2015
Location
Perth
Posts
24
Hi,

I'm using ABCLX and wondered if there is a simple instruction via RSLogix5000 to perform an integration of an analogue signal by providing the analogue variable and a "sample" rate for the integration dt (change in time)?

Any direction would be great - I don't really want to create a new AOI to perform this function, merely looking for an embedded and thoroughly tested instruction.
 
Thanks for your comments, however telling me that it's easy doesn't really help me at all.
 
Thanks for your comments, however telling me that it's easy doesn't really help me at all.
You can just give up or
put a strain on your brain and learn something new.
The world is full of people that have gave up and quit learning, be different, be better, be special.

What are you going to do if there is no integrate function in the PLC? Give up?
 
Spoiler alert Peter
This gives a close approximation of the integral
new_out = last_out + (analog_in * gain * dt)
 
You can put in compare limits to avoid windup and set values to zero to reset. Down and dirty but gets the job done. The higher the resolution of the instruction call the closer the approximation.
I found all this on google with a quick search. I learned something today. Thanks Peter!
 

Similar Topics

I am having a problem fully understanding the mathematical instructions in PLC. why must there is a Clear Carry(CLC) when performing mathematical...
Replies
2
Views
2,139
I want to program an Exor HMI using a Rockwell controller. However, when exporting the tag list from the controller and importing it into JMobile...
Replies
0
Views
92
Hi all, I have a noob question regarding data handling from sensors. I understand configurations and I/O mapping sensor input/output variables...
Replies
2
Views
195
Hi Guys, I'm trying to integrate Pilz Ethernet IP Module to ControlLogix. I added Pilz module as a Generic Ethernet module and I'm able to...
Replies
2
Views
472
Hello all, I am looking for advice as I set myself for this new career path. I need advice on a couple of things. What sort of tooling will I...
Replies
9
Views
599
Back
Top Bottom