艺术彩灯造型的PLC控制
摘 要
随着社会经济的发展,彩灯广泛应用于宾馆、酒楼、商厦、家居、橱窗、俱乐部、音乐会、时装表演、舞厅等场所的圣诞、节日彩灯装饰和夜景灯光装饰。本次设计的彩灯造型彩灯控制器是其中较简单的,但这是进行复杂设计的基础。本设计是采用日本三菱公司生产的FX2N-16MR型PLC作为控制器的彩灯造型。主要运用时间继电器、辅助继电器构成脉冲电路实现时间控制, 利用移位指令实现彩灯的轮流点亮,利用区间复位指令实现彩灯的熄灭控制。本设计给出了系统梯形图、指令表及输入输出接线图。
关键词:彩灯,FX2N-16MR,脉冲电路,移位指令,区间复位指令
1
THE PLC CONTROL OF ART LANTERN
ABSTRACT
With the social economic development, lantern is widely used in hotels, restaurants, office, home, window, clubs, concerts, fashion shows, dance halls and other places of the Christmas decorations and festive lanterns decorative night lights. The design of the lantern lantern controller design is one of the more simple, but it is complicated to design.
This design is produced by Japan's Mitsubishi FX2N-48MR-based Carnival PLC as the controller. The main use of time relay, auxiliary relay circuit constitute a pulse-time control, using shift instruction achieve tolight the lanterns in turn, zone reset instruction to control the Extinguish of lanterns. This design gives the system ladder diagram, instruction sheet and wiring diagram of input and output.
KEY WORDS: Lantern, FX2N-16MR, pulse circuits, shift instructions,zone reset instruction
2
目 录
第1章 绪论 ................................................................................................. 1
1.1 课题任务的提出 ............................................................................. 1 1.2 PLC的简介 ...................................................................................... 3
1.2.1 PLC的应用 ............................................................................ 4 1.2.2 PLC的系统结构 .................................................................... 4 1.2.3 PLC各部分的作用 ................................................................ 5 1.2.4现代PLC的发展趋势 ........................................................... 6
第2章 彩灯造型的设计方案..................................................................... 8
2.1控制要求 .......................................................................................... 8 2.2 PLC的选择 ...................................................................................... 9
2.2.1系统对PLC的要求 ............................................................... 9 2.2.2确定PLC的类型 ................................................................. 10 2.3 FX系列PLC的型号及编程元件 ............................................... 11
2.3.1FX系列PLC的型号说明 ................................................... 11 2.3.2FX系列PLC的编程元件 ................................................... 12 2.4 FX系列PLC的基本逻辑指令 ................................................... 16
2.4.1取指令与输出指令(LD/LDI/LDP/LDF/OUT) ............ 16 2.4.2触点串联指令(AND/ANI/ANDP/ANDF) .................... 17 2.4.3触点并联指令(OR/ORI/ORP/ORF) ........................... 18
第3章 艺术彩灯造型的PLC设计 ........................................................ 20
3. 1确定PLC的输入输出配置 ........................................................... 20
3.1.1确定输入输出设备 .............................................................. 20 3.1.2 PLC的外部接线图 .............................................................. 20 3.2程序设计 ......................................................................................... 21 3.2.1系统控制梯形图 .................................................................. 21
3
3.2.2系统控制指令语句表 .......................................................... 24
第4章 PLC的现场维护 ........................................................................ 27
4.1 PLC的可靠性设计 ........................................................................ 27 4.2故障检测与分析 ............................................................................ 28 4.3备用电源的更换 ............................................................................ 29 结 论 ........................................................................................................... 31 谢 辞 ........................................................................................................... 32 参考文献 ..................................................................................................... 33 附录 FX可编程控制器的功能指令 ........................................................ 34
4
相关推荐: