Search the Community

Showing results for tags 'SCL finction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. I normally do not scale things in PLCs and just use the raw analogue input numbers - usually there is a meter on the touch screen and scaling is done there. On this project I have to scale an input and show numbers on the screen and cannot get the scaling function to give me the right numbers - the meter is working correctly as per my method above. The analogue input is from a chemical dosing unit and 4-20ma represents a PH reading of 4-9. I have set up SCL with #190 (400) in the first register, #0000 in the seond register, #384 (900) in the third register and #FA0 (4000) in the fourth register. I think that is right but it is giving me a higher number than it should. changing the word type on the screen from UINT to BCD2 cofuses the issue even more. For example, with a binary value on the analogue input of 2230 I get a scaled result of 771 where it should be about 692. Any assistance appreciated.