摘要
指令表向梯形图的转换功能在PLC编程软件中具有重要作用,设立两个坐标点用于确定转换后梯形图在界面中的坐标,为指令表语言添加标志位并将每条指令压栈,通过指令对栈深的影响改变梯形图的显示坐标,最终实现指令表到梯形图的转换。
Conversion of instruction list to the ladder diagram plays an important role in the PLC programming software.In this paper,setting up two coordinate points to determine ladder diagram’s coordinates after to be converted was implemented,including adding flags to the language of instruction list and stacking each instructions there,and then making use of instruction’s effect on the stack depth to change display coordinate of the ladder diagram so that the transformation of instruction list into ladder diagram can be realized.
作者
施昊言
王庭有
SHI Hao-yan;WANG Ting-you(Faculty of Mechanical and Electrical Engineering, Kunming University of Science and Technology)
出处
《化工自动化及仪表》
CAS
2022年第5期626-629,651,共5页
Control and Instruments in Chemical Industry
关键词
块合并转换算法
梯形图
指令表
转换算法
PLC
logic block-merging conversion algorithm
ladder diagram
instruction list
conversion algorithm
PLC