《步进电机控制器》.(DOC)
1、cnc可编程步进电机控制器(说明书)

CNC可编程步进电机控制器(说明书)一、概述CNC可编程步进电机控制器可与步进电机驱动器、步进电机组成一个完善的步进电机控制系统,能控制多台步进电机多段分时运行。
本控制器采用计算机式的编程语言,拥有输入、输出、计数、循环、条件转移、无条件转移、中断等多种指令。
具有编程灵活、适应范围广等特点,可广泛应用于各种控制的自动化领域。
二、技术指标1. 可控制3台步进电机(分时工作)2. 可编100段程序指令(不同的工作状态)3. 5条升降速曲线选择4. 最高输出频率:10 KPPS(脉冲/秒)5. 可接受外接信号控制6. 可控制外部其它部件工作7. 数码显示,可显示当前的运行状态、循环次数、脉冲数等8. 采用超高速单片机控制,采用共阳接法,可直接驱动我厂生产的SH系列步进电机驱动器三、控制器的显示及操作键1.面板说明:8位数码显示:作设定、循环作计数、运行状态、电机工作之用。
指示灯显示输入、输出、方向、脉冲等各种工作。
操作键多为复合键,在不同的状态下表示不同的功能。
2.接线说明:见控制器后盖接线图:( 1 )、OPTO、DIR、CP为步进电机驱动器控制线,此三端分别连至驱动器的OPTO、DIR、CP端:其中:OPTO----所有电机公共阳端接所有驱动器OPTO端DIR0-----0号电机方向电平信号接0号电机驱动器DIR端CP0-------0号电机脉冲信号接0号电机驱动器CP端DIR1-----1号电机方向电平信号接1号电机驱动器DIR端CP1-------1号电机脉冲信号接1号电机驱动器CP端DIR2-----2号电机方向电平信号接2号电机驱动器DIR端CP2-------2号电机脉冲信号接2号电机驱动器CP端( 2 )、启动启动程序自动运行,可接霍尔、光电、接近开关等信号端。
(下降沿有效)相当于面板上键。
( 3 )、停止暂停正自动运行的程序,可接霍尔、光电、接近开关等信号端。
(下降沿有效)相当于面板上的键,再次启动后,程序继续运行。
步进电机控制器说明书

步进电机控制器说明书本文档旨在提供步进电机控制器的详细说明,包括其功能、使用方法和技术参数等内容。
以下是各章节的具体细化:1. 引言1.1 背景介绍1.2 目的与范围2. 控制器概述2.1 功能特点- 步进电机驱动能力强大,适用于多种应用场景。
- 支持多种通信接口(如RS485、CAN)以及常见编程语言(如C++、Python)。
- 提供丰富而灵活的运动控制模式。
3. 硬件配置要求3.1最低硬件需求CPU:Intel Core i5或更高版本;内存:8GB RAM 或以上;存储空间:100GB 可用磁盘空间;3.2推荐硬件配置CPU: Intel Core i7-9700K;内存:16 GB DDR4;显卡:NVIDIA GeForce RTX2060 Super;4.安装指南4-1安装前准备工作a) 操作系统选择:Windows操作系统推荐Windows10, Linux操作系統建议Ubuntu18+.b) 软件:访问官方网站最新版本的步进电机控制器软件。
4-2安装过程a) 运行安装程序,按照提示完成安装;b) 配置相关参数以适应实际需求。
5. 使用方法5.1 控制器连接与通信设置- 描述如何将控制器与计算机或其他设备进行连接,并配置相应的通信接口和参数。
5.2 步进电机驱动设置- 解释如何使用控制器来驱动步进电机,并提供示例代码和操作指南。
5.3 运动控制模式选择及调整-介绍不同运动模式(位置、速度等)的特点和用法,并说明如何根据需要进行调整。
6.技术规格6-1输入/输出端口提供输入/输出引脚定义表;描述各个引脚功能及其对应编号。
6—2总线协议支持列出所支持总线协议名称;指明每种总线协议在本系统中具体作用。
7.故障排除7_1常见问题解答常见问题并给予解决方案;8.附件:请参考附件文件。
法律名词及注释:1. 步进电机:一种将脉冲信号转换为角位移的执行器,通常由定子和转子组成。
2. 控制器:用于控制步进电机运动的设备或系统。
三菱 JXCD1 步进电机控制器 (伺服 DC24V) 使用说明书

