User`s manual

A - 3 A - 3
INTRODUCTION
Thank you for purchasing the Mitsubishi MELSEC-Q Series (Q mode) PLC.
Before using the product, please read this manual carefully to develop full familiarity with the functions and
performance of the Q Series (Q mode) PLC you have purchased, so as to ensure correct use.
CONTENTS
SAFETY CAUTIONS.....................................................................................................................................A- 1
REVISIONS ...................................................................................................................................................A- 2
CONTENTS...................................................................................................................................................A- 3
About Manuals...............................................................................................................................................A- 7
1. OVERVIEW 1 - 1 to 1 - 9
1.1 Features.................................................................................................................................................. 1 - 1
1.2 PID Control Overview.............................................................................................................................1 - 4
1.3 Forward Oprration and Reverse Operation ........................................................................................... 1 - 5
1.4 PID Control ............................................................................................................................................. 1 - 6
1.4.1 Proportional operation (P operation) ............................................................................................... 1 - 6
1.4.2 Integral operation (I operation) ........................................................................................................1 - 7
1.4.3 Derivative operation (D operation) .................................................................................................. 1 - 8
1.4.4 PID operation................................................................................................................................... 1 - 9
2. STRUCTURE AND COMBINATIONS OF PROCESS CONTROL INSTRUCTIONS 2 - 1 to 2 - 6
2.1 Instruction Configuration ........................................................................................................................ 2 - 1
2.2 Method for Specifying the Data in a Device...........................................................................................2 - 2
2.2.1 For bit data....................................................................................................................................... 2 - 2
2.2.2 For word (16-bit) data ...................................................................................................................... 2 - 2
2.2.3 Double word (32-bit) data................................................................................................................ 2 - 3
2.2.4 For real number data (floating-point data) ...................................................................................... 2 - 3
2.2.5 Process control instruction operation error ..................................................................................... 2 - 4
2.2.6 Instruction execution conditions ...................................................................................................... 2 - 4
2.2.7 Number of steps .............................................................................................................................. 2 - 4
2.2.8 Index qualification............................................................................................................................ 2 - 5
2.3 Basic Loop Types Available by Combinations of Process Control Instructions.................................... 2 - 5
3. DATA USED FOR PROCESS CONTROL INSTRUCTIONS AND HOW TO SPECIFY DATA 3 - 1 to 3 - 9
3.1 Process Control Instructions and Data Configuration ........................................................................... 3 - 1
3.2 Local Work Memory............................................................................................................................... 3 - 3
3.3 Data Used for Process Control Instructions .......................................................................................... 3 - 4
3.3.1 Loop memory...................................................................................................................................3 - 4
3.3.2 Input data......................................................................................................................................... 3 - 5
3.3.3 Block memory.................................................................................................................................. 3 - 6
3.3.4 Operation constant ..........................................................................................................................3 - 6
3.3.5 Loop tag memory allocation contents .............................................................................................3 - 7