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 -> |
By memory it requires Merit LILIN MLP2 protocol, and the connection should be Data + and Data - (2 wire)
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.
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.
Opps, the pin terminals are in the manual after all.
Pin 3 & 4.
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.
Thanks mate, will have a look around.
Bookmarks