RSLogix 500 Emulate PID Problem

Bwengis

Member
Join Date
Jan 2014
Location
uk
Posts
2
Greetings,

I am currently trying to program a basic temperature loop for a Allen Bradley Micrologix 1000 plc.

I have installed :

RSLogix Micro Starter Light
RSLinx Classic light
RSLogix Emulate500

All programs are running and I have programmed a simple start stop rung to prove they system is working, which it is.

I have also trialled an SCP block, which is also working.

My problem comes when trying to use a PID Block.

My block is set-up as follows:

PID FILE = PD10
Process Variable = I:1.0
Control Variable = N11:0

I cannot get the PID block to change state to "Enable" so "EN" flag =1

I have a feeling it is something to do with the emulator software and the debugging report that the emulate software uses.

Does anyone have any ideas on how I might get the emulator to work with the PID block??

I have attached a screenshot showing the program, rung, I/O, EMU & Linx

Any help greatly appreciated.

Thanks


Bwengis

Capture.jpg
 
A ML1000 does not support the PID instruction. ??? What processor do you have configured?

RSLogix Emulate 500 does not support the PID instruction. See PDF.
 
Last edited:
Thanks for your help Mickey, That'll be why it ain't working :)

I was using a Micrologix1100A processor.

I am trying to creat a PLC program for my group project for a Mechatronics degree in my lunchtime at work. Do you knoe of any way of testing a PLC program without having the actual PLC connected?? or was this my only chance?

Thanks again for taking the time to respond, I will stop the hours of trying to fault find my program now.

Bwengis
 
Do you knoe of any way of testing a PLC program without having the actual PLC connected??

That's what RSLogix Emulate 500 is for with its limitation of course.

You could try rolling your own PID. Compare set-point to process, if error is positive ramp a value up, if error is negative ramp a value down. Limit the value to 0-100. Very crude but can work.

Maybe the math gurus will check in and provide a more workable formula.
 
Thanks again for taking the time to respond, I will stop the hours of trying to fault find my program now.
In your earlier program, your PID would not have controlled analog Output O:0.0. You put O:0.0 in parallel with the PID block! Instead of that the PID Control Variable Output (CV) N11:4 must be sent (copied or moved) to your analog output. First the PID CV may need to be scaled (using the SCP instrution) to the correct range for the specific analog output.

Read the chapter 19 on PIDs in the "Instruction Set Reference Manual for MicroLogix 1100"
 
Last edited:

Similar Topics

Been a long time since using AB. Looking to emulate a Micrologix 1400 job before the hardware is available. Is there still an emulator available...
Replies
3
Views
1,959
HI, is it possible to emulate a modbus program (RTU) with Allen bradley Rslogix Emulate 500? I tried, as master and slave, with a serial cable...
Replies
1
Views
1,137
I am using Wonderware Indusoft with RSlogix Emulate 500 on my laptop. When I run Indusfot, my data are not population on HMI screen, and I get...
Replies
0
Views
970
Hi, I've often come here for tips on solving many, many PLC related issues! I'm really grateful. I'm currently trying to use RSLogix Emulate 500...
Replies
5
Views
4,560
I have followed instructions for installing RsLinx RsLogix Emulate 500 RsLogix Micro English I have added the driver "EMU500 SLC 500 (DH485)"...
Replies
4
Views
8,819
Back
Top Bottom