RSLogix 5000 SQO Instruction

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by PLCGuruPLCGuru.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1033
    Anonymous
      Karma: 0
      Rank: Padawan

      Hi, I’m struggling with a problem around an SQO instruction. I’m not sure what is going on but I’m NOT always getting the correct output into my destination word? I have an array of DINT setup that moves the values into a destination word when a switch activates. Any ideas? Thanks.

      #1034
      PLCGuruPLCGuru
      Keymaster

        Hi Chris and welcome back!

        Have you checked to make sure your SQO instruction is not exceeding the amount of elements in the source array?

        Check out my example image, since there is no position 10 in the sqo_test_source tag the data in the sqo_test_dest tag reads (2075180). This is basically garbage data. Care should be taken when setting up an SQO Instruction position, not to exceed the amount of elements in a Source array.

        Attachments:
        You must be logged in to view attached files.
        #1038
        Anonymous
          Karma: 0
          Rank: Padawan

          That was it. Thanks!

          #1041
          PLCGuruPLCGuru
          Keymaster

            Great!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.