sparkytex
Lifetime Supporting Member
I'm trying to do some scaling for my PID output that I had just programmed and am having issues getting the analog output card (1771-NOC/A) to accept edits. The scaling was set for 4000 (4mA out) and 20000 (20mA out) for raw data. Since the PLC-5 PID instruction will only send out 4095 for its max output this will only give it our valve 4 mA at a command of 100% from wonderware. I attached a screen shot of what I'm talking about as well as the program itself.
as you can see in the screen shot I've changed the scaling from 4000-20000 to 0-4095 and with a 100% signal from wonderware I'm getting 4095 to the output and 20mA is said to be written out to the valve. I'm only getting 4mA out of the card which means its still stuck with its old scaling. I also changed the scaling back to 4000-20000 and send 4/12/16/20 mA's out and I could read every value correctly. But as soon as I go to 0-4095 I can only put out a max of 4mA and when the signal from wonderware is at 0% I get 0mA out of the card.
I pressed enable edits and accepted the edits I made and downloaded them to the processor but still no change. Can some one please shed some light on what I'm obviously doing wrong.
thanks.
as you can see in the screen shot I've changed the scaling from 4000-20000 to 0-4095 and with a 100% signal from wonderware I'm getting 4095 to the output and 20mA is said to be written out to the valve. I'm only getting 4mA out of the card which means its still stuck with its old scaling. I also changed the scaling back to 4000-20000 and send 4/12/16/20 mA's out and I could read every value correctly. But as soon as I go to 0-4095 I can only put out a max of 4mA and when the signal from wonderware is at 0% I get 0mA out of the card.
I pressed enable edits and accepted the edits I made and downloaded them to the processor but still no change. Can some one please shed some light on what I'm obviously doing wrong.
thanks.