Announcement

Collapse
No announcement yet.

How to monitor output module?

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


  • How to monitor output module?

    What is the best way to monitor all outputs of an output module? I need to know when all outputs are off on a given module. I really don't want to have to enter all of them as N.C. contacts, I am hoping maybe having a word or double word of all points of a output module and compare that to 0?? This was pretty easy with the DL205 stuff and Do-More but no seeing it in the P-Series.
    P2-550


  • #2
    Use Pack Bits Instruction or Select Summation.
    Attached Files

    Comment



    • #3
      Thanks that's what I was looking for.

      Comment



      • #4
        Use the Pack Bits instruction.
        Output to a numeric tag
        Input boolean tags to each bit number.

        Compare the output numeric tag to zero to see if any are on.

        Comment



        • #5
          Since PAC does not allow iteration through I/O, I will(depending on project) map all Ins and all Outs to bool arrays.
          This way, I can iterate through In/Out (as bool arrays)
          If you do this, you can use ArrayStatistics (STA) to SUM the bits in the In/Out array(s)

          Comment

          Working...
          X