IzzyBonds
I have created two programs in the runtime editor. The first program runs automatically, the second program does not seem to run automatically. The weird thing is, the second program has outputs I can manually toggle. However the main code is not running.
How do I get the second program to start?
[203128%2F9354342%2Fmceclip0][203128%2F9354345%2Fmceclip0]
Reply 0 0
thiagoralves
You need to add a task and an instance on Res0 that calls your program1, otherwise it will exist, but never be called.
Reply 0 0
IzzyBonds
Its running now, Thank you!
Is there another way to call out a second program. Can I have a bit in program 1 activate or deactivate program 2?
Reply 0 0
thiagoralves
If that's what you want, you should create a Function Block instead of a program. Then you can insert the function block in your program0 and call it however your logic decides.
Reply 0 0
IzzyBonds
Thank you.
Reply 0 0
Reply