Announcement

Collapse
No announcement yet.

How do I reinitilize Port2 on DL06 RS232?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • franji1
    replied
    You might try "reconfiguring" it to Modbus or K-Sequence, then back to non-sequence, all from within ladder logic. The "configuration" of the port in RUN mode may clear/reset the port. No guarantees. Also, no guarantee that this will work across all 06 firmware versions.

    Try it. If it works, great. If not, you're no worse-off than you are now. But caveat emptor.

    Leave a comment:


  • Do-more PE
    replied
    The DL06 wasn't designed for switching the communications lines while powered up. There is no command to "reinitialize" the port.

    Leave a comment:


  • snydl0ga
    replied
    Another Issue on this subject

    I now have a problem when users use this PLC and communications stop. I have the Port 2 on the DL06 on an A/B switch to switch between two scales.

    Sometimes the switchover locks the buffer and I have to go out and toggle the modes on the PLC ( or remote in and do it)....Is there a way to clear the buffer? I can't seem to find this command.

    Leave a comment:


  • arjan
    replied
    I followed bcarlton's link and figured it out.

    Thanks all for the suggestions, it's appreciated

    Leave a comment:


  • JoeW
    replied
    Originally posted by arjan View Post
    I would also love to able to setup the 2nd comm port from within my program.
    We build equipment and every time I load the project I have to set the comm port.

    Not a big deal for me, but its just another step when other people have to build the equipment and load the software.
    Appendix K of the DL06 manual explains how to do this.

    Leave a comment:


  • bcarlton
    replied
    Refer to this and its links. This specifically sets up Modbus but you can tweak any of the parameters. The program calls the setup stage on first pass.

    Leave a comment:


  • arjan
    replied
    I would also love to able to setup the 2nd comm port from within my program.
    We build equipment and every time I load the project I have to set the comm port.

    Not a big deal for me, but its just another step when other people have to build the equipment and load the software.

    Leave a comment:


  • bcarlton
    replied
    Remotely set the PLC to Program mode. Download the changed program. Then set it back to Run mode.

    The pause when doing a change while in Run may be affecting your code. You may need to detect timeouts in the code and restart the communication section.

    Leave a comment:


  • snydl0ga
    started a topic How do I reinitilize Port2 on DL06 RS232?

    How do I reinitilize Port2 on DL06 RS232?

    I am reading ASCII from a scale to get weight readings. I am using the DL06 with the scale wired to Port 2. This works great but when I remote in and make a program change, the communication stops and we are often unaware of it.

    Is there a way in Ladder Logic to wake it up. Right now we have to go to the PLC and halt and set to RUN.
Working...
X