AX-Series Motion Controller Instructions Manual Chapter 2
109
2.2.3 MC_ReadParameter
Supported Devices: AX-308E, AX-8, AX-364E
MC_ReadParameter reads a value of a specific axis parameter.
FB/FC Instruction Graphic Expression ST Language
FB MC_ReadParameter
MC_ReadParameter_instance(
Axis : =,
Enable : =,
ParameterNumber : =,
Valid =>,
Busy =>,
Error =>,
ErrorID =>,
Value =>);
Inputs
Name Function Data Type
Setting Value
Timing to Take Effect
Enable Run the function block. BOOL
True/False
-
ParameterNumber
Number of the
DINT
Positive, negative,
When Enable is detected to be rising
Outputs
Output Range (Default Value)
Valid
True when the parameter to be read
exists and can be further
BOOL True/False (False)
Busy
True when the function block is
BOOL True/False (False)
Error True when an error occurs. BOOL True/False (False)
ErrorID
When a command error occurs,
record the error code. For the
detailed description of the error
code, refer to the manual's
Appendix.
SMC_ERROR* SMC_ERROR (SMC_NO_ERROR)
Value Value of the parameter to read. LREAL*
2
Positive, negative, or 0 (0)
*Note: SMC_ERROR: Enumeration (Enum)
Output Updating Time