 | |
Предыдущие результаты
Проблемы нет никакой. Сохраните программу из контроллера на карточке, вставьте карточку в компьютер, она распознается, как диск.
Следайте имедж с этого диска и пошлите коллеге мэйлом.
Он запишет имедж карточки на свою такую же карточку и вставит в контроллер.
Потом нужно загрузить программу с карточки, и если контроллер идентичен, всё будет работать.
Вот, почитайте:
[quote:48dd3b71ba][b:48dd3b71ba]G153127944: What happens to the application program in a L3x CompactLogix controller when it is powered down and up[/b:48dd3b71ba]
When a CompactLogix controller is powered down, that is the power supply is powered down, the power supply sends a signal to the controller that power is going away. When the controllers gets this it will then save the program to battery back ram. When this is done the saved image is marked as valid. Then when the controller is powered back up it checks if anything is loaded in battery backed ram. If there is and it is marked as valid it is loaded in to memory. Then the battery back ram image is marked invalid. The marking of the image as invalid, after loading it, prevents the case of being able to load the wrong image into the controller, if for example, a new user program was loaded into the controller.
Events that can cause the controller image to not be saved:
1. The CompactLogix power supply seeing an overvoltage condition. The power supply at this point does not go thru a normal shut down.
2. Unlocking the locking tab on any module between the controller and power supply.
3. Dead battery.
4. Disconnecting the battery after powering down. The image will be saved but lost.
In the first 2 cases no image will be saved to battery backed ram. When the controller is powered back up the image saved in battery back ran is marked invalid and will not be loaded. So the controller will power up and appear to have lost its program. In case 3 the controller will save the image to battery back ram. Then the image will be retained for about 30 to 60 seconds. There are capacitors on the controller that will hold up the battery backed ram for 30 to 60 seconds. After the 30 to 60 seconds the controller will powerup and no program will be loaded.
Important facts to know:
1. On a power down, the controller memory is saved to battery backed ram whether or not CompactFlash is installed.
2. [b:48dd3b71ba]If CompactFlash is installed and set to load "always", CompactFlash will win over battery backed ram.[/b:48dd3b71ba]
3. [b:48dd3b71ba]If the CompactFlash is installed and set to load "on corrupt", memory will be loaded from battery backed ram unless battery backed ram is corrupt.[/b:48dd3b71ba]
4. Disconnecting the battery after power is removed for 30 to 60 seconds will clear battery backed ram.
5. On power up once the program is restored from battery backed ram , the battery backed ram is marked invalid so that the image will not be re-loaded without a new power down save.[/quote:48dd3b71ba]
Вот ещё небезинтересно почитать:
[quote:48dd3b71ba][b:48dd3b71ba]G149027134 - Using a 1784-CF64 Card with Logix Controllers to Load Applications and Firmware[/b:48dd3b71ba]
Summary of Technote Information: Starting at V12 the 1784-CF64 card would also store the firmware required for the application/project stored on the CompactFlash card. A common question is when will the firmware be updated and how should I configure the card for this to happen.
A common request from customers is that they want to use the 1784-CF card to:
1. Reload the application/project to the controller if memory is lost.
2. Update the controllers firmware and load the application/project to the controller if it must be replaced.
3. Do not restore the application/project after a power cycle.
The next question is how do I setup the Non-volatile storage feature to do all of these. Should the Load Image be selected as:
1. On Power Up
2. On Corrupt Memory
Before we discuss this we should explain the process the controller goes thru. The controller determines what the restore options are. If the controller determines that a restore of the user program is called for it checks that the FW rev is correct. If it is not the controller will update the firmware and then reset itself. The controller will then check again what the restore options are. If the controller determines a restore of the user program is called for it checks that the firmware rev is correct. (This time it is.). Then we restore the user program.
So for the above request you would want to select Load Image On Corrupt Memory.
L6X controller at V13 (this applies to all controllers that use CompactFlash). Downloaded a program to it and created 2 CF cards. One set to load on powerup (1) and one set to load on corrupt memory (2).
1. Took another controller and loaded FW 15.4. No program loaded, no battery. Took card 1 and inserted it into the controller. The controller was flashed to V13 and the program was loaded.
2. Took another controller and loaded FW 12.XX. No program loaded, no battery. Took card 2 and inserted it into the controller. The controller was flashed to V13 and the program was loaded.
3. Took another controller and loaded FW 15.4 with the V15 version program loaded, battery. Took card 1 and inserted it into the controller. The controller was flashed to V13 and the program was loaded.
4. Took another controller and loaded FW 15.4 with the V15 version program loaded, battery. Took card 2 and inserted it into the controller. The controller stayed at V15 with the V15 program loaded. Nothing was loaded because the memory of the controller was not corrupt.
5. Took another controller loaded with factory default firmware. Took card 1 and inserted it into the controller. The controller was flashed to V13 and the program was loaded.
6. Took another controller loaded with factory default firmware. Took card 2 and inserted it into the controller. The controller was flashed to V13 and the program was loaded.
[/quote:48dd3b71ba]
|
"...Але коли ви читаєте охоче німецьку сторону, потім є одними іншими і schöne Предмет..."
http://translate.meta.ua/default.asp :wink:
|
Получить общую информацию о RSBizWare можно здесь:
[url]http://literature.rockwellautomation.com/idc/groups/literature/documents/br/bizwar-br001_-en-p.pdf[/url]
или можно зайти непосредственно на сайт продукта [url]www.rsbizware.com[/url]
По генерации отчётов можно посмотреть продукт Microsoft Reporting Services Add-On к MS SQL Server, который явл. компонентом MS Visiual Studio .NET:
[url]http://www.microsoft.com/sql/technologies/reporting/default.mspx[/url]
|
[quote:0199e92271]Но работает как-то не очень надежно (через 1-2 дня перестают пересылаться значения - проект в 17.000 тегов, наверно много =) ).[/quote:0199e92271]
А не пробовали Watcom кэш увеличить? Там не менее 8192 должно быть.
Проверьте в HKEY_USERS\.DEFAULT\Software\ODBC\ODBC.INI\Имя_Проекта\Start, вдруг поможет.
|
В RSView32 имеется встроеннный мониторинг состояния коммуникаций, поэтому, я думаю, что эту проблему можно было бы решить достаточно просто, без "самодельного" механизма проверки.
Можно использовать штатные средства RSView, которые для этого и предназначены. Смотрите, что пишут в руководстве:
[quote:984478dd4f][b:984478dd4f]Monitoring communications[/b:984478dd4f]
Use any of the following methods to monitor communications:
- Activities—In the Activity Log Setup editor, ensure
communication errors, warnings, and remarks are enabled and are
set up to log to the log file and activity bar. At runtime,
information appears in the log file and activity bar, indicating any
problems.
- Communication status—Ensure communication status is turned
on, otherwise communication errors will not be logged to the
activity log file or activity bar (even if they have been configured to
do so in the Activity Log Setup editor). By default, communication
status is turned off until you run the project. To turn
communication status on, use the [b:984478dd4f]ComStatusOn[/b:984478dd4f] command.
- Tag monitor—Use the tag monitor to check the communication
status for a device tag.
The states are:
- Disabled if the node has been disabled in the Node editor or
disabled using the NodeDisable command
- Error if RSView32 has tried to acquire a value but could not
because of some kind of communication error, such as a node
not being available or a DDE server not running
- Stale if the tag value has been acquired before but does not
have an updated value
- Uninitialized if the value has never been acquired
- Valid if RSView32 has a valid value for the tag
- None if there is a problem with the tag definition such as it is
not a valid tag type or if the tag database has been accessed with
a third–party tool such as Microsoft® Access. If the underlying
tag type is valid, editing and saving the tag and then redisplaying
the tag monitor will fix the problem.
System\com tags—Use the system\com tags to receive a more
detailed error message. If the tag monitor reports an error, move
to an empty cell in the tag monitor, type system\com* and, when
the dialog box appears, click Select All. For a complete list of
system\com tags, see Appendix B, System tags.
[/quote:984478dd4f]
Для диагностики можно использовать, скажем, системный тэг
system\ComErrorValue1 или system\ComErrorValueOPC и т.п.
В дальнейшем можно назначить какие-нибудь действия, основываясь на бите аварии коммуникаций. RSView всё равно сканирует Ваши тэги, поэтому ошибка коммуникации будет неминуемо обнаружена, и, возможно, даже скорее, чем при используемом у Вас механизме.
Мне ничего неизвестно о существовании возможности исключить какие-нибудь отдельно взятые команды из записи в ActivityLog. Но если уж обязательно необходимо записывать все эти команды, то я мог бы себе представить программу пост-обработки файлов активности, скажем, на VBA, чтобы выбросить из этих файлов всё лишнее.
|
Добрый день!
[quote:562f391631]1. Soft обновил: RSLinx v 2.43.01 RSLogix500 v7.00
2. Добыл ноутбук со встроеным СОМ1 (чтобы исключить USB-COM)
3. Выяснил, что когда нажимаешь на Auto-Configure (в RSLinx) и если кобель вообще не подключен к SLC, то в окошке видно как перебирается скорость, четность и т.д.. [/quote:562f391631]
Это правильно, Linx ведёт себя нормально.
[quote:562f391631]Но как только кабель подстыковываешь к SLC - в окошке (рядом с кнопкой Auto-Configure) информация становится по-скуднее: в начале проверка алгоритма CRC, а потом BCC (т.о. одна строка, потом другая). Ну потом неутешительный вердикт :"Check cable..." [/quote:562f391631]
Это означает с высокой вероятностью, что неисправен либо кабель, либо порт. Нельзя ли попробовать тот же кабель с другим процессором или тотже процессор с другим кабелем?
[quote:562f391631]Может имеется возможность сконфигурировать SLC так, чтобы нельзя было скачать программу через RS232 (как-то этот порт отключить?!)[/quote:562f391631]
В принципе, даже если предположить, что каким-то образом изменились установки порта так, что программу загрузить нельзя, то есть процедура, позволяющая сбросить все установки процессора в заводские по умолчанию:
[url=http://domino.automation.rockwell.com/applications/kb/RAKB.nsf/6ead4531e08f2074852569bb007630d5/f136ded23c7f35cd85256afb00620f9e?OpenDocument]A14307 - Restoring Factory Defaults to SLC-500 Processors[/url]
|
Очень часто нам задают вопросы о том, работают ли продукты Rockwell Software в русском Windows XP SP2.
Работают.
Здесь рассказывается, как именно.
[b:12d3da6b5a]1.[/b:12d3da6b5a] Проверьте, располагаете ли Вы последней самой свежей версией Вашего программного продукта.
Не забывайте регистрировать приобретённый программный продукт сразу же после его получения. Для регистрации обращайтесь, пожалуйста, к нам.
Последние версии программных продуктов Rockwell Software:
http://www.rockwellsoftware.com/corporate/revs/
От Вас потребуется фамилия лица, на которое зарегистирирован продукт (латинскими буквами, в том написании, в котором она была указана в регистрационной карточке) и Serial Number продукта (напечатан на коробке и введён при инсталляции).
[b:12d3da6b5a]2.[/b:12d3da6b5a] Если приобретённый Вами программный продукт последней версии, пропустите этот пункт. Если нет - Вы можете скачать update прямо с сайта Rockwell Software, указав свои регистрационные данные:
http://support.rockwellautomation.com/WebUpdates/
Если по какой-то причине Вы испытываете трудности со скачиванием актуальной версии программного продукта - обратитесь в любой из наших офисов, Вам с удовольствием помогут.
Выполните update, корректно деинсталлировав старую версию и инсталлировав новую.
[b:12d3da6b5a]3. [/b:12d3da6b5a]Итак, пограммный продукт имеет новейшую версию.
Убедитесь пожалуйста,в том. что данная версия поддержана в Windows XP:
http://rockwellautomation.custhelp.com/app/answers/detail/a_id/42682/kw/compatibility%20matrix/r_id/115100
[b:12d3da6b5a]4.[/b:12d3da6b5a] Поддерживается? Тогда разберёмся с русским Windows.
Вы уже знаете о том, что Вы должны быть администратором на этом РС?
Проверьте это.
[b:12d3da6b5a]5.[/b:12d3da6b5a] Загляните в папку C:\Documents and Settings.
Проблема как раз в том, что папка "Администратор" называется русскими буквами. а именно путь вида "C:\Documents and Settings\Администратор" указан в системных переменных среды TEMP и TMP по умолчанию.
[b:12d3da6b5a]6.[/b:12d3da6b5a] Создайте папки TEMP и TMP где-нибудь в таком месте, куда не ведёт путь с русскими буквами, - например, в C:\:
C:\TEMP
C:\TMP.
[b:12d3da6b5a]7. [/b:12d3da6b5a] Откройте вкладку "Дополнительно" в "Панель Управления" -> "Система" и нажмите на кнопку "Переменные среды":
[img:12d3da6b5a]http://vdt-automation.com.ua/files/a8.jpg[/img:12d3da6b5a]
Измените пути по умолчанию, указав только что созданные папки.
[img:12d3da6b5a]http://vdt-automation.com.ua/files/a9.jpg[/img:12d3da6b5a]
[b:12d3da6b5a]8. [/b:12d3da6b5a] Нужно отключить FireWall, который встроен в Windows.
Для Rockwell Software под SP2 и SP3 есть Windows Firewall Configuration Utility:
http://rockwellautomation.custhelp.com/app/answers/detail/a_id/30498/kw/firewall/r_id/115100
[color=darkblue:12d3da6b5a]
[u:12d3da6b5a][b:12d3da6b5a]Добавлена информация от уважаемого Dvoeglazov[/b:12d3da6b5a][/u:12d3da6b5a]:[/color:12d3da6b5a]
Имя пользователя должно быть латинскими буквами, иначе не сохранить и не создать нового проекта в RSLogix5K.
[b:12d3da6b5a]9. [/b:12d3da6b5a]Если Вы проделали всё, что тут написано и всё равно испытываете трудности, то скорее всего дело в Windows.
----------------------------------------------------
[color=darkblue:12d3da6b5a]
[u:12d3da6b5a][b:12d3da6b5a]Добавлена информация от уважаемого dv_[/b:12d3da6b5a][/u:12d3da6b5a]:[/color:12d3da6b5a]
[b:12d3da6b5a]10. [/b:12d3da6b5a]Измените переменные окружения в Windows:
Было:
[b:12d3da6b5a]C:\Documents and Settings\All Users\Документы[/b:12d3da6b5a]
Нужно:
[b:12d3da6b5a]C:\Documents and Settings\All Users\Documents[/b:12d3da6b5a]
[b:12d3da6b5a]10. [/b:12d3da6b5a]Измените также настройки в реестре для Default User:
Windows Registry Editor Version 5.00
[code:1:12d3da6b5a]
[HKEY_USERS\.DEFAULT\Control Panel\International]
"iCountry"="1"
"iCurrDigits"="2"
"iCurrency"="0"
"iDate"="0"
"iDigits"="2"
"iLZero"="1"
"iMeasure"="1"
"iNegCurr"="0"
"iTime"="0"
"iTLZero"="0"
"Locale"="00000409"
"s1159"="AM"
"s2359"="PM"
"sCountry"="United States"
"sCurrency"="$"
"sDate"="/"
"sDecimal"="."
"sLanguage"="ENU"
"sList"=","
"sLongDate"="dddd, MMMM dd, yyyy"
"sShortDate"="M/d/yyyy"
"sThousand"=","
"sTime"=":"
"sTimeFormat"="h:mm:ss"
"iTimePrefix"="0"
"sMonDecimalSep"="."
"sMonThousandSep"=" ,"
"iNegNumber"="1"
"sNativeDigits"="0123456789"
"NumShape"="1"
"iCalendarType"="1"
"iFirstDayOfWeek"="0"
"iFirstWeekOfYear"="0"
"sGrouping"="3;0"
"sMonGrouping"="3;0"
"sPositiveSign"=""
"sNegativeSign"="-"
[HKEY_USERS\.DEFAULT\Control Panel\International\Geo]
"Nation"="241"[/code:1:12d3da6b5a]
Возможно, этот код можно минимизировать, но это реально работающий код.
После создания каталога [b:12d3da6b5a]C:\Documents and Settings\All Users\Documents[/b:12d3da6b5a]:
[code:1:12d3da6b5a]Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Common Documents"="C:\\Documents and Settings\\All Users\\Documents"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Common Documents"=hex(2):43,00,3a,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,\
00,6e,00,74,00,73,00,20,00,61,00,6e,00,64,00,20,00,53,00,65,00,74,00,74,00,\
69,00,6e,00,67,00,73,00,5c,00,41,00,6c,00,6c,00,20,00,55,00,73,00,65,00,72,\
00,73,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,73,00,00,00[/code:1:12d3da6b5a]
[color=darkblue:12d3da6b5a]И ещё, о [b:12d3da6b5a].bat-файле[/b:12d3da6b5a] для ленивых:[/color:12d3da6b5a]
Исходные данные:
ОС: Windows Server 2003 R2, Standart edition, SP2
FT View Studio 5.00.00(cpr 9) build number: 55
Содержимое файлов:
[b:12d3da6b5a]файл "setup.bat":[/b:12d3da6b5a]
[code:1:12d3da6b5a]#-----начало setup.bat
mkdir c:\Temp
mkdir "%ALLUSERSPROFILE%\Documents
"setup RSView SE 4.0.reg"
@echo.
@echo Please reboot your computer!!!
@echo.
@pause.
#-----конец setup.bat[/code:1:12d3da6b5a]
[b:12d3da6b5a]файл "setup RSView SE 4.0.reg":[/b:12d3da6b5a]
[code:1:12d3da6b5a]#-----начало setup RSView SE 4.0.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial,0"="Arial,204"
"Courier New,0"="Courier New,204"
"Times New Roman,0"="Times New Roman,204"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
"1250"="c_1251.nls"
"1251"="c_1251.nls"
"1252"="c_1251.nls"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Nls\CodePage]
"1250"="c_1251.nls"
"1251"="c_1251.nls"
"1252"="c_1251.nls"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Nls\CodePage]
"1250"="c_1251.nls"
"1251"="c_1251.nls"
"1252"="c_1251.nls"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Common Documents"=hex(2):25,00,41,00,4c,00,4c,00,55,00,53,00,45,00,52,00,53,\
00,50,00,52,00,4f,00,46,00,49,00,4c,00,45,00,25,00,5c,00,44,00,6f,00,63,00,\
75,00,6d,00,65,00,6e,00,74,00,73,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Common Documents"="C:\\Documents and Settings\\All Users\\Documents"
[HKEY_CURRENT_USER\Environment]
"TEMP"="c:\\Temp"
"TMP"="C:\\Temp"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"TEMP"="C:\\TEMP"
"TMP"="C:\\TEMP"
#-----конец setup RSView SE 4.0.reg[/code:1:12d3da6b5a]
Оба файла складываются в одну директорию и запускается [b:12d3da6b5a]setup.bat[/b:12d3da6b5a]
|
Предыдущие результаты |
|
| |
|