文书No.JXC※-OMT0005CN DeviceNet直接输入型步进电机控制器(伺服DC24V)JXCD11.安全注意事项 (4)2.产品概要 (6)2.1. 产品特点 (6)2.2.型号表示方法 (7)2.3 产品构成 (8)2.4 步骤(直到执行元件作动为止) (9)(1)捆包内容的确认 (9)(2)控制器的安装 (9)(3)控制器的设定 (9)(4)PLC的设定 (9)(5)控制器的配线.连接 (9)(6)电源连接 (10)(7)参数设定 (10)(8)设定数据(运行模块)的设定 (11)(9)试运行 (11)3.产品规格 (12)3.1.规格 (12)3.2 各部位详解 (13)3.3. 外形尺寸图 (14)3.4.安装方法 (16)(1) 安装方法 (16)(2) 接地线的安装 (16)(3) 安装位置 (17)4.初期设定方法 (18)4.1 Node Address/Data Rate设定开关 (18)4.2 硬件配置 (19)4.3 DeviceNet对象 (19)(1)Step Data 对象(Class : 67h) (19)(2)IO 对象(Class : 68h) (20)(3)IO组件接口 (21)(4)IO组件数据格式 (21)5.外部连接图 (23)5.1 PWR:电源插头 (23)5.2 MOT:电机动力插头、ENC:编码器插头 (23)5.3 SI:串行I/O插头 (23)(1)连接示教盒的场合 (23)(2)连接电脑的场合 (24)5.4 DeviceNet通信插头 (24)6.CN1:电源插头详细内容 (25)6.1 电源插头规格 (25)6.2 电线规格 (25)6.3 电源插头的配线 (26)(1)电源部的配线(C24V,M24V,0V) (26)(2)停止开关的配线(EMG) (26)(3)强制解锁开关的配线(LK RLS) (26)6.4 停止回路的配线 (27)(1)停止(推荐回路例) (27)(2)停止(继电器触点(1)) (28)(3)电机动力电源的切断(继电器触点(2)) (29)7.DeviceNet通信插头接口信号配线及通信配线详细内容 308.LED显示详细内容 (31)8.1 LED显示内容 (31)8.2 控制器状态及LED显示内容 (31)9.运行方法 (32)9.1. 概要 (32)9.2 步骤No.指示运行功能 (32)9.3 位置/速度监控功能 (32)9.4 数值指示运行功能 (32)10.存储器地图详细内容 (33)10.1 存储器分配 (33)11.设定数据输入 (42)11.1 步骤数据 (42)11.2 基本参数 (45)11.3 原点复位参数 (47)12.运行说明 (48)12.1 原点复位 (48)12.2 定位运行 (48)12.3 推压运行 (49)(1)推压作动成功时 (49)(2) 推压作动失败时(空转) (49)(3) 推压作动完成后工件仍然移动的场合 (49)12.4 对控制器输入信号的响应时间 (50)12.5 关于运行中的中断方法 (50)13.运行(例) (51)13.1 定位运行 (51)13.2 推压运行 (52)14.运行指示方法 (53)14.1 运行指示方法概要 (53)14.2 步骤No.指示运行功能的运行步骤 (53)[1]电源连接~原点复位 (53)[2] 定位运行 (54)[3]推压运行 (55)[4]短暂停止(HOLD) (55)[5] 复位 (56)[6] 停止 (56)(7) 区域输出 (57)14.3 数值指示运行功能的运行步骤 (58)15.可选项 (59)15.1 执行元件电缆[5m以下] (59)15.2 执行元件电缆[8~20m] (59)15.3 执行元件电缆(传感器.锁对应)[5m以下] (60)15.4 执行元件电缆(传感器.锁对应)[8~20m] (60)15.5 控制器设定组件 (62)15.6 变换电缆 (62)15.7 电源插头 (62)15.8 DeviceNet用通信插头接口 (62)15.9 示教盒 (63)16.与电机控制相关的报警检测详细内容 (64)16.1 报警组的信号输出 (64)16.2 报警内容.对策 (65)17.配线.电缆的注意事项/共通注意事项 (70)18.电动执行器/共通注意事项 (71)18.1 设计注意事项 (71)18.2 安装 (72)18.3 使用注意事项 (73)18.4 使用环境 (74)18.5 维修保养的注意事项 (75)18.6 带锁执行元件的注意事项 (75)19.控制器及其周边设备/个别注意事项 (76)19.1 设计注意事项/选型 (76)19.2 使用注意事项 (77)19.3 安装 (78)19.4 配线 (78)19.5 电源 (79)19.6 接地 (79)19.7 维修保养 (79)20.故障一览表 (80)21. 关于数据接收发送的处理 (85)22.用语集 (86)1.安全注意事项此处所示的注意事项是为了确保您能安全正确地使用本产品,预先防止对您和他人造成危害和伤害而制定的。
JXCD1-TF2Z195EN 步进电机控制器-DeviceNet(24VDC Servo)系列用户

Instruction ManualStep Motor Controller – DeviceNet (24 VDC Servo) Series JXCD1##-#The intended use of the step motor controller is to control the movement of an electrical actuator whilst connected to the DeviceNet communication protocol.These safety instructions are intended to prevent hazardous situations and/or equipment damage. These instructions indicate the level of potential hazard with the labels of “Caution,” “Warning” or “Danger.”They are all important notes for safety and must be followed in addition to International Standards (ISO/IEC) *1), and other safety regulations.IEC 60204-1: Safety of machinery - Electrical equipment of machines. (Part 1: General requirements)ISO 10218-1: Robots and robotic devices - Safety requirements for industrial robots - Part 1: Robots.• Refer to product catalogue, Operation Manual and Handling Precautions for SMC Products for additional information. • Keep this manual in a safe place for future reference.CautionCaution indicates a hazard with a low level of risk which, if not avoided, could result in minor or moderate injury.WarningWarning indicates a hazard with a medium level of riskwhich, if not avoided, could result in death or serious injury.DangerDanger indicates a hazard with a high level of risk which, ifnot avoided, will result in death or serious injury.Warning•Always ensure compliance with relevant safety laws and standards.• All work must be carried out in a safe manner by a qualified person in compliance with applicable national regulations.2.1 General specifications ItemSpecificationsCompatible motor Step motor (servo 24 VDC)Power supplyPower supply voltage: 24 VDC +/-10% Currentconsumption100 mA or less (controller)Refer to the actuator specifications for totalpower consumption. Compatible encoderIncremental A/B phase(resolution: 800 pulses / rotation)Memory EEpromLockingUnlocking terminal (applicable to non-exitationmagnetizing lock)Cable length Actuator cable: 20 m maximum Cooling method Air-cooling typeOperatingtemperature0°C to 40°C (version S1.*/S2.*/V1.*/V2.*)0°C to 55°C (version S3.*/V3.* or later)No freezing.Storagetemperature-10o C to 60o C (no freezing)Operating humidity 90% RH or less (No condensation) Insulation resistance 50 MΩ (500 VDC) between the external terminals and caseWeight210 g (Direct mounting type)230 g (DIN rail mounting type)2.2 DeviceNet communication specificationsThe EDS set up file can be downloaded from the SMC website (URL: https:// ).WarningSpecial products (-X) might have specifications different from those shown in this section. Contact SMC for specific drawings.3 Name and function of individual parts4 Installation4.1 InstallationWarning• Do not install the product unless the safety instructions have been read and understood.• Design the installation so that the temperature surrounding the controller is within the specified operating temperature. Leave enough space between the controllers so that the operating temperature of the controllers remains within the specification range.• Mount the controller vertically with 30 mm minimum space on the top and bottom of the controller as shown below.• Allow 60 mm minimum space between the front of the controller and a door (lid) so that the connectors can be connected and disconnected.4.2 Mounting• The controller can be direct mounted (model JXCD17#) using screws or mounted on a DIN rail (model JXCD18#).• When using DIN rail mounting, hook the controller on the DIN rail and press the lever down to lock it.CautionIf the mounting surface for the controller is not flat or is uneven, excessive stress may be applied to the enclosure, which can cause failure. Be sure to mount on a flat surface. 4.3 EnvironmentWarning• Do not use in an environment where corrosive gases, chemicals, saltwater or steam are present.•Do not use in an explosive atmosphere.•Do not expose to direct sunlight. Use a suitable protective cover.•Do not install in a location subject to vibration or impact in excess of the product’s specifications.• Do not mount in a location exposed to radiant heat that would result in temperatures in excess of the product’s specifications.• Avoid mounting the controller near a vibration source, such as a large electromagnetic contactor or circuit breaker on the same panel.• Do not use in an environment with strong magnetic fields present.4.4 WiringCaution•Do not perform wiring while the power is on.•Confirm proper insulation of wiring.• Do not route wires and cables together with power or high voltage cables.•Keep wiring as short as possible to prevent interference from electromagnetic noise and surge voltage.• Do not use an inrush current limited type of power supply for the controller.• Do not connect multiple wires to one connector terminal.Power Supply ConnectorWire the power supply cable to the power supply plug connector, theninsert it into connector PWR on the controller.• Use special screwdriver (Phoenix Contact No. SZS0.4×2.0) to open / close lever and insert the wire into the connector terminal. • Applicable wire size: 20 AWG (0.5 mm 2).Pin No. Terminal Function Description1 C24V Power supply (+) Positive control power.2 M24V Motor power (+) Positive power for the actuator motor supplied via the controller.3 EMG Stop (+)Positive power foremergency stop signal 4 0V Common power (-) Negative common power for M24V, C24V, EMG and LK RLS. 5 - NCN/A6 LK RLSUnlocking (+)Positive power for lock release.ORIGINAL INSTRUCTIONS10 mm minimum(for actuator body size 25 mm or more) ControllerPower Supply Wire specificationsPrepare the wiring according to the following specifications (to be prepared by the user).Communication ConnectorThe wiring method of the special DeviceNet cable and the connection method of the DeviceNet communication connector are shown below. • Use special screwdriver (Phoenix Contact No. SZS0.6×3.5) to tighten the connector terminal screws. Tightening torque = 0.5 to 0.6 N•m. • Applicable wire size: 12 to 24 AWG (0.2 to 2.5 mm 2)Straight type (JXC-CD-T) Right angle type (JXC-CD-S)• DeviceNet compliant twisted pair shielded cables (special cable for DeviceNet) should be used for communication wiring. The maximum cable length depends on the transmission speed and the cable type used. Refer to the operation manual.• Connect a terminating resistor to both ends of the DeviceNet main line. For the terminating resistor, connect a resistor of 121Ω +/-1% and 1/4 W between “CAN_H” and “CAN_L”.Preparation of the terminating resistor should be made by the user.4.5 Ground connection• Place a ground cable with crimped terminal under one of the M4 mounting screws with a shakeproof washer and tighten the screw.CautionThe M4 screw, cable with crimped terminal and shakeproof washer must be prepared by the user.The controller must be connected to Ground to reduce noise. If higher noise resistance is required, ground the 0 V (signal ground). When grounding the 0 V, avoid flowing noise from ground to 0 V.• A dedicated Ground connection must be used. Grounding should be to a D-class ground (ground resistance of 100 Ω maximum).•The cross-sectional area of the ground cable shall be 2 mm 2 minimum. • The Grounding point should be as near as possible to the controller. Keep the grounding cable as short as possible.5.1 Switch setting• Turn off the power supply while setting the switch.• The rotary switch should be set with a small flat blade screwdriver. The node address and communication speed of the DeviceNet communication are set using the setting switches.The node address is set according to the combination of the MSD and LSD setting switches.The communication speed is set using the Data Rate setting switch.Node Address setting Switch setting Node addressMSD (x10) LSD (x1)0 0 0 *20 1 1 (Default) 0 2 2 : : : 6 2 62 6 3 63 6 4 PGM *1: : 9 9*1 When PGM is set, the setting is performed via the DeviceNet network. *2 The default node address is "01" and the default communication speed is "0".6 LED DisplayRefer to the table below for details of the LED status.LEDDescriptionPWROFFPower is not supplied Green LED is ONPower is supplied ALMOFFNormal operationRed LED is ONController Alarm generatedMSOFFController operating voltage is notsuppliedGreen LED is ON Normal operationRed LED is flashing Recoverable internal error. • Rotary switches for node addressand communication speed werechanged after establishing communicationNSOFFController operating voltage is notsuppliedGreen LED is ON DeviceNet communication established. Green LED is flashing DeviceNet communication notestablished.Red LED is flashing DeviceNet connection time out.Red LED is ONNode address duplicated orcommunication error.Refer to the catalogue on the SMC website (URL: https:// ) for the How to Order information.8 Outline Dimensions (mm)Refer to the drawings / operation manual on the SMC website (URL: https:// ) for outline dimensions.9 Maintenance9.1 General MaintenanceCaution• Not following proper maintenance procedures could cause the product to malfunction and lead to equipment damage.• Before performing maintenance, turn off the power supply. Check the voltage with a tester 5 minutes after the power supply is turned OFF. • If any electrical connections are disturbed during maintenance, ensure they are reconnected correctly and safety checks are carried out as required to ensure continued compliance with applicable national regulations.• Do not make any modification to the product.• Do not disassemble the product, unless required by installation or maintenance instructions.Caution• Maintenance should be performed according to the procedure indicated in the Operation Manual.• When equipment is serviced, first confirm that measures are in place to prevent dropping of work pieces and run-away of equipment, etc, then cut the power supply to the system. When machinery is restarted, check that operation is normal with actuators in the correct position.Warning• Perform maintenance checks periodically.• Confirm wiring and screws are not loose. Loose screws or wires maycause unexpected malfunction.• Conduct an appropriate functional inspection and test after completing maintenance. In case of any abnormalities (if the actuator does not move, etc.), stop the operation of the system. Otherwise, an unexpected malfunction may occur and it will become impossible to ensure safety. Operate an emergency stop instruction to confirm safety. • Do not put anything conductive or flammable inside of the controller. • Ensure sufficient space around the controller for maintenance.10 Limitations of Use10.1 Limited warranty and Disclaimer/Compliance Requirements Refer to Handling Precautions for SMC Products.11 Product disposalThis product shall not be disposed of as municipal waste. Check your local regulations and guidelines to dispose of this product correctly, in order to reduce the impact on human health and the environment.12 ContactsRefer to or www.smc.eu for your local distributor / importer.URL: https:// (Global) https://www.smc.eu (Europe) SMC Corporation, 4-14-1, Sotokanda, Chiyoda-ku, Tokyo 101-0021, Japan Specifications are subject to change without prior notice from the manufacturer. © 2021 SMC Corporation All Rights Reserved. Template DKP50047-F-085MFG(DRAIN) Red Blue Black。
XC602步进电机控制器说明书

XCMCU
XC602 型步进电机控制器
一、系统特点
●控制轴数:单轴; ●指令特点:任何可编程(可实现各种复杂运行:定位控制和非定位控制); ●●最输高出输频出率频分率辨率:4:0K1HHzz;(特别适合控制细分驱动器); ●编程条数:最大 99 条; ●输入点:6 个(光电隔离); ●●一输次出连点续:位3 个移(范光围电:隔-7离99)9;999~+7999999; ●工作状态:自动运行状态、手动运行状态、程序编辑状态、参数设定状态; ●升降速曲线:2 条(最优化); ●显示功能位数:8 位数码管显示,手动/自动状态显示、运行/停止状态显示、步数/计数
A操作 STOP RUN
这种方式很容易解决,只需要把速度量和位移量编程即可。但还有相当多的控制是不能
事先定位的,例如控制步进电机从起始点开始朝一个方向运行,直到碰到一行程开关后
停止,再反方向回到起始点。再例如要求步进电机在二个行程开关之间往复运行 n 次,
等等。在这些操作中,我们事先并不知道步进电机位移量的具体值,又应当如何编程呢?
例一:..................................................................................................................................... 11 例二:..................................................................................................................................... 11 例三:..................................................................................................................................... 11 例四:..................................................................................................................................... 12 例五:..................................................................................................................................... 12 例六:一台 XC602 控制器分时控制二台步进电机驱动器.................................................13 例七:XC602--更先进的自动制袋机控制器 ....................................................................... 14 例八:XC602--更先进的自动切分机控制器 ....................................................................... 15 例九:XC602—更先进的粉剂包装控制器 ........................................................................... 16 十三、参数速查表......................................................................................................................... 17 十四、按键速查表......................................................................................................................... 18
步进电机控制器 MOTOR CONTROL 说明书

