L
I think the key task is how to allow different "programs" to interact & share data memory. How can a SFC program call sub-programs in Ladder Logic or Javascript or a small PUC (Portable C Compiler) & share data.
If we can figure this out, then the options for the LinuxPLC are wide open.
Maybe we can define a parameter block to share - the caller fills in the "input", calls the sub-program which creates the "output", and continues.
But we should assume both are running concurrently. constantly spawning new sub-tasks will create performance problem (I would assume). We would need some way to define & tag the fields - almost a network issue. We cannot just use shared "C" structures because the sub-program may not be written in C or may be an interpreter of some kind. We'd need to make sure the data moved is 100% unambiguous in form.
We should look at how Foundation Fieldbus and various HMI move data (parameters) between blocks. There must be some clues there.
Best Regards
Lynn August Linse, Senior Product Application Engineer
15353 Barranca Parkway, Lantronix Inc, Irvine CA 92618
[email protected] www.lantronix.com
Tel: (949)450-7272 Fax: (949)453-7132
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
If we can figure this out, then the options for the LinuxPLC are wide open.
Maybe we can define a parameter block to share - the caller fills in the "input", calls the sub-program which creates the "output", and continues.
But we should assume both are running concurrently. constantly spawning new sub-tasks will create performance problem (I would assume). We would need some way to define & tag the fields - almost a network issue. We cannot just use shared "C" structures because the sub-program may not be written in C or may be an interpreter of some kind. We'd need to make sure the data moved is 100% unambiguous in form.
We should look at how Foundation Fieldbus and various HMI move data (parameters) between blocks. There must be some clues there.
Best Regards
Lynn August Linse, Senior Product Application Engineer
15353 Barranca Parkway, Lantronix Inc, Irvine CA 92618
[email protected] www.lantronix.com
Tel: (949)450-7272 Fax: (949)453-7132
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc