 | |
Предыдущие результаты
[quote:21f8f8a431="oldDad"]ПИД-инструкция из набора команд SLC-500 / Micrologix используется очень широко, так что писать её самому незачем.
Пример реализации могу выслать.[/quote:21f8f8a431]
:D Будте так добры пришлите пожалуйста и мне по почте.
|
[quote:38b2e7be13="oldDad"]ПИД-инструкция из набора команд SLC-500 / Micrologix используется очень широко, так что писать её самому незачем.
Пример реализации могу выслать.[/quote:38b2e7be13]
Если не сложно, прошу выслать и на trei(песик)optima.com.ua
|
Доброго всем времени суток!
Кто-то может подсказать? Проблема в следующем: был ноут с com портом и совсем недавно приказал долго жить. Новых с com портом не продают, но предлагают адаптер pcmcia на com, не возникнут ли конфликты при подключении к контроллеру slc-500, а подключаться приходиться часто.
|
База знаний, возможно, уже обновилась, поэтому части топиков нет, но можно набрать поиск по фразе типа string data types и попытаться полистать.
Вот, собственно, то, что у меня есть.
Background:
When using string data in the CL55xx processor with firmware version at 7 or earlier, integer storage must be allocated. Integer storage can be allocated as an SINT, INT, or DINT array. Additionally INT array data can be referenced in PLC5 emulation mode. Version 8 of the ControlLogix firmware introduced the string datatype. When the OPC node type is used, the following errors can be generated when the wrong address syntax is used. The DDE node type does not generate any errors when improperly configured, however the string data is not written correctly either.
Requirements for the native string tag support:
RSView32 6.30 previous versions of RSView32 should work as well, but were not tested.
RSLinx 2.30
ControlLogix firmware rev 8 or higher
The following paragraphs describe how the DDE/OPC implementation works, and how string data is stored in the CL55xx processor.
String Tag Configuration:
Traditionally RSView32 is looking for a string address equivalent to A10:0 or ST10:0. When the PLC5 ST datatype was introduced, 82 characters was the maximum supported. This 82 string length limit remains in the RSView32 product today. The CL55xx string data type stores the characters in a SINT array. String data can be stored in any type of integer array, SINT, INT, DINT when working with controllers at earlier versions of the firmware. Depending on the type of integer array selected the address syntax will vary.
Even though the RSView32 tag is defined as string data, RSLinx queries the data type from the processor. To allow RSView32 and RSLinx to write string data to integer storage - add the ,SSxx (string space pad) or the ,SCxx (string C null pad) to the address line, where xx indicates the number of elements to pad. The number of elements to pad depends on how the data is stored, the following table gives some examples. If the SCxx or SSxx syntax is omitted, RSView32 will only be able to access the 1st element in the integer array, and will not represent the data as the string entered, since it is integer.
There are some issues when writing to the new string datatype from RSView32. When working with variable length strings, RSView32 does not update the length field with the new string length. The improper initialization of the string length prevents ascii functions from working properly in the controller program. This issue is currently under investigation. A potential work around is to determine the length of the string in VBA code, and then manually write to the length element of the string data type.
Тут, правда, ниже табличка! Надеюсь поймете
CL5550 Datatype Description String Address Syntax Example1 String Address Syntax Example2
String 8 bit integer array String1.Data[0],SC82 String1.Data[0],m,SC82
SINT 8 bit integer SINTArray[0],SC82 SINTArray[0],m,SC82
INT 16 bit integer INTArray[0],SC41 INTArray[0],m,SC41
DINT 32 bit integer DINTArray[0],SC20 DINTArray[0],m,SC20
PLC5 emulation 16 bit integer N7:0,SC41 N7:0,m,SC41
PLC5 emulation mode may be required to read/write string data if the CL55xx firmware is at an earlier revision 4.x.
Controller Memory:
When using the string data type, the controller stores the string as a character in a element called .Data[x], where x is the character position. With the native string data type, there doesn't appear to be anyway to reference the entire string tag as was possible with the PLC5 string. Instead the RSView tag address references the first element of the SINT array that contains the string. The ,SC82 syntax tells RSLinx to get 82 bytes of string data.
When using an integer array to store string data, the controller stores the data in the integer array as the HEX equivalent of the character. For example, if a 12 is entered into a string input field, the data is converted to the hex equivalent (in this case 3132h) and is stored the processor tag name INTArray[0]. Since INTArray[0] actually stores 2 characters, examination of the individual bytes will show the 1 (31h) is stored in the high order byte, and the 2 (32h) is stored in the low order byte.
Consider the same example writing string data to the SINTArray, if a 12 is entered into a string input field, the SINTArray[0] = 2 (32h), SINTArray[1] = 1 (32h). Applying the ,m byte swap modifier to the address line does not alter the way the string data is written to the processor, it only swaps the way the data is viewed. A future release of RSLinx will correct this byte swapping for SINT arrays.
When RSView32 is performing both the string read and write, use the syntax example1. When the CL5550 processor is storing the string data, the high and low order byte may need to be swapped, use the syntax example2 to accomplish this on the read only.
It is more efficient to write null padded strings than space padded strings, therefore use the SCxx syntax when possible.
Background:
RSView32, RSView SE and RSSql can browse tag addresses from an on-line controller using OPC. However, string tags in a ControlLogix family controller (added in firmware version 8) and bit-level addresses in a PLC-5 or SLC-500 cannot be browsed directly.
String tags are actually stored in the ControlLogix as numeric data. When the OPC browser tries to update the string tag's address field, the client correctly determines that a data type mismatch has occurred. It therefore does not allow the address field to be updated.
For digital addresses in a PLC-5 or SLC-500, RSLinx does not allow browsing to the bit level. Examples: "B3:0" can be browsed, but "B3:0/3" cannot be browsed. However, a Boolean tag in a ControlLogix processor can be browsed.
Solution:
For String addresses in a ControlLogix processor:
1. Create a DIGITAL tag (if client is RSView32 or RSView SE)
2. Browse to the string tag in the ControlLogix (example: StringTag )
3. Select the StringTag.DATA element and press OK
4. Remove the .DATA manually from the end of the item address
5. Change the tag data type to STRING.
Example of correct item address syntax: [TopicName]StringTag
Example of incorrect item address syntax: [TopicName]StringTag.DATA
Note: This syntax is tested with firmware version 10 per tech note A27556111 (see references below).
Important: In RSView32 and RSView SE - if step 5 is skipped and the tag is accepted, it will not be possible to change the tag data type. In this case it would be necessary to delete the tag and start again with step 1.
For Digital addresses in a PLC-5 or SLC-500:
1. Browse to the word level (example: B3:0 )
2. Select the word containing the desired bit and press OK
3. Add the bit delimiter manually to the end of the item address. Example of correct item address syntax: [TopicName]B3:0/2
For further reference, see the following tech notes:
A5550 - How to address the different data types in the ControlLogix 5550 processor
A7004 - Reading and writing string data from RSView32 to ControlLogix 55xx
A27556111 - How to manage variable length string writes from a HMI to ControlLogix
A4814 - How to configure RSView32 to communicate to a ControlLogix 5550 processor
Успехов.
Vitaliy D. Burtsev
|
Псле замены 1794-ASB ser B на 1794-ASB ser E происходят переодические скачки сигналов с датчиков модулей IE8 и IR8 до "0"для IE8 и до "-238" для IR8. Модуль 1794 ASB SER E новый при установки старого скачки прекращаються . Контроллер SLC-500
|
Подскажите,плиз,как правильно связывать эти два девайса.
Не могу настроить месседжи между Micrologix 1500 and ControlLogix.
В ControlLogix сконфигурировал через map PLC/SLC messages,а в Micrologix передаю через MG PLC5 Read/Write.В 1761-NET-ENI использую тот же IP,что и в ControlLogix,ну и конечно такой же адрес,как и в инструкциях MG Micrologix.
Причем пробовал связать MicroLogix с SLC-500,все получилось на ура...
В чем проблема,где я ошибся,не пойму...
|
А хоть у одного из SLC-500 есть встроенный таймер или счетчик,АЦП?Где не посмотрю,подобного ничего не указано.Неужели у такого довольно большого по размерам модульного контроллера нет даже встроенного таймера?
|
Помогите,пожалуйста!Есть ли у кого условно-графическое обозначение процессорного ядра(любого) контроллера SLC-500 или хотя бы внутреннюю структуру SLC-500? :o
|
Добрый день!
Имеется корзина SLC-500 с процессором 1747-L541 5/04 CPU посаженная на Contlol Net через модуль 1747-KFC15. В этой сети имеется контроллер Control Logix 5555 1756-L55. Возможна ли предача данных между процессорами? Я порыл документацию и ничего не нашел. Прграмматор(ПК) с коммуникационной платой 1784-PCIC(S) посаженный на сеть Contlol Net корректно видит 1747-KFC15 в RSLinx и позволяет программировать SLC-500. Буду рад любой помощи и информации.
|
Hi,
Опять хочу вернуться к проблеме пароля. Можно посмотреть на эту проблему глазами технаря, а можно и развернуть и пошире.
Начнем с простого, просто снять пароль. Если чехи обиделись за нерадушный прием( и молчат как партизаны, то давай проверим что на это говорит сам Rockwell. Simple search in the KnowledgeBase(By the way registration is free) and you can have following result- "Lost or Forgotten passwords procedure for the Micrologix, SLC-500, PLC-5 Family of controllers and RSLogix software.Processor is prompting for a password and password is either lost or forgotten." ID 16846 (old TN# P16983). Прочитав оный документ начинаешь осознавать что нужен в добавок RSLogix500 Годичный Support Contract. Если его нет нужно искать у кого он есть, наверное нет ни у кого в округе получаем замкнутый круг.
Будем проще, незря Сережа Брин придумал классный алгоритм. Три ключевых слова Allen Bradley SLC500 Password - результат отменный.
На E-Bay продается продукт (прямо из Канады ) за 16 бакинских рублей и 99 копеек плюс пересылка наверно 10.
Что мы имеем-
Allen-Bradley & Mitsubishi PLC Password Recovery CD
US $16.99
You are bidding on a CD containing the software and instructions required to recover a password "keyword" on an Allen-Bradley SLC or Mitsubishi A & FX-series processor.
The keywords within an Allen-Bradley processors consist of a string of up to ten characters in the range 0-9 for the main password and the same again for the master password. For Mitsubishi there are six character passwords (A-series) and 8-character passwords (FX-series) consisting of 0-9 and A-F. If a keyword has been set with the processor, it is required in order to read the program from the PLC and to be able to monitor/modify the program. If you haven't got the key, you can't get in. Rockwell technical support have been asked if it is possible to identify or get around the keyword and their answer is NO-you must clear the PLC memory and start again. Not very good if you do not have the original code to begin with!
This CD will give you the instructions on how to "discover" the keyword and gain access to the PLC.
Software required for Allen-Bradley:
• RSLogix 500
• RSLinx
• Comlite 32 (included on this CD)
Как все просто, Господа. И даже этика форума не затронута. Просто поиск решения в затруднительной обстановке.
Ну а если еще жалко 25$ то можно download вообще продукт бесплатно.
Правда все это мне не по душе. Принимать решение что и как делать дальше не мне тоже.
Я бы держал контакт с чехами, ведь наверно они не только SLC500 на заводик поставили. Пригодятся еще в будующем. Может научат чему нибудь.
Напоследок я хочу ответить г-ну из Жданова(Мариуполя). Не стоит батенька хаять иностранцев, а учиться у них нужно. Это не только мое мнение а и других господ, например Володимир Моренко ИнститутАвтоматики по моему город Томск. Кстати единственный системный интегратор из России, который прошел аудит в CSIA.
И другая компания, ELISY прошу прощения может спеллинг неверный приезжает на ISA EXPO.
Последнее, для ОлдДеда, придумал ты наверное этот форум классно, хоть немного откроет мне глаза на состояние дел по специальности как говорится на просторах СНГ.
Спасибо всем за внимание.
|
Предыдущие результаты
Ещё результаты |
|
| |
|