AX-Series Motion Controller Instructions Manual Chapter 2
112
2.2.4 MC_WriteParameter
Supported Devices: AX-308E, AX-8, AX-364E
MC_WriteParameter writes a value to a specific parameter.
FB/FC Instruction Graphic Expression ST Language
FB MC_WriteParameter
MC_WriteParameter_instance(
Axis : =,
Execute : =,
ParameterNumber : =,
Value : =,
Done =>,
Busy =>,
Error =>,
ErrorID => );
Inputs
Name Function
Data
Setting Value
Timing to Take Effect
Execute Run the function block. BOOL
True/False
-
ParameterNumber
Number of the parameter to
DINT
Positive,
When Execute turns to True and
Value
Value to be written to the
LREAL
Positive,
When Execute turns to True and
Outputs
Output Range (Default Value)
Done
True if the value is written
successfully.
BOOL True/False (False)
Busy
True when the function block is being
BOOL True/False (False)
Error True when an error occurs. BOOL True/False (False)
ErrorID
Record the error code when an error
occurs.
Refer to Appendix
for error code
descriptions.
SMC_ERROR* SMC_ERROR (SMC_NO_ERROR)
*Note: SMC_ERROR: Enumeration (Enum)
Output Updating Time
Timing for Shifting to True
Timing for Shifting to False