工业仪表与自动化装置
工業儀錶與自動化裝置
공업의표여자동화장치
INDUSTRIAL INSTRUMENTATION & AUTOMATION
2013年
4期
85-87,100
,共4页
杨跃斌%吴旭光%牛云%莫楠
楊躍斌%吳旭光%牛雲%莫楠
양약빈%오욱광%우운%막남
嵌入式系统%指令向量表%软PLC%梯形图%解释型
嵌入式繫統%指令嚮量錶%軟PLC%梯形圖%解釋型
감입식계통%지령향량표%연PLC%제형도%해석형
embedded system%instruction vector table%soft-PLC%ladder diagram%explain type
提出了一种基于指令向量表的嵌入式软PLC系统的实现方法。系统由开发系统和执行系统构成。开发系统所编辑的梯形图( LAD)、语句表( STL)形式的PLC程序将被转换生成为中间代码。执行系统建立一个指令向量表,按指令识别码储存中间代码指令函数的入口地址,使解释型软PLC系统取指后可以对中间代码的指令执行函数进行直接快速跳转,从而提高解释型软PLC的执行效率,保证了解释型软PLC执行系统的实时性,使解释型软PLC执行系统具有接近于编译型软PLC执行系统的执行速度。
提齣瞭一種基于指令嚮量錶的嵌入式軟PLC繫統的實現方法。繫統由開髮繫統和執行繫統構成。開髮繫統所編輯的梯形圖( LAD)、語句錶( STL)形式的PLC程序將被轉換生成為中間代碼。執行繫統建立一箇指令嚮量錶,按指令識彆碼儲存中間代碼指令函數的入口地阯,使解釋型軟PLC繫統取指後可以對中間代碼的指令執行函數進行直接快速跳轉,從而提高解釋型軟PLC的執行效率,保證瞭解釋型軟PLC執行繫統的實時性,使解釋型軟PLC執行繫統具有接近于編譯型軟PLC執行繫統的執行速度。
제출료일충기우지령향량표적감입식연PLC계통적실현방법。계통유개발계통화집행계통구성。개발계통소편집적제형도( LAD)、어구표( STL)형식적PLC정서장피전환생성위중간대마。집행계통건립일개지령향량표,안지령식별마저존중간대마지령함수적입구지지,사해석형연PLC계통취지후가이대중간대마적지령집행함수진행직접쾌속도전,종이제고해석형연PLC적집행효솔,보증료해석형연PLC집행계통적실시성,사해석형연PLC집행계통구유접근우편역형연PLC집행계통적집행속도。
It proposed a more efficient method to implement an explain type soft -PLC system by creating an instruction vector table .This kind of embedded system consists of development subsystem and execution subsystem .The ladder diagram ( LAD) and statement list ( STL) edited by the development subsystem will be converted and generated as intermediate code .The execution subsystem set up an in-struction vector table .That table stores the entry address of instruction functions following the order of their ID.It can make instruction functions jump more directly and more quickly after instruction fetching . These methods will ensure real -time performance and efficiency of the explain type system .The execu-tion speed of such a explain type system is close to that kind of compiled type system .