Chapter 6 Motion Function Blocks
6.3.15 Write parameter (MC_WriteParameter)
MC_WriteParameter
Axis
Axis
Execute Vaild
UINTUINT
BOOL BOOL
INT ParameterNumber
Busy BOOL
Error BOOL
ErrorID WORD
LREAL Value
UINT ExcutionMode
Specify the axis to be commanded (1~32: real/virtual axis, 33~36: virtual axis)
Rising Edge corresponding parameters of input is written. .
Specify the number of parameter to write. (0 ~ 25)
Specify the value of parameter to write.
Specify the time when parameter is written.
Indicate whether parameter is successfully written.
Indicate that the execution of motion function block is not completed.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block is to write the value specified in parameter of the relevant axis.
(2) Parameter is written in the rising Edge of Execute input.
(3) Specify the number of parameter to write in ParameterNumber input. The value unable to be set causes "error 0x10F0”.
(4) Specify the value to write in parameter for Value input.
(5) In ExecutionMode, correct the time when parameter is written and the values below can be set. The value unable to be set
causes "error 0x101B".
0 (mcImmediately): Change the parameter value immediately after executing function block (rising Edge in Execute input).
If the relevant axis is in running, operation can be affected.
1 (mcQueued): Changed at the same point with ‘Buffered’ in Buffermode. (Refer to the chapter 6.1.4 BufferMode input)