AGENTTINFOIL
Member
I am trying to write some code for an 06 processor for an analog signal 0-20 mA. I am using a F0-4ad2da-1 analog card and so far I think I have the code figured out but the math I just am not comprehending, so I guess it is safe to say the scaling is kicking the **** out of me. I have a Hygrometer that is detecting moisture in the plant air line and I am using a analog out from this device that is already scaled. I want to use channel 1 input on the analog card to recieve this already scaled signal from the Hygrometer. I want to use this data to set a comparison bit when the signal hits 20 mA. eventually we want to be able to graph the activity on this Hygrometer to track the history, but for right now I just need to get this thing working. I can post the code that I have so far if some one would like to see it, and maybe someone could walk me through the steps.