Chapter 6
Setting Up the Printer
3. Date and Time
48
The printer's CPU board is, as standard, provided with an inter-
nal clock/calendar without battery backup, that is, the setting will
be lost when the printer is switched off.
The CPU board may optionally be fi tted with a real-time clock
circuit (RTC). The RTC is battery backed-up and will keep
running even when the printer is switched off.
If no RTC is installed and you try the read the date or time
before the internal clock has been set, an error will occur (error
1010 "Hardware Error"). Once either time or date has been set,
the internal clock will work until next power off or reboot. If
only time has been set, by default the current date will be Jan
01 1980 and if only date has been set, by default the clock will
start running at 00:00:00.
The following commands are used to set the clock/calendar:
DATE$ ="<YYMMDD>"
<YYMMDD>
Note that the input data must be enclosed by double quotation
marks.
Example:
DATE$ = "020131" ↵
TIME$ = "<HHMMSS>"
<HHMMSS>
Note that the input data must be enclosed by double quotation
marks.
Example:
TIME$ = "131548" ↵
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual
the current date in the standard format,
where:
YY = Year, last two digits
MM = Month, two digits
DD = Day, two digits.
the current time in the standard format,
where
HH = Hour (00-24)
MM = Minute (00-59)
SS = Second (00-59)
Need help?
Do you have a question about the EasyCoder E4 and is the answer not in the manual?