CONTEC为了方便客户,提供大部分的线缆和附 件。
两端安装接插件的线缆 附件 (端子板及其他)
O-16
单端安装接插件的线缆 接插件套件
O-16
通道数
Motor Controller
XXch
Counter
XXch
可控制的最大通道数(轴数)。 可输入脉冲信号的最大通道数。
要点
Frame Data Store
指最多可储存1000个帧,每个帧都携 带有单定位序列的必备信息,例如: 速率、加/减速度、目标位置。
Limit Switch
Input
指具有检出步进电机(运载工具)的停止 点/减速点/原点等的功能。可进行高级 的定位控制。
GPIB通讯
远程输入输出 扩展单元 / 总线适配器 软件
附件/线缆 分散型监控 网络F&eIT 多功能可编程 显示器
型号
SMC-2P(PCI)
SMC-4P(PCI)
通道数 脉冲输出
编码器输入 限位信号 通用输入 通用输出
数据格式 输出类型 脉冲速率 额定输出 输入信号类型 信号类型 响应频率 输入阻抗 信号通道 信号类型 输入阻抗 信号通道 信号类型 输入阻抗 信号通道 信号类型
3kΩ
7信号/ch
光隔离输入(12~24VDC)
IN1, IN3~IN7: 3kΩ; IN2: 1.8kΩ
3信号/ch
集电极开路输出
额定输出 35VDC 100mA
控制元件
PCL5014 [NPM]
中断
-
I/O 地址
占用16端口
最大功耗
步进电机控制器说明书

