Mitsubishi Electric MELSEC iQ-R Series User Manual page 50

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Inserting function blocks
Insert function blocks, following the procedure below.
■Creating function blocks/functions
User-defined function blocks/functions must be created before inserted to the program.
(1)
(2)
4 START-UP PROCEDURE
48
4.9 Programming
1.
Select a function block from the Element Selection window, and
drag and drop it to the desired position on the ladder editor.
2.
The "FB Instance Name" window opens. Select the target label
(global label or local label), and enter an instance name.
3.
Select [Convert]  [Convert] on the menu bar. The ladder is
converted, and the rungs are connected to the input and output
labels of the FB instance.
4.
Add the input and output parts of the inserted function block to
complete the program. For details on the input and output parts,
refer to the following.
 Function Block Reference for the module used
1.
Right-click "FB/FUN" (1) on the Navigation window, and select
"Add New Data" (2) to open the setting window.
2.
To create a function block, set the data type to "Function Block"
using the drop-down list. To create a function, set the data type to
"Function". Then, click the [OK] button.
3.
Program the operation of the function block or function in
"ProgramBody".

Advertisement

Table of Contents
loading

Table of Contents