adccommunitymod (AutomationDirect) asked a question.

How to store analog inputs as constants in direct soft 6?

Created Date: May 13,2015

Created By: HBFChemE

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

Hello, I am using Direct Soft 6 with a DL06 PLC. I purchased the F0-08ADH-2 expansion module to take analog input readings. In the manual, it tells you how to set up the memory locations for this module. My pressure sensor is in the V2000-2001 memory location. The readings from this sensor are always changing due to various pressures within my system. I want to be able to take a pressure reading and store it as a constant for later use. How do I accomplish this? I want the sensor to be able to dynamically update within the program, but at a specific point in the program, I want to take a reading and publish a constant value to another memory location. Any wisdom? - I can't seem to find the answer I want in the user manual. Maybe it is my lack of experience with PLC's.


  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: scott.lawrence

    I want to be able to take a pressure reading and store it as a constant for later use. How do I accomplish this? I want the sensor to be able to dynamically update within the program, but at a specific point in the program, I want to take a reading and publish a constant value to another memory location.

    use whatever you want to control the when , and use either a MOVE or MOVED to copy the register into another register.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: Bob S BN

    use either a MOVE or MOVED

    Is that a DS6 thing? I can't find it in DS5.

  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: bcarlton

    MOV (for moving a group of words) is a standard instruction

    MOVEW (for moving a single word) and MOVED (for moving a double word) are IBox instructions.

    I don't see just 'mOVE ' as an instruction.

  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: HBFChemE

    Thanks for your help. I tried the MOV command and it is moving the value from V2000 into another memory location. I used the V2030 memory location to move the value into. However, upon using the memory editor, both locations are dynamically updating in sync with each other. I want to be able to move the value and hold it constant within that memory location. Is there a way to do that?

    Thanks.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: HBFChemE

    use whatever you want to control the when , and use either a MOVE or MOVED to copy the register into another register.

    Thanks for your help. I tried the MOV command and it is moving the value from V2000 into another memory location. I used the V2030 memory location to move the value into. However, upon using the memory editor, both locations are dynamically updating in sync with each other. I want to be able to move the value and hold it constant within that memory location. Is there a way to do that?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: scott.lawrence

    yeah, the MOVE instruction is native in Do-More, sorry...

    you will probably need a positive differential to control the when , like I stated before. If the instructions on the rung are on, then the values will constantly update.

    you could try something like this....

    http://i.imgur.com/3t04oLo.png

    note: I added a few different instructions & I-Boxes for a better explanation

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: HBFChemE

    Thanks for your help. It works! Appreciate it, I have not taken advantage of the positive differential contacts.

  • adccommunitymod (AutomationDirect)

    Created Date: May 13,2015

    Created by: HBFChemE

    Hello,

    I am using Direct Soft 6 with a DL06 PLC. I purchased the F0-08ADH-2 expansion module to take analog input readings. In the manual, it tells you how to set up the memory locations for this module. My pressure sensor is in the V2000-2001 memory location. The readings from this sensor are always changing due to various pressures within my system. I want to be able to take a pressure reading and store it as a constant for later use. How do I accomplish this? I want the sensor to be able to dynamically update within the program, but at a specific point in the program, I want to take a reading and publish a constant value to another memory location.

    Any wisdom? - I can't seem to find the answer I want in the user manual. Maybe it is my lack of experience with PLC's.

    Expand Post