Mitsubishi Electric MELSEC iQ-F Series Programming Manual page 17

Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

Creating programs
The program of a function can be created by using the engineering tool.
[Navigation window]  [FB/FUN]  Right-click  [Add New Data]
Select "Function" for "Data Type" in "Basic Setting".
The created program is stored in the FUN file.
[CPU Parameter]  [Program Setting]  [FB/FUN File Setting]
Up to 64 created programs can be stored in one FUN file.
The rising edge execution instruction or falling edge execution instruction cannot be used in the function.
For details on program creation, refer to the following.
Item
How to create function programs
Number of FB/FUN files that can be written to a CPU module
■Applicable devices and labels
The following table lists the devices and labels that can be used in function programs.
: Applicable, : Applicable only in instructions (Cannot be used to indicate the program step.), : Not applicable
Type of device/label
Label (other than the pointer type)
Label (pointer type)
Device
Pointer
*1 The following data types cannot be used.
Timer, retentive timer, counter, and long counter
Program a function name as a label in a function to set a return value of the function. Setting function names
as labels is not necessary. The data type set in "Result Type" in the properties of the function can be used.
Reference
 GX Works3 Operating Manual
 MELSEC iQ-F FX5 User's Manual (Startup)
Global label
Local label
Pointer type global label
Pointer type local label
Global device
Global pointer
Availability
*1
3 PROGRAM ORGANIZATION UNITS
3.2 Functions (FUN)
3
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5

Table of Contents