10 PID CONTROL INSTRUCTIONS
10.2 PID Control Instructions (Inexact Differential)
1167
10
Starting the operation of specified loop number
S(P).PIDRUN
These instructions start the PID operation of the specified loop number.
■
Execution condition
Setting data
■
Description, range, data type
■
Applicable devices
Processing details
• 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 S(P).PIDSTOP instruction.
• The S(P).PIDRUN instruction, if executed for a loop number already in progress of PID operation, performs no processing.
Operation error
• [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:=S_PIDRUN(EN,s);
ENO:=SP_PIDRUN(EN,s);
FBD/LD
Instruction
Execution condition
S.PIDRUN
SP.PIDRUN
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
The loop number specified by (s) does not exist.
(s) is outside the range from 1 to 32.
3422H
The S(P).PIDINIT and S(P).PIDCONT instructions are not executed before the S(P).PIDRUN instruction.
RnCPU RnENCPU
RnSFCPU RnSFCPU
RnPCPU
RnPCPU
(Standard)
(Safety)
(Redundant)
(Process)
(s)
EN
ENO
s
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......