3 POSITIONING FB
3.2 M+FX5UCPU-Positioning_StartPositioning
13
3
3.2 M+FX5UCPU-Positioning_StartPositioning
Name
M+FX5UCPU-Positioning_StartPositioning
Overview
Labels
■Input label
*1 The target axis can be set from axis 1 to axis 4 for the built-in input/output in a CPU module and from axis 5 to axis 12 for the high-speed
pulse input/output module.
*2 If the table data is not set to use device by parameter, the range for the built-in input/output in a CPU module will be a value from 1 to 32.
(The range for the high-speed pulse input/output module is fixed to a value from 1 to 100.)
■Output label
■Public label
*1 If the table data is not set to use device by parameter, the range for the built-in input/output in a CPU module will be a value from 1 to 32.
(The range for the high-speed pulse input/output module is fixed to a value from 1 to 100.)
Item Description
Overview This FB uses the table data set using the module parameters to activate the positioning operation.
Symbol
No. Variable name Name Data type Range Description
(1) i_bEN Execution command Bit ON, OFF ON: The FB is activated.
OFF: The FB is not activated.
(2) i_stModule Module label Structure The setting range
differs depending on
the module label.
Specify the module label of the CPU module.
(3) i_uAxis Target axis Word [Unsigned] 1 to 12
*1
Specify the axis number.
(4) i_uStartNo Positioning activation
number
Word [Unsigned] 1 to 100
*2
Specify the table data to begin activation.
No. Variable name Name Data type Default value Description
(5) o_bENO Execution status Bit OFF ON: The execution command is on.
OFF: The execution command is off.
(6) o_bOK Normal completion Bit OFF When this label is on, it indicates that the positioning
operation has been completed.
(7) o_bErr Error completion Bit OFF When this label is ON, it indicates that an error has
occurred in the FB.
(8) o_uErrId Error code Word [Unsigned] 0 Stores the error code that occurred in the FB.
No. Variable name Name Data type Range Description
(9) pbi_uEndNo Last table number Word [Unsigned] 1 to 100
*1
Specify the table data to stop activation.
(10) pbi_bTableExeMethod Table execution
method
Bit ON, OFF ON: Continuous operation is executed.
OFF: Stepping operation is executed.
(8)
(7)
(6)
M+FX5UCPU-Positioning_StartPositioning
(5)
(3)
(2)
(1)
(4) o_uErrId
o_bErr
o_bOK
o_bENO
UW
B
B
B
UW
DUT
B
:
(10) pbi_bTableExeMethod
(9) pbi_uEndNo
:
:
:
:
:
:
i_uAxis
i_stModule
UW : i_uStartNo
i_bEN