工控论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 311|回复: 13

求解:虚拟机上使用RSLogix5000V31版本软件无法链接下位机控制器

[复制链接]

3

主题

11

帖子

24

积分

初级会员

Rank: 2

工控币
23
发表于 2019-7-20 21:22:25 | 显示全部楼层 |阅读模式
各位工控大哥:请教一个问题,我再虚拟机上使用RSLogix5000V31版本软件,用USB接口线直接连接一个全新的1769-L33ER,不能更新固件,固件更新的按钮是灰色,怎么回事呢?用controlflash更新固件也是不能访问,用DHCP设定IP地址也不可以,拜托大哥能否指点一下呢?以前也用过L33ER,还没遇到这样的情况
回复

使用道具 举报

5952

主题

6810

帖子

1144

积分

管理员

Rank: 9Rank: 9Rank: 9

工控币
795
发表于 2019-7-21 00:11:45 | 显示全部楼层
以下以vmware workstation为例
这些现象是由于虚拟机根本无法连接到外面。比如usb,可能你没用虚拟机直连吧(在相应虚拟机上面标签鼠标右键菜单--可移动设备--下面看看找到usb线连 选择链接) 1.png
如果用以太网在此虚拟机设置里面 网络选择桥接模式。尽量不要用默认的nat模式。选择桥接模式后要确认你的虚拟机所在网络跟plc以太网ip地址在同一个网段内。
下面几个回帖我给你复制点相关文章你参考以下
回复 支持 反对

使用道具 举报

5952

主题

6810

帖子

1144

积分

管理员

Rank: 9Rank: 9Rank: 9

工控币
795
发表于 2019-7-21 00:28:38 | 显示全部楼层

VMware Settings that work with RSLinx, ControlFlash, and BOOTP

VMware Settings that work with RSLinx, ControlFlash, and BOOTP
Part 1) VMware Workstation Network Connection SettingStep 1) Open the VMware Settings for your Virtual Machine
While there are many ways to open the VMware Workstation settings for a Virtual Machine (VM,) the way I access them is to right click on the tab for my VM and then select “Settings” from the menu as shown below:

Step 2) Select Network Adaptor
Next, select “Network Adaptor” from the list in the “Hardware” tab:

Step 3) Change to Bridged
Now set your VM's “Network connection” to “Bridged” so your VM will be connected directly to the physical network allowing you to receive the BOOTP requests from your Ethernet device once part two is completed:

Part 2) Assign your VM a Static IP address
In many cases you will not have a DHCP server connected to the same network your PC and Ethernet device is connected to.
In these cases you'll likely want to assign your VM a static IP address, and I'll show you how to do that below.
Step 1) Open Control Panel
To open “Control Panel” in Windows 7 just click on the “Start” button and select “Control Panel”

Step 2) Open Network and Sharing Center
Next, click on “Network and Sharing Center” as shown below:

Step 3) Select “Change adapter settings”
On the top left of the new window that opens, click on “Change adapter settings”

Step 4) Select “Local Area Connection”
Now double click on “Local Area Connection”

Step 5) Click on properties
Next, click on “Properties”

Step 6) Open TCP/IPv4
Now double click on “Internet Protocol Version 4” to edit its settings:

Step 7) Set to static address
Finally, choose “Use the following IP address:” and fill in an IP Address and Subnet mask on the same network as your Ethernet device, or of the address you will be assigning your device.
When finished, click on “OK” to accept.

回复 支持 反对

使用道具 举报

5952

主题

6810

帖子

1144

积分

管理员

Rank: 9Rank: 9Rank: 9

工控币
795
发表于 2019-7-21 00:30:29 | 显示全部楼层

How to flash CompactLogix firmware over Ethernet

How to flash CompactLogix firmware over EthernetStep 1) Open ControlFlash
When you install RSLogix 5000 or Studio 5000, a firmware flashing program called ControlFlash is also installed.
To start the process of flashing your CompactLogix, launch ControlFlash:
NOTE: If you attempt to download a program to a processor with firmware that differs from your program, RSLogix 5000 and Studio 5000 will often give you the option of launching ControlFlash to flash the processor right from the download window.

Step 2) Choose FactoryTalk Directory
After launching newer versions of ControlFlash, you'll be asked to choose a FactoryTalk Directory.
In most cases you'll only have a local directory by default, so choosing the local directory is typically the best choice: TAM-S2-E17-S2-1-1.png?resize=500%2C414&ssl=1

