Chapter 2 Positioning Module Fb; M+Fx5Pg_Setpositioningdata - 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
POSITIONING MODULE FB
2.1

M+FX5PG_SetPositioningData

Name
M+FX5PG_SetPositioningData
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uAxis
(4)
i_uDataNo
■Output label
No.
Variable name
(5)
o_bENO
(6)
o_bOK
(7)
o_bErr
(8)
o_uErrId
2 POSITIONING MODULE FB
4
2.1 M+FX5PG_SetPositioningData
Description
Sets positioning data (Da.1 to Da.10, Da.27 to Da.29).
M+FX5PG_SetPositioningData
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_uAxis
(4)
UW : i_uDataNo
(9) pb_uOpePattern
(10) pb_uCtrlSys
(11) pb_uAccTimeNo
(12) pb_uDecTimeNo
(13) pb_uInterpolatedAx
(14) pb_uMcode
(15) pb_uDwellTime
(16) pb_uMcodeOnTiming
(17) pb_uABS
(18) pb_uInterpolateSpd
(19) pb_udCmdSpd
(20) pb_dPositAdr
(21) pb_dArcAdr
Name
Data type
Execution command
Bit
Module label
Structure
Target axis
Word [Unsigned]
Positioning data No.
Word [Unsigned]
Name
Data type
Execution status
Bit
Normal completion
Bit
Error completion
Bit
Error code
Word [Unsigned]
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 600
Specify the positioning data No.
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 positioning
data setting has been completed.
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.

Advertisement

Table of Contents
loading

Table of Contents