Automatically stop server from manufacturing
Posted: Wednesday 14 December, 2022 - 11:56
Hello everybody,
I want to set a condition for a server.
Everytime an atom is on exit, the server "Machine Side 1" must stop manufacturing.
I tried this with the following code in the "Trigger on Exit" input box: Stop(AtomByName([Machine Side 1], Model))
I also tried by typing: StopAtom(AtomByName([Machine Side 1], Model))
Unfortunately both commands dont work.
The first command stops the whole Simulation and not only the server atom.
The second command does nothing at all.
How can I make the server stop manufacturing while not stopping the entire simulation?
Thanks in advance!
Maxim
I want to set a condition for a server.
Everytime an atom is on exit, the server "Machine Side 1" must stop manufacturing.
I tried this with the following code in the "Trigger on Exit" input box: Stop(AtomByName([Machine Side 1], Model))
I also tried by typing: StopAtom(AtomByName([Machine Side 1], Model))
Unfortunately both commands dont work.
The first command stops the whole Simulation and not only the server atom.
The second command does nothing at all.
How can I make the server stop manufacturing while not stopping the entire simulation?
Thanks in advance!
Maxim