regarding scaling issues ...
sorry, Peter, I guess I should have been more specific ... but the answer to your “what the heck cards are these?” question can be found under the Configure I/O feature ... there is a 1746-NI4 analog input module in slot 7 ... and a 1746-NO4I analog output module in slot 8 ...
[attachment]
using the 1746-NI4 input module ...
0 degrees temperature = 4 mA current = 3277 data
500 degrees temperature = 20 mA current = 16384 data (not a typo)
using the 1746-NO4I output module ...
6242 data = 4 mA current = 0% drive to the heater
31208 data = 20 mA current = 100% drive to the heater
if you need any more specific information (for example: where on earth did AB come up with these wacky scaling numbers?), then this might come in handy ...
SLC-500 4-Channel Analog I/O Modules User Manual
as you are already aware, the PID instruction for an SLC or a MicroLogix 1500 system MUST have its PV (input) and CV (output) signals scaled from 0 to 16383 (not a typo) ...
you said:
I notice that your set point is 3277 counts. I assume this corresponds to 100 degree. I assume that the AtoD board returns
5898 counts when the temperature is 100 degrees.
(3277 / 16383) * 500 = 100 degrees (your assumption is correct) ...
(100 / 500) * (16384 – 3277) + 3277 = 5898 (your assumption is correct) ...
sorry for all of the confusion ... but this is “par for the course” on most PID applications on an SLC platform ... the MicroLogix 1500 analog modules usually provide a “scaled for PID” setting which eliminates most of this hoop-jumping ... specifically, the input module can be configured to automatically provide a 0 to 16383 PV signal ... and the output module can be configured to automatically use a 0 to 16383 CV signal ...
finally, I'll try to dig through the RG issues you've raised sometime this weekend ... in the meantime ... as stated in my post #20:
so my present position is that turning the RG bit ON does NOT alter the operation of the PID ... all it does is allow us one more decimal point of resolution when we enter the Kc and Ti settings ... and so (even in SPITE of the evidence offered above) I still maintain that:
Kc=41.00 Ti=2.70 Td=0.63 with the RG bit turned ON ...
will give exactly the same results as:
Kc=41.0 Ti=2.7 Td=0.63 with the RG bit turned OFF ...
I still haven't changed my position ... and I proved (at least to my personal satisfaction) my position to be correct in my post #32 ...
I'm still not sure why you're having such radical results with the RG bit ... basically you should just set it and forget it ... specifically, if you have (for example) "good" response with the RG bit OFF using the settings Kc = 1.2; Ti = 2.3; Td = 0.34 ... then you should get the same "good" response with the RG bit ON using the settings Kc = 1.20; Ti = 2.30; Td = 0.34 ... specifically, you should NOT have to alter either the Kc setting or the Ti setting by a factor of 10 ...
see you soon ...