Date; Datum - Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual

Hide thumbs Also See for TJ1-MC04 - PROGRAMMING 1:
Table of Contents

Advertisement

BASIC commands

3.2.66 DATE

/i
Type
System parameter
Syntax
DATE
Description
Returns or sets the current date held by the Trajexia' s real time clock. The
number may be entered in DD:MM:YY or DD:MM:YYYY format.
Arguments
N/A
Example
DATE=20:10:05
or
DATE=20:10:2005
Example
>>PRINT DATE
36956
This prints the number representing the current day. This number is the
number of days since 1st January 1900, with 1 Jan. 1900 as 1.
See also
N/A
3.2.67 DATE$
/i
Type
System command
Syntax
DATE$
Description
Prints the current date DD/MM/YY as a string to the port. A 2-digit year
description is given.
Arguments
N/A
Example
PRINT #1,DATE$
This will print the date in format for example: 20/10/05
See also
N/A
PROGRAMMING MANUAL

3.2.68 DATUM

/i
Type
Axis command
Syntax
DATUM(sequence)
Description
The DATUM command makes one of 6 origin searches to position an axis to
an absolute position and also reset the Following Errors:
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.
Example
No example.
See also
ACCEL, AXIS, AXISSTATUS, CREEP, DATUM_IN, DECEL,
MOTION_ERROR, SPEED.
62

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents