RSLogix 5000 SQO Instruction

This topic contains 3 replies, has 2 voices, and was last updated by Fred Graham PLC Guru 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1033
    Chris Niel
    Chris Niel
    Participant

    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
    Fred Graham
    PLC Guru
    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
    Chris Niel
    Chris Niel
    Participant

    That was it. Thanks!

    #1041
    Fred Graham
    PLC Guru
    Keymaster

    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!