教你如何拨云台开关地址
举例某云台内部有1个红色拨码开关,系8位的,假如厂家把此开关8位均作为云台地址,根据二进制,2的8次方=256,说明此云台具备0-255只地址,现在问题:15号地址怎么拨? 云台解码板软件必须具备一个条件:1=0N,0=OFF 根据如下公式: 下面公式K8-K1分别表示开关的高位8到低位1; 云台地址=K8*128+K7*64+K6*32+K5*16+K4*8+K3*4+K2*2+K1*1 15号地址= 0*128+0*64+0*32+0*16+1*8+1*4+1*2+1*1 得出拨码开关的1、2、3、4位拨到ON,其余拨到OFF,即为云台的15号地址。 在算一个; 62号地址怎么拨? 62号地址=0*128+0*64+1*32+1*16+1*8+1*4+1*2+0*1 得出拨码开关的1位拨到OFF,2、3、4、5、6拨到ON,即为云台的62号地址。 深圳真功夫监控科技收集
摄像机,DVR厂家技术产品咨询:QQ871420809
|
看这个吧,希望能看明白。 地址 拨码设定 K1-1 K1-2 K1-3 K1-4 K1-5 K1-6 地址 拨码设定 K1-1 K1-2 K1-3 K1-4 K1-5 K1-6 0 OFF OFF OFF OFF OFF OFF 36 OFF OFF ON OFF OFF ON 1 ON OFF OFF OFF OFF OFF 37 ON OFF ON OFF OFF ON 2 OFF ON OFF OFF OFF OFF 38 OFF ON ON OFF OFF ON 3 ON ON OFF OFF OFF OFF 39 ON ON ON OFF OFF ON 4 OFF OFF ON OFF OFF OFF 40 OFF OFF OFF ON OFF 0N 5 ON OFF ON OFF OFF OFF 41 ON OFF OFF ON OFF ON 6 OFF ON ON OFF OFF OFF 42 OFF ON OFF ON OFF ON 7 ON ON ON OFF OFF OFF 43 ON ON OFF ON OFF ON 8 OFF OFF OFF ON OFF OFF 44 OFF OFF ON ON OFF ON 9 ON OFF OFF ON OFF OFF 45 ON OFF ON ON OFF ON 10 OFF ON OFF ON OFF OFF 46 OFF ON ON ON OFF ON 11 ON ON OFF ON OFF OFF 47 ON ON ON ON OFF ON 12 OFF OFF ON ON OFF OFF 48 OFF OFF OFF OFF ON ON 13 ON OFF ON ON OFF OFF 49 ON OFF OFF OFF ON ON 14 OFF ON ON ON OFF OFF 50 OFF ON OFF OFF ON ON 15 ON ON ON ON OFF OFF 51 ON ON OFF OFF ON ON 16 OFF OFF OFF OFF ON OFF 52 OFF OFF ON OFF ON ON 17 ON OFF OFF OFF ON OFF 53 ON OFF ON OFF ON ON 18 OFF ON OFF OFF ON OFF 54 OFF ON ON OFF ON ON 19 ON ON OFF OFF ON OFF 55 ON ON ON OFF ON ON 20 OFF OFF ON OFF ON OFF 56 OFF OFF OFF ON ON ON 21 ON OFF ON OFF ON OFF 57 ON OFF OFF ON ON ON 22 OFF ON ON OFF ON OFF 58 OFF ON OFF ON ON ON 23 ON ON ON OFF ON OFF 59 ON ON OFF ON ON ON 24 OFF OFF OFF ON ON OFF 60 OFF OFF ON ON ON ON 25 ON OFF OFF ON ON OFF 61 ON OFF ON ON ON ON 26 OFF ON OFF ON ON OFF 62 OFF ON ON ON ON ON 27 ON ON OFF ON ON OFF 63 ON ON ON ON ON ON 28 OFF OFF ON ON ON OFF 29 ON OFF OFF ON ON OFF 30 OFF 0N ON ON ON OFF 31 ON ON ON ON ON OFF 32 OFF OFF OFF OFF OFF ON 33 ON OFF OFF OFF OFF ON 34 OFF ON OFF OFF OFF ON 35 ON ON OFF OFF OFF ON
00001 1
00010 2
00011 3
00100 4
00101 5
00110 6
00111 7
01000 8
01001 9
01010 10
01011 11
01100 12
01101 13
01110 14
01111 15
10000 16
|
楼上几位都说的很清楚了。。。。。就是2进制码。不是0就是1,逢2进1,和10进位的逢10进1没什么区别。如果你不是很懂,可以看看电脑上自己带的计算器,选择科学型,然后上面有2进制,8进制,10进制和16进制。你可以输入地址位,然后点2进制,看看不就很明白了。比如10进制32(就是我们说的地址32),然后你点2进制,马上就显示1000000
反应到拨码上面刚好相反00000010,也是说只要把第7位拨到ON位置就是32地址了。
如地址5,就是101,拨码是10100000,1代表ON,0代表OFF
地址11,就是1011,拨码是11010000,一般的厂家都是从8位的拨码开关,然后从1位开始拨码,但是也有厂家从8位开始计算(就是计算出的2进制数字怎么排列就怎么拨,补足8位)
我还见过用10进制拨码来拨地址位的。2个10进制的旋转码,地址多少,就拨多少。不过很少见,我也就见过一回。
进制其实是学计算机或者单片机最基本入门的,计算机基础教材上就有。我读计算机专业的时候还考试,手工算题,哪个时候还想,这个有狗屁用啊。。。。。
1 10000000 也可以是00000001(不同厂家而定)
2 01000000 00000010
3 11000000 00000011
简单的2进制
3就是 1 和2都ON
以此类推的
4就是 3 ON
一个一个加上去的
自己看看就明白了
深圳真功夫监控科技收集
摄像机,DVR厂家技术产品咨询:QQ871420809 |