I'm using Delta PLC, it doesn't have Ethernet port. Only Modbus RS485 is used for communication between PLC and Raspberry pi. And using TTL to RS485 Converter. I don't know how to write program for raspberry pi, please give me any example code.