ACL An Introduction.ppt
《ACL An Introduction.ppt》由会员分享,可在线阅读,更多相关《ACL An Introduction.ppt(29页珍藏版)》请在麦多课文档分享上搜索。
1、ACL An Introduction,Brian Hendricks,What Does ACL Stand For, Anyway?,Originally, Accelerator Command Language Also, ACNET Command Language Sometimes, ACNET Control Language (not by me),What is ACL?,“Simple” script language borrows concepts from other languages Interpreted, not compiled runtime compi
2、lation available Supports ACNET device notation Implemented in ASCII text files and database text files Built into CLIB,What is ACL Used For?,Lex SA (script object) originally to provide control also supports display scripts Sequencer eliminates the need for most new commands Parameter page (also pa
3、rameter window) supports complicated settings, etc. Command line interface (general use),How Can I Use ACL?,Call it from your program using CLIB interface Command line interface (type in acl) Program tools IDE (ACL Edit/Run) Parameter page and parameter window Web http:/adcon.fnal.gov/cgi-bin/acl?ac
4、l=insert ACL code here,Language Components,Commands roughly 100 Variables expire when the current script ends Symbols expire when the calling program ends names start with a dollar sign Operators Device expressions,ACL Commands,Device oriented read, list, show, set, on, off, turn, reset, positive, n
5、egative , toggle, delta_set , increment, decrement, compare, copy, download, restore, fill, ramp, enable, disable, bypass, activate, deactivate, search, logger_get Program control loop, endloop, exitloop, while, endwhile, continue, if, elseif, else, endif, exit , on_error, gosub, return, retry, brea
6、k Special support camac, gpib, timer_event, trigger, step_motor,ACL Commands (continued),Input/output print, output, input Environmental control timeout, ftd, data_event, data_source System information setting_log, alarm_log, event_log, state_log, node_info, node, event_info, mdat_info, program_info
7、, user_info, error_text,ACL Commands (continued),Variable control declare, resize run runs other programs including other ACL scripts wait pauses the script for a period of time or until a clock event or state event occurs,ACL Operators,Arithmetic +, -, *, /, , %, , , =, =, =, equals,ACL Special Ope
8、rators,is (isnot) device status on, off, ready, tripped, remote, local, positive negative, ramping, dc, good, alarming, enabled, disabled, bypassed, active, inactive, defined, undefined has (doesnt_have) database attribute reading, setting, status, control, analog_alarm, digital_alarm, reset_control
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ACLANINTRODUCTIONPPT