Step 3) Gather information required
On the ControlFlash welcome screen you're informed that to use ControlFlash you will need the following information:
  • The catalog number of your processor
  • The firmware files for the version you wish to flash your process to
  • And a valid connection to the processor through RSLinx
Once you are done reviewing this information, click on next.
NOTE: When you install RSLogix 5000 / Studio 5000 you're given the option of installing firmware, and additional firmware is available online at www.ab.com.
TAM-S2-E17-S3-1-1.png?resize=500%2C419&ssl=1

Step 4) Choose your processor
In this next step you select your device from the list, and click on Next:

Step 5) Select your processor in RSLinx's RSWho
Next you're asked to browse RSLinx for your processor, select it, and then click on OK.
In this example we are using Ethernet to connect to our 5370 CompactLogix L16.
NOTE: It is recommended to disconnect the processor from all other networks or network devices while flashing it from your PC. This is done to avoid the firmware flash stalling, which in the past has occasionally lead to a bricked (i.e. useless) programmable controller.
NOTE: I recommend using a dedicated Ethernet switch between your PC and CompactLogix. While a direct connection often works, sometimes the rebooting of the processor during the firmware update and resulting momentary disabling the PC Ethernet port by Windows, leads to firmware update timeouts and sometimes to a bricked programmable controller.

Step 6) Choose firmware version
Now you can choose from the available firmware versions installed on your PC that are also compatible with the processor you selected.
Once you have chosen the firmware, click on next.
NOTE: To see a full listing of compatible firmware versions for your processor, open RSLogix 5000 / Studio 5000 and select “Release Notes” under the “Help” menu

Step 7) Review warnings and summary information
On the summary screen, review the notice and other detailed information.
When you're ready to proceed, click on Finish.
NOTE: When you flash a processor's firmware your are also erasing it's memory, and therefore it obviously won't be able to run any programs.
NOTE: It's also very important that the firmware flashing process is not interrupted, because if it is it may no longer work.

Step 8) Confirm Flash Update
If you are sure you would like to proceed with the firmware flash, click on Yes:

Step 9) Notice about Non-Volatile memory
You'll now receive a notice about non-volatile memory. To continue, click on OK.
NOTE: If you have a CompactFlash or SD memory card installed in your controller which is set to “load” on power-up, note that it will overwrite the firmware your are attempting to download. So in most cases you will want to remove any non-volatile memory prior to flashing your processor, and once you are done and download your program you'll want to transfer the updated firmware and program to your non-volatile memory.

Step 10) Click “OK” when finished
When the firmware update completes, click on Finish to complete the process.

回复 支持 反对

使用道具 举报

5952

主题

6810

帖子

1144

积分

管理员

Rank: 9Rank: 9Rank: 9

工控币
795
发表于 2019-7-21 00:34:28 | 显示全部楼层

How to connect to a CompactLogix using USB

How to connect to a CompactLogix using USB
Step 1) Confirm your RSLinx RSWho window browses your CompactLogix via the USB driver
Open RSLinx and check to be sure your CompactLogix is showing up under the USB driver as shown below:
RSLinx-to-CompactLogix-Change-IP-USB-Fi-1-1.jpg?resize=500%2C250&ssl=1
NOTE: If you would like to know how to setup an RSLinx driver to communicate to a CompactLogix processor using a USB connection, see our previous article HERE.
Step 2) Select the CompactLogix processor
The next step is to select the CompactLogix processor under the USB driver as shown below:
RSLinx-to-CompactLogix-Change-IP-9-Select-L16h-1-1.jpg?resize=500%2C179&ssl=1
Step 3) Right click on the CompactLogix and select Module Configuration
Right click on the CompactLogix processor and select “Module Configuration” from the menu as shown below:
RSLinx-to-CompactLogix-Change-IP-10-Right-Click-Mod-Prop-L16H-1-1.jpg?resize=500%2C365&ssl=1
Step 4) Select the “Port Configuration” tab
In the popup window select the “Port Configuration” tab:
RSLinx-to-CompactLogix-Change-IP-11-Port-Config-L16H-1-1.jpg?resize=500%2C390&ssl=1
Step 5) Enter in a new Ethernet address and insure “Static” is selected
Now you can enter in an Ethernet address for your CompactLogix's Ethernet port. Also be sure “Static” is selected, and then click on OK:
RSLinx-to-CompactLogix-Change-IP-12-Enter-IP-and-OK-L16h-1-1.jpg?resize=500%2C396&ssl=1
Step 6) Accept Configuration
The final step is to accept the configuration by clicking on “Yes,” after which your CompactLogix will have the Ethernet address you entered above:
RSLinx-to-CompactLogix-Change-IP-8-Confirmh-1-1.jpg?resize=500%2C245&ssl=1
回复 支持 反对

