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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.