摘要:本文以西门子S7-1200系列PLC、步进电机及西门子KTP700PN触摸屏为研究对象,步进电机控制为例,利用TIA Portal V15.1编程软件进行硬件组态和软件编程,实现了PLC以及触摸屏对温度PID控制的功能。实验结果表明,S7-1200完全实现了步进电机控制,并具有稳定的速度,位置曲线,可以较好地应用在工业生产中。
关键词:西门子PLC1200;步进电机;KTP700PN触摸屏
Stepper motor control based on the Siemens S7-1200PLC
Abstract: in this paper, Siemens S71200 series PLC, stepper motor and KTP700PN touch screen as the research object, stepper motor control as an example, using TIA Portal V15.1 programming software for hardware configuration and software programming. The function of PLC and touch screen to stepper motor is realized. The experimental results show that S7-1200 fully realizes the stepper motor control ,and has a stable velocity and position curve, which can be well applied in industrial production.
Key words: Siemens PLC; stepper motor ; KTP700PN touch screen
一.功能要求
利用西门子TIA Portal V13编程软件,实现PLC(S7-1200系列:CPU1214C AC/DC/RLY)对步进电机的控制,以及PLC与触摸屏之间的以太网通讯,触摸屏应能控制步进电机的运动方向速度以及距离。
具体内容如下: