adccommunitymod (AutomationDirect) asked a question.

Movebit bug?

Created Date: August 14,2018

Created By: stgislander

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

The MOVEBIT Instruction Help says that the Source parameter can be a constant value of 0 or 1 or any readable bit location. Every time I try to enter a 0 or 1 into the Source parameter field, the system rejects it. Is this a bug?


  • adccommunitymod (AutomationDirect)

    Created Date: August 14,2018

    Created by: stgislander

    The MOVEBIT Instruction Help says that the Source parameter can be a constant value of 0 or 1 or any readable bit location. Every time I try to enter a 0 or 1 into the Source parameter field, the system rejects it.

    Is this a bug?

  • adccommunitymod (AutomationDirect)

    Created Date: August 14,2018

    Created by: RogerR

    I believe the MOVEBIT instruction requires a bit location to be the source.

    The Move instruction can use a value or constant and not a bit.

  • adccommunitymod (AutomationDirect)

    Created Date: August 14,2018

    Created by: BobO

    I didn't even know we had a MOVEBIT, but that does sound mis-documented.

    I would probably use INIT.

  • adccommunitymod (AutomationDirect)

    Created Date: August 14,2018

    Created by: MikeN

    as a "workaround " for just needing an always on or always off source for a bit move, you can use ST1 and ST2 as the source which is a system tag for always on and always off. So same thing as writing a 1 or 0 to the source location.

  • adccommunitymod (AutomationDirect)

    Created Date: August 14,2018

    Created by: franji1

    COPY is the "goto " instruction for this stuff. It can do 99% of what you need to do.

    1. It's a table, so you have a nice compact form for initializing or just transferring data values

    2. It supports bits, numerics, and/or strings

    3. It supports ranges of bits/numerics/strings

    4. It supports constants

    5. It's a floor wax

    6. It's a dessert topping

    Here's the list of all the things it can do:

    { "data-align ": "none ", "data-size ": "full ", "title ": "COPY_Operations.jpg ", "data-attachmentid ":117129}

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 15,2018

    Created by: stgislander

    Thanks everyone. I 've been using MOVE but I will look at the other instructions as well.