Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Running multipule programs on one device.

nz-dave
2023-06-13
2023-06-17
  • nz-dave - 2023-06-13

    I have a small program i would like to run 3 instances of on one plc.
    whats the best way to go about this?

    I was thinking about turning the program POU's(there are 4) into FB's... then call them 3x in a main POU and assign the i/o.
    But it just seems a bit messy...

    cheers

     
  • thecolonel26 - 2023-06-17

    If you indeed want 3 identical instances that is in my opinion the proper way to it.

    That is how I do it. If you think it is messy I would advise you work on splitting up your program structure in to organized units. A flat data model will always be messy.

     

Log in to post a comment.