Mc_Writeaxisparameter; Variables - Omron Sysmac NY-series Instruction & Reference Manual

Industrial pc platform, motion control
Hide thumbs Also See for Sysmac NY-series:
Table of Contents

Advertisement

MC_WriteAxisParameter

The MC_WriteAxisParameter instruction writes axis parameters in the MC Function Module.
Instruction
Name
MC_WriteAxis-
Write Axis
Parameter
Parameters

Variables

Input Variables
Name
Meaning
Execute
Execute
Output Variables
Name
Meaning
Done
Done
Busy
Executing
CommandAborted
Command
Aborted
Error
Error
ErrorID
Error Code
ErrorParameterCode
Parameter
Detail Code
*1.
The upper four digits of the event code give the error code for ErrorID. Refer to the NY-series Troubleshooting Manual
(Cat. No. W564) for the event codes.
NY-series Motion Control Instructions Reference Manual (W561)
FB/
Graphic expression
FUN
FB
MC_WriteAxisParameter_instance
MC_WriteAxisParameter
Axis
AxisParameter
Execute
Data type
Valid 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
*1
WORD
*1
5 Common Command Instructions
MC_WriteAxisParameter_instance
(
Axis :=parameter,
Axis
AxisParameter
AxisParameter :=parameter,
Done
Execute :=parameter,
Busy
Done =>parameter,
CommandAborted
Busy =>parameter,
Error
CommandAborted =>parameter,
ErrorID
Error =>parameter,
ErrorParameterCode
ErrorID =>parameter,
ErrorParameterCode
=>parameter,
);
Default
Description
FALSE
The instruction is executed when the value
of this variable 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.
Contains the attached information for some error co-
des. If the information is saved, the detail code of the
parameter for which the error occurred is output.
ST expression
5-47
5

Advertisement

Table of Contents
loading

Table of Contents