liudianwei opened a new issue, #1604:
URL: https://github.com/apache/plc4x/issues/1604

   ### What happened?
   
   modbus rtu over serial port will not work correct because the serial may be 
not write all data to the pc(or memory?), due to this, if read serial port 
immediately after send command, the data just read may be incomplete, so modbus 
driver will throw some errors like crc or read error.
   
   temporary solution:
   
![image](https://github.com/apache/plc4x/assets/28178193/d6a78154-8d0d-44eb-80d5-207b80ae1851)
   file location 
plc4x\plc4j\transports\serial\src\main\java\org\apache\plc4x\java\transport\serial\SerialChannelHandler.java
   thx.
   
   ### Version
   
   latest
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [X] Modbus
   - [ ] OPC-UA
   - [ ] S7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to