
Montana Mike (Customer) asked a question.
Can I use the Python libraries pycomm3 or pylogix to read/write I/O through a Productivity 1000 CPU?
I would like to use a Python script on a PC to read and write valuse of P-1 Analog or Discrete IO modules. There is no need to do any controlling from the PLC. It would just be used as a passthrough for talking to the I/O modules. I need about 16 channels each of 10V AI and AO plus 16 channels each of 24V level DO and DI. So the P-1 modules seem more appropriate than USB-connected 5V Multifunction Data Acquisition modules. Does anyone know if any communication protocol available through the Ethernet port of the P-1 CPU is compatible with these Python libraries?
pycomm3 should be compatible as it's ethernet ip. pylogix probably not. Just use pymodbus.
I would use Pymodbus myself. I have used it for several projects myself and it works great.