RSLogix 5000 SQO Instruction

This topic contains 3 replies, has 2 voices, and was last updated by Fred (a.k.a. PLCGuru) Graham Fred (a.k.a. PLCGuru) 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1033
    Chris Niel
    Chris Niel
    Participant
    Karma Points: 11
    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

    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
    Chris Niel
    Chris Niel
    Participant
    Karma Points: 11
    Rank: Padawan

    That was it. Thanks!

    #1041

    Great!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

A problem is only hard until you know how to solve it…then it's trivial!