536 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
Event Distance
ARRAY
The position(s) on a move measured from the end of the move.
This is an array of input values that specifies the incremental distances along the move on the Slave. Each member of
the array is measured as follows:
• Distances are measured star ting from the end of the move towards the beginning of the move as shown in this
figure.
Event Distance Measured
If the value in the Event Distance array is 0.0, then it is the time or distance for the whole move. If the value is greater
than or equal to the move length then a 0 is returned.
The values entered in the Event Distance array are the same for both Time Driven and Master Driven Mode, only the
returns values in the Calculated Data array are different depending on the programmed mode of the slave axis. When
Event Distance is specified as a negative number, then the Event Distance calculation is skipped and a -1 is returned
in the Calculated Data array for the specified Event Distance parameter.
There is no limit on the dimension of either the Event Distance or Calculated Data arrays. However, a maximum of 4
elements (the specified value and the next 3) of the Event Distance array is processed.
Special consideration for the rare case of an overshoot when a MCD or MCCD is done close to the moves endpoint. For
this case, the Calculated Data will include the overshoot when the Event Distance is 0, because the master has to
traverse this amount for the move to finish. For other Event Distances, the overshoot is not included.
Default = 0
No Event
Distance
array or a
REAL array
tag.
The array
must be a
minimum
size of 4.
If the array
is greater
than 4, only
the first
four
locations
specified
are used.
Instruction Mode INIT32 Specifies if an MATC should be executed in Time Driven Mode (0) or Master Driven Mode. Valid = 0 or
1
Default
value = 0