AX-Series Motion Controller Instructions Manual Chapter 2
64
2.1.11 MC_PositionProfile
Supported Devices: AX-308E, AX-8, AX-364E
MC_PositionProfile is used to set time and position to plan motion profiles.
FB/FC Instruction Graphic Expression ST Language
FB MC_PositionProfile
MC_PositionProfile_instance (
Axis: =,
TimePosition: =,
Execute : =,
ArraySize: =,
PositionScale: =,
Compensation: =,
Done =>,
Busy =>,
CommandAborted =>,
Error =>,
ErrorID =>);
Inputs
Name Function
Data
Setting Value
Timing to Take Effect
Execute
The instruction is run when Execute
changes from False to True.
BOOL True/False (False) -
ArraySize Number of motion profile arrays INT Positive or 0(0)
When Execute turns to True
PositionScale Overall scale factor in value. LREAL
Negative, positive or
When Execute turns to True
Compensation
Overall profile Compensation in
value
(Unit: user unit/s)
LREAL
Negative, positive or
0(0)
When Execute turns to True
and Busy is False.
Outputs
Output Range (Default Value)
Done
True when execution of path
BOOL True/False (False)
Busy True when the instruction is run. BOOL True/False (False)
CommandAborted
True when the instruction is
BOOL True/False (False)
Error True when an error occurs BOOL True/False (False)
ErrorID
Record the error code when an
error occurs.
SMC_ERROR* SMC_ERROR (SMC_NO_ERROR)