步进电机控制器说明书步进电机控制器说明书一、产品概述本文档旨在提供有关步进电机控制器的详细说明。
步进电机控制器是一种用于控制步进电机运动的装置,通过电子方式驱动步进电机实现精确的位置控制。
本控制器具有高精度、可编程性强等特点,适用于各种不同的步进电机应用场景。
二、产品特性本节介绍步进电机控制器的主要特性和功能。
2.1 高精度驱动步进电机控制器采用先进的驱动技术,能够实现高精度的步进电机驱动,可满足精密定位和运动控制需求。
2.2 可编程控制控制器内置丰富的控制算法,支持用户编程,可以根据具体应用需求进行自定义控制,提供更灵活的控制方式。
2.3 多种通信接口本控制器支持多种通信接口,如RS232、RS485、CAN等,便于与其他设备进行通信,实现系统集成和数据传输。
2.4 多种操作模式控制器提供多种操作模式选择,如速度控制、位置控制、力控制等,适应不同应用场景的需求。
2.5 安全保护功能为了确保系统的安全性,本控制器内置了多种安全保护功能,如过流保护、过热保护等,提供有效的保护措施。
三、产品安装和连接本节介绍步进电机控制器的安装和连接方式。
3.1 安装首先,确保电源已经断开。
将控制器固定在合适的位置,通过螺丝固定。
确保控制器和其他设备之间的空间足够,并保持良好的通风。
3.2 连接根据具体应用需求,通过合适的连接线将控制器与步进电机、电源等设备连接。
注意连接的正确性和稳定性,避免接触不良和短路等问题。
四、控制器编程及操作指南本节介绍步进电机控制器的编程和操作方法。
4.1 控制器编程步进电机控制器支持多种编程方式,如C语言、Python等。
用户可以编写相应的代码实现对步进电机的控制和驱动。
4.2 控制器操作指南控制器提供用户友好的操作界面,通过按钮、旋钮等方式进行控制操作。
用户可以根据界面上的指示进行相应的参数设置、模式切换等操作。
五、常见问题与解答本节了一些常见问题,并提供相应的解答。
如果用户遇到其他问题,建议参考本节解答,若问题仍未解决,可联系技术支持人员。
LDC101单轴步进电机控制器说明书V0608-南京华兴电机制造有限公司

