Specifications

BASIC commands
PROGRAMMING MANUAL 171
Revision 5.0
3.2.263 TIME
/i
3.2.264 TIME$
/i
3.2.265 TO
See FOR..TO..STEP..NEXT.
3.2.266 TRANS_DPOS
/i
3.2.267 TRIGGER
/i
Example delay:
TICKS = 3000
OP(9,ON)
test:
IF TICKS <= 0 THEN
OP(9,OFF)
ELSE
GOTO test
ENDIF
See also N/A
Type System parameter
Syntax TIME
Description Sets and returns the time from the real time clock. The time returned as an
integer is the number of seconds since midnight 00:00:00.
Arguments N/A
Example Sets the real time clock in 24 hour format; hh:mm:ss
’Set the real time clock
>>TIME = 13:20:00
>> PRINT TIME
>> 48002.0000
Print executed after 2 seconds
See also N/A
Type System command
Syntax TIME$
Description Prints the current time as defined by the real time clock as a string in 24-hour
format.
Arguments N/A
Example When the time is 13:20:00
>> PRINT TIME$
>> 13:20:00
See also N/A
Type Axis parameter (read-only)
Syntax TRANS_DPOS
Description Axis demand position at output of frame transformation. TRANS_DPOS is
normally equal to DPOS on each axis. The frame transformation is therefore
equivalent to 1:1 for each axis. For some machinery configurations it can be
useful to install a frame transformation which is not 1:1, these are typically
machines such as robotic arms or machines with parasitic motions on the
axes. Frame transformations have to be specially written in the C language
and downloaded into the controller. It is essential to contact OMRON if you
want to install frame transformations.
Arguments N/A
Example No example.
See also FRAME.
Type System command
Syntax TRIGGER