Results 1 to 3 of 3

Thread: Send output by MScomm control in ASCII form??

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Malaysia
    Posts
    12

    Smile

    Hi! Does any one of you know how to send 'request to send' to PLC by using MSCom32? Or how to send an output by using MScomm control in ASCII form? Thanks for viewing and big thanks for your help!!!


    Regards, Jesse

  2. #2
    Addicted Member
    Join Date
    Sep 2000
    Posts
    219
    I am also new to MSComm control. I can tell you what I know so far.

    Set the comport property to the port you want to use, settings property in the format:

    baud rate, parity, data bits, stop bits

    Eg: MSComm1.Settings = "9600, e, 7, 2"

    and then set the PortOpen property to true.

    You can send text to a remote terminal by setting the Output property. You can receive data by reading the Input property.

    Thats all I know. Let me know if anything new turns up.

  3. #3
    Hyperactive Member dsy5's Avatar
    Join Date
    Jul 2000
    Location
    Lockport, NY
    Posts
    362
    Many PLCs can be fooled into a request to send by tying the
    CTS and RTS line together at the PLC end.

    Hope this helps.
    Donald Sy - VB (ab)user

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width