使用道具 举报

5952

主题

6810

帖子

1144

积分

管理员

Rank: 9Rank: 9Rank: 9

工控币
795
发表于 2019-7-21 00:36:41 | 显示全部楼层

How to set a CompactLogix Ethernet address through its USB Port

How to set a CompactLogix Ethernet address through its USB Port
Step 1) Confirm your RSLinx RSWho window browses your CompactLogix via the USB driver
Open RSLinx and check to be sure your CompactLogix is showing up under the USB driver as shown below:
RSLinx-to-CompactLogix-Change-IP-USB-Fi-1-1.jpg?resize=500%2C250&ssl=1 Step 2) Select the CompactLogix processor
The next step is to select the CompactLogix processor under the USB driver as shown below:
RSLinx-to-CompactLogix-Change-IP-9-Select-L16h-1-1.jpg?resize=500%2C179&ssl=1
Step 3) Right click on the CompactLogix and select Module Configuration
Right click on the CompactLogix processor and select “Module Configuration” from the menu as shown below:
RSLinx-to-CompactLogix-Change-IP-10-Right-Click-Mod-Prop-L16H-1-1.jpg?resize=500%2C365&ssl=1
Step 4) Select the “Port Configuration” tab
In the popup window select the “Port Configuration” tab:
RSLinx-to-CompactLogix-Change-IP-11-Port-Config-L16H-1-1.jpg?resize=500%2C390&ssl=1
Step 5) Enter in a new Ethernet address and insure “Static” is selected
Now you can enter in an Ethernet address for your CompactLogix's Ethernet port. Also be sure “Static” is selected, and then click on OK:
RSLinx-to-CompactLogix-Change-IP-12-Enter-IP-and-OK-L16h-1-1.jpg?resize=500%2C396&ssl=1
Step 6) Accept Configuration
The final step is to accept the configuration by clicking on “Yes,” after which your CompactLogix will have the Ethernet address you entered above:
RSLinx-to-CompactLogix-Change-IP-8-Confirmh-1-1.jpg?resize=500%2C245&ssl=1
回复 支持 反对

使用道具 举报

3

主题

11

帖子

24

积分

初级会员

Rank: 2

工控币
23
 楼主| 发表于 2019-7-21 00:56:33 | 显示全部楼层
谢谢山海大哥的回复,我明天测试一下,真的很感谢!
回复 支持 反对

使用道具 举报

3

主题

11

帖子

24

积分

初级会员

Rank: 2

工控币
23
 楼主| 发表于 2019-7-21 15:19:53 | 显示全部楼层
今天按照山海大哥的指点,终于把IP地址设定好了,可是仍然无法下载固件更新,因为固件更新的按钮一直是灰色的。能否再麻烦山海大哥给看一下是什么原因,请看如下图片
微信图片_20190721151813.jpg
微信图片_20190721151825.jpg
微信图片_20190721151833.jpg
微信图片_20190721151841.jpg
微信图片_20190721151847.jpg
微信图片_20190721151853.jpg
回复 支持 反对

使用道具 举报

3

主题

11

帖子

24

积分

初级会员

Rank: 2

工控币
23
 楼主| 发表于 2019-7-21 15:29:04 | 显示全部楼层
今天测试一下,按照山海大哥的说法,可以设置IP地址了,但是还是不能固件更新
回复 支持 反对

使用道具 举报

5952

主题

6810

帖子

1144

积分

管理员

Rank: 9Rank: 9Rank: 9

工控币
795
发表于 2019-7-21 18:08:57 | 显示全部楼层

这个图片很有意思,提示当前windows登录的用户没有权限进行固件刷新。
你的账号也很有意思,adminstrator 请问一下你用的操作系统是windows server嘛?如果不是server系统,例如普通的win10 win7 adminstrator 账户是系统默认的管理账户但是默认是后台启用不对前台启用的。难道你在安装系统后手动启用的?不要这么做。除非是server系统默认就针对于前台用户启用就可以。,还有一种可能你用的是ghost版本win7安装的,很多ghost版本预制了一些所谓优化设置。建议采用windows原版安装镜像来做操作系统。使用安装过程中添加的自定义用户作为前台管理员账户。
另外你可以进入factorytalk 目录配置里面不是有账户授权设置嘛,添加一下当前你登陆的windows账户设置好权限。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|工控技术网 |网站地图

GMT+8, 2019-8-18 23:18

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表