minicps
minicps copied to clipboard
feature/enip2
Notes:
- server still doesn't support multikey yet read/write yet, so it will respond with a proper error message.
- server still needs to take in log files.
- Pipe out messages from single_read and single_write script to the api.
Make sure same API without datatype.
@remmihsorp
Make sure that it can be installed adding it to the requirements.txt
and setup.py
.
Is it really necessary to depend upon a fork of pycomm
?
- Noted.
- Unfortunately, yes it does.
Make sure that we add eq_
tests
Make sure that we return only the (string) value from _receive
Use our modbus implementation as a reference
I have also updated my enipserver, you'd need to pull the latest changes.
Thanks @remmihsorp .
Can you please remove the newline from the return value, eg:
plc1.receive(SENSOR2, PLC2_IP)
should return '1'
and not '1\n'
p.s. Travis is failing because we don't have packaged enipserver and the pycomm fork
Hi @remmihsorp,
What is the status of the package?
Hi @francozappa, i have paused the development of the branch for a while as i have extensively changed (changing) the enipserver api. Hopefully, I aim to finish a complete refactoring of by next week, and then should be able proceed working on the feature/enip2 agian promptly.
Hi @francozappa, I have tested the new additions inside a vm. The tests passes on my side. Provided that enipserver
is not available as a package, you'd need to manually clone remmihsorp/pycomm and scy-phy/enipserver, add both pycomm
and enipserver
to PYTHONPATH
to tests the changes on your side.
Thanks!
Also, enipserver
now has udp
messaging. Perhaps, we can think of test scenario to incorporate that.