Results 1 to 4 of 4

Thread: AFS programming profile delay for mp40

  1. #1
    New User
    Join Date
    Sep 2017
    Location
    USA, CA, Pacific Time
    Posts
    13

    AFS programming profile delay for mp40

    I have the AFS, I have named the output Auto_Feeder.
    I also created a profile for my two MP40's named slow that runs them at 15%.
    I have the three feed modes A,B, and C programmed with different delays. All of them work fine with a similar code.
    The code was placed in the MP40's advanced menu.

    If FeedA 005 Then slow

    Feed A runs my AFS then slows the MP40s for five minutes
    Feed B does the same without running the AFS
    And Feed C does the same as B except for 30 mins

    Now what i'm trying to do is program the MP40s so that when the outlet for the AFS is on that it runs the slow profile for five minutes.

    I tried

    If Output Auto_Feeder = ON Then 005 slow

    That code did not work for me, the MP40s turned back on as soon as the AFS rotations were done.

    my question is would adding the statement on the next line

    Defer 005 Then On
    or
    Min Time 005 Then On

    achieve my objective of having the mp40s stay on the slow profile after the AFS is done rotating.

    The code would be:

    If FeedA 005 Then slow
    If FeedB 005 Then slow
    If FeedC 030 Then slow
    If Output Auto_Feeder = ON Then slow
    Min Time 005:00 Then ON

    Do I need to say "Then tdata" instead of "ON"?

    If I put "then On" would it go back to the pre-programmed profile for that time of day?

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    The 005 was automatically removed because it's improper syntax for an outlet statement. If you are only doing single rotations of the Feeder, just remove the OSC and make your feeds 5 minutes long on the feeder using Set OFF the If Time statements. If you are doing multiple rotations you need a couple virtual outlets, one to trigger the feeder and another to trigger the pump.

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

  3. #3
    New User
    Join Date
    Sep 2017
    Location
    USA, CA, Pacific Time
    Posts
    13
    I'll try the virtual outlets and see what it does.

    I used to have the slow profile just run at a certain time of day, for example.

    If 13:00 to 13:05 Then slow


    The problem for me is when I want to turn the auto feeder off or change the auto feeder time, I would not like to have to change the code so that the slow profile doesn't run.

    I just want the slow profile to run for five minutes when the AFS output is triggered.

    I'll read up on the virtual outlets and report back how it works for me.

  4. #4
    New User
    Join Date
    Sep 2017
    Location
    USA, CA, Pacific Time
    Posts
    13
    So would I have the same Problem if i was trying to run Basically the same code in a virtual outlet
    such as

    Set Slow (The slow was created as a Vortech Profile type)
    Min Time 005 Then off

Similar Threads

  1. help with a delay for AFS
    By cannonz in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 04-06-2022, 16:39
  2. How's my MP40 profile
    By Greenjeans in forum Apex Programming for Vortech, Tunze, & Other Controllable Pumps
    Replies: 8
    Last Post: 05-22-2020, 04:49
  3. Question: Multiple AFS delay when chained
    By NeilScottsdale in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 1
    Last Post: 10-30-2015, 12:20
  4. Delay/Defer AFS programming
    By ToXIc in forum Misc Apex Usage & Programming
    Replies: 5
    Last Post: 12-12-2014, 06:12
  5. AFS: Setting a delay after a manual feed cycle starts
    By SteveW25561 in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 03-25-2014, 20:56

Tags for this Thread

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
  •