Results 1 to 18 of 18

Thread: Please review my program for Auto Feeder

  1. #1
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59

    Question Please review my program for Auto Feeder

    Hi guys.

    Can you please review my program for my Auto Feeder?

    Goal:
    • Feed once a day at 12pm
    • Rotate drum twice
    • Stop MP60
    • Set FeedC for triggering it manually


    Create Virtual Output called vFeed. Program:
    Code:
    Set OFFOSC 000:00/000:30/000:30 Then ON
    If Time 00:00 to 12:00 Then OFF
    If Time 12:03 to 00:00 Then OFF
    If FeedC 000 Then ON
    AFS. Change to advanced. Program:
    Code:
    Set OFFIf Output vFeed = ON Then ON
    Defer 001:00 Then ON
    MP60 Program at the end:
    Code:
    If FeedC 000 Then OFF
    If Output vFeed = ON Then OFF

  2. #2
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    159
    That will create a 4 minute window from 12:00 to 12:04 in which the OSC is allowed to operate. So the vFeed outlet will cycle ON for 30 seconds and OFF for 30 seconds. However, your Defer in the AFS outlet will buffer that out since vFeed would have to remain ON for at least 1 minute before it activates.

    **Corrected the timing **

  3. #3
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    Quote Originally Posted by Todd View Post
    That will create a two minute window from 12:01 to 12:03 in which the OSC is allowed to operate. So the vFeed outlet will cycle ON for 30 seconds and OFF for 30 seconds. However, your Defer in the AFS outlet will buffer that out since vFeed would have to remain ON for at least 1 minute before it activates.
    Yeah, I think I programmed it wrong.

    Updated vFeed with the following:
    Code:
    Set OFF
    If Time 12:00 to 12:03 Then ON
    If FeedC 000 Then ON
    Left everything the same. Better?
    Last edited by Fringe09; 3 Weeks Ago at 07:18. Reason: Need a line break

  4. #4
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    159
    I don't have an AFS, so I don't know how you rotate the drum twice, but otherwise that looks correct. So, that will create a 4 minute window that vFeed is ON. The MP60 will turn OFF first and stay OFF for the entire 4 minutes. Then a minute later the AFS will turn ON and stay ON for the remaining time.

    ** Corrected the timing **

  5. #5
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    The documentation states:

    2 minutes for a single rotation, 3 minutes for 2rotations, 4 minutes for 3 rotations, etc
    What is triggering the pump to start again?

  6. #6
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    159
    You had implied that the MP60 code was abbreviated to just the last bit of relevant code, so I assumed you had other logic ahead of it. At the very least you would need a Set ON. Also, I was wrong about the timing. With If Time 12:00 to 12:03 you will actually get a 4 minute window. It will start at 12:00 and end at 12:04.

  7. #7
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    Quote Originally Posted by Todd View Post
    You had implied that the MP60 code was abbreviated to just the last bit of relevant code, so I assumed you had other logic ahead of it. At the very least you would need a Set ON. Also, I was wrong about the timing. With If Time 12:00 to 12:03 you will actually get a 4 minute window. It will start at 12:00 and end at 12:04.
    FeedA and FeedB do work with the MP60s as it turns back on automatically. Here is the whole program:

    Code:
    Fallback OFF
    tdata 00:02:00,0,0,11,2,0,0,0,0,0,0,0,0,0
    tdata 01:42:00,0,0,15,2,0,0,0,0,0,0,0,0,0
    tdata 04:58:00,0,0,27,7,0,0,0,0,0,0,0,0,0
    tdata 05:48:00,0,0,11,1,0,0,0,0,0,0,0,0,0
    tdata 07:16:00,0,0,45,8,0,0,0,0,0,0,0,0,0
    tdata 08:36:00,0,0,15,1,0,0,0,0,0,0,0,0,0
    tdata 09:23:00,0,0,48,1,0,0,0,0,0,0,0,0,0
    tdata 11:03:00,0,0,16,8,0,0,0,0,0,0,0,0,0
    tdata 12:06:00,0,0,54,2,0,0,0,0,0,0,0,0,0
    tdata 12:54:00,0,0,21,2,0,0,0,0,0,0,0,0,0
    tdata 13:21:00,0,0,19,2,0,0,0,0,0,0,0,0,0
    tdata 14:40:00,0,0,59,1,0,0,0,0,0,0,0,0,0
    tdata 15:42:00,0,0,17,8,0,0,0,0,0,0,0,0,0
    tdata 17:02:00,0,0,61,1,0,0,0,0,0,0,0,0,0
    tdata 18:22:00,0,0,18,11,2,0,0,0,0,0,0,0,0
    tdata 19:38:00,0,0,54,1,0,0,0,0,0,0,0,0,0
    tdata 20:42:00,0,0,13,2,0,0,0,0,0,0,0,0,0
    tdata 23:59:00,0,0,13,2,0,0,0,0,0,0,0,0,0
    If FeedA 000 Then OFF
    If FeedB 000 Then OFF
    If FeedC 000 Then OFF
    If Output vFeed = ON Then OFF

  8. #8
    Apex User zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    7,067
    You want this.

    vFeed
    Set OFF
    If Time 12:00 to 12:01 Then ON

    AFS
    OSC 000:00/000:30/000:30 Then ON
    If Outlet vFeed = OFF Then OFF
    If FeedC 000 Then ON

    MP60
    (Existing code)
    If Outlet vFeed = ON Then OFF

    You might be an engineer if...You have no life and can prove it mathematically.

  9. #9
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    Much different than what I have. I sent over my program to Support and they said it looked good. Is your program yet a second way of doing it or is something wrong with mine?

    To recap:

    • Feed once a day at 12pm
    • Rotate drum twice
    • Stop MP60
    • Set FeedC for triggering it manually


    vFeed (Virtual):
    Code:
    Set OFF
    If Time 12:00 to 12:03 Then ON
    If FeedC 000 Then ON
    AFS:
    Code:
    Set OFF
    If Output vFeed = ON Then ON
    Defer 001:00 Then ON
    MP60:
    Code:
    If Output vFeed = ON Then OFF

  10. #10
    Apex User zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    7,067
    Your program would work for 1 drum rotation. The adjustments I made were to make it do 2 drum rotations. FeedC still does 1 though. If you want 2 rotations on that as well there are further changes required.

    You might be an engineer if...You have no life and can prove it mathematically.

  11. #11
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    The three minutes should make it rotate twice. Going to try both programs when I get home. Yes, FeedC will still be single rotation.

    2 minutes for a single rotation, 3 minutes for 2 rotations, 4 minutes for 3 rotations, etc
    https://www.neptunesystems.com/downl...AFS_manual.pdf

  12. #12
    Apex User zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    7,067
    Quote Originally Posted by Fringe09 View Post
    The three minutes should make it rotate twice. Going to try both programs when I get home. Yes, FeedC will still be single rotation.



    https://www.neptunesystems.com/downl...AFS_manual.pdf
    It doesn't rotate based on time unless the OSC statement is still present. The ADS makes one rotation each time it turns from off to on. You're welcome to try both, but you will see these behaviors.

    Yours
    MP60 off 1 minute
    One AFS rotation.
    MP60 off 3 additional minutes.

    Mine
    Mp60 OFF and 1 AFS rotation
    1 min later another AFS rotation.
    1 min later MP60 kicks back on.

    You might be an engineer if...You have no life and can prove it mathematically.

  13. #13
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    Quote Originally Posted by zombie View Post
    It doesn't rotate based on time unless the OSC statement is still present. The ADS makes one rotation each time it turns from off to on. You're welcome to try both, but you will see these behaviors.

    Yours
    MP60 off 1 minute
    One AFS rotation.
    MP60 off 3 additional minutes.

    Mine
    Mp60 OFF and 1 AFS rotation
    1 min later another AFS rotation.
    1 min later MP60 kicks back on.

    You might be an engineer if...You have no life and can prove it mathematically.
    You are right. Thank you.


    Sent from my iPhone using Tapatalk

  14. #14
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    Worked as design. Thank you.

    One other question. What do I change to make the drum rotate once?

  15. #15
    Friday24
    Join Date
    Mar 2014
    Location
    US, Eastern Time
    Posts
    11
    Wouldn’t it be easier to just program with Fusion and then just use the If Time—-Then OFF for the MP60?


    Sent from my iPhone using Tapatalk

  16. #16
    Frequent Visitor Todd's Avatar
    Join Date
    Jan 2013
    Location
    Huntsville, AL
    Posts
    159
    Yes, if you didn't need to shutoff the MP60 a minute before the feeder starts. Of course, that could be done with a Time command as well. Just a matter of how much you want to link events.

  17. #17
    Frequent Visitor
    Join Date
    May 2017
    Location
    Los Angeles, CA
    Posts
    59
    I ended up not needing to stop the MP60. Used the default Feeder wizard. Pellets are denser than mysis shrimp. The pumps on keep the pellets a float.


    Sent from my iPhone using Tapatalk

  18. #18
    Friday24
    Join Date
    Mar 2014
    Location
    US, Eastern Time
    Posts
    11
    That’s what I do as well, but I created a profile for the Vortech that I use during feeding to move the pellets around more


    Sent from my iPhone using Tapatalk

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
  •