A - 4 A - 4
INTRODUCTION
Thank you for choosing the Mitsubishi MELSOFT series Integrated FA software.
Read this manual and make sure you understand the functions and performance of MELSOFT series
programmable controller thoroughly in advance to ensure correct use.
CONTENTS
SAFETY PRECAUTIONS..............................................................................................................................A- 1
CONDITIONS OF USE FOR THE PRODUCT .............................................................................................A- 2
REVISIONS....................................................................................................................................................A- 3
INTRODUCTION............................................................................................................................................A- 4
CONTENTS....................................................................................................................................................A- 4
About Manuals ...............................................................................................................................................A- 6
Abbreviations and Generic Terms in This Manual........................................................................................A- 7
1 OVERVIEW 1- 1 to 1- 9
1.1 What Is Function Block (FB)?.................................................................................................................. 1- 1
1.2 Features ................................................................................................................................................... 1- 2
1.3 Layouts and Names of Windows for Creating FB................................................................................... 1- 2
1.4 What You Should Understand Before Using the FB ..............................................................................1- 5
1.5 Specifications ........................................................................................................................................... 1- 5
1.5.1 Compatible CPUs............................................................................................................................... 1- 5
1.5.2 Specifications of and precautions for the FB..................................................................................... 1- 6
2 GENERAL PROCEDURES FOR EDITING THE FB 2- 1 to 2- 2
3 CREATING NEW SEQUENCE PROGRAM USING FB 3- 1 to 3-44
3.1 Crating New Project for FB ...................................................................................................................... 3- 3
3.2 Adding New FB Definition to the Created Project................................................................................... 3- 5
3.3 Creating FB Definition Program............................................................................................................... 3- 7
3.4 Creating FB Variables.............................................................................................................................. 3-13
3.5 Converting the FB Definition (Convert (Compile)) .................................................................................. 3-16
3.6 Pasting the Converted FB to Sequence Program (FB Utilization) ......................................................... 3-18
3.6.1 Pasting the FB definition to sequence program ................................................................................ 3-18
3.6.2 Changing the name (FB name) of the pasted FB (FB name changing) .......................................... 3-21
3.6.3 Changing the module start I/O addresses of the FB definition......................................................... 3-23
3.7 Creating the Sequence Program............................................................................................................. 3-25
3.7.1 Editing the sequence program........................................................................................................... 3-25
3.7.2 Confirming the data of the pasted FB................................................................................................ 3-28
3.7.3 Searching/replacing the sequence program (Search/replace) ......................................................... 3-30
3.7.4 Creating/displaying the comments, statements or notes (Sentence creation) ......................................... 3-32
3.8 Converting the Sequence Program into Program to Be Executed on the
Programmable Controller CPU (Convert (Compile)) .............................................................................. 3-33
3.9 Reading the Sequence Program from the Programmable Controller CPU (Read from PLC) .............. 3-36
3.10 Writing the Sequence Program to the Programmable Controller CPU (Write to PLC) ....................... 3-37