M+Fx5Pg_Changespeed - 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.5

M+FX5PG_ChangeSpeed

Name
M+FX5PG_ChangeSpeed
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uAxis
(4)
i_udSpdChgVal
■Output label
No.
Variable name
(5)
o_bENO
(6)
o_bOK
(7)
o_bErr
(8)
o_uErrId
2 POSITIONING MODULE FB
18
2.5 M+FX5PG_ChangeSpeed
Description
Changes the speed.
M+FX5PG_ChangeSpeed
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_uAxis
(4)
UD : i_udSpdChgVal
Name
Data type
Execution command
Bit
Module label
Structure
Target axis
Word [Unsigned]
Cd.14: New speed
Double Word
value
[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.
0 to 2000000000,
Set a new speed.
0 to 3000000000,
• Pr.1: Unit setting 0: mm
0 to 5000000
0 to 2000000000 (10
• Pr.1: Unit setting 1: inch
0 to 2000000000 (10
• Pr.1: Unit setting 2: degree
0 to 3000000000 (10
• Pr.1: Unit setting 3: pulse
0 to 5000000 (pulse/s)
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 speed
change 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.
-2
mm/min)
-3
inch/min)
-3
degree/min)

Advertisement

Table of Contents
loading

Table of Contents