欢迎来到冰点文库! | 帮助中心 分享价值,成长自我!
冰点文库
全部分类
  • 临时分类>
  • IT计算机>
  • 经管营销>
  • 医药卫生>
  • 自然科学>
  • 农林牧渔>
  • 人文社科>
  • 工程科技>
  • PPT模板>
  • 求职职场>
  • 解决方案>
  • 总结汇报>
  • ImageVerifierCode 换一换
    首页 冰点文库 > 资源分类 > DOCX文档下载
    分享到微信 分享到微博 分享到QQ空间

    英飞拓矩阵控制协议rs232Word格式.docx

    • 资源ID:7544402       资源大小:22.90KB        全文页数:16页
    • 资源格式: DOCX        下载积分:3金币
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录
    二维码
    微信扫一扫登录
    下载资源需要3金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP,免费下载
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    英飞拓矩阵控制协议rs232Word格式.docx

    1、ALARM CALL-UP CONTROL 5.0 AD168 PAN/TILT/LENS CONTROL 6.0 ASCII COMMAND TABLE AppNewtek Corp. Princeton U.S.A. 1.0 GENERAL DESCRIPTIONThis document defines the code structure necessary for the control and operation of an American Dynamics matrix switching system from an external device such as a com

    2、puter or terminal.Control of American Dynamics matrix system is accomplished using ASCII command strings transmitted from the controlling device (keyboard, computer, terminal, etc.) to the matrix system CPU via RS-232. Operations described include camera-to-monitor switching, tour/sequence control,

    3、PTZ control (telemetry), and alarm interface.The matrix switching systems CPU, whether internal or external, has multiple full duplex RX-232 control ports. Each port is configurable through the matrix systems internal menus to accept data words with 7 or 8 data bits, 1 or 2 stop bits and parity sele

    4、ction (none, even or odd). Baud rates are selectable between 1200, 2400, 4800 or 9600 baud. Port use should be set to TERMINAL. The default port setting is for KEYBOARD at 1200 baud with 8 data bits, 1 stop bit and no parity. The 7-bit ASCII code set is used for control commands.All commands must be

    5、 followed by a terminating character such as carriage return (HEX 0D). The system CPU will also recognize a lower case letter, specifically “a”, “b”, “c”, or “d” to terminate all control and operation commands. Other ASCII control codes, such as LF (HEX 0A) are ignored. For data flow control, the so

    6、ftware handshake Control Q (ASCII DC1 or HEX 11) and Control S (ASCII DC3 or HEX 13), also known as XON and XOFF, is supported.The examples in this document show how to perform various functions for control of the matrix switching system. Not all available functions are described. For a listing of i

    7、nterface codes, please refer to the code description table in the Appendix.2.0 CARMERA TO MONITOR CALL-UPIn order to switch cameras to a monitor, the monitor must first be addressed. Once the monitor is selected all camera switch selections shall be for that monitor until another monitor is addresse

    8、d. Subsequent camera selections to the same monitor do not require re-selecting that monitor. The following examples show how to select a monitor and call a camera.Monitor SelectionThe data string for selecting a monitor consists of the Monitor Number, Monitor Function Descriptor and the String Term

    9、inator. Example: Select monitor 10 to initiate camera call-up String: Monitor Number 10 Function Descriptor M String Terminator a ASCII: 1 0 M a HEX: 31 30 4D 61Camera SelectionThe data string for calling a camera to a previously selected monitor consists of Camera Number, Camera Function Descriptor

    10、 and the String Terminator.Example: Call camera 25 to previously selected monitorString: Camera Number 25 Function Descriptor # String Terminator aASCII: 2 5 # a HEX: 32 35 23 613.0 TOUR/SEQUENCE CONTROLTours or sequences of cameras are controlled by first addressing the monitor and selecting the ap

    11、propriate action. There are two types of tours/sequences: Monitor Tours and Universal Tours. A description of the tour operation is located in the manuals for the individual matrix witching system.Monitor Tour OperationTo run a Monitor Tour, two data strings must be sent. First, the monitor must be

    12、selected, and then the tour is initiated with RUN command. The data string consists of the Monitor Number, Monitor Function Descriptor and the String Terminator followed by the Run Function Descriptor and the String Terminator. Run monitor tour (scratch pad tour) on monitor 10 Function Descriptor S

    13、String Terminator a 1 0 M a S a HEX: 31 30 4D 61 53 61Universal Tour OperationTo run a Universal Tour, three data strings must be sent. First, the monitor must be selected, then the Tour Number and Run command must be sent, and finally the Acknowledge command is sent. The data string will consist of

    14、 the Monitor Number, Monitor Function Descriptor and the String Terminator, the Tour Number, Run Function Descriptor and the String Terminator and the Acknowledge Function Descriptor and the String Terminator. Run Universal Tour 5 on monitor 10 Tour Number 5 Function Descriptor S String Terminator a

    15、 Function Descriptor String Terminator a 1 0 M a 5 S a a HEX: 31 30 4D 61 35 53 61 5F 61Holding a Tour OperationTo hold a tour that is presently running, two data strings must be sent. First select the monitor, and then initiate the Hold command. The data string well consist of the Monitor Number, M

    16、onitor Function Descriptor and the String Terminator followed by the Hold Function Descriptor and the String Terminator. Hold a tour running on monitor 10 Function Descriptor H String Terminator a 1 0 M a H a HEX: 31 30 4D 61 48 614.0 PAN/TILT/LENS CONTROLTo request continuous real time actions such

    17、 as pan, tilt, zoom, focus or iris control, the ASCII code for the desired action followed by a terminator must be sent a minimum of five times and repeated for as long as the action is desired. To ensure smooth continuous action, the code must be repeated at a rate of approximately 15 times per sec

    18、ond. These commands will control the camera currently displayed on the addressed monitor.Fixed Speed Pan/Tilt ControlFor control of fixed speed pan/tilts, the desired Direction Function Descriptor must be sent followed by a String Terminator at a rate of 15 times per second. Pan currently displayed

    19、camera on selected monitor to the right Right Command R String Terminator a (Repeat 15 times/second until target is reached) R a R a etc. HEX: 52 61 52 61 etc.Variable Speed Pan/Tilt ControlFor control of variable speed pan/tilt units, eight proportional speeds are available in each direction. The s

    20、peeds are defined by a Speed Number from 0 to 6, where 0 is the slowest speed and 6 is the second highest speed. For full speed operation, no speed number is required (see example above). Commands must be sent at a rate of 15 times per second. Pan currently displayed camera on selected monitor to th

    21、e left at half speed Speed Number 4 Left Command L String Terminator a (Repeat 15 times/second until target is reached) 4 L a 4 L a etc. HEX: 34 4C 61 34 4C 61 etc.Diagonal Pan & Tilt OperationTo control both the pan and tilt functions simultaneously, ie. on a diagonal, the commands for both pan and

    22、 tilt directions must be interleaved in the data stream at a rate of 15 times per second. For the camera currently displayed on the monitor, pan right and tilt up simultaneously Right Command R String Terminator a Up Command U String Terminator a (Repeat 15 times/second until target is reached) R a

    23、U a R a U a etc. HEX: 52 61 55 61 55 61 55 61 etc.Lens ControlFor lens control, the desired Function Descriptor (zoom wide or telephoto, focus near or far, iris open or close) must be sent followed by the String Terminator at a rate of 15 times per second. Operate zoom lens in telephoto mode (ie. zo

    24、om in) Telephoto Command T String Terminator a (Repeat 15 times/second until target is reached) T a T a etc. HEX: 54 61 54 61 etc.Preset (Shot) ControlTo call a preset scene (or shot) for the current camera, a previously defined preset scene number must be sent followed by the Call Shot Function Des

    25、criptor and a String Terminator. Call present scene 3 on current camera Preset Scene Number 3 Call Shot Function Descriptor String Terminator a 3 a HEX: 33 5C 61Auxiliary ControlAuxiliary relays at suitably equipped camera sites are configured as either latching or momentary. To activate a momentary

    26、 auxiliary relay, the Auxiliary Number and Aux On Function Descriptor must be sent at a rate of 15 times per second until the desired activity is completed. To turn on or turn off a latching relay, the Auxiliary Number and the Aux On or Aux Off Function Descriptor must be sent respectively to attain

    27、 the desired result. Each command must be proceeded by a String Terminator. Activate momentary auxiliary relay 1 Auxiliary Number 1 Aux On Function Descriptor A String Terminator a (repeat at 15 times/second until action is completed) 1 A a 1 A a etc. HEX: 31 41 61 31 41 61 etc. Turn on latching aux

    28、iliary relay 2 Auxiliary Number 2 Aux On Function Descriptor A String Terminator a 2 A a HEX: 32 41 61 Turn off latching auxiliary relay 2 Auxiliary Number 2 Aux Off Function Descriptor B String Terminator a 2 B a HEX:5.0 ALARM CALL-UP CONTROLAn alarm command can be used to automatically switch came

    29、ra(s) to monitor(s) with the occurrence of an alarm condition. A user defined alarm/camera table in stored in the matrix switching system at system set-up, and is accessed by the alarm command data string. For information on alarms and alarm programming please review the respective matrix system man

    30、ual(s). The following examples show how to initiate, clear and acknowledge an alarm.New AlarmThis command initiates a new alarm for auto camera call-up. The data string consists of the Alarm Contact Number, Function Descriptor and the String Terminator. Activate alarm contact 25 Alarm Contact Number 25 Function Descriptor E String Terminator a 2 5 E a HEX: 32 35 45 61End (Clear) AlarmThis command is


    注意事项

    本文(英飞拓矩阵控制协议rs232Word格式.docx)为本站会员主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2023 冰点文库 网站版权所有

    经营许可证编号:鄂ICP备19020893号-2


    收起
    展开