Mitsubishi Electronics MELSEC Q series MELSEC L series ユーザーズマニュアル

ページ / 412
6.2 PID Control Instruction (Exact Differential)
6.2.4 PIDPRMW instruction
6-27
PIDPRMW
6
PID CONTROL 
INSTRUCTION
PI
D
P
RMW
6.2.4  
PIDPRMW instruction
PIDPRMW
Function
This instruction changes the operation parameter of the loop number specified by 'n' to the PID 
control data stored in the devices starting from the device number specified by 
.
(1) PID control data
*1 : For the PID operational expressions set for Operational expression selection, refer to MELSEC-Q/L/QnA 
Programming Manual (PID Control Instructions).
PIDPRMW(P)
P: Executing condition
:
 indicates any of the following 
instructions.
PIDPRMW
PIDPRMWP
Input argument
EN:
Executing condition
:Bit
n:
Loop number to be changed
:ANY16
s:
Start number of the device that stores PID control data to be 
changed
:ANY16
Output argument
ENO:
Execution result
:Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
n
Device
Data item
Description
Setting range
Setting 
side
Processing when the 
setting data are outside the 
setting range
With PID limits
Without PID 
limits
 +0
Operational 
expression 
selection
Select the PID 
operational expression. 
*1
0: Forward 
operation
1: Reverse 
operation
0: Forward 
operation
1: Reverse 
operation
User
An error occurs and the PID 
operation for the 
corresponding loop is not 
performed.
 +1
Sampling cycle 
(T
S
)
Set the PID operation 
cycle.
1 to 6000
(unit: 10ms)
1 to 6000
(unit: 10ms)
User
Structured ladder/FBD
ST
PIDPRMW
EN
ENO
n
s
PIDPRMW
(EN, n, s);
ENO:=
s
s
s
s