开机后屏幕上显示系统初始值,此时可进行以下操作:
1、编辑新程序
此时光标停在PRG位置,利用▲▼键将程序号输入。然后用光标位移键将光标移至SEG,将段
号置为01,按照程序单逐个将参数输入,一段程序输入后再将光标移至SEG位置,将段号置为02,开始输入第二段程序,直至输入程序完毕。
四、功能键说明
系统的操作功能键在显示器的下方,由左至右分别是RESET键、光标键(左移键、右移键)、置数键(递减键、递增键)、ENTER键。
1、RESET:系统的复位键。
2、CURSOR:光标键
1)左移键:按下左移键。显示器上的光标会从当前位置左移至下一位可操作位处。若光标处于第一行第一列时,按左移键光标键将跳至SPEED处的最后一位。
8.各种运行状态显示。
9.断电参数保护功能
10.工作温度:0~+45℃;工作电源:+24V/1A,+5V/1A
三、屏幕显示说明
本系统人机界面采用2*16的字符型液晶显示器。屏幕上各功能参数显示位置如图:
PRG SEG DIRPOSITION
REPT STATE FUNC SPEED
加工程序由以下8个功能符组成,每个加工程序可由若干程序段组成,而每个程序段分别确定电机和系统的运行状态,系统可同时保存多个加工程序。
5、REPT:程序的循环执行次数
表示当前要运行的程序的循环执行次数,系统默认为1次。(范围:1~99)。若有G07指令时,REPT则表示每段程序的重复加工次数,而此时的整个程序循环次数只能为1次。用户若要循环执行此程序可选择M20指令。
6、STATE:程序运行时的显示状态
INX:表示等待第X个信号的输入。
N03M03
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
步进电机控制器
步进电机是一种将电脉冲信号转换成相应的角位移的特殊电机,每改变一次通电状态,步进电机的转子就转动一步。
目前大多数步进电机控制器需要主控制器发送时钟信号,并且要至少一个I/O口来辅助控制和监控步进电机的运行情况。
在单片机或DSP的应用系统中,经常配合CPLD或者FPGA来实现特定的功能。
本文介绍通过FPGA实现的步进电机控制器。
该控制器可以作为单片机或DSP的一个直接数字控制的外设,只需向控制器的控制寄存器和分频寄存器写入数据,即可实现对步进电机的控制。
1 步进电机的控制原理步进电机是数字控制电机,它将脉冲信号转变成角位移,即给一个脉冲信号,步进电机就转动一个角度,因此非常适合对数字系统的控制。
步进电机可分为反应式步进电机(简称“VR”)、永磁式步进电机(简称“PM”)和混合式步进电机(简称“HB”)。
步进电机区别于其他控制电机的最大特点是,通过输入脉冲信号来进行控制,即电机的总转动角度由输入脉冲数决定,而电机的转速由脉冲信号频率决定。
步进电机的驱动电路根据控制信号工作,控制信号由各类控制器来产生。
其基本原理作用如下:
①控制换相顺序,通电换相。
这一过程称为“脉冲分配”。
例如:四相步进电机的单四拍工作方式,其各相通电顺序为A—B—C— D。
通电控制脉冲必须严格按照这一顺序分别控制A、B、C、D相的通断,控制步进电机的转向。
如果给定工作方式正序换相通电,则步进电机正转;如果按反序换相通电,则电机就反转。
②控制步进电机的速度。
如果给步进电机发一个控制脉冲,它就转一步,再发一个脉冲,它会再转一步。
两个脉冲的间隔越短,步进电机就转得越快。
调整控制器发出的脉冲频率,就可以对步进电机进行调速。
2 控制器的总体设计
控制器的外部接口电路如图1所示。
各引脚的功能如F:
data[7~O] 控制器与单片机等设备的总线接口;
CS 片选信号,低电平有效;
Wr 写信号,低电平有效;
reset 复位信号,低电平有效;
adr[1~O] 内部寄存器地址信号,与单片机等设备地址线相连;
clk 待分频的时钟,可由FPGA提供;
abcd[3~O] 四相位输出。
控制器的内部原理框图如图2所示,由命令字寄存器(CmcL-reg)、分频系数备份寄存器(fdiv —back)、分频器、相位输出状态机组成。
其中命令字寄存器Cmd—reg组成如下(对应的地址为“00”):
x 未用位。
lni 对控制器初始化为1时有效。
当该位为1时,备份寄存器的数据直接装入分频器的寄存器reg—data[-15~O],装入后由硬件自动置0。
New 当对正在运行的控制器写入新的分频系数时,对该位置1;当下一个分频器输出的clkout 时钟来到时,将fdiv_back写入到reg_data[-15-03中,分频器便按新的
分频系数进行分频。
Manner[1~0] 电动机的驱动方式,用来控制相位输出状态机的输出,“O0”表示单四拍方式,四相位输出为(A—B—C—D);“01”表示双四拍,四相位输出为(AB—
BC—CI)_一DA),八拍(A—AB—B—BC— C—CD_D—DA)。
分频系数备份寄存器(fdiv—back) 两字节寄存器,reg_data[-15-O]为分频器的一个16位寄存器,接收fdiv—back的值,对系统的分频为2~65 536。
对于12 MHz的输入频率,分频后频率为6 MHz-183 Hz,(本设计中,步进电机的启动转速、转距、加速度由使用者根据实际情况自己计算)分频后每个clkout走一个步距角。
对于步距角为1.8。
的电机,可以满足各种速度的要求。
(注:素材和资料部分来自网络,供参考。
请预览后才下载,期待你的好评与关注!)。