C
Hi all;
It seems an opportune time during this brief respite from reading mail to report progress on the Opto22 ENET code. I have code that reads and
writes all points, the mode that we would use in a scanning situation. This has enabled me to test the rack a little. I have an issue or two for the Opto folks but it does actually work. The major difficulty was their encoding which wasn't obvious (to me) but should be easy enough to translate. I am trying to find a way to leave the connection up rather than open and close all the time, but the hardware does odd things when I string a few operations together. In the spec, it does say that the sequence is: connect, configure, command, close. When I toggle the outputs say 100 times, I have to insert usleeps between the closes and opens. Not much time, 100 usec. will do. Also, I get a seconds worth of writes, (about 30) and then things stop for a second. It alternates this way until the loop completes. A private network and 100baseT switch didn't change things so Monday I'll talk to Opto and get their opinion. It gives me something to do while I'm waiting to find out how the IO subsystem is going to work :^).
Regards
Curt W.
WOT
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
It seems an opportune time during this brief respite from reading mail to report progress on the Opto22 ENET code. I have code that reads and
writes all points, the mode that we would use in a scanning situation. This has enabled me to test the rack a little. I have an issue or two for the Opto folks but it does actually work. The major difficulty was their encoding which wasn't obvious (to me) but should be easy enough to translate. I am trying to find a way to leave the connection up rather than open and close all the time, but the hardware does odd things when I string a few operations together. In the spec, it does say that the sequence is: connect, configure, command, close. When I toggle the outputs say 100 times, I have to insert usleeps between the closes and opens. Not much time, 100 usec. will do. Also, I get a seconds worth of writes, (about 30) and then things stop for a second. It alternates this way until the loop completes. A private network and 100baseT switch didn't change things so Monday I'll talk to Opto and get their opinion. It gives me something to do while I'm waiting to find out how the IO subsystem is going to work :^).
Regards
Curt W.
WOT
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc