Using both Serial ports on PAC

Discussion in 'General Discussion' started by >>aSh<<, Nov 4, 2011.

  1. >>aSh<<

    >>aSh<<

    Joined:
    Apr 7, 2011
    Messages:
    25
    Likes Received:
    0
    Location:
    Australia
    Hi,

    Is there any reason why one of the ports on PAC unit fails to open/initialize while other is working properly. We have supplied external power supply 24V ac 1A. Any tips or tricks anyone?

    Thanks!
     
    >>aSh<<, Nov 4, 2011
    #1
  2. >>aSh<<

    >>aSh<<

    Joined:
    Apr 7, 2011
    Messages:
    25
    Likes Received:
    0
    Location:
    Australia
    OpenSerial(SerialPortIndex, COMPortNo, BaudRate, DataBits, StopBits, FlowControl, Parity);

    Also what is difference between SerialPortIndex and COMPortNO?

    should this be 1,1 for COM1

    ans 2,2 for COM2
     
    >>aSh<<, Nov 4, 2011
    #2
  3. >>aSh<<

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The difference is only relevant to logic running on a PC which could have many COM ports. On the PAC, just use 1,1 for COM 1 and 2,2 for COM 2 as you have suggested.
     
    Darren, Nov 5, 2011
    #3
  4. >>aSh<<

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    A simple test is to connect the two PAC serial ports together and see if you can communicate from one to the other. They are actually tested in the factory this way.
     
    Darren, Nov 5, 2011
    #4
  5. >>aSh<<

    >>aSh<<

    Joined:
    Apr 7, 2011
    Messages:
    25
    Likes Received:
    0
    Location:
    Australia
    Thanks Darren!
     
    >>aSh<<, Nov 6, 2011
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.