FlexLogix Analog Scaling Help please!

bobwithdana

Member
Join Date
Dec 2003
Location
california
Posts
239
As a Contrologix programmer I have always Right clicked on the Analog modules in the I/O Tree and scaled them 0-100 and then did programming math to scale the signal depending on Min Max values of the Analog devices.

I have a small project this weekend installing a Flexlogix that has one FlexIO Analog Input and one Analog output. There is no way to scale the module from the Module properties.

Can someone help me with the Code or Bits that need to be set to get this done? Right now as an example I have to [MOV] about 4000 to the analog out to get 20 Millamp.

NOTE: The analog cards are configured for 4-20 Millamps and wired correctly.

Thanks in advance
Bob
 
Now I am confused, I know how to do the programming with a PLC2, PLC3 or PLC5 but this is Flexlogix and I am using Contrologix software. The Module is an 1794-OE4 as discribed above and the manual does not give programming examples for that software family.

Could someone point me in the right direction. Do I move values into the Controller tag configuration or what? Do I scale the Raw Data with Math if so what is the Raw data 4-20Mamp = 0 to 4096? Or am I all wet here?

Thanks Bob Low
 
You will have to do scaling using CPT instruction

Result of CPT will be written to the Local:<slot>:O.ChxData tag

If you configured module for 4-20, then you will write 0 for 4 mA and 30840(=7878hex) for 20mA.

Scaling:
Assuming
RawMax expecting at 20mA
RawMin expecting at 4mA

Formula in your case will be: 30840*(RawData-RawMin)/(RawMax-RawMin)
 
Last edited:
Thank you for the clear answer to my question. After reading this I remember doing this with RSLogix 500 the same way.

Does anyone off hand know what the raw data coming into the PLC would be for the 1794-IE8 I think it is, The 4-20 Millamp Analog input module?

Thanks
Bob
 

Similar Topics

Hi, i've write this AOI to send a ControlValue comes from pid and control a valve. this valve is controlled through analog output. the rang of...
Replies
0
Views
1,024
I'm going to rephrase this question. I have a 1794-L34 controller i need to replace. Is there a better way to do this than to put in a 1769-L30ER...
Replies
6
Views
671
One of our systems runs on a FlexLogix 1794-L34 processor with a 1788-ENBT for plant network access and a 1788-CNC for remote I/O. The current...
Replies
3
Views
1,532
Hi guys i have a flexlogix 5434 with 1788-enbt. On the processor is a sticker with IP 10.24.230.239 but i have no idea if that's correct. I...
Replies
6
Views
2,224
Back
Top Bottom