Results 1 to 9 of 9

Thread: RS-485 PTZ control

  1. #1
    Member Keystone's Avatar
    Join Date
    Jul 2008
    Location
    QLD.
    Posts
    281
    Thanks
    4
    Thanked 19 Times in 11 Posts
    Rep Power
    204
    Reputation
    151

    Default RS-485 PTZ control

    What pin numbers on the RS-485 plug do we use to control a PTZ from a DVR ?
    The PTZ is a Lilin which only uses two wires to control it.

    Also any info on what all the dip switches are on the older Lilin PTZ's, the bank of 8 dips are used to id the camera but what about the others.....turn on off heater/ fan etc ?
    Mainly wondering if you can select the control protocol, ie RS-485 or RS-232C



Look Here ->
  • #2
    Senior Member
    intelliGEORGE's Avatar
    Join Date
    Jan 2008
    Location
    Sydney, AUSTRALIA
    Age
    43
    Posts
    4,106
    Thanks
    884
    Thanked 1,484 Times in 691 Posts
    Rep Power
    479
    Reputation
    7236

    Default

    Quote Originally Posted by Keystone View Post
    What pin numbers on the RS-485 plug do we use to control a PTZ from a DVR ?
    The PTZ is a Lilin which only uses two wires to control it.

    Also any info on what all the dip switches are on the older Lilin PTZ's, the bank of 8 dips are used to id the camera but what about the others.....turn on off heater/ fan etc ?
    Mainly wondering if you can select the control protocol, ie RS-485 or RS-232C
    Usually the DVR will have some sort of schematic for PTZ control, what DVR is it as whether or not it supports Lilin Protocol. I know in some cases we have used Adam converters.

  • #3
    Senior Member
    intelliGEORGE's Avatar
    Join Date
    Jan 2008
    Location
    Sydney, AUSTRALIA
    Age
    43
    Posts
    4,106
    Thanks
    884
    Thanked 1,484 Times in 691 Posts
    Rep Power
    479
    Reputation
    7236

    Default

    By memory it requires Merit LILIN MLP2 protocol, and the connection should be Data + and Data - (2 wire)

  • #4
    Senior Member
    intelliGEORGE's Avatar
    Join Date
    Jan 2008
    Location
    Sydney, AUSTRALIA
    Age
    43
    Posts
    4,106
    Thanks
    884
    Thanked 1,484 Times in 691 Posts
    Rep Power
    479
    Reputation
    7236

    Default

    Merit Lilin PIH-7625
    Explanation of DIP Switch setting
    1. RS-485 IN-TML RES. RS-485 IN Terminal Resistor ON/OFF
    2. RS-485 OUT-TML RES. RS-485 OUT Terminal Resistor ON/OFF
    3. HALF / FULL 2 wiring system (HALF duplex) or 4 wiring system (FULL duplex)
    4. BAUD SEL1 - Baud Rate Select 1
    5. BAUD SEL2 - Baud Rate Select 2
    6. PROTOCOL SEL1 - Protocol Select 1
    7. PROTOCOL SEL2 - Protocol Select 2
    8. PROTOCOL SEL3 - Protocol Select 3
    9. PROTOCOL SEL4 - Protocol Select 4
    10. Not Used

    DIP SWITCH 3
    2 wiring system (HALF duplex) OFF - most commonly used
    4 wiring system (FULL duplex) ON

    BAUD RATE SELECTION
    DIP SWITCH 5 and 4
    2400 bps - 5 ON 4 ON
    4800 bps - 5 ON 4 OFF
    9600 bps - 5 OFF 4 ON
    19200 bps - 5 OFF 4 OFF

    PROTOCOL SELECTION
    DIP SWITCH 9, 8, 7 and 6
    MLP2 (MERIT LILIN PROTOCOL 2) - 6 ON 7 ON 8 ON 9 ON
    MLP1 (MERIT LILIN PROTOCOL 1) - 6 OFF 7 ON 8 ON 9 ON

    RS-485 Protocol Dip Switch setting
    DIP SWITCH
    MLP2 Version - 1 ON 2 ON 3 OFF 4 ON 5 OFF 6 ON 7 ON 8 ON 9 ON 10 OFF
    MLP1 Version - 1 ON 2 ON 3 OFF 4 ON 5 OFF 6 OFF 7 ON 8 ON 9 ON 10 OFF


    On the camera end RS-485 Input (TXDI+,TXDI-) to receiver signal from keyboard, matrix, DVR or
    multiplexer through twisted pair cable.

    Hope this helps.

  • #5
    Member Keystone's Avatar
    Join Date
    Jul 2008
    Location
    QLD.
    Posts
    281
    Thanks
    4
    Thanked 19 Times in 11 Posts
    Rep Power
    204
    Reputation
    151

    Default

    Quote Originally Posted by intelliGEORGE View Post
    Merit Lilin PIH-7625
    On the camera end RS-485 Input (TXDI+,TXDI-) to receiver signal from keyboard, matrix, DVR or
    multiplexer through twisted pair cable.
    This is what im having trouble with, "to receiver signal from DVR".

    The DVR is a DigitalSI 4000C Triplex but the manual doesn't say what pins on the RS-485 (DB9) input terminals are to be used.

    I found on a website the DB9 female connector pins are -
    pin 1 = RS-485 data -
    pin 6 = RS-485 data +
    Hope this is correct as im going to try it.

    By the way the PTZ must be an old one as it doesn't have the TXDI input push in terminals, it just has D+ & D- and are screwed terminals.

    Hey thanks for the dip switch info, very helpful.

  • #6
    Member Keystone's Avatar
    Join Date
    Jul 2008
    Location
    QLD.
    Posts
    281
    Thanks
    4
    Thanked 19 Times in 11 Posts
    Rep Power
    204
    Reputation
    151

    Default

    Opps, the pin terminals are in the manual after all.

    Pin 3 & 4.

  • #7
    Member Keystone's Avatar
    Join Date
    Jul 2008
    Location
    QLD.
    Posts
    281
    Thanks
    4
    Thanked 19 Times in 11 Posts
    Rep Power
    204
    Reputation
    151

    Default

    Hey George,

    If i was to not use the DVR to control it & use a control module (joystick) what would i be looking for ?

  • #8
    Senior Member
    intelliGEORGE's Avatar
    Join Date
    Jan 2008
    Location
    Sydney, AUSTRALIA
    Age
    43
    Posts
    4,106
    Thanks
    884
    Thanked 1,484 Times in 691 Posts
    Rep Power
    479
    Reputation
    7236

    Default

    Quote Originally Posted by Keystone View Post
    Hey George,

    If i was to not use the DVR to control it & use a control module (joystick) what would i be looking for ?
    As long as the joystick is RS 485, D+ and D- should be sufficient, then send the video feed to the DVR. Most applications are done that way as DVR PTZ control is mouse based and not as easy to use as a joystick. You should be able to purchase a Merit Lilin Joystick, so protocol shouldn't be an issue, just plug and play.

  • #9
    Member Keystone's Avatar
    Join Date
    Jul 2008
    Location
    QLD.
    Posts
    281
    Thanks
    4
    Thanked 19 Times in 11 Posts
    Rep Power
    204
    Reputation
    151

    Default

    Thanks mate, will have a look around.

  • Bookmarks

    Posting Permissions

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