Omron TJ2-MC64 - PROGRAMMING Programming Manual page 79

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
3.2.78 DATUM
/i
Type
Axis command
Syntax
DATUM(sequence)
Description
The DATUM command performs one of 6 origin search sequences to position
an axis to an absolute position and also reset the error bits in AXISSTATUS
axis parameter.
DATUM uses both the creep and demand speed for the origin search. The
creep speed in the sequences is set with the CREEP axis parameter and the
demand speed is set with the SPEED axis parameter. The datum switch input
number, used for sequences 3 to 6, is set by the DATUM_IN parameter.
DATUM works on the default basis axis (set with BASE) unless AXIS is used
to specify a temporary base axis.
Note: The origin input set with the DATUM_IN parameter is active low, i.e., the
origin switch is set when the input is OFF. The feedhold, reverse jog, forward
jog, forward and reverse limit inputs are also active low. Active low inputs are
used to enable fail-safe wiring.
Arguments
sequence
See the table below.
/i
sequence
Description
value
0
The DATUM(0) command will clear the motion error. The currently measured
position is set as the demand position (this is especially useful on stepper
axes with position verification). DATUM(0) also clears the Following Error that
exceeded the FE_LIMIT condition in the AXISSTATUS register for ALL axes.
It sets these bits in AXISSTATUS to zero:
Bit 1 : Following Error Warning.
Bit 2 : Remote Drive Comms Error.
Bit 3 : Remote Drive Error.
Bit 8 : Following Error Limit Exceeded.
Bit 11 : Cancelling Move.
Note that the status can not be cleared if the cause of the problem is still
present. DATUM(0) must only be used after the WDOG is set to OFF, other-
wise there will be unpredictable errors on the motion.
PROGRAMMING MANUAL
sequence
Description
value
1
The axis moves at creep speed forward until the Z marker is encountered.
The demand position is then reset to 0 and the measured position corrected
so as to maintain the Following Error.
2
The axis moves at creep speed in reverse until the Z marker is encountered.
The demand position is then reset to 0 and the measured position corrected
so as to maintain the Following Error.
3
The axis moves at the demand speed forward until the datum switch is
reached. The axis then moves reverse at creep speed until the datum switch
is reset. The demand position is then reset to 0 and the measured position
corrected so as to maintain the Following Error.
4
The axis moves at the demand speed in reverse until the datum switch is
reached. The axis then moves forward at creep speed until the datum switch
is reset. The demand position is then reset to 0 and the measured position
corrected so as to maintain the Following Error.
5
The axis moves at demand speed forward until the datum switch is reached.
The axis then reverses at creep speed until the datum switch is reset. The
axis continues in reverse at creep speed until the Z marker of the encoder is
encountered. The demand position is then reset to 0 and the measured posi-
tion corrected so as to maintain the Following Error.
6
The axis moves at demand speed reverse until the datum switch is reached.
The axis then moves forward at creep speed until the datum switch is reset.
The axis continues forward at creep speed until the Z marker of the encoder is
encountered. The demand position is then reset to 0 and the measured posi-
tion corrected so as to maintain the Following Error.
73

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents