Revision to register starting point

R

Thread Starter

Ron Gage

Hi folks.

I hate over-taxing the list server like this! :)

Here is a bit of a modification to what I submitted yesterday. It basically now includes a memory allocation scheme, a way to reset all of the pointers in the directory array, and even some handy little comments. It probably still won't compile though... :(

Have fun!

Ron Gage - Saginaw, Mi
([email protected])



_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
Curt:

It provides a sample interface for a memory based register system, not unlike the Allen Bradley PLC-5's. It includes a routine to convert from ASCII to a binary structure, to retrieve data from a "memory pool", to allocate/rezise memory, and to initialize memory. Absent is the ability to write data to the pool but that should be trivial.

It was submitted simply as a way to stimulate conversation on the subject. If it actually gets used, so much the better.

Ron

______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
C

Curt Wuollet

I'm keeping a list of the chunks we have, so we can use them if possible. Here the problem is that it has to be explained to the point that most
people feel comfortable so we don't lose them. I, believe it or not, have never seen a slc5. Now here's the crucial question, can you and jiri fit
things together.

cww

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
C

Curt Wuollet

Hi Mark

I think it's best if I stay generic and non-denominational. It's important for my perspective. I follow the words and concepts just fine, some of the code is a little terse :^). Remember, I'm playing the devil's advocate
for the folks on the list who aren't BSCS or above. You folks are the PLC experts. I know I'm going too slow and simplistic for some folks
I'm hoping to keep it at a level, at least for this pass, where the new to Linux and non-professional programmers can and will participate. Or if you prefer, I'd like to get a conceptual design worked out with easy to understand examples before we get into byzantine complexity. I could be wrong , but I think that's what blew the process the first time. I don't want to lose any advanced programmers either, but as long as they are working in different directions, this shouldn't screw them up ;^) If they get pointed in the same direction, look out. They could have pass2 well under way by the time we have this worked out :)

Regards

cww

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
Top