drive_6ra70_基本参数-连线中文说明
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Task Report
Product line: Large Drive
Task : 6RA70 Basic Function & Communication
Date : Sep 13th, 2006 Wednesday
Name : Zhao Wei Chen
Coach : Xue Long
1. Purpose
实验目的
Hardware and firmware硬件及固件
订货号ORDER NO. 数量NO. 设备描述DESCRIPTION
6RA70
SIMOREG
6RA7013-6DV62-0 1
DEMO
6RX1700-0SV00 1
6RA70
1GA5100-0BE40-6VE0-Z 1 3~Motor
6ES7 901-3DB30-0XA0 1 PC/PPI Adapter with USB Port
CPU
226XM
214-2AF21-0XB0 1
Software and version软件及版本
订货号ORDER NO. 数量NO. 设备描述DESCRIPTION 6ES7 810-2CC03-0AG0 1 STEP 7 Micro/Win SP3
Software
DriveMonitor
1
3. Process and emphases
实验流程与重点难点
1、启动步骤 Starting Procedure
P051 = 21 //恢复出场设置 Resuming Factory Settings
访问授权 Access authorization
P051 = 40 //参数可更改Parameters can be changed
P052 = 3 //显示所有参数 All parameters are visible
调整整流器额定电流 Adjustment of converter rated currents
根据电机铭牌与整流器标牌上的电枢和励磁直流电流比值比例进行设置,本试验所用设备中电机的两项参数为5.6A和0.32A,整流器的两项参数为15A和3A。
According to the proportion of the armature and field between motor nameplate and converter, the motor parameters are 5.6A and 0.32A, and the converter parameters are 15A and 3A.
P076.001 = 33.3 //电枢电流百分比 Armature DC current (in%)
P076.002 = 10.0 //励磁电流百分比 Field DC current (in%)
调整实际整流器的供电电压 Adjust to actual converter supply voltage
P078.001 = 400 //电枢回路供电电压 Rated input voltage converter armature
P078.002 = 400 //励磁回路供电电压Rated input voltage converter field
输入电动机数据 Input of motor data
P100 = 5.6 //电枢额定电流 Rated armature current
P101 = 420 //电枢额定电压 Rated armature voltage
P102 = 0.32 //励磁额定电流 Rated field current
实际速度检测数据 Actual speed sensing data
P083 = 2 //速度实际值由脉冲编码器提供 The actual speed is supplied by the pulse encoder
P140 = 2 //脉冲编码器类型1a Pulse encoder type 1a
P141 = 1024 //脉冲编码器的脉冲数 Number of pulse of pulse encoder
P142 = 1 //设置脉冲编码器的信号电压为15V Matching to pulse encoder signal voltage 15V
P143 = 3950 //设置脉冲编码器的最大运行速率 Setting the maximum speed for pulse encoder
最优化运行 Execution of optimization runs
P051 = 25 //电流环优化 Optimization run for current loop
P051 = 26 //速度环优化Optimization run for speed loop
P051 = 27 //励磁优化Optimization run for field
P051 = 28 //摩擦和转动惯量的优化Optimization for compensation of friction and inertia moment 2、固定频率给定 Fixed frequency
参考图G110,G120和G127 Figure G110, G120 and G127
P412 = 1500 //设定固定值为1500转 Fixed value = 1500
P431.8 = 412 //固定值给定BICO连接到P412 Select setpoint form P412
P430.8 = 10 //BICO将G110图中的DIN4与P431.8的使能开关相连 Link DIN4 and P430.8 by BICO 3、点动功能 Jog
参考图G110,G120和G129 Figure G110, G120 and G129
P401 = 20 //设定固定值为20% Fixed value = 20%
P436.8 = 401 //点动固定值给定BICO连接到P401 Jog select setpoint form P401
P435.8 = 16 // BICO将G110图中的DIN3与P435.8的使能开关相连 Link DIN3 and P435.8 by BICO
点动不需要DIN1运行按钮确认,Jog指令就是运行并启动。
Jog needn’t DIN1 to confirm, Jog means runs and startups.
4、数据组拷贝和切换 Copying and Switching Data Group
参考图和G175和G181 Figure G175 and G181
P055拷贝功能数据,P057拷贝BICO数据
P055 Copy function data set and P057 copy bico data set
P676 = 10 //将功能参数组切换使能连接到DIN4 Select function data by DIN4
P676和P677两参数组合对功能参数进行切换,符合二进制原则,P677为高位,P676为地位。
P676 and P677 combined to enable function data group, it accord with binary system, P677 is higher bit and P676 is lower bit.
P690 = 10 //将BICO参数组切换使能连接到DIN4 Select BICO data by DIN4
5、6RA70通过USS协议与S7-200通讯 6RA70 and S7-200 communication through USS protocol
(1)将S7-200的Port0口通过RS-485通信电缆与6RA70的PMU端口相连,Port1通过USB口的PC/PPI电缆与PC机相连。
(1) Connect port0 of S7-200 to PMU port of 6RA70 through RS-485 cable and connect port1 of s7-200 to PC through PC/PPI cable with USB interface.
(2)打开Micro/Win软件,新建S7-200项目。
(2) Open Micro/Win Software, build up new S7-200 project.
(3)6RA70参数设定
P780 = 2 //基本整流器接口G-SST1协议的选择,2为USS协议
//Basic converter interface G-SST1 protocol selecting, 2 is USS protocol
P787 = 0 //G-SST1的电报故障时间
//Error time of G-SST1 telegram
P786 = 1 //G-SST1的USS总线地质,设为1号站
//Bus address of G-SST1 USS, set to No.1 station
P783 = 6 //G-SST1的波特率,设为9600bps
//Baud rate of G-SST1 USS, set to 9600bps
P781 = 2 //PZD字节长度,设为2字节
//Length of PZD byte set to 2 bytes
P782 = 127 //PKW字节长度,设为127字节
//Length of PKW byte set to 127 bytes
P927 = 6 //参数使能化,PMU和G-SST1接口用于参数化目的的使能
//Enable parameters, for PMU and G-SST1 port connecting
P785.1 = 1 //总线终端负载ON
//Bus terminal load ON
P785.2 = 0 //第一个接收字的位10不具有“由PLC控制”功能
//Bit 10 of the first receiving byte doesn’t has the function of “controlled by PLC”
P644 = 2002 //主给定源设为PZD第二个字
//Set the main frequency resource to 2nd byte of PZD
P661 = 2100 //控制字1的源,位3,连接到USS1的PZD第一字节的位0
//Link bit 3, control word 1 of 6RA70 to bit 0, PZD word 1 of PLC
(4)在Micro/Win中编程
(4) Program in Micro/Win software
调用USS_INIT功能块进行PLC端Port0的USS初始化设置
Use USS_INIT block to initialize the USS port0 of PLC
模式1代表Port0口使能USS功能,波特率设置为9600bps,Active填入6RA70的USS站地址。
Mode = 1 shows that the USS of Port0 function is enabled. Baud rate is 9600bps, Active parameter writes the USS station address of 6RA70.
使用USS_CTRL模块来控制USS地址为1的6RA70。
We use USS_CTRL block to control the 6RA70 with No.1 USS station.
其中用I0.4控制电机额定转速的百分比。
We use I0.4 to control the percentage of the rated motor speed.
编译程序前,鼠标右键选择程序块 -> 库存储区,弹出库存储区分配窗口,对USS协议所需存储区进行分配。
Before compile, right click the mouse button -> Library Memory, pop-up library memory assignment window; assign the memory that USS protocol needed.
保存,编译并下载,使能6RA70的Enable和Start/Run,并使能I0.0,从而可以控制电机的启停。
Save, compile and download the program, enable the Enable and Start/Run of 6RA70, Enable I0.0 of PLC, and then we can control the start and stop of the motor.
使用USS_RPM_W和USS_WPM_W读写O2类型参数,所谓O2参数,表示16位无符号整数。
Use USS_RPM_W and USS_WPM_W to write and read O2 parameters. What are O2 parameters? It means 16 bits unsigned integer.
上述程序使用I0.5读取P078参数值,并存储在VW448,使用I0.6往P078中写入参数,参数值预设在VW480中。
使用I0.7控制VW480中的数值。
We use I0.5 to read data from parameter P078 and saved in VW448; use I0.6 to write data to parameter P078 and the data is pre-saved in VW480; use I0.7 to control the value of VW480.
使用USS_RPM_W和USS_WPM_W读写I2类型参数,所谓I2参数,表示16位有符号整数。
Use USS_RPM_W and USS_WPM_W to write and read I2 parameters. What are I2 parameters? It means 16 bits signed integer.
上述程序使用I1.0读取P412参数值,并存储在VW448,使用I1.1往P412中写入参数,参数值预设在VW480中。
使用I1.7控制VW480中的数值。
We use I1.0 to read data from parameter P412 and saved in VW448; use I01.1to write data to parameter P412 and the data is pre-saved in VW480; use I1.7 to control the value of VW480.
USS的功能块USS_RPM_W和USS_WPM_W是根据MM440参数数据类型的定义,用来读写16位无符号的整数。
因此用这两个功能块读写6RA70的I2型参数时会产生一定的问题,如参数值为正数时能够正确读写,当参数值是负数时,读写操作就无法完成。
The USS_RPM_W and USS_WPM_W blocks are defined according to MM440 parameters, it was used to read and write 16 bits unsigned integer. So there will be some problems if we use these blocks to read and write I2 parameter of 6RA70. If the data in parameter is positive, it will be ok and if the data in parameter is negative, we can’t finish these works.
SS 库中还有用来读写参数USS_RPM_R ,SS_WPM_R ,用来读写32位无符号整数以及浮点数。
R, er and floating point numbers.
. What I have learned
心得与体会 U 的其它功能块,USS_RPM_D ,USS_WPM_D ,U There are other blocks in USS library, USS_RPM_D, USS_WPM_D, USS_RPM_R, USS_WPM_they are used to read and write 32 bits unsigned integ
4
6. R ference 参考文献 6RA70 User Manual
200 User Manual
e
S7-。