adccommunitymod (AutomationDirect) asked a question.

User function or similar in Productivity or Do-More

Created Date: April 27,2016

Created By: g.mccormick

**** 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 believe that AB calls these "AOI " for "add-on-instructions ". In Codesys, they are functions. Is there the ability to created user defined functions/blocks/AOI that can be called in either Do-More or Productivity series?


  • adccommunitymod (AutomationDirect)

    Created Date: April 27,2016

    Created by: g.mccormick

    I believe that AB calls these "AOI " for "add-on-instructions ". In Codesys, they are functions.

    Is there the ability to created user defined functions/blocks/AOI that can be called in either Do-More or Productivity series?

  • adccommunitymod (AutomationDirect)

    Created Date: April 27,2016

    Created by: scott.lawrence

    Do-More has structures, but I 've never used them to try to recreate an AOI

  • adccommunitymod (AutomationDirect)

    Created Date: April 27,2016

    Created by: ADC_CommTeam02

    Currently this is not available for the P Series product line. It is on our roadmap, however no time frame on a release.

  • adccommunitymod (AutomationDirect)

    Created Date: April 27,2016

    Created by: g.mccormick

    So would you suggest make a "function " of a subprocedure. Then copying/renaming subprocedure for each "function-call " needed?

  • adccommunitymod (AutomationDirect)

    Created Date: April 27,2016

    Created by: franji1

    Do-more is looking to implement a Subroutine CALL, where input parameters are passed-in and output parameters are returned via a "copy " mechanism, but the subroutine CALL literally jumps to that code-block, and executes until it hits a RETTURN, then returns back to the CALL in the original code-block. Currently, we can nest up to 80+ subroutine CALLs (A calls B which calls C which calls D, etc.). It's not quite USER BOXES (something else we also want to implement), but it's close.

    Expand Post