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

Форум

Ресурсы Rockwell

Product Directory

Essential Components

Literature Library

Knowledge Base

Electronic News&Magazines

Блог

Encompass Program

Product Certification

  


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



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



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

 [quote:4f5fead0a0="mikola_wow"]Помогите пожалуйста!! Есть ли какое нибудь описание настроек и пример использования блока ПИД регулятора из RSlogix5000? Если есть то дайте ссылку Заранее благодарен![/quote:4f5fead0a0] Пожалуйста: [url=http://literature.rockwellautomation.com/idc/groups/literature/documents/wp/logix-wp008_-en-p.pdf]LOGIX-WP008A-EN-P PID Instruction White Paper[/url] [url=http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm006_-en-p.pdf]1756-RM006F-EN-P Logix5000 Process Control Drives Instructions Reference Manual [/url] [url=http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm003_-en-p.pdf] 1756-RM094C-EN-P Logix5000 Controllers General Instructions[/url]

 Сначала добавляем через "Add-On Instructions" и "Import Add-On Instruction" файл PSMCM.L5X(идет на диске с MVI56-MCM ). После установки должна появится пиктограмма блока PSMCM в закладке инструкций Add-on Дословно- Затем вставляем настроенный блок PSMCM в основную программу. В руководстве все по шагам описано.

 [quote:c5d429eca7="gnan"] но через параметры в функцию я не могу передать массив.[/quote:c5d429eca7] если вы пытаетесь передать массив в функцию используя свойства Input то возникает проблема: можно передавать только bool, int,... однако если вы будете использовать InOut , тогда вы сможете передать в функцию не только массив, но и определенную вами структуру (user-defined) :) из справки : For an Add-On Instruction, an InOut Parameter defines data that is used as both input and output during the execution of the instruction. An InOut Parameter is passed by reference, meaning the logic deals directly with the tag passed to the instruction. InOut parameters can be any valid data type because they are passed by reference. This includes message, motion group, all axis, and module data types. [b:c5d429eca7]Any data structures or arrays that need to be passed to an Add-On Instruction must be done using InOut Parameters[/b:c5d429eca7] Удачи!

 [quote:3c95d429a0="maxim"] не совсем понятна проблема :( Если вы создаете в функции теги , то они будут доступны только в области видимости этой функции, есть теги область видимости у которых программа, а есть область видимости контроллер. Функция может принимать в виде аргументов как локальные так и глобальные теги. Это же касается и возвращаемых значений. Скажите что значит [quote:3c95d429a0="gnan"] как можно получить доступ к тегам контроллера или программы не передавая этот тег через парамерты функции???[/quote:3c95d429a0] ?[/quote:3c95d429a0] имеется ввиду аналог глобальных переменных (например в С) проблема следующая: создаю функцию (add-on instruction), в которой я должен оспользовать тег контроллера типа SINT[100] (т.е. массив SINT). но через параметры в функцию я не могу передать массив.

 создал я add-on instruction все отлично работает, входные, выходые параметры есть, получается полноценная функция но возникло одно НО: я не имею доступа к тегам. к тегам программы понятно, что не могу. а вот к тегам контроллера почему не имею доступа? -- неясно как можно получить доступ к тегам контроллера или программы не передавая этот тег через парамерты функции???

 [quote:7d9645d930="JekaM"] В RSLogix начиная с v16 есть Add-On'ы. [/quote:7d9645d930] версия 16.03.00 [quote:7d9645d930="JekaM"] В них на любом интересующем Вас языке можно написать и функции в том числе и передавать и возвращать все что угодно - теги, массивы, структуры UDT. [/quote:7d9645d930] в структуре Controller Organizer в папке: 1. Data Types есть Add-On-Defined 2. Motion Groups есть Add-On Instruction когда на одном из этих пунков жмахаешь правой мышкой --> New, появляется окошко New Add-On Instruction. В окошке есть поле Type, в котором на выбор 3 типа: Ladder Diagram, Function Block Diagram, Structured Text. Но ни о каких языках типа С++ там речи не ведеццо :cry: )) или как то по-другому это делается??? если есть пример кода, дайти плиз)))

 Технология применения RSLogix Emulate 5000 приведена [url=http://literature.rockwellautomation.com/idc/groups/literature/documents/gr/lgem5k-gr015_-en-p.pdf]здесь на стр.15.[/url]: [quote:751700a3f5] A Brief Outline of Using RSLogix Emulate 5000 Typically, RSLogix Emulate 5000 is used to check logic (or the logic behind HMI systems, etc.) before that logic is put into physical controllers. Here’s a brief outline of how you can implement RSLogix Emulate 5000 in your project development. 1. In RSLogix 5000, create a new project using the Emulator processor type. 2. Set up the project’s I/O configuration to match that of the Chassis Monitor, configuring I/O simulation modules or additional emulator modules to emulate your application. 3. Develop the logic program for your application, configuring it to run on the emulator. Use symbolic tags for your I/O points and alias them to simulated I/O modules or other emulators (using produced and consumed tags). You can also use tags in RSTestStand or RSView to simulate I/O. 4. Download your program to the emulator and debug it using the tools in RSLogix 5000. 5. After verifying your program’s operation with the emulator, save a copy of your project for reference. 6. In RSLogix 5000, change the processor type of your project to use the physical processor that will run your application. Reconfigure your project’s I/O to use the modules for your application. 7. Re-alias the I/O points in your project to use the I/O modules for your application. 8. Remove any tracepoint and breakpoint instructions you may have used in the project (these will not work in a physical processor). 9. Verify your project and correct any errors. You can then download your project to your physical controller.[/quote:751700a3f5] В этом же документе написано,что коммуникационные модули не поддерживаются. Сетевой ввод-вывод также не поддерживается. Это не контроллер, а эмулятор процессора.

 [quote:3bd446fc91="Zlodeyz"]1. В сименсе блоке называется Pulse. Посылаешь на вход импульс он запускает счетчик на выходе появляется 1. Счетчик отсчитывает заданное время и обнуляет выход.[/quote:3bd446fc91] Если Вам необходим широтно-модулированный сигнал для управления, например, исполнительным механизмом, то это блок POSP: [color=darkblue:3bd446fc91][i:3bd446fc91]The POSP instruction opens or closes a device, such as a motor-operated valve, by pulsing open or close contacts at a user-defined cycle time with a pulse width proportional to the difference between the desired and actual positions.[/i:3bd446fc91][/color:3bd446fc91] [quote:3bd446fc91="Zlodeyz"]2. Упаковка\распаковка битов. У блока 1 вход и 8 выходов. Подаешь на вход байт на выходе 8 сигналов (битов).[/quote:3bd446fc91] Ничего распаковывать вообще не нужно. Просто обращайтесь к непосредственно нужному биту в этом байте, и всё.

 Уважаемый Velikij, в RSLogix5000 v16 есть команды цифровых и аналоговых алармов. В частности, команда генерирования аналоговых алармов называется ALMA. В этой команде есть тэги HHlimit, Hlimit, LLlimit и Llimit. Изменяя значения этих тэгов, Вы можете динамически изменять уставки алармов. Более подробно смотрите документ 1756-rm003_-en-p.pdf: [quote:410d4cdcdd] The ALMA instruction detects alarms based on the level or rate of change of a value. The ALMA instruction provides additional functionality when used with RSLinx Enterprise and FactoryTalk View SE software. You can display alarms in the Alarm Summary, Alarm Banner, Alarm Status Explorer, and Alarm Log Viewer displays in FactoryTalk View SE software.[/quote:410d4cdcdd] В RSView32, например, Вы можете указать в качестве граничного значения Alarm не фиксированное значение, а имя тэга, в котором оно будет содержаться. А тэг меняйте, как хотите (в контроллере или в RSView32). Вот что написано в документе vw32-um001_-en-e: [quote:410d4cdcdd] Variable thresholds Threshold values can be constant or variable. ... A variable threshold can change, because its value is taken from another tag value, not a constant number. You define a variable threshold by naming a tag in the appropriate field in the editor. That tag’s value is the threshold for the alarm; as the tag changes, the threshold changes. Variable thresholds require more system resources than constant thresholds. This is due to the continuous scanning of threshold values and to the processing necessary to detect alarm faults.[/quote:410d4cdcdd]

 В RSViewSE как раз такая функциональность есть. [quote:3d416a177f] [b:3d416a177f]Save development time using Global Objects[/b:3d416a177f] Global objects save you development time by letting you link the appearance and behavior of a base graphic object to multiple references of the object throughout an RSView application. When you make changes to the base object, all objects that reference that object inherit the same changes. For greater flexibility, referenced objects contain properties that can be optionally “unlinked” from the base object -- for example, animations, connections, or size. This allows individual objects to be uniquely customized without losing the other benefits of Global Objects. A number of objects that support RSLogix instructions are available as Global Objects, including PID and Totalizer faceplates.[/quote:3d416a177f] По цене RSViewSE во многих случаях дешевле, чем RSView32. Вообще, RSViewSE современннее и лучше, чем устаревшая RSView32, которая (с успехом!) существует на рынке уже более 10 лет. Честно говоря, я не могу себе представить причины, по которым для новых систем всё ещё покупают RSView32.



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


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



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



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



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



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




  
RA & VDT GmbH


Облако тэгов
ProSoft Modbus Automation ControlLogix MVI56-MCM Allen-Bradley Logix Windows FactoryTalk PanelView VersaView ControlTower GuardLogix Compact Software Studio Designer 100-E 100-D SMC-50 Energy Saver 1756-RMS-SC Spectrum Encompass Level Ethernet Redundancy Stratix

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

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.160 секунды