DTR on PAC

Discussion in 'C-Bus Wired Hardware' started by m.sorokin, Aug 4, 2010.

  1. m.sorokin

    m.sorokin

    Joined:
    Mar 23, 2008
    Messages:
    29
    Likes Received:
    2
    Location:
    Moscow, Russia
    It is necessary is high-grade to test the project for PAC (5500 PACA) on the computer. In the project function of work with COM port is used.

    At project start in a mode of emulation exit DTR remains inactive.

    For the integrated device it is critical, in what way probably to activate DTR?
     
    m.sorokin, Aug 4, 2010
    #1
  2. m.sorokin

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,431
    Likes Received:
    64
    Location:
    Adelaide
    There are functions in logic to set DTR and RTS states.. are you using these?

    SetSerialDTR(SerialPortIndex, State);
    SetSerialRTS(SerialPortIndex, State);

    Nick
     
    NickD, Aug 5, 2010
    #2
  3. m.sorokin

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Actually, the hand-shaking lines in PAC are only used for powering the serial interface. The PAC can not drive these lines. The logic help does say that these functions are for Colour C-Touch only.
     
    Darren, Aug 5, 2010
    #3
  4. m.sorokin

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,431
    Likes Received:
    64
    Location:
    Adelaide
    Oh... oops. :(
     
    NickD, Aug 5, 2010
    #4
  5. m.sorokin

    m.sorokin

    Joined:
    Mar 23, 2008
    Messages:
    29
    Likes Received:
    2
    Location:
    Moscow, Russia
    For testing I used the project of the colour screen with use of function SetSerialDTR... And actually what condition DTR will be on PAC? (Simply there is no possibility now to check up...)
     
    m.sorokin, Aug 5, 2010
    #5
  6. m.sorokin

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    In the PAC, DTR is connected to DSR and DCD. RTS is connected to CTS.

    The PAC does not put a voltage onto these signals.
     
    Darren, Aug 5, 2010
    #6
  7. m.sorokin

    m.sorokin

    Joined:
    Mar 23, 2008
    Messages:
    29
    Likes Received:
    2
    Location:
    Moscow, Russia
    Badly... And what for at such scheme to it also the separate power unit for com port...
     
    m.sorokin, Aug 5, 2010
    #7
  8. m.sorokin

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    This wiring arrangement is the standard "loop back handshaking" arrangement.

    The only difference is that the PAC can take power from these connections to power the PAC RS232 transceiver if you don't want to use a separate power supply.
     
    Darren, Aug 6, 2010
    #8
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.