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.


  • 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.
  • Hi,

    I have project with Delta PLC and Insusfot.
    I need to make sure that I'll be able to communicate with Delta PLC using Indusfot.
    I would really appreciate if you help me.

    There are registers i need to read ( D180- D185) WORD.
    Where in Indusoft and how you define address of registers you want to read?
    You just write D180 or you specify the Modbus Address of D register?

    Again, I would really appreciate your help.

    Thank you.
  • Dear MikePeri,

    I'm sorry for late reply.. becuase I was very busy in the past period, and I faced some problems to log-in here !
    Anyway.. here are the settings:

    Default Protocl: 7,E,1 [Baud Rate: 9,6 ~ 115,2 kbps]
    Protocl Type: ASCII
    Signed / Unsigned: Unsigned
    Swap: No Swap / Write Item

    Now, For Addressing: here are some examples for the comm. sheet:

    [Tag Name] [Station] [I/O Address]
    DW0 1 DW:4097
    D7 1 4X:4104
    M0 1 0X:2049

    So, for your application, the address of D180 is 4097 (Offset of D0) + 180 = 4277
    Thus, you shoud input in the I/O Address : [4X:4277] to access D180.








  • Dear Amjad. I'm trying to connect Indusoft with DELTA DVP PLC series SV and communication module DVPEN01-SL (modbus TCP) using Modbus TCP/IP protocol (MOTCP). How read DW 2020 or DW180? Is it correct to use this driver?