Connecting to DELTA DVP PLC using Modbus TCP


Hi,

I'm trying to connect Indusoft with DELTA DVP PLC using Modbus TCP/IP protocol.

The comm. driver gives read status error: (-15) which is: "Timeout Start Message"
It means Indusoft isn't reading any response form PLC,,

But when I looked the TX/RX frames log window, I found this:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Starting connect to 192.168.1.5:502
Connected to server 192.168.1.5
[ID: E84] Tx:00 00 00 00 00 06 00 03 10 05 00 02
[ID: E84] Rx:00 00 00 00 00 07 00 03 04 BA BE 00 00
Timeout

Starting connect to 192.168.1.5:502
Connected to server 192.168.1.5
[ID: E84] Tx:00 00 00 00 00 06 00 03 10 05 00 02
[ID: E84] Rx:00 00 00 00 00 07 00 03 04 BA BE 00 00
Timeout
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

This log confirmed two things:
1) There is response (Rx frame) from PLC !! :confused:
2) The value of reading is (BABE)hex which is the exact expected value that I already put it in the PLC memory..

I'm not sure why time-out is occurring after each request ?!
Waiting your advice.

Parents

  • Hi,

    I figured out the cause of problem...

    :D

    In the advanced setting of Modbus TCP/IP, The setting was ASCII mode.
    When I set it as RTU mode, Indusoft was able to display the tag values.

    So the problem was the protocol format. I think the error (-15) which indicates for no response from PLC was misleading me.

    Indusfot should return error indicates that he can't understand the RX frame (because of format mismatch).

    I hope this reply helps others trying to connect with DELTA PLCs.
Reply

  • Hi,

    I figured out the cause of problem...

    :D

    In the advanced setting of Modbus TCP/IP, The setting was ASCII mode.
    When I set it as RTU mode, Indusoft was able to display the tag values.

    So the problem was the protocol format. I think the error (-15) which indicates for no response from PLC was misleading me.

    Indusfot should return error indicates that he can't understand the RX frame (because of format mismatch).

    I hope this reply helps others trying to connect with DELTA PLCs.
Children
No Data