Chapter 2 Procedure Before Using Process Control Function Block; Overview - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

2
PROCEDURE BEFORE USING PROCESS
CONTROL FUNCTION BLOCK
This chapter describes how to create an FBD/LD program for process control using tag FBs.
2.1

Overview

1.
Creating a project
Create a new project using the engineering tool. ( GX Works3 Operating Manual)
2.
Setting CPU parameters
Set the following items in the CPU parameter.
• File Register Setting ( Page 31 File Register Setting)
• Index Register Setting ( Page 32 Index Register Setting)
• Label Initial Value Reflection Setting ( Page 32 Label Initial Value Reflection Setting)
3.
Declaring tag FBs (Tag FB Setting)
Declare tag FBs in the "Tag FB Setting" window. ( Page 33 Declaring a tag FB (Tag FB Setting))
4.
Editing an FBD/LD program for process control
Drag and drop a tag FB from the element selection window and edit an FBD/LD program for process control. ( Page 34
Editing an FBD/LD Program for Process Control)
Create user-defined tag FBs as necessary. ( Page 37 Creating a user-defined tag FB)
5.
Setting initial values of FBs (FB Property)
Set initial values of tag data and public variables (FB property) of tag FBs. ( Page 39 Setting Initial Values of FBs (FB
Property))
6.
Converting and writing
Perform "Rebuild All" (Reassignment) and write all the programs to the CPU module. ( Page 39 Converting and Writing)
7.
Resetting the CPU module and executing programs
Reset the CPU module and switch the operating status to RUN. ( MELSEC iQ-R CPU Module User's Manual (Startup))
8.
Checking FB operation (Faceplate)
Check the control status of a tag FB on a faceplate. ( Page 40 Checking FB Operation (Faceplate))
9.
Reading the current value of FBs and reflecting the initial values (Update the Initial Value of FB Property)
The current value of the FB property can be read from the CPU module to be reflected to the initial value of the FB property
with the "Update the Initial Value of FB Property" function or the "FB Property management" function of the engineering tool.
( GX Works3 Operating Manual)
2 PROCEDURE BEFORE USING PROCESS CONTROL FUNCTION BLOCK
30
2.1 Overview

Advertisement

Table of Contents
loading

Table of Contents