13. Calendar / Clock
The
|
|
| 13.1. | Time and Date Functions |
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| Item |
| Parameter | Description |
| |
| f50 |
| *0 | 12hours | Display, serial data output |
| ||
| Time display |
| 1 | 24hours | and print output |
| ||
| f51 |
| *0 | YY/MM/DD | Display, serial data output |
| ||
|
| 1 | MM/DD/YY |
| ||||
| Date format |
| and print output |
| ||||
|
| 2 | DD/MM/YY |
| ||||
|
|
|
|
|
|
| ||
| f52 |
| 00 to | (Display/output year) – | Last 2 digits |
| ||
| Difference between |
|
| |||||
|
| 99 | (Christian year) | Initial setting is 0. |
| |||
| Christian year |
|
| |||||
|
|
|
|
|
| |||
|
|
|
|
| *0 | 2digits |
|
|
| f53 |
| 1 | 4digits (Numeric) | First 2digits specified at |
| ||
|
| f54. |
| |||||
| Print/output of year |
|
|
|
| |||
|
| 2 | 4digits (alphabets and year) | Specify alphabet and |
| |||
|
|
|
|
|
| |||
|
|
|
|
| format at f54. |
| ||
|
|
|
|
|
|
|
| |
| f54 |
| 00 to | 2digits number (f53 1) or |
|
| ||
| First 2ditigts of |
| Effective f53 1 or 2 |
| ||||
|
| 99 | alphabet, blank or dot |
| ||||
| year |
|
|
| ||||
|
|
|
|
|
|
f52 : The display or output year is calculated using the following formula. Display/output year = (Christian era) + (f52)
Example 1: Christian era = (20)05, f52 10 then display/output year = (20)15
Example 2: Christian era = (20)05, f52 99 then display/output year = (20)04 Keep the internal year in Christian era format because the leap year correction is made based on the Christian era.
f53 and f54 : 2 characters can be added preceding the internal year to the output of the year. Additional characters are set at f54. A 4 digit year can not be displayed.
f53 0 Add no character, output year is 2 characters.
f53 1 Add 2 digit numeric characters. The 2 digits number does not increment automatically if the internal year changes from 99 to 00.
Example: Setting f54 20, internal year (after f52 calculate) = 05, output year = 2005
13. Calendar / Clock | Page 48 |