
第1章 PLC及其软件使用
1.1 PLC简介与内部构成
1.1.1 PLC是什么
可编程控制器(Programmable Logic Controller, PLC)主要用于自动化领域的控制。其工作原理是通过传感器、开关等元件采集按钮状态、温度、湿度等信息,然后将信息传递给PLC处理器进行信息处理,再将处理结果反馈给继电器、灯、电磁阀等执行设备进行相对应的动作,类似于我们人体感官感受外界信息,然后大脑根据信息告诉我们应该如何去做。我们也可以将PLC理解为一个开关,PLC输入端接收信号,PLC处理信号,然后打开对应的输出端开关使对应的输出执行操作。PLC运行原理如图1-1所示。

图1-1 PLC工作示意图
目前国内应用比较广泛的PLC有以下几款。
1. 三菱系列PLC
部分三菱系列的PLC产品如图1-2和图1-3所示。

图1-2 三菱FX3U

图1-3 三菱系列PLC
2. 西门子系列PLC
西门子PLC的主要产品有S5及S7系列,其中S7系列是近年来开发的、代替S5的新产品,常见的西门子PLC如图1-4所示。

图1-4 西门子PLC
3. 欧姆龙系列PLC
欧姆龙公司的PLC产品大、中、小、微型规格齐全,常见的欧姆龙PLC如图1-5所示。

图1-5 欧姆龙PLC
4. 国产PLC
近年来,国产PLC的推广占据了部分小型PLC市场,主要控制小规模的设备系统,性价比高,易上手。包括但不限于永宏PLC、安控PLC、台安PLC、丰炜PLC、南大傲拓PLC、信捷PLC、黄石科威PLC、正航PLC。常见的国产PLC如图1-6所示。

图1-6 国产PLC
PLC的应用领域非常广泛,学好PLC可以大幅提升自动化水平,提高工作效率,节省劳动力,常见PLC的实际应用如图1-7~图1-17所示。

图1-7 PLC的应用

图1-8 PLC自动化应用

图1-9 PLC应用于保护和支持设备

图1-10 用于食品工业中的PLC

图1-11 支持设备自动化和节能的PLC

图1-12 用于娱乐场合的PLC

图1-13 用于建筑和环境的PLC

图1-14 用于农渔业的PLC

图1-15 车载或相关设备中的PLC

图1-16 用于零售业中的PLC

图1-17 其他PLC应用
PLC类型这么多,应用领域这么广泛,到底学哪种呢?其实这就像汽车驾驶证,我们并没有奥迪汽车驾驶证、宝马汽车驾驶证,我们要学的是一种编程的逻辑思维。这里我们以三菱PLC为例进行学习,以后学习其他品牌也会很快上手。