Pular para o conteúdo principal

Analog input flexy card FX3402 4-20ma

Comentários

5 comentários

  • Tim Beaulieu

    Hello,

    If I think if you want a scale from 4-20 instead 0-20, you should be able to do an offset of 4 with a scale of 4,095.9375 (65535/16)

    -TIm

    0
  • duy27trong

    i see . 0- 0, 20ma - 65535 .is this mean : 4ma -> 4*20/65535 = 0.001221

    temperature sensor : 4-20ma : 0- 100 oC:
    "> 0"> 0.001221
    ">100">65535.

    my understanding is right ?

    0
  • Tim Beaulieu

    if I understand right, do you mean that 4ma = 0 degrees celsius and that 20ma = 100 degrees celsius, I think that should be correct

    0
  • duy27trong

    yes. the sensor return : 4ma - 0oC , 20 ma - 100oC.IS this mean
    we will scale in flexy : 4ma --> 0.001221
    20ma -->65535

    is this right?

    0
  • Tim Beaulieu

    We should be able to follow this example:

    image

    But I believe we'll set the following:
    Y1 = 0
    Y2 = 100
    X1 = 1/5(65535) = 13107
    X2 = 65535

    a = (100 - 0) / (65535-13107) = 0.001907377
    b = (100 * 13107) - (0 * 65535) / (13107-65535) = -25

    so y = 0.001907377x - 25

    0

Por favor, entrar para comentar.