adccommunitymod (AutomationDirect) asked a question.

DL06 and Ascii comunication

Created Date: April 03,2007

Created By: Kyle L

**** 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 a project that requires sending and receiving ascii information to the DL06 and I would like to know ifit would be better to use the Basic port processor or the DO-DCM module? Thanks in advance


  • adccommunitymod (AutomationDirect)

    Created Date: April 05,2007

    Created by: KPrice

    KyleL, When you say that the project requires "sending and receiving ", it sounds like the communication protocol is fairy involved. (Sending formatted ASCII code commands and recieving encoded ASCII data as a result of your commands, and parsing and decoding the data, and responding with additional commands, etc.) If this is true, then you may need the additional input, output, and string handling commands that the CoProc offers. The CoProc requires you to write the BASIC program to handle the communication, encoding, and decoding, and the data transfer to/from the PLC as well as the PLC program. If it's been a while since you used BASIC, plan on taking time to do some home work. Just take one communication requirement (command/response/data decode) and try to write code using the PLC ASCII instructions and the CoProc BASIC instructions and see which one would be do-able and/or easier. Hope this helps.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: April 05,2007

    Created by: FACTSTech

    There are serial communication example programs at www.facts-eng.com - select 'BASIC Examples ' then 'serial Communication Examples '.

    These will give an idea of what is involved in programming the BASIC CoProcessor.

  • adccommunitymod (AutomationDirect)

    Created Date: April 03,2007

    Created by: Kyle L

    I have a project that requires sending and receiving ascii information to the DL06 and I would like to know ifit would be better to use the Basic port processor or the DO-DCM module?

    Thanks in advance