M+Fx5Pg_Mpg - 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.4

M+FX5PG_MPG

Name
M+FX5PG_MPG
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uAxis
(4)
i_udMPGInMag
■Output label
No.
Variable name
(5)
o_bENO
(6)
o_bOK
(7)
o_bErr
(8)
o_uErrId
FB details
Item
Available device
Language
Number of basic steps
2 POSITIONING MODULE FB
16
2.4 M+FX5PG_MPG
Description
Performs the manual pulse generator operation.
M+FX5PG_MPG
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_uAxis
(4)
UD : i_udMPGInMag
Name
Data type
Execution command
Bit
Module label
Structure
Target axis
Word [Unsigned]
Cd.20: Manual pulse
Double Word
generator 1 pulse
[Unsigned]
input magnification
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
160 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.
o_bENO
:
B
(5)
o_bOK
:
B
(6)
o_bErr
:
B
(7)
o_uErrId
:
UW
(8)
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.
1 to 10000
Set the input magnification of the manual pulse
generator 1 pulse.
• When the set value is 0, the magnification is 1.
• When the set value is 10001 or higher, the
magnification is 10000.
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 manual
pulse generator operation has been enabled.
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