M+Fx5Pg_Restart - Mitsubishi Electric MELSEC iQ-F Manual

Fx5 positioning module function block reference
Hide thumbs Also See for MELSEC iQ-F:
Table of Contents

Advertisement

2.8

M+FX5PG_Restart

Name
M+FX5PG_Restart
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uAxis
■Output label
No.
Variable name
(4)
o_bENO
(5)
o_bOK
(6)
o_bErr
(7)
o_uErrId
FB details
Item
Available device
Language
Number of basic steps
Processing
2 POSITIONING MODULE FB
28
2.8 M+FX5PG_Restart
Description
Restarts an axis that has stopped.
M+FX5PG_Restart
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_uAxis
Name
Data type
Execution command
Bit
Module label
Structure
Target axis
Word [Unsigned]
Name
Data type
Execution status
Bit
Normal completion
Bit
Error completion
Bit
Error code
Word [Unsigned]
Description
Target module
Target CPU
Engineering tool
Ladder diagram
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.
• 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
Page 29 Error code.
o_bENO
:
B
(4)
o_bOK
:
B
(5)
o_bErr
:
B
(6)
o_uErrId
:
UW
(7)
Range
Description
ON, OFF
ON: The FB is activated.
OFF: The FB is not activated.
The setting range
Specifies the module label for the positioning module.
differs depending on
the module label.
1 to 4
Specify the axis number.
The setting range varies according to the positioning
module in use.
Default value
Description
OFF
ON: The execution command is ON.
OFF: The execution command is OFF.
OFF
When this label is ON, it indicates that the module has
accepted the restart command request.
OFF
When this label is ON, it indicates that an error has
occurred in the FB.
0
Stores the error code that occurred in the FB.
FX5-20PG-P
FX5U CPU, FX5UC CPU
GX Works3 Version 1.035M or later

Advertisement

Table of Contents
loading

Table of Contents