adccommunitymod (AutomationDirect) asked a question.

DirectNet timeouts for DL06

Created Date: September 16,2004

Created By: pjones

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I have been writing a C program to make a PC to read and write data on a DL06's memory using DirectNet. Althought the program runs smoothly with a DL440 CPU, it doesn't with a DL06. My version af DirectNet's manual does not contain information regarding DL06 series. Anybody please let me know where to find the timeouts for DL06 series and any other DirectNet related information. Thanks.


  • adccommunitymod (AutomationDirect)

    Created Date: September 17,2004

    Created by: jackson

    At what part of the sequence are you having problems? Are you doing DirectNET ASCII or DirectNET Hex?

    I seem to recall that there was a difference in the carriage return interaction between the 405 series DirectNET and everything else.

  • adccommunitymod (AutomationDirect)

    Created Date: September 17,2004

    Created by: pjones

    I'm sorry I forgot some details.

    I am using Hex mode.

    This is what happens with DL06: The ENQ message is always answered correctly by the PLC (N + address + ack), but the answer to the write or read HDR (soh + header + etb + lrc) is a NAK (most of the times).

    I am sure that the LRC is correct (this has been proven using the same program with a DL440 also).

    When the NAK answer comes after the DATA message, the second try is ussually successful.

    Another hint: The best I have achieved with the DL06 is two tries either for writting or reading, while with the DL440 I have succeded to the first try all the times.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 17,2004

    Created by: jackson

    So, if you keep sending the data again and again, it eventualy will ACK it?

    Can I assume that you have used a comm. analyzer to verify your data across the wire?

    The possibility always exist that you have been sending the data incorrectly and the 440 is incorrectly accepting it.

    Maybe you can copy/paste some of your strings in here and somebody will see something.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: September 16,2004

    Created by: pjones

    I have been writing a C program to make a PC to

    read and write data on a DL06's memory using DirectNet.

    Althought the program runs smoothly with a DL440 CPU, it doesn't with a DL06.

    My version af DirectNet's manual does not contain information regarding DL06 series.

    Anybody please let me know where to find the timeouts for DL06 series and any other DirectNet related information.

    Thanks.

    Expand Post