Skip to content

small TCP server to transparently write/read data to/from the PLCBUS via plc2pc interface 1141+

Notifications You must be signed in to change notification settings

tobser/plcbussrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plcbussrv

small TCP server to transparently write/read data to/from the PLCBUS via plc2pc interface 1141+

  • reads data from the connected TCP clients in chunks of 8 Bytes and writes those as they where received to the serial interface of the 1141+
  • reads data in chunks of 9 Bytes from the serial interface of the 1141 and distributes it to all connected TCP clients.

This server is intended to be used with the PLCBUS module of misterhouse. It was created because the 1141+ is quiet touchy about the read/write timings and doesn't seem to like the timing of the misterhouse loop...

INSTALL

currently the project requires to use qt5 qmake. It's located in /usr/lib/qt5/bin on my system (gentoo).

To install the server run:

git clone https://github.com/tobser/plcbussrv
cd plcbussrv
/usr/lib/qt5/bin/qmake
make
sudo make install

USAGE

plcbussrv <serial_device> <tcp_port>

example:

plcbussrv /dev/ttyplcbus 3234

About

All code is based on the Qt samples with some clue added.. nothing new here. So for licensing issues, the license probably depends on what Qt says.. In case this is not the case, WTFPL shall be used.

About

small TCP server to transparently write/read data to/from the PLCBUS via plc2pc interface 1141+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published