Small script to monitor a PLC using the minimalmodbus Library on python.
Setup :
- Productivity 1000 PLC
- Raspberry pi b+
- Some analogue sensors
Modbus setup :
- Baudrate : 9600
- parity bit : None
- Slave address : 1
- Modbus address on slave : 400001 to 400012 (32 Bits addresses)