MicroLogix 1100 PID Implementation

I'm working with a MicroLogix 1100 Series B and trying to set up a PID instruction in a test program (not for production).
1755623632686.png

According to the manual, this model does supports PID, but I keep getting an error that suggests otherwise. I believe I’ve configured it correctly, but I might be missing something obvious.

1755623579267.png

The error message also mentions a wrong data type, even though the manual indicates that I can use integer types for both the Process Variable (PV) and Control Variable (CV).

1755623724190.png
1755623741843.png

Could you help me figure out what I might be doing wrong or point me in the right direction? Thank you for your time
 
are you using RSemulate 500 to emulate the MicroLogix 1100?

I know it is not available in that environment, but I have used it on an actual MicroLogix 1100.
 
I was able to resolve the issue by reviewing the PID example from Rockwell. It turns out I had used the wrong PID instruction. After switching to the correct one, the error disappeared.

Note: The correct PID instruction does not include a Control Block Length. I'm not entirely sure why this is the case—perhaps someone with more experience can explain—but my original issue has been resolved.

1755625216568.png
 
The Micrologix has a special data structure of type PD for PID instructions. The SLC just uses a chunk of integers of your choosing. Did you start with or copy from a SLC program? If so, that might explain why the software was confused.
 
Iirc the integer CV output of that PID (N7:19 in your case) has a range of 0 at 0% to 16383 at 100%. The CV hi and low parameters are for limiting (clamping) the output to some percentage of that range.

I mention it because the image you posted scales that CV output parameter over an input range of 0 to 100, and it may be that you actually want it to scale it over an input range of 0 to 16383.
 
Iirc the integer CV output of that PID (N7:19 in your case) has a range of 0 at 0% to 16383 at 100%. The CV hi and low parameters are for limiting (clamping) the output to some percentage of that range.

I mention it because the image you posted scales that CV output parameter over an input range of 0 to 100, and it may be that you actually want it to scale it over an input range of 0 to 16383.
Thank you so much for pointing that out! I was able to get the PID instruction working, and that turned out to be the missing piece. I also tried using the RSLogix 500 Emulator but based on my experience and what I found in the manual, it doesn’t seem to support PID functionality.

1755640472246.png
 
Thank you so much for pointing that out! I was able to get the PID instruction working, and that turned out to be the missing piece. I also tried using the RSLogix 500 Emulator but based on my experience and what I found in the manual, it doesn’t seem to support PID functionality.
Just part of the service :ROFLMAO:

of course the reason I noticed that was because I made the same mistake ;).

just pay it forward if you get the chance.
 

Similar Topics

Hey guys, After spending most of a day Googling looking for the answer, I finally decided to make a thread and ask the experts. I'm trying to...
5
Replies
4,748
Views
Hello all, I don't get the chance to use the Micrologix much anymore and have a question about PID output limiting. I am limiting in the PID, the...
5
Replies
3,328
Views
Hello guys. I'm from Brazil... So sorry there is an error. I'm begineer here and in CLP programation. I'm trying to control the temperature with...
2
Replies
3,489
Views
I have set up a modbus network with micrologix 1100plc and Schneider panel meter 2100.I need to covert a 32 but float register (2700 in pm2100) of...
2
Replies
430
Views
Hi all, For starters, I am very new to PLC programming. I am using a MicroLogix 1100 Series B to control a part inspection system and programming...
27
Replies
2,359
Views
Top