1、ABPLC变频器触摸屏通信实例This document will describe in detail how to configure and program the MicroLogix 1100 for ModBus communications to a PowerFlex 4/40 drive. This document will also illustrate communications via EtherNet to a PanelView Plus for control. 该文件将详细描述如何配置和编程Modbus通信MicroLogix 1100控制器的PowerFl
2、ex 4 / 40驱动器。此文件也将说明通过以太网通讯的PanelView Plus为控制。Creation Date:11/30/2005Because of the variety of uses for this information, the user of and those responsible for applying this information must satisfy themselves as to the acceptability of each application and use of the program. In no event will Rock
3、well Automation be responsible or liable for indirect or consequential damages resulting from the use or application of this information. 由于此信息的各种用途,对用户和负责应用此信息必须满足每个应用程序的可接受性和使用程序。在任何情况下,罗克韦尔自动化公司负责或承担此信息的使用或应用程序造成的间接或相应损害The illustrations, charts and examples shown in this application note are int
4、ended solely to illustrate the principles of programmable controllers and some of the methods used to apply them. Particularly because of the many variables and requirements associated with any particular installation, Rockwell Automation cannot assume responsibility or liability for actual use base
5、d upon the illustrations used and applications. 在本应用笔记中的插图,图表和例子的目的纯粹是为了说明可编程控制器的原理和一些用于应用它们的方法。特别是由于许多变数,并与任何特定的安装要求,罗克韦尔自动化公司可以不承担责任或法律责任根据所用的插图和应用的实际使用。Rockwell Automation assumes no patent liability with respect to use of information, circuits, equipment, or software described in this text. 罗克韦尔
6、自动化与信息,电路,设备,或在这个文本中描述的软件使用方面没有专利责任。Reproductions of the contents of this application note, in whole or in part, without the express written consent of Rockwell Automation are prohibited. 本应用笔记的内容的复制品,没有罗克韦尔自动化公司的明确书面同意,全部或部分,是禁止的。Software and Firmware UsedAll examples shown were developed using RSL
7、ogix 500 v7.0 and RSView Studio v4.0软件和固件用例子所示,使用RSLogix 500 V7.0和RSView工作室V4.0Document Purpose This document is not a manual or training material, but an Application Note, which could be useful in helping a Rockwell Automation customer with configuring and programming communications via ModBus to a
8、 PowerFlex 4/40 drive and via Ethernet to a PanelView Plus. 这个文件是不是一本手册或培训材料,但应用笔记,可以帮助罗克韦尔自动化客户的PanelView Plus的配置和编程通过Modbus通信的PowerFlex 4 / 40驱动器,并通过以太网有用。Intended AudienceThis document is to be used by Rockwell Automation employees and customers supporting and selling the MicroLogix 1100, PowerFl
9、ex 4/40 and/or PanelView Plus. 这份文件是由罗克韦尔自动化公司的员工和客户支持和销售的MicroLogix 1100控制器的PowerFlex 4 / 40和/或PanelView Plus使用。Users are expected to have a through understanding and programming experience with RSLogix 500 and RSView Studio. This document is not intended for beginning programmers, many assumptions
10、 of knowledge and how to program are made within this document. 用户预计将有一个通过与RSLogix 500和RSView Studio的理解和编程经验。本文件的目的不是开始的程序员,许多知识的假设,以及如何编写本文件内。System LayoutFRONTNOTE: Multi-Drop or Daisy Chaining of devices is permitted. Proper installation and termination of multi-drop network is required. See spec
11、ific product documentation for proper installation注意:多点或菊花链接的设备是允许的。多点网络的正确安装和终止是必需的。为正确安装,请参阅特定的产品文档。点或菊花链接的设备是允许的。多点网络的正确安装和终止是必需的。为正确安装,请参阅特定的产品文档。多点网络的正确安装和终止是必需的。为正确安装,请参阅特定的产品文档。Programming the MicroLogix 1100NOTE: The RSLogix 500 v7.0 project can be downloaded from the Rockwell Automation Kno
12、wledge database and used as is or edited to fit your exact application needs.1. Create a new RSLogix 500 application for a MicroLogix 1100.2. Configure Channel 0 communications for ModBus as shown below.编程与MicroLogix 1100注意:下载的RSLogix 500 V7.0项目可以从罗克韦尔自动化知识数据库,并作为或编辑,以满足您的确切的应用需求。 1。创建一个新的使用RSLogix
13、500 MicroLogix 1100控制器为应用程序。 2。配置的Modbus通道0,如下图所示的通信。IMPORTANT NOTE(s): o The Baud rate and parity of the MicroLogix 1100 must match the Modbus device. Use of the 1763-CBL-NC01 device on Channel 0 of the MicroLogix 1100 automatically converts from RS232 to RS485. 重要注意事项(S):O对MicroLogix 1100的波特率和奇偶必须
14、符合Modbus设备。 对MicroLogix 1100通道0 1763 - CBL - NC01设备使用自动转换RS232到RS485。o When making your Protocol Control selection under Control line you must be sure to properly select “ NO Handshaking (485 Network)” when using the 1761-CBL-NC01 otherwise you may encounter issues such as MSG instructions generatin
15、g error codes of 37H. 当您的协议控制选择控制线下,你必须确保正确选择“无握手(485网络)”时,使用1761 - CBL - NC01,否则你可能会遇到问题,如味精产生的错误代码37H的指令。o Configure Channel 1 (EtherNet) communications as shown below. 3。配置通道1(以太网)通信,如下图所示。3. NOTE: If using a MicroLogix 1100 out of the box you must download the program via the RS232 cable (1761-C
16、BL-PM02) or using the BOOTP utility first configure the MicroLogix 1100 for the above IP address in order to download via EtherNet. 注意:如果使用MicroLogix 1100控制器盒,则必须通过RS232电缆(1761 - CBL - PM02)或使用BOOTP实用工具配置上面的IP地址以下载通过以太网对MicroLogix 1100下载程序。Enter the following rungs for Program File : LAD 2 - Main_Pr
17、og 4。输入下列程序文件的梯级:法援署2 - Main_Prog4. 5. Create the following subroutine LAD filesa. LAD 3 LCDb. LAD 4 MODBUSc. LAD 5 PF4_CNTRLEnter the following ladder logic for LAD 3 LCD. This subroutine will place onto the LCD display of the MicroLogix 1100 the actual output frequency of the PowerFlex drive. 5。创建
18、下面的子程序法援署文件A.法援署3 - 液晶B. 4 - 法援署的MODBUS C.法援署5 - PF4_CNTRL 6。输入下面的梯形逻辑法援署3 - 液晶。这个子程序将放置到了MicroLogix 1100 PowerFlex变频器实际输出频率的液晶显示器6. Enter the following ladder logic for LAD 4 MODBUS. This subroutine will perform the ModBus messaging to and from the PowerFlex drive. 7。输入下面的梯形逻辑法援署4 - MODBUS。这个子程序将执行
19、Modbus消息和从PowerFlex变频器。7. Configure each of the MSG instructions as shown below. Remember for PowerFlex 4/40 drives you must add a value of “ 1 “ to the ModBus register (MB Data Address) that is listed in the PowerFlex manual. 8。 MSG指令配置如下图所示的每个。记住的PowerFlex 4 / 40硬盘,您必须添加一个“1”的价值的PowerFlex手册中列出的Mod
20、bus寄存器(MB数据地址)。8. MSG Command WordMSG Speed Reference味精速度参考MSG Logic Status逻辑状态MSG Feedback (Output Frequency)MSG Drive Faults驱动器故障Enter the following ladder logic for LAD 5 PF4_CNTRL. This ladder links objects on the PanelView Plus to the ladder logic for control of the PowerFlex drive. 9。输入下面的梯形逻辑
21、法援署5 - PF4_CNTRL。这个阶梯链接对象在PanelView Plus上的梯形逻辑控制PowerFlex变频器。9. That completes the MicroLogix programming. 这完成了MicroLogix编程。Configuring the PanelView Plus EtherNet address.Using the PanelView Terminal configure your PanelView Plus for the following IP Address and sub-net mask. 配置的PanelView Plus以太网地址
22、。 1。使用PanelView终端配置您的PanelView加上下面的IP地址和子网络掩码。1. IP ADDRESS: 192.168.1.5SUB-NET MASK: 255.255.255.02. Programming the PanelView PlusNOTE: The following is a good example of a typical control screen for a drive. There are many objects contained in this screen. We will highlight the creation of just a
23、 few. The RSView Studio application back-up file can be downloaded from the Rockwell Automation Knowledge database and used as is or edited to fit your exact application needs.2。编程的PanelView Plus注意:下面是一个典型的控制屏,驱动器的一个很好的例子。在此屏幕中有许多对象。我们将突出短短几年的创作。罗克韦尔自动化知识数据库RSVIEW Studio应用程序备份文件,可以下载和使用是或编辑,以满足您的确切的
24、应用需求。1. Create a new PanelView Plus application For this example a PanelView Plus 700 will be used.2. Configure RSLinx Enterprise for communications to the MicroLogix 1100. If you have the MicroLogix 1100 connect it to the Ethernet switch along with your computer, this will allow you to browse direc
25、tly to the controller. If you do not have the controller connected to your computer then you will need to manually add the MicroLogix 1100.3. Locate the RSLinx Enterprise branch on your project tree and double-click on the “Communications Setup”.4. Under shortcuts click “Add” and enter the shortcut
26、name “Micro1”1。对于这个例子一个的PanelView Plus 700将被用于创建一个新的PanelView Plus应用程序。 2。配置RSLinx中对MicroLogix 1100通信企业。如果您对MicroLogix 1100将它连接到以太网交换机,随着您的计算机,这将允许您直接浏览到控制器。如果你没有连接到您的计算机控制器,那么您将需要手动添加了MicroLogix 1100。 3。上找到你的项目树在RSLinx企业分支机构和双Click on “Ethernet,Ethernet” under the local tab. If connected and proper
27、ly configured the MicroLogix 1100 will appear. Again if you do not have the controller you will need to manually add the device. This can be done by Right-Clicking on “Ethernet,Ethernet”. 5。当地选项卡下点击“以太网,以太网”。如果连接并正确配置了MicroLogix 1100会出现。同样地,如果你不具备控制器,您将需要手动添加设备。这可以通过右击“以太网,以太网”。5. 6. Now click “Copy
28、” to copy this configuration to the “Target” tab. The “Target” configuration is what the PanelView Plus will use for communications when the project is downloaded to the device.7. Click “OK” and accept the RSLinx Enterprise configuration changes.8. Now create a new display screenAdd a “Close Screen”
29、 button. This will close the running application and allow you to return to the terminal configuration screen. Normally this button may be hidden behind a graphic or placed on a maintenance screen so only authorized users can actually close the running application. 6。现在,点击“复制”,复制此配置“目标”选项卡。 “目标”的配置是
30、在PanelView Plus将使用通信项目时下载到设备中。 7。点击“OK”,并接受在RSLinx企业配置变化。 8。现在创建一个新的的显示屏幕。添加一个“关闭屏幕”按钮。这将关闭正在运行的应用程序,并让您返回到终端配置屏幕。正常情况下,这个按钮可能背后隐藏着一个图形或上午9. 10. Now add a momentary “Start” button to allow for starting the PowerFlex Drive. 10。现在添加一个瞬间的“开始”按钮,以便开始的PowerFlex变频器。11. Configure this button State 0 captio
31、n to read “Start” and change the back color to green.12. Click on the connections tab and enter the following path to the MicroLogix 1100. (Note: In the CPR9 release of RSView, browsing directly to the MicroLogix 1100 for addresses will be available) 11。配置这个按钮的状态0标题改为“开始”,改变背景色为绿色。 12。点击“连接”选项卡,并输入以
32、下路径到MicroLogix 1100。 (注:在RSVIEW CPR9释放,直接浏览地址到MicroLogix 1100可用)The Value,Tag/Expression = :micro1b23:0/013. Add additional Momentary Push Buttons for STOP, JOG, FORWARD, REVERSE using the Connections paths shown below.a. STOP = :micro1b23:0/1b. FORWARD = :micro1b23:0/3c. REVERSE = :micro1b23:0/2JOG = :micro1b23:0/4日停止额外的瞬时按钮,慢跑,FORWARD,逆向使用连接如下图所示的路径。 A.停止= :micro1 B2
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1