PLUS+1 Software > General controls

One program, but two or more similar machines

(1/3) > >>

Marbek_Elektronik:
How do you do this?:

You have 2 or more machines which are similar.
But there are little differences in state-machine.

What is the best way to use only one program?

"call modules" or "read only parameter files"  are not the solution for this problem, I think.

Do you have an idea?

Loader:
Hi, I think:
You can use a parameter to identificate the machine type and you can to condition the transition between states according to the value of parameter.
I hope this is possible with your system!
Bye

oiltronic:
If parameters don't work for this application then consider a spare input tied high or low.

Marbek_Elektronik:
Thanks,
but there are not only differences in parameters, also in statemachine.

So, it is not possible to ask parameters or inputs to activate one software.

FluidPowerTom:
Have you used the Call POU structured text functionality?  In addition to input and output variables it has an input for a True/False that determines if the POU runs or not.

Navigation

[0] Message Index

[#] Next page

Go to full version