Omron SYSMAC FH Series User Manual page 456

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Date$
Reads out the date from the internal clock.
Format
Date$
Parameter
None.
Return value
Returns the date as a character string value.
The date value is a character string of the internal clock date whose year (YY), month (MM), and day (DD)
separated by a slash (/). The range of each is indicated below.
• Year (YY): 00 to 80
• Month (MM): 01 to 12
• Day (DD): 01 to 31
Description
Reads the date from the internal clock and returns the date value (YY/MM/DD) in character string format.
The year is expressed as a value from 00 to 80, representing 2000 to 2080.
The internal clock can be adjusted in [Date-time Settings] under [System settings]. (Reference:
Date and Time: [Date-time Setting] (p.291))
If a value is assigned to the return value variable or the variable is not used in an expression, a "Syntax error"
error will occur.
Usage Cautions
• None.
Example
Reads the date in the internal clock and outputs the date to the system status console window.
Rem Read out the date from the internal clock.
TODAY$ = Date$
Rem Output the read date to the system status console window.
Print "20";TODAY$
The result is shown below.
2011/03/10
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
454
Macro Reference
WWW.NNC.IR
Setting the
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents