Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

Скачать
Страница из 412
6.1 PID Control Instruction (Inexact Differential)
6.1.2 PIDCONT instruction
6-7
6
PID CONTROL 
INSTRUCTION
S_PIDCONT
S_PIDCONT
6.1.2  
PIDCONT instruction
S_PIDCONT
Function
(1) This instruction measures sampling cycle and performs PID operation at instruction 
execution.
(2) This instruction performs PID operation based on the set value (SV) and process value (PV) 
in the I/O data area set to the device number specified by 
 or later, and stores the 
operation result to the automatic manipulated value (MV) area in the I/O data area.
(3) PID operation is performed in response to the first execution of the PIDCONT instruction 
after the set sampling cycle time has elapsed.
S(P)_PIDCONT
P: Executing condition
:
 indicates any of the following 
instructions.
S_PIDCONT
SP_PIDCONT
Input argument
EN:
Executing condition
:Bit
s:
Start number of the device that is assigned in I/O data area
:ANY16
Output argument
ENO:
Execution result
:Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant Others
Bit
Word
Bit
Word
Structured ladder/FBD
ST
EN
ENO
s
S_PIDCONT
S_PIDCONT
(EN, s);
ENO:=
s
s