Mitsubishi Electric MELSEC iQ-F Manual page 9

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

Advertisement

No.
Variable name
Name
(20)
pb_dPositAdr
Da.6: Positioning
address
(21)
pb_dArcAdr
Da.7: Arc address
FB details
Item
Description
Available device
Target module
Target CPU
Engineering tool
Language
Ladder diagram
Number of basic steps
274 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
• By turning on i_bEN (Execution command), the set positioning data is written to the buffer memory.
• 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 8 Error code.
• If the setting value of the positioning data No. 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 101 (hexadecimal) is stored in o_uErrId (Error code). For the
error code, refer toPage 8 Error code.
FB compilation method
Macro type
FB operation
Pulsed execution (single scan execution type)
Data type
Range
Double word
-2147483648
[Signed]
to 2147483647,
0 to 35999999,
0 to
2147483647
Double word
-2147483648
[Signed]
to 2147483647,
0
FX5-20PG-P
FX5U CPU, FX5UC CPU
GX Works3 Version 1.035M or later
Description
Specify the target position or movement amount for the
positioning control.
The setting value differs depending on the control
method.
• Pr.1: Unit setting 0, 1, 3
• Da.2: Control method 06H to 09H
0 to 2147483647
• Da.2: Control method Other than 06H to 09H
-2147483648 to 2147483647
• Pr.1: Unit setting 2
• Da.2: Control method 01H, 0AH, 81H
0 to 35999999
• Da.2: Control method 02H, 0BH, 03H, 0CH
-2147483648 to 2147483647
• Da.2: Control method 06H, 07H
0 to 2147483647 (INC mode)
0 to 35999999 (ABS mode)
• Da.2: Control method 08H, 09H
0 to 2147483647
Use this label only when performing the circular
interpolation control.
For the sub point specification, set the sub point
address.
For the center point specification, set the center point
address of the arc.
• Pr.1: Unit setting 0, 1, 3
-2147483648 to 2147483647
• Pr.1: Unit setting 2
Not used (Set 0.)
2 POSITIONING MODULE FB
2.1 M+FX5PG_SetPositioningData
2
7

Advertisement

Table of Contents
loading

Table of Contents