EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1195

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
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)
\
\

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals