计算机应用与软件
計算機應用與軟件
계산궤응용여연건
Computer Applications and Software
2015年
10期
236-239
,共4页
未庆超%蔡启仲%李克俭%潘绍明%谢从涩
未慶超%蔡啟仲%李剋儉%潘紹明%謝從澀
미경초%채계중%리극검%반소명%사종삽
LPC1768%Flash%PLC 文件系统%IAP%反编译
LPC1768%Flash%PLC 文件繫統%IAP%反編譯
LPC1768%Flash%PLC 문건계통%IAP%반편역
LPC1768%Flash%PLC file system%IAP%Decompile
针对现有编程装置仅能存储一套 PLC 程序、无法查看源程序等缺点,设计一种以 LPC1768微控制器为控制核心的便携式 PLC 编程装置,其存储和反编译模块的设计,实现了12套源程序的存储,且源程序不会丢失;能随时查看源指令文件;提高了编辑指令的效率。采用 FAT32文件系统的设计方法建立 PLC 文件系统来暂存指令文件。运用 IAP 编程技术使用片内 Flash 存储源指令文件。源指令文件以二进制目标代码的形式存在 Flash 中。运用反编译技术将目标代码文件编译成源指令文件,便于查看或编制。实验表明该装置的存储和反编译模块的可行性和可靠性,克服了已有技术的缺点。
針對現有編程裝置僅能存儲一套 PLC 程序、無法查看源程序等缺點,設計一種以 LPC1768微控製器為控製覈心的便攜式 PLC 編程裝置,其存儲和反編譯模塊的設計,實現瞭12套源程序的存儲,且源程序不會丟失;能隨時查看源指令文件;提高瞭編輯指令的效率。採用 FAT32文件繫統的設計方法建立 PLC 文件繫統來暫存指令文件。運用 IAP 編程技術使用片內 Flash 存儲源指令文件。源指令文件以二進製目標代碼的形式存在 Flash 中。運用反編譯技術將目標代碼文件編譯成源指令文件,便于查看或編製。實驗錶明該裝置的存儲和反編譯模塊的可行性和可靠性,剋服瞭已有技術的缺點。
침대현유편정장치부능존저일투 PLC 정서、무법사간원정서등결점,설계일충이 LPC1768미공제기위공제핵심적편휴식 PLC 편정장치,기존저화반편역모괴적설계,실현료12투원정서적존저,차원정서불회주실;능수시사간원지령문건;제고료편집지령적효솔。채용 FAT32문건계통적설계방법건립 PLC 문건계통래잠존지령문건。운용 IAP 편정기술사용편내 Flash 존저원지령문건。원지령문건이이진제목표대마적형식존재 Flash 중。운용반편역기술장목표대마문건편역성원지령문건,편우사간혹편제。실험표명해장치적존저화반편역모괴적가행성화가고성,극복료이유기술적결점。
In light of the defect of existing programming device that only one set of PLC program can be stored and not able to view source program,etc.,we designed a portable PLC programming device which uses LPC1768 microprocessor as the control centre.The design of its storage and decompiling modules achieved the storage of 12 sets of PLC source program without losing anyone.The source command file could be viewed at any time,the efficiency of instructions edition was improved as well.We used the design way of FAT32 file system to set up PLC file system to temporarily store the source instruction file.We also used IAP programming technology to store source instruction files with on-chip Flash.Source instruction file was stored in Flash in the form of binary object code.We employed the decompilation technology to com-pile the object code files into source instruction files,to view or edit them was convenient.Experiment showed that the store and decompila-tion module of the device was feasible and reliable,and had overcome the shortcomings of existing technologies.