81
SECTION 3
Mechanism of the Loop Controller
This section describes the operation of the Loop Controller.
3-1 Configuration of Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
3-1-1 Configuration of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
3-1-2 Preparing Function Block Data Sheets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
3-1-3 ITEMs Common to All Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
3-1-4 ITEMs Unique to Individual Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
3-1-5 Connecting Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
3-2 Description of Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
3-2-1 When Turning the Power ON to the PLC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
3-2-2 Reference: Operations at Power ON. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
3-2-3 Details of Hot Start, Cold Start and Stop State. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
3-2-4 Backup/Recovery Operations and Automatic Transfer of ITEM Data . . . . . . . . . . . . .103
3-2-5 Simple Backup of Function Block Data to a Memory Card (LCB01/03/05 Ver. 2.0) . .105
3-2-6 Simple Backup of Function Block Data to a Memory Card
(LCB01/03/05 Ver. 3.0 or Later). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
3-2-7 Replacing Function Block Data in the Loop Controller (LCB01/03/05 Ver. 3.5) . . . . .116
3-2-8 Indicating Loop Controller Run/Stop (All Function Blocks). . . . . . . . . . . . . . . . . . . . .118
3-2-9 Stop Each Function Block Operation and Cancel Operation-Stop. . . . . . . . . . . . . . . . .119
3-2-10 Starting (RUN/STOP) PID Calculation Only for Each Function Block
(LCB01/03/05 Ver. 3.0 or Later). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
3-2-11 Monitoring the Run Status of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
3-2-12 Wireless Debugging (LCB01/03/05 Ver. 3.0 or Later). . . . . . . . . . . . . . . . . . . . . . . . . .120
3-2-13 Relationship between CPU Unit States and Loop Controller States . . . . . . . . . . . . . . .124
3-2-14 Specifying the Operation Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
3-2-15 Conditions for Determining the Operation Cycle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127
3-2-16 Order of Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
3-2-17 About the LCB Load Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130
3-2-18 Evaluating the LCB Load Rate at the System Design Stage . . . . . . . . . . . . . . . . . . . . .130
3-2-19 External I/O Response Cycle on the Overall System. . . . . . . . . . . . . . . . . . . . . . . . . . .132
3-3 Exchanging Data with the CPU Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
3-3-1 Mutual Exchange of Run Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
3-3-2 Commands from the CPU Unit to the Loop Controller . . . . . . . . . . . . . . . . . . . . . . . . .144
3-3-3 Exchanging Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
3-4 Exchanging Data Using SCADA and Other Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
3-4-1 Exchanging Data Using SCADA, PTs, and Other Software . . . . . . . . . . . . . . . . . . . . .157
3-5 Duplex Operation of Loop Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167
3-5-1 Loop Controller Duplex Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167
3-5-2 Outline of Procedure for Using Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
3-5-3 Restrictions on Duplex Loop Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
3-6 Fail-safe Countermeasure Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
3-6-1 Measures When the Loop Controller Has Stopped Running . . . . . . . . . . . . . . . . . . . . .171
3-6-2 Measures for a CPU Unit fatal error. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
3-6-3 Required Conditions for the Man-Machine Interface. . . . . . . . . . . . . . . . . . . . . . . . . . .173