![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243171.webp)
156
Command, function and parameter description
Section 6-3
6-3-112 MARKB
Type:
Axis Parameter
Description:
The MARKB parameter contains value TRUE when a secondary registration
event has occurred to indicate that the value in the REG_POSB axis parame-
ter is valid. MARKB is set to FALSE when the REGIST command has been
executed and is set to TRUE when the register event occurs.
Note This parameter is read-only.
See also:
AXIS, REG_POSB, REGIST
6-3-113 MERGE
Type:
Axis Parameter
Description:
The MERGE parameter is a software switch that can be used to enable or dis-
able the merging of consecutive moves. With MERGE is ON and the next
move already in the next move buffer (NTYPE), the axis will not ramp down to
zero speed but will load up the following move enabling a seamless merge.
The default setting of MERGE is OFF.
It is up to the programmer to ensure that merging is sensible. For example,
merging a forward move with a reverse move will cause an attempted instan-
taneous change of direction.
MERGE will only function if the following are all true.
1.
Only the speed profiled moves MOVE, MOVEABS, MOVECIRC and
MOVEMODIFY can be merged with each other.
2.
There is a move in the next move buffer (NTYPE).
3.
The axis group does not change for multi-axis moves.
When merging multi-axis moves, only the base axis MERGE axis parameter
needs to be set.
Precautions:
If the moves are short, a high deceleration rate must be set to avoid the MC
Unit decelerating in anticipation of the end of the buffered move.
See also:
AXIS
Example:
MERGE = OFF
‘Decelerate at the end of each move
MERGE = ON
‘Moves will be merged if possible
6-3-114 MOD
Type:
Mathematical Function
Syntax:
expression_1
MOD
expression_2
Description:
The MOD function returns the expression_2 modulus of expression_1. This
function will take the integer part of any non-integer input.
Arguments:
expression_1
Any valid BASIC expression.
expression_2
Any valid BASIC expression.
Example:
>> PRINT 122 MOD 13
5.0000
6-3-115 MOTION_ERROR
Type:
System Parameter
Description:
The MOTION_ERROR parameter contains an error flag for axis motion
errors. The parameter will have value 1 when a motion error has occurred.