I can't help you with why this doesn't work for you. I never use it. But I also ask have you read this?:
https://forum.unitronics.com/topic/7245-dont-update-just-because-you-can/
🙂 Aus
this seems the best approach, because I don't understand why do you need to use 2 different values from 2 different sources for the same operation, jus enable an option to toggle between those 2 if you want to preserve both, although I don't understand why you just simple use the address as it is, I mean master will read whatever the original value is and only be changed if the user actually changes that value. In that case whay do you want to keep the previous value entered from the HMI?
We have a new robotics manufacturing cell run from a UniStream PLC that needs some additional features and debugging. Likely around a 2-3 week project. Open to remote work and part time, though prefer someone that could come on-site at least part of that time to greater Austin TX area. Need programmer with minimum 3 years experience with Unitronics and Ethernet/IP.
Hello !
Thank you for your kind reply !
I will work on it and try to make it even better
One thing though : i am currently working on the big project (which includes the small train routine, that i left as is : i didnt change anything in it yet).
This program is a lot more complex, and i really struggle architecturing it properly, especially with the I/O module which is mostly setting pneumatic actuators (that can be set/reset for a long period of time, thus i find it hard to use anything else than Set or Reset coils).
The problem is : i have a lot of inputs (XB 1xx) and outputs (XB 2xx) from a WAGO external I/O module, CANopen communication with a servoDrive, HMI menus and navigation etc.
I used "kind of" state machines for each region of my program (ie. i have like 5 subroutines for the Automatic mode only !), but unfortunately it's a real mess to manipulate, update and debug.
Do you have any insight on how i could deal with such a big project or any architecture plan i could follow for really complex projects (in general) ?
Cheers,
Sideway.
P.S. : Though the program isnt written in English, the idea here is to talk about the architecture of the program. No need to really understand what it's doing, only knowing which pieces it is made of is sufficient, i guess...
CE prog v2.4 2022-05-20 .vlp