adccommunitymod (AutomationDirect) asked a question.

Out Bit-of-Word instruction help needed

Created Date: October 15,2010

Created By: robbinsllc

**** 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.****

I am planning on using bits from data words to trigger messages on an operator interface (using the lookup text part), and need just a little bit of help. The DL06 for the project supports the instruction type, and I plan on using bits from v1400 and v1401 to accomplish this. Question #1 - Is there anything special that needs to be done with these 2 v-memory locations in the initial stage or other places in the program, or can I just use the bits from them? (example) If x0 is true, then turn on B1400.0 Question #2 - To make the message display on the screen, why won't it let me reference B1400.0 as it's address to be triggered from? Does it have to be referenced as something else? I 've tried to look at the bit map to see if another address should be used, but didn't see anything..


  • adccommunitymod (AutomationDirect)

    Created Date: October 15,2010

    Created by: JoeW

    1) Theres no setup, you can just use them.

    2) To display a message using a bit of word (In C-More), you select the discrete data type, then select "V " from the drop down menu and it will let you type an address and bit number.

  • adccommunitymod (AutomationDirect)

    Created Date: October 15,2010

    Created by: Do-more PE

    1) Nothing special needs to be done.

    2) The addressing is always done by the word address. In this case it would be V1400.

  • adccommunitymod (AutomationDirect)

    Created Date: October 16,2010

    Created by: franji1

    I believe also that bit of word in c-More is referened using an OCTAL bit number. In DirectSOFT it is a decimal bit number. Hence, the last bit in V1400 is

    B1400.15 in DirectSOFT

    V1400.17 in c-More

  • adccommunitymod (AutomationDirect)

    Created Date: October 18,2010

    Created by: JoeW

    I just checked on mine and it gives me a drop down box to choose 0-15 for the bit.

  • adccommunitymod (AutomationDirect)

    Created Date: October 18,2010

    Created by: franji1

    Good! Forget my comment then. That may only be true when "importing " tags into c-More.

  • adccommunitymod (AutomationDirect)

    Created Date: October 15,2010

    Created by: robbinsllc

    I am planning on using bits from data words to trigger messages on an operator interface (using the lookup text part), and need just a little bit of help. The DL06 for the project supports the instruction type, and I plan on using bits from v1400 and v1401 to accomplish this.

    Question #1 - Is there anything special that needs to be done with these 2 v-memory locations in the initial stage or other places in the program, or can I just use the bits from them? (example) If x0 is true, then turn on B1400.0

    Question #2 - To make the message display on the screen, why won't it let me reference B1400.0 as it's address to be triggered from? Does it have to be referenced as something else? I 've tried to look at the bit map to see if another address should be used, but didn't see anything..

    Expand Post