Different values written to PID PDFile (AB Micrologix)

gripster

Member
Join Date
Dec 2010
Location
Londinium
Posts
40
Hi All,

I am trying to write the P,I and D values to the PD FILE in a Micrologix ML1400 from a PanelView C600, I am using the values input from the HMI to a Float file then a MOVE instruction to move to the PD File but am getting some strange results. KC value is being shifted by a decimal point, as is the Ti but the Td is shifted and rounded? Any pointers appreciated.

Thanks in anticipation
(and yes I will error check the values once I can get this bit working!)
 
I may have been premature in telling you to set the "RG" bit. It may just move the decimal over another place again. You will probably have to move the decimal over (X10) in the PLC after it's written by the HMI. Then move it to the PID's registers.

The PID instruction applies a multiplier to the gain settings .1 with RG clear .01 with RG set. So if you want 25.5 kc then write 255 to the PID's kc register with RG cleared.

Sorry for the confusion.
 
Last edited:
Thanks for the response, I tried it but sorted it by using a maths MUL instruction, now trying to figure out how I can take a Float set point and use it in the PID block.............
 

Similar Topics

Hello, I'm presently on a short changeover 'Canadian Thanksgiving' startup that uses some older 'serial' devices. One of the devices is a Scanmeg...
Replies
4
Views
1,523
Hi! Small question. I have a customer currently that is reporting an issue of 2 different panelviews running the same application connecting to...
Replies
6
Views
2,300
In many ways, I'm still stuck in Logix 500 mindset. I'm just trying to think out of my box, and you guys are the best source for different ideas...
Replies
20
Views
5,420
Hello, I'm using AB Control Logix 5580 with rslogix 5000. I have one transmitter, that is wired to 2 AI modules (both on channel 3), just for...
Replies
38
Views
9,742
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
90
Back
Top Bottom