資源描述:
《多媒體通訊協(xié)議.doc》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、111多媒體通訊協(xié)議一、通訊格式:1.通訊方式:RS-2322.波特率:96003.數(shù)據(jù)位格式:1位起始位,8位數(shù)據(jù)位,無校驗(yàn)位,1位停止位4.數(shù)據(jù)串格式:字節(jié)數(shù)據(jù)說明1Start首碼2DataO數(shù)據(jù)03Command功能4Datal數(shù)據(jù)15Data2數(shù)據(jù)26Data3數(shù)據(jù)37Check校驗(yàn)(CH)5.數(shù)據(jù)校驗(yàn):Check=DataO+Command+Datal+Data2+Data3二、切換通訊格式說明:1、選擇網(wǎng)絡(luò)主機(jī)數(shù)據(jù):F40020MONNET00CHMON:監(jiān)NET:網(wǎng)絡(luò)號(00-10)2、選擇攝像機(jī)數(shù)據(jù):F4CAM21MONNET00CIIMON:監(jiān)視
2、器號(01-20)CAM:攝像機(jī)號(01-FF)NET:網(wǎng)絡(luò)號(00-10)F40221010000241號顯示器對應(yīng)2號攝像機(jī)F4012101002143第六個字節(jié)如果大于等于21代表是超過256的把第258路切換到第一個攝像機(jī)的代碼是258-256=2就是F40221010021443、程序切換數(shù)據(jù):F40027MONTU00CIIMON:監(jiān)視器號(01-20)TU:稈序組號(00-0F)4、群組切換數(shù)據(jù):F40028MONGP00CIIMON:監(jiān)視器號(01-20)GP:群組號(00-0F)5、同步切換數(shù)據(jù):F40029MONSA00CIIMON:監(jiān)視器號(
3、01-20)SA:同步切換組號(00-0F)6、正向切換數(shù)據(jù):F4002BMON0000CIIMON:監(jiān)視器號(01-20)7、反向切換數(shù)據(jù):E4002CMON0000CIIMON:監(jiān)視器號(01-20)8、圖像保持?jǐn)?shù)據(jù):F4002DMON0000CHMON:監(jiān)視器號(01-20)三、解碼器通訊格式說明:1、云臺向上動作數(shù)據(jù):F2ID01SUD0000CHID:解碼器號碼(01-FF)SUD:云臺上下速度值(00-3F)2、云臺向下動作數(shù)據(jù):F2TD02SUD0000CHTD:解I!SUD:云臺上下速度值(00-3F)3、云臺向左動作數(shù)據(jù):F2TD0400SLR0
4、0CHID:解碼器號碼(01-FF)SLR:云臺左右速度值(00-3F)4、云臺向右動作數(shù)據(jù):F2TD0800SLR00CHID:解碼器號碼(01-FF)SLR:云臺左右速度值(00-3F)5、云臺向左上動作數(shù)據(jù):F2ID05SUDSLR00CHID:解碼器號碼(01-FF)SUD:云臺上下速度值(00-3F)SLR:云臺左右速度值(00-3F)6、云臺向左下動作數(shù)據(jù):F2ID06SUDSLR00CIIID:解碼器號碼(01-FF)SUD:云臺上下速度值(00-3F)SLR:云臺左右速度值(00-3F)7、云臺向右上動作數(shù)據(jù):F2ID09SUDSLR00CHID:
5、解liSUD:云臺上下速度值(00-3F)SLR:云臺左右速度值(00-3F)8、云臺向右下動作數(shù)據(jù):F2IDOASUDSLR00CHID:解碼器號碼(01-FF)SUD:云臺上下速度值(00-3F)SLR:云臺左右速度值(00-3F)9、鏡頭光圈(IRIS)+/-動作數(shù)據(jù):F2ID0B/0C000000CIIID:解碼器號碼(01-FF)10、鏡頭聚焦(FOCUS)+/-動作數(shù)據(jù):F2IDOD/OE000000CIIID:解碼器號碼(01-FF)11、鏡頭變倍(ZOOM)+/-動作數(shù)據(jù):F2ID0F/10000000CIIID:解碼器號碼(Ol-FF)12、云臺
6、/鏡頭動作停數(shù)據(jù):F2ID07000000CIIID:解碼器號碼(01-FF)13、云臺白動掃描開/關(guān)數(shù)據(jù):F2TD11/12000000CHID:解H14、輔助1開/關(guān)數(shù)據(jù):F2TD11/12010000CHID:解ii15、輔助2開/關(guān)數(shù)據(jù):F2TD11/12020000CHID:解不16、輔助燈光開/關(guān)數(shù)據(jù):F2ID11/12030000CHID:解碼器號碼(01-FF)17、輔助雨刷開/關(guān)數(shù)據(jù):F2ID11/12040000CIIID:解碼器號碼(01-FF)18、設(shè)置預(yù)置位數(shù)據(jù):F2ID13PRE0000CIIID:解碼器號碼(Ol-FF)PRE:預(yù)置位
7、(01-40)19、調(diào)用預(yù)置位數(shù)據(jù):F2ID14PRE0000CH[D:解不位(01-40)20、清除預(yù)置位數(shù)據(jù):F2ID15PRE0000CH[D:解不位(01-40)四、報警主機(jī)通訊格式說明:1、報警主機(jī)設(shè)防數(shù)據(jù):F6ARM41010000CIIARM:警點(diǎn)號碼(01-FF)2、報警主機(jī)撤防數(shù)據(jù):F6ARM42010000CHARM:警點(diǎn)號碼(01-FF)3、報警主機(jī)設(shè)防、撤防數(shù)據(jù):F6GARM4108DATA00CH;GARM:報警主機(jī)號碼(01-10)DATA:設(shè)防、撤防位功能(1:設(shè)防;0:撤防)4、報警主機(jī)應(yīng)答數(shù)據(jù):F6ARM43010000CHARM
8、:警點(diǎn)號碼