1178
10 PID CONTROL INSTRUCTIONS
10.3 PID Control Instructions (Exact Differential)
Starting the operation of specified loop number
PIDRUN(P)
These instructions start the PID operation of the specified loop number.
■Execution condition
■Description, range, data type
■Applicable devices
• These instructions start the PID operation of the loop number in the device specified by (s). These instructions are used to
re-execute the PID operation of the loop number that has been stopped by the PIDSTOP(P) instruction.
• The PIDRUN(P) instruction, if executed for a loop number already in progress of PID operation, performs no processing.
• [RnPCPU (redundant)] If these instructions are used in a program executed in both systems, there are restrictions on their operation in the standby system
when the redundant system is in backup mode. ( MELSEC iQ-R CPU Module User's Manual (Application))
Ladder ST
ENO:=PIDRUN(EN,s);
ENO:=PIDRUNP(EN,s);
FBD/LD
Instruction Execution condition
PIDRUN
PIDRUNP
Operand Description Range Data type Data type (label)
(s) Loop number to be stopped 1 to 32 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B,
SB, FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
Error code
(SD0)
Description
3405H Out-of-range data is set in the device specified by (s).
• The specified loop number does not exist.
• The specified value is other than 1 to 32.
3422H The PIDINIT(P) and PIDCONT(P) instructions are not executed before the PIDRUN(P) instruction.
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)