Announcement

Collapse
No announcement yet.

Rading analog values

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rading analog values

    Hello.

    Is possible with the ADIOcelot plugin to populate a virtual device with a Secu16's input analog value?

  • #2
    I think that is does that if the ocelot is configured as analog input rather than supervised discrete input. This is from memory. Others may be closer to it and give a better answer.

    Comment


    • #3
      Probably the simplest way is to use some Cmax code in the Ocelot to move the analog value into an Ocelot variable. Then within HS you can reference the variable to get the value.

      The code in cmax would look something like this
      0555 - IF Module #1 -SECU16 Analog #0 is < 256
      0556 - THEN Load Data to: Variable #97
      0557 - IF Module #1 -SECU16 Analog #1 is < 256
      0558 - THEN Load Data to: Variable #98

      jim

      Comment


      • #4
        Jim, this is a good subject to add to the manual. I think it has come up before. I did post my last review in the same thread that Paul last posted.

        Comment

        Working...
        X