EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - How to use PID instruction

Mitsubishi Electric MELSEC iQ-F FX5
958 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
35 CPU MODULE BUILT-IN ANALOG FUNCTION
35.5 Function (PID Control Via Instruction)
597
35
How to use PID instruction
This instruction executes PID control which changes the output value according to the input variation.
For details on the PID instruction, refer to the following manual.
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
Setting data
Descriptions, ranges, and data types
*1 When setting using a label, use the global label assigned to the device.
Applicable devices
*1 Only D, SD, R can be used.
Processing details
Once the target value (s1), measured value (s2) and PID parameters (s3) to (s3)+6 are set and the program is executed,
the operation result (MV) is transferred to the output value (d) at every sampling time. The sampling time is specified by
(s3).
Ladder diagram Structured text
ENO:=PID(EN,s1,s2,s3,d);
FBD/LD
Operand Description Range Data type Data type (label)
(s1) Device number storing the target value (SV) -32768 to +32767 16-bit signed binary ANY16
*1
(s2) Device number storing the measured value (PV) -32768 to +32767 16-bit signed binary ANY16
*1
(s3) Device number storing PID parameters 1 to 32767 16-bit signed binary ANY16
*1
(d) Device number storing the output value (MV) -32768 to +32767 16-bit signed binary ANY16
*1
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, S
T, ST, C, D, W,
SD, SW, R
U\G Z LC LZ K, H E $
(s1) 
*1

(s2) 
*1

(s3) 
*1

(d) 
*1

(s1) (s2) (s3) (d)
EN ENO
ds1
s2
s3
Command input
Target value (SV)
Measured value (PV)
Parameters
Output value (MV)
PID (s1) (s2) (s3) (d)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals