dak Posted June 4, 2014 Report Share Posted June 4, 2014 Hello Everyone, I have problem with communication between V1040-T20B and any Modbus slave. Unitronics configuration:Visilogic 9.7.0V1040-T20BFirmware 003.003.11Boot 002.002.11Bin library 003.010.03Factory boot 001.003.07 When RS-485 is used the PLC receive the same data as it transmit. After short time it receive the correct data from the slave.But the V1040 evaluate transmitted data as answer and produce an error. Then correct answer come but V1040 ignore it. When I tried Vision 120, everything works fine. The PLC disable recieving data while the PLC is transmitting own data. But with V1040 it does not work on both port. RS485 Termination jumpers does not help. On PLC information mode Serial monitor is visible that PLC receive the correct data from RS485 slave, but it is visible, that it always recieve 2 packets for one transmitted packet. Because first packet is wrong (own transmitted data) and second is ignored nothing can be read from RS485 slave to PLC MI's. I see two solution for this problem: 1. There is SP3072EE chip for transmit/recieve with Read Enable pin. This pin can be used to disable receiving data during transmit. 2. Clear Receive buffer immediately after finishing transmit Is it possible to solve this problem by upgrading firmware or other software way?With best regardsDavid Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.