Помощь - Поиск - Пользователи - Календарь
Полная версия этой страницы: Pid регулятор в Tsx572823
Диалог специалистов АВОК > ОБЩИЙ ФОРУМ > Автоматизация систем
Gutco
В PL7Pro существует MMI-интерфейс (Loop). Настроено 26 таких регуляторов.
На входе PV,первый из 26, сидит %MW50 а на выходе OUT1 - %MW51, все остальные настройки а также задание ST,
опрашиваются Monitor Pro.
Зона настроек это 104 %MW от 3700 до 3803.
Зона обмена - (1*6) MF от 3500 до 3510.
Exchange Zone per Loop - %MW от 1100 до 1203.
PV имеет адрес %MF3502 в таблице Modbus а не %MF3500.
Вопрос: по каким конкретным адресам находятся настройки регулятора КР,КI,TD ?
colorprint2008
Вот пример ПИДа
PID('','',%MW31573,%MW31576,%M4330,%MW31510:43);

%MW31510:43 (здесь все параметры ПИДа)

Расшифровка таблицы этих слов:

В хелпе ---------------------------------------------------------------
SP %MWi Internal setpoint in 0/10000 format
OUT_MAN %MW(i+1) Value of the manual output of the PID (between 0 and 10000)
KP %MW(i+2) Proportional gain of the PID (x100), with sign and without units (-10000<KP<+10000). The sign of Kp determines the direction in which the PID acts (negative: direct, positive: reverse)
TI %MW(i+3) Integral time of the PID (between 0 and 20000) expressed in 10-1 seconds
TD %MW(i+4) Derivative time of the PID (between 0 and 10000) expressed in 10-1 seconds
TS %MW(i+5) Sampling period of the PID (between 1 and 32000) expressed in 10-2 seconds The actual sampling period will be a multiple of the task period in which the PID closest to TS is located
OUT_MAX %MW(i+6) Upper limit of the PID output in auto mode. (between 0 and 10000)
OUT_MIN %MW(i+7) Lower limit of the PID output in auto mode. (between 0 and 10000)
PV_DEV %MW(i+8):X0 Derivative action chosen 0 = on process variable, 1 = on deviation
NO_BUMP %MW(i+8):X4 Bump or bumpless mode.0 = bumps, 1 = no bumps
DEVAL_MMI %MW(i+8):X8 = 1 : inhibits acknowledgment of the PID by the Human Machine Interface. = 0 : the PID is used by the Human Machine Interface.This bit makes it possible to avoid having to carry out scale conversions on PIDs not being used by the CCX_17, and to select the PIDs being used, particularly when there are more than 9 PIDs in the PL7 application.
PV_SUP (CCX 17) %MW(i+9) Upper limit of the process variable scale, in physical units (x100) (between -9 999 999 and + 9 999 999).
PV_INF (CCX 17) %MD(i+11) Lower limit of the process variable scale, in physical units (x100) (between -999 999 and + 9 999 999).
PV_MMI (CCX17) %MD(i+13) Image of the process variable in physical units (x100)
SP_MMI (CCX 17) %MD(i+15) Operator setpoint and image of the setpoint, in physical units (x100)
Note: The other parameters used for internal management of the PID must never be modified by the application. The values used by the CCX 17 are multiplied by 100 so that they can be shown with 2 figures after the decimal point on the CCX 17 (the CCX 17 does not use floating point format but supports a fixed decimal point format).
colorprint2008
Расшифровка параметров в скобках:

The table below shows the different parameters of the PID function.
Parameter Type NatureIN = InputOUT = Output Default value Description
TAG 8 characters (maximum)or%MBi:L where L is less than or equal to 8 IN - Name used for the PID used by the CCX 17.
UNIT 6 characters (maximum)or %MBi:L where L is less than or equal to 6 IN - Unit of measure for the PID used by the CCX 17.
PV %MWi or %IWxy.i.j IN - Input representing the process variable for the function.
OUT %MWi or %QWxy.i.j OUT 0 Analog output of the PID.If TI = 0, an offset of 5000 is added to the OUT output in Auto mode.
AUTO %Mi , %Ixy.i or %Qxy.i IN / OUT 0 Operating mode of the PID and the CCX 17.0: manual, 1 = Auto.
PARA %MWi:43 IN / OUT - (See table below for details of PARA table).
san
Похоже у топикстартера встроенный ПИД ЦПУ Premium. Сам ими никогда не пользовался, надо хелп внимательно изучать. Единственное, что возможно подскажу, это то что %MF3500 занимает два слова %MW3500 и %MW3501. По этому смещение идет в два слова а не одно. Возможно %MF3500 это задание. Вобщем, надо читать хелп.
Gutco
Спасибо за ответы.
Да это встроенный ПИД ЦПУ Premium, но в хелпе описания нет.
Как я писал выше, для ПИД-1 адреса начинаются с %MW3500.
А в таблице Read\Write Information адреса выглядят следующим образом:
PV - %MF3502;
SP - %MF3504;
OUT - %MF3506;
Совпадает область Exchange Zone per Loop - %MW от 1100 до 1203.
CH_CH - %MW1100;
EN - %MW1104;
OUT_MAN - %MF1122;
KP - %MF1154;
TI - %MF1156;
TD - %MF1158:
Но без описания не понятно их назначение.
san
В хелпе есть описание, так как я его видел сам. Надо смотреть аппаратных средствах в Premium.
Gutco
Спасибо, буду искать.
san
Цитата
PL7 Junior/Pro Premium PLC Application-Specific Functions - Process Control
Installing the process control application
Control loop configuration
Configuring MMI ( Man-Machine Interface)
Description of exchange zone

Вышел, на нужный раздел, нажав F1 с окна конфигурации Loop PID в PL7.
Gutco
San огромное спасибо. нашел в хелпе, осталось разобраться.
Еще хочу сказать спасибо за серию статей по управлению ПЧ контроллером по сети.
Для насосной станцией на четыре насоса, которыми управляет ПЛК Siemens S7-1200 с
помощью одного ПЧ Danfoss (микрик по Modbus, разгон каждого насоса), я использовал один из ваших примеров.
san
Цитата(Gutco @ 9.1.2014, 17:22) *
Еще хочу сказать спасибо за серию статей по управлению ПЧ контроллером по сети.
Для насосной станцией на четыре насоса, которыми управляет ПЛК Siemens S7-1200 с
помощью одного ПЧ Danfoss (микрик по Modbus, разгон каждого насоса), я использовал один из ваших примеров.

Это не мне, это CHANTу, разделы по Danfoss и Симатикам он писал. Но все равно приятно, что работа не пропадает бесследно.
Для просмотра полной версии этой страницы, пожалуйста, пройдите по ссылке.
Форум IP.Board © 2001-2025 IPS, Inc.