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

Скачать
Страница из 412
6.2 PID Control Instruction (Exact Differential)
6.2.2 PIDCONT instruction
6-21
PIDCONT
6
PID CONTROL 
INSTRUCTION
PI
D
C
O
N
T
6.2.2  
PIDCONT instruction
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.
PIDCONT(P)
P: Executing condition
:
 indicates any of the following 
instructions.
PIDCONT
PIDCONTP
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
PIDCONT
PIDCONT
(EN, s);
ENO:=
s
s