PLCBUS and Linux

Forum about PLCBUS devices & software.

Moderator: Digit

waynet
Starting Member
Starting Member
Posts: 5
Joined: Fri Sep 17, 2010 10:52 am

Re: PLCBUS and Linux

Post by waynet »

Hmmm, interesting.
I have modified plcbus.pl to deal with both versions of PLCBUS devices so should work regardless of whether it uses ETX or a checksum (provided it is actually 0x200) while still actually confirming the validity of the received frames. I don't have any of the new devices so am only able to test with the older versions. If someone could test and confirm it works would be appreciated.
Cheers
Wayne
user888
Starting Member
Starting Member
Posts: 3
Joined: Sat Jan 22, 2011 11:44 am

Re: PLCBUS and Linux

Post by user888 »

Thanks I already found that thread and changed the script (probably the same change as @waynet dit). I took the liberty to put the script under version control, I hope you don't mind @waynet (it took a while for the moderator of the forum validated my account and my first post)

It can be found at:
http://code.google.com/p/plcbus-daemon-for-linux/

By the way, I check for a modulo (%) 100 to verify the checksum.
user888
Starting Member
Starting Member
Posts: 3
Joined: Sat Jan 22, 2011 11:44 am

Re: PLCBUS and Linux

Post by user888 »

@waynet, if you agree (with your script being placed @ code.google.com) please mail me your E-mail address to maurice (at) debijl (dot) net, then I add you as project owner.
Post Reply

Return to “PLCBUS Forum”