Tuesday, October 30, 2018

python CPPPO ethernet/ip

Install CPPPO
PIP CPPPO --proxy http://192.168.0.49:8080
command for demo server side to set tag name SCADA as integer
  python -m cpppo.server.enip --print SCADA=INT[1000]
    OR
  enip_server --print SCADA=INT[1000]
command for read tag from demo server (192.168.12.20)
  python -m cpppo.server.enip.client --print SCADA -a 192.168.12.2
command for read tag from OMRON (192.168.12.10)
  python -m cpppo.server.enip.client -a 192.168.12.10 --print RFID_W1_Status_In

Monday, October 29, 2018

install python mysql

sudo apt-get install python-mysqldb