Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30

Thread: Trying to use 0-10v

  1. #26
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    Quote Originally Posted by NubNub View Post
    What I don't get is how often the SET command gets executed. I know the code works top to bottom. Does this mean the ramp code keeps getting looked at because I only want it to ramp up once and only happen again when the pump is slowed down again.
    The statements in an output program are not executed sequentially; they are evaluated from top to bottom and the outcome of that evaluation process determines the state of the output. In a nutshell, the last TRUE statement determines the state of the output. If a ramp has already been started, it will continue unless something else in the programming causes a change.
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  2. #27
    New User
    Join Date
    Nov 2017
    Location
    UK
    Posts
    8
    So in the above example:-

    Set Ramp020100

    If FeedA 000 Then 14

    If FeedB 000 Then 14

    If FeedC 000 Then 14

    If FeedD 000 Then OFF


    The SET command would only be executed again when there was a change in the state of the FeedA B C or D from true to false.

    Could you give a example of the ramp code. I want my return pump to go from 50% back to 70%, at the moment I have it running at 70% all the time with the following code in the base_var1 output.

    Fallback OFF
    tdata 00:00:00,0,0,79,0,0,0,0,0,0,0,0,0,0

    Sent from my SM-T555 using Tapatalk

  3. #28
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    If you want a ramp up/slow start you cannot use the scheduler wizard. You must use a profile of type Ramp as you posted with your Set Ramp####.

    Configure that Ramp profile to have the desired Start and End Intensities and Ramp time.
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  4. #29
    New User
    Join Date
    Nov 2017
    Location
    UK
    Posts
    8
    Hello

    Ok make sense now did not know about the profile types. Thanks for sticking with it.

    Paul

    Sent from my SM-T555 using Tapatalk

  5. #30
    Frequent Visitor rkpetersen's Avatar
    Join Date
    Jun 2017
    Location
    Near Seattle
    Posts
    940
    Quote Originally Posted by NubNub View Post
    Hello

    This comes after the chat has moved on a bit but could you show you ramp code. I am a little unsure how this would work and is the way I would like to go. What I don't get is how often the SET command gets executed. I know the code works top to bottom. Does this mean the ramp code keeps getting looked at because I only want it to ramp up once and only happen again when the pump is slowed down again.

    Paul

    Sent from my SM-T555 using Tapatalk
    Sorry I haven't replied sooner.

    Set is executed only after one of the feeds ends.
    So it ramps once up to the top percentage and stays there.

    Here's the profile:

    Clipboard01e.jpg

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Programming a 0-10v outlet
    By Behold81 in forum Misc Apex Usage & Programming
    Replies: 0
    Last Post: 11-11-2019, 14:02
  2. Why no 0-10V on the EL?
    By gus6464 in forum A2 Apex/ApexEL and A3 Apex Pro/Apex/Apex Jr
    Replies: 3
    Last Post: 08-13-2018, 09:47
  3. Question: 0-10v to PWM
    By john30 in forum DIY
    Replies: 3
    Last Post: 04-15-2018, 22:35
  4. Question: 0-10V interface with Arduino
    By aquafrogstuff in forum DIY
    Replies: 3
    Last Post: 07-21-2016, 04:55
  5. 0-10v ports
    By bluewater in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 5
    Last Post: 04-30-2013, 06:15

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •