
6-12
6.1 PID Control Instruction (Inexact Differential)
6.1.4 PIDPRMW instruction
S_PIDPRMW
6.1.4 PIDPRMW instruction
S_PIDPRMW
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).
S(P)_PIDPRMW
P: Executing condition
:
indicates any of the following
instructions.
S_PIDPRMW SP_PIDPRMW
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
S_PIDPRMW
EN ENO
n
s
S_PIDPRMW
(EN, n, s);ENO:=
s
s