Вход на форум 
В начало e-Mail

Форум

Ресурсы Rockwell

Product Directory

Essential Components

Literature Library

Knowledge Base

Electronic News&Magazines

Блог

Encompass Program

Product Certification

  


Предыдущие результаты



Предыдущие результаты



Предыдущие результаты

 База знаний, возможно, уже обновилась, поэтому части топиков нет, но можно набрать поиск по фразе типа 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

 Можно полистать следующие топики: 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

 Есть ли опыт стыковки строк в RSView32 и SLC, из Сименса 300го вытягивал, а вот невозможность(или просто тяму пока не хватило:)) вытянуть строковый тег из ControlLogix стла неожиданностью. ПОнимаю что можно обойти такую связку, но возможность связать строковый тег во Вью со строковым тегом в контроллере дала бы изящное решение. Я понимаю, что строка в 5к это составной тип данных, и можно свои строковые типы создавать, но должен же быть способ! У кого нить есть соображения!???

 Исходя из приведенного списка софта низачто не скажешь, что имеешь дело со станком. Вопрос к автору- где находится motion control? И вообще, зачем сразу качать софт, если можно попробовать восстановить ОС используя Emergency Repair Disks for Win2000?

 Здравствуйте коллеги, Появилась такая проблема. На объекте установлено около 10 контроллеров ControlLogix5555. После года нормальной эксплуатации в контроллерах возникла основная ошибка тип 1 код 60 (причем не одновременно во всех, а с интервалом 1-2 месяца). Естественно контроллер переходит в стоп. После сброса и загрузки программы из ControlLogix5000 контроллер нормально работает. В руководстве 1756-PM001G-EN-P написано следующее: "Причина - [b:cb5d45f914]обнаружена неисправимая ошибка или проект стерт из памяти.[/b:cb5d45f914] Решение проблемы - 1. Сбросьте ошибку. 2. Загрузите проект. Если проблема остается свяжитесь со службой поддержки Rockwell." Версия прошивки контроллера 15.## (младшие номера прошивки не помню). Батарейки в норме, питание бесперебойное. У кого есть опыт борьбы с этой ошибкой? Лечиться ли она перепрошивкой? И сбрасываеться ли она программно из FaultHandler? И вопрос к уважаемому OldDad'у: Может ли быть причиной возникновения "неисправимой ошибки" пользовательская программа?

 Доброго времени суток. [quote:13b2ddb61c="AlexnadrB"]Проблемма такая, появился в наличии контроллер AB-ControlLogix 5555! До этого занимался контролерами Siemens! Никак не могу связать RSLinx Lite c контролером по RS-232! Диод "ок" горит красным! больше никакой индикации нет! снял контроллер там имеется белый слот , должен ли он быть пустым ?[/quote:13b2ddb61c] Здесь описывается как настроить связь с контроллером по последовательному порту http://www.vdt-automation.com/docs/Controllers/ControlLogix/1756-qs001b-ru-p.pdf (глава 1) Все ли правильно вы сделали?

 Проблемма такая, появился в наличии контроллер AB-ControlLogix 5555! До этого занимался контролерами Siemens! Никак не могу связать RSLinx Lite c контролером по RS-232! Диод "ок" горит красным! больше никакой индикации нет! снял контроллер там имеется белый слот , должен ли он быть пустым ?

 [quote:b28582224e="oldDad"]Эти программы стоят денег, их скачать нельзя.[/quote:b28582224e] В принципе они уже заплатили за них, покупая станок. [quote:b28582224e="LAKER"]...моя карьера под угрозой :cry: :cr[/quote:b28582224e] Под угрозой должна быть карьера принимавшего :o У вас должны быть CD и дискеты активации: 1.[b:b28582224e]RSView32 Runtime 1500[/b:b28582224e] 2. [b:b28582224e]RSLinx Classic[/b:b28582224e]. И CD [b:b28582224e]RSView32 Extensions[/b:b28582224e]. Если винчестер цел нужно спасать активации (простым копированием не делается) и проект RSView32 (простое копирование). [b:b28582224e]PenMount DMC 9000 and 9100, UpSurf Control[/b:b28582224e] - мне неизвестны и там могут быть свои засады. Обращайтесь с поставщикам станка.

 Столкнулся с такой ситуацией на работе стоит станок Jouanel Almore PGL 8000-3,на нем стояла OC Win2000,вчера полетела система :cry: естественно софта нет идущего к нему!нашел список программ которые стояли,увы но дальше не помню! :oops: Где их мона скачать?Заранее спасибо всем за помощь,моя карьера под угрозой :cry: :cry: 1.RSView32 Runtime 1500 b6.40.03 1.RSview32 Proect Documentor 2.RSview32 RecipePro 3.RSview32 RStrendX wrapper 4.RSview Tools & Utilities March 2000 5.RSview32 LogViewer 6.PenMount DMC 9000 and 9100 7.UpSurf Control

 [quote:bf52c93bd9="oldDad"]Стоп. Давайте с самого начала :) Я не очень понял проблематику. Зачем ставить в новый привод старый адаптер? Не проще ли испльзовать с ним всё-таки новый адаптер?[/quote:bf52c93bd9] Проблемма в том, что не управляется новый привод через сеть ControlNet. Сверил параметры модуля 20-COMM-C в старом приводе и в новом. Единственное отличие в параметре 08 "DataLink Size" (в старых приводах 16bit, а в новых 32bit). Я думал, что это зависит от адаптера, но посредством экспериментов, понял, что это сам привод обменивается 32-ух битными командами. Забудем про адаптер, проблемма не в нем. Возможно проблемаа вообще не разрешима.



Предыдущие результаты


Ещё результаты



Предыдущие результаты



Предыдущие результаты



Предыдущие результаты



Предыдущие результаты




  
RA & VDT GmbH


Облако тэгов
Error RSLogix ControlLogix sound FTView Control Logix MVI56-104S 1734-AENTR Altivar Add-on Instruction MVI46MCM Ethernet PLC-5 SLC-500 1757-SRM Firmware ComactLogixL32E 1756-L75 1756-RM2 Controlnet cable Promass Client Memory 1769-L32E execution minutes seconds Windows Build 00000d5c Unspecified terminate geehrter automatisch keine globalen Fehl

Яндекс цитирования

Smart Solutions VDT GmbH | Friedrich-List-Allee 38, D-41844 Wegberg-Wildenrath, Germany
Tel.: +49 2432 933 57 83 | e-Mail: office@vdt-solutions.de
Все товарные знаки и торговые марки являются собственностью их владельцев.
При использовании материалов сайта ссылка на данный сайт обязательна.
Открытие страницы: 0.121 секунды