BASIC commands
PROGRAMMING MANUAL 77
Revision 1.0
3.2.79 DATUM_IN
/i
3.2.80 DAY
/i
3.2.81 DAY$
/i
3.2.82 DECEL
/i
3.2.83 DECEL_ANGLE
/i
Type Axis parameter
Syntax DATUM_IN
DAT_IN
Description The DATUM_IN axis parameter contains the input number to be used as the
datum switch input for the DATUM command. The valid input range is given
by 0 to 31. Values 0 to 15 represent physically present inputs of TJ2-MC64 I/
O connector and are common for all axes.
Values 16 to 31 are mapped directly to Drive inputs that are present on the
CN1 connector. They are unique for each axis. It depends on the type of
Servo Drive which Servo Drive inputs are mapped into inputs 16 to 31.
Note: The origin input 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 wir-
ing.
Arguments N/A
Example DATUM_IN AXIS(0)=5
See also AXIS, DATUM.
Type System parameter (read only)
Syntax DAY
Description Returns the current day as a number 0..6, Sunday is 0.
Arguments N/A
Example >>? DAY
3.0000
See also N/A
Type System command
Syntax DAY$
Description Prints the current day as a string.
Arguments N/A
Example >>? DAY$
Wednesday
See also N/A
Type Axis parameter
Syntax DECEL
Description The DECEL axis parameter contains the axis deceleration rate. The rate is
set in units/s
2
. The parameter can have any positive value including 0.
Arguments N/A
Example DECEL = 100 ' Set deceleration rate
PRINT " Deceleration rate is ";DECEL;" mm/s/s"
See also ACCEL, AXIS, UNITS.
Type Axis parameter
Syntax DECEL_ANGLE
Description Used to define the angle change in radians above which an X-Y system
should start to decelerate. Operation of DECEL_ANGLE applies to forced
speed moves and depends on setting of STOP_ANGLE and
CORNER_MODE.