举例某云台内部有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号地址。 深圳真功夫监控科技收集 |
看这个吧,希望能看明白。
地址 拨码设定 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 |
自己看看就明白了
深圳真功夫监控科技收集