5 Common Command Instructions
MC_ReadAxisParameter
The MC_ReadAxisParameter instruction reads axis parameters in the MC Function Module.
Instruction
Name
MC_ReadAxisPa-
Read Axis
rameter
Parameters
Version Information
A CPU Unit with unit version 1.08 or later and Sysmac Studio version 1.09 or higher are required
to use this instruction.
Variables
Input Variables
Name
Meaning
Execute
Execute
Output Variables
Name
Meaning
Done
Done
Busy
Executing
CommandAborted
Command
Aborted
Error
Error
ErrorID
Error Code
* Refer to the NY-series Troubleshooting Manual (Cat. No. W564).
5-62
FB/
Graphic expression
FUN
FB
MC_ReadAxisParameter_instance
MC_ReadAxisParameter
Axis
AxisParameter
Execute
Data
Valid
type
range
BOOL
TRUE or
FALSE
Data
Valid range
type
BOOL
TRUE or
FALSE
BOOL
TRUE or
FALSE
BOOL
TRUE or
FALSE
BOOL
TRUE or
FALSE
WORD
*
NY-series Motion Control Instructions Reference Manual (W561)
MC_ReadAxisParameter (
Axis :=parameter,
AxisParameter :=parameter,
Axis
Execute :=parameter,
AxisParameter
Done =>parameter,
Done
Busy =>parameter,
Busy
CommandAborted =>parameter,
CommandAborted
Error =>parameter,
Error
ErrorID =>parameter);
ErrorID
Default
Description
FALSE
The instruction is executed when Execute
changes to TRUE.
Description
TRUE when the instruction is completed.
TRUE when the instruction is acknowledged.
TRUE when the instruction is aborted.
TRUE while there is an error.
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
ST expression