毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

VB和PLC的电动转椅控制系统的设计+源程序

时间:2020-06-11 21:48来源:毕业论文
从硬件的选取开始系统的设计,最主要的硬件是西门PLC S7-200,在控制系统中起到枢纽的作用,通过上位机与PLC的通信达到对步进电机的精确控制。通过一些参数的计算,为PLC中程序的编

摘要与传统的接触器继电器控制系统相比,基于VB和PLC的电动转椅控制系统具有高效,快速等特点,而且能够达到对角度和位置的精确控制。

本文从硬件的选取开始系统的设计,最主要的硬件是西门PLC S7-200,在控制系统中起到枢纽的作用,通过上位机与PLC的通信达到对步进电机的精确控制。通过一些参数的计算,为PLC中程序的编制提供了基础。50673

使用角度传感器保证随时能够获得转椅所转过的角度,通过功能扩展模块EM235进行A/D转换后送入PLC处理后,改变运动方向,达到摆动的目的。

在PLC程序的编制过程中,位控制模块EM253起了重要的作用,与步进驱动器连接实现对步进电机的调速控制。

VB上位机程序主要是使用MSComm控件实现与PLC的通信,并对VB中其他控件的程序设计来完成上位机对PLC的控制。

毕业论文关键词:PLC,运动控制,VB

Abstract  With traditional contactor relay control systems, based on VB and PLC control system with high efficiency electric chair, fast, etc., and can achieve precise control of the angle and position.

    This paper starts from the selection of hardware system design, the most important hardware is Simon PLC S7-200, in the control system plays a pivotal role, through the communication between PC and PLC to achieve precise control of the stepper motor. Through a number of parameters are calculated for the PLC program provides the basis for the establishment.

    Using the angle sensor can be obtained at all times ensure that the swivel angle turned by the function expansion EM235 for A / D conversion processing into the PLC, the change in direction of movement, to achieve the purpose of the swing.

    In the process of compiling the PLC program, position control module EM253 played an important role in connection with the realization of the stepper drive stepper motor speed control.

    VB PC program is to use the MSComm control with PLC communications, and other controls in VB program designed to perform a PC to the PLC control.

    Keywords: PLC, motion control, VB

目  录

第一章 绪论 1

1.1 概述 1

1.2 PLC和步进电机发展趋势 1

1.3 传统电器控制线路设计方案 2

第二章 硬件的选取 4

2.1 PLC的选取 4

2.2 位控制模块的选取 5

2.3 步进驱动器的选取 6

2.4 步进电机的选取 8

2.5 上位机的选取 9

2.6 传感器的选取 9

2.7 模拟量输出模块 10

2.8 上位机与PLC的通信电缆 12

第三章 PLC控制系统的设计 13

3.1 角速度的计算 13

3.2 EM235 A/D转换的计算 14

3.3 应用“Position Control Wizard”配置定位模板EM253 15

3.4 PLC程序梯形图的设计 17

第四章 PLC通信程序 27

4.1 上位机与PLC实现通信的方法 27

4.2 上位机与PLC实现通信的条件 27

4.3 VB 程序设计要点 VB和PLC的电动转椅控制系统的设计+源程序:http://www.751com.cn/jisuanji/lunwen_54042.html

------分隔线----------------------------
推荐内容