摘要
给出花式彩灯显示PLC控制要求,采用模式开关设定显示模式,利用数据传送指令对M寄存器进行初始化赋值,并通过移位指令实现彩灯显示状态的动态变换、启停按钮启动和停止显示状态。
The PLC control requirement of fancy colored lights display is given,the mode switch is used to set the display mode,the M register is initialized and assigned by data transfer instruction,the dynamic change of the display state of colored light is realized by shift instruction,and the buttons is used to start and stop the display state.
出处
《工业控制计算机》
2024年第7期161-162,共2页
Industrial Control Computer
基金
安徽省质量工程重点教学研究项目:以学生为中心的PLC课堂教学改革实践与探索(2021jyxm0134)
关键词
花式彩灯
PLC
程序功能流程图
梯形图
fancy colored lights
PLC
program function flow chart
ladder diagram