![Mitsubishi Electric MELSEC iQ-F Manual Download Page 30](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f/melsec-iq-f_manual_239102030.webp)
28
2 POSITIONING MODULE FB
2.8 M+FX5PG_Restart
2.8
M+FX5PG_Restart
Name
M+FX5PG_Restart
Overview
Labels
■
Input label
■
Output label
FB details
Item
Description
Overview
Restarts an axis that has stopped.
Symbol
No.
Variable name
Name
Data type
Range
Description
(1)
i_bEN
Execution command
Bit
ON, OFF
ON: The FB is activated.
OFF: The FB is not activated.
(2)
i_stModule
Module label
Structure
The setting range
differs depending on
the module label.
Specifies the module label for the positioning module.
(3)
i_uAxis
Target axis
Word [Unsigned]
1 to 4
Specify the axis number.
The setting range varies according to the positioning
module in use.
No.
Variable name
Name
Data type
Default value
Description
(4)
o_bENO
Execution status
Bit
OFF
ON: The execution command is ON.
OFF: The execution command is OFF.
(5)
o_bOK
Normal completion
Bit
OFF
When this label is ON, it indicates that the module has
accepted the restart command request.
(6)
o_bErr
Error completion
Bit
OFF
When this label is ON, it indicates that an error has
occurred in the FB.
(7)
o_uErrId
Error code
Word [Unsigned]
0
Stores the error code that occurred in the FB.
Item
Description
Available device
Target module
FX5-20PG-P
Target CPU
FX5U CPU, FX5UC CPU
Engineering tool
GX Works3 Version 1.035M or later
Language
Ladder diagram
Number of basic steps
148 steps
The number of FB steps integrated in the program varies depending on the CPU module used, the input/output definition, and
the setting options of GX Works3. For the setting options of GX Works3, refer to
GX Works3 Operating Manual.
Processing
• Only when the following conditions are satisfied, the positioning operation that is stopped due to an error is restarted by
turning on i_bEN (Execution command). If any of the conditions are not satisfied, o_bErr (Error completion) turns on and the
processing of this FB is interrupted. In addition, the error code 202 (hexadecimal) is stored in o_uErrId (Error code). For the
error code, refer to
Page 29 Error code. (The conditions are positioning module complete signal (Md.31: Status.b15):
OFF, Axis operation status (Md.26: Axis operation status): Stopped)
• If the setting value of the target axis is out of the setting range, o_bErr (Error completion) turns on and the processing of this
FB is interrupted. In addition, the error code 100 (hexadecimal) is stored in o_uErrId (Error code). For the error code, refer to
(7)
(6)
(5)
M+FX5PG_Restart
(4)
(3)
(2)
(1)
o_uErrId
o_bErr
o_bOK
o_bENO
UW
B
B
B
UW
DUT
B
:
:
:
:
:
:
:
i_uAxis
i_stModule
i_bEN
Summary of Contents for MELSEC iQ-F
Page 1: ...MELSEC iQ F FX5 Positioning Module Function Block Reference ...
Page 2: ......
Page 5: ...1 FUNCTION BLOCK FB LIST 3 1 MEMO ...
Page 55: ...I 53 MEMO ...
Page 57: ......