Readaxisparameters, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 481

PLCopen Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
468
ReadAxisParameters
This function block reads all the commonly updated axis parameters that may be used within an application and
copies them to an AxisParameterStruct. Firmware library Y_Motion should be inserted in the project that uses
ReadAxisParameters.
Parameters
*
Parameter
Data Type
Description
VAR_IN_OUT
B
Axis
Logical axis reference. This value can be located on the
Configuration tab in the Hardware Configuration (logical
axis number).
V
AxisParams
User Defined DataType declared in the PLCopen Toolbox.
VAR_INPUT
Default
B
Enable
BOOL
The function will continue to
execute while enable is held
high.
FALSE
V
AxisType
Indicates axis type:
TB_AxisType#Servo
TB_AxisType#VFD
TB_AxisType#Stepper
TB_AxisType#Virtual
TB_AxisType#External
INT#0
(TB_AxisType#Servo)
V
ParamTypes
WORD
Used to include additional
WORD#0