11 PROCESS CONTROL INSTRUCTIONS
11.1 Overview
1193
11
Concept of program
This section describes the concept of programs using process control instructions.
Ex.
Program example using the S.2PID instruction in an execution cycle of 1 second
For specific program examples using process control instructions, refer to the following.
Page 2077 Process Control Program Examples
(1) Setting loop tag memory
(2) Setting operation constants
• Setting data for S.IN, S.PHPL, S.2PID, and S.OUT1
(3) Measuring the execution cycle
(4) Setting input data (PV)
• Reading PV from such as the A/D conversion module
(5) MV output
• Outputting MV from such as the D/A conversion module
(6) Specifying process control instructions
• S.IN instruction
• S.PHPL instruction
• S.2PID instruction
• S.OUT1 instruction
(7) Setting loop tag memory
(8) Setting operation constants
(9) Executing a command
(1s)
K10
T0
T0
PLS M0
M0
MOV U0¥G0 D0
CALL P1
RST T0
INT2FLT D0 R0
FEND
SM400
S.IN R0 R100 R200 R1000
EMOV R100 R20
S.PHPL R20 R120 “” R1000
EMOV R120 R40
S.2PID R40 R140 R240 R1000 R300
EMOV R140 R60
S.OUT1 R60 R160 R260 R1000
P1
MOV D1 U2¥G0
FLT2INT R160 D1
RET
(1)
(2)
(3)
(9)
(4)
(5)
(6)
(7)
(8)
\
\
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: ......