C
Ok, we have a map, it's not a perfect map, it's certainly not complete, but it will do to lead into the questions that choked the mail server earlier. All the map does is stores enough values to deal with a fairly large machine or cell. I took the liberty of making a couple of design decisions which are open for debate. I'm gonna attach the map because this editor sucks for
code and the quoting and back and forth destroys the formatting. I believe most readers will let you see this inline, but MS users will have to let me know.
The data map for this phase will store only dynamic data. (The Data);
The analog values for now will appear in the map scaled, folded, spindled and mutilated so I can write: if(algi[37] < 13.75) ......
Proposed: Since the scaling data, assignment of physical I/O to map index, which inputs are counters, etc. is ~static and tied to the
hardware, this should belong to and be maintained by the I/O system. It should be both on disk or NVRAM and an in core table for those apps which need to know and for use by the drivers. This table would be created with a setup utility that knows about the physical hardware and and also creates any tables or data needed by the hardware driver on init.
regards
cww
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
code and the quoting and back and forth destroys the formatting. I believe most readers will let you see this inline, but MS users will have to let me know.
The data map for this phase will store only dynamic data. (The Data);
The analog values for now will appear in the map scaled, folded, spindled and mutilated so I can write: if(algi[37] < 13.75) ......
Proposed: Since the scaling data, assignment of physical I/O to map index, which inputs are counters, etc. is ~static and tied to the
hardware, this should belong to and be maintained by the I/O system. It should be both on disk or NVRAM and an in core table for those apps which need to know and for use by the drivers. This table would be created with a setup utility that knows about the physical hardware and and also creates any tables or data needed by the hardware driver on init.
regards
cww
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc