Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
Hammond Manufacturing (one of our Enclosure partners) is unable to ship FedEx freight enclosures today (2/27) due to weather issues. Small packages (<75#) are shipping normally. Sorry for the inconvenience this may cause.
(VID-DD-0032) - This video gives basic information on Using the Call "Call Subroutine" instruction in the Do-more Designer software. It presents information that is commonly missed by users. This WILL NOT be a complete tutorial for the instruction but rather a supplement to the help file and customer experience.
** Software Version used in this video: Do-more Designer 2.0.3
This instruction is used to execute a subroutine from ladder code. Couple of things about calling into a subroutine. When you call into a subroutine you branch out from that spot in the ladder code, then Execute the subroutine code, and when complete, you will then return back to the call origination spot in the ladder code. This allows for the Subroutines to be called once or multiple times during a single ladder scan. When we look at the call instruction, itself, you see you have the ability to preload input variables and output variables before executing the subroutine. This way you can have a set of variables that are unique to each call of that subroutine. If one or more Subroutines already exist in the project, and then you open another call instruction the following message box will appear asking if you want to use previous parameter list. So now On the new call for the same subroutine, you just have to say what variables will be going into this unique process and what will be coming out. Now there is no need for replicated code and this can be huge time saver in the editing process. A note of warning, inside of a subroutine, there can be no edge triggered, asynchronous, multi-scan or Stage instructions as these all take multiple scans to complete For a more detailed video covering Subroutines, specifically, please search the video browser for Subroutines.