Omron FZ4 Series User Manual page 200

Vision sensor
Table of Contents

Advertisement

Return Value
Returns the value of the character type string.
The content of the value is the character string in which the date from the internal clock is given as Year
(YY), Month (MM) and Day (DD), separated by slashes (/).
The range of the date returned is as follows.
Year (YY): 00 - 80
Month (MM): 01 - 12
Day (DD): 01 - 31
Description
4
The values of Year (YY) from 2000 to 2080 are expressed as 00 to 80.
The internal clock setting is done using [System Settings] -> [Date/Time].
Example
Read in the date from the internal clock and output it to the macro console.
TODAY$=Date$
print "20";TODAY$
This is output as described below:
2011/03/10
Sets the debugging mode.
Debug <Mode No.>
Parameters
<Mode No.>
Return Value
None.
Description
Sets the action for when a Macro Error is generated.
The mode numbers are as listed below.
0: None message is output always.
1: An error message is output to the macro console when an error occurs.
2: Execute trace (output processing line to the macro console).
Refer to Debugging Macro Programs for details on debugging.
Reference:
Example
Set the debugging mode to 0.
Debug 0
198
Using Custom Command
The number of the debugging mode (integer).
Debugging Macro program (p.169)
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents