Esc+Wp Calendar Arithmetic (Add); Calendar Arithmetic (Add) - SATO CL4NX Programming Reference Manual

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

13.2 Calendar
13.2

ESC+WP Calendar Arithmetic (Add)

Calendar Arithmetic (Add)

ESC
Hexadecimal
code
<1B>
16
Initial value
Nil
When the power switch is OFF
Valid range and
term of
Valid range within items
command
Valid range between items
[Function]
Specifying addition of calendar date.
[Format]
<WP>abbb
●Parameter
a [Specification of Year-Month-Day]
b [Specification of additional value for Y-M-D-h]
[Coding Example] Specifying and printing out the date that is three months from today.
<A>
<WP>M03
<V>100<H>200
<OB><WA>DD/MM/YY
<Q>2
<Z>
[Supplementary Explanation]
1. This command requires optional calendar IC and it is no usable without IC.
2. This command adds specified value to specified data (Year, Month, Day, Hour and Week). It can specify the date
three months from current date.
3. When there are more than one <WP> in one item, the last one is available.
WP
Parameter
<57>
<50>
abbb
16
16
The set parameter is maintained.
The set parameter is valid until the next valid setting.
The set parameter becomes invalid.
=
Y
M
D
h
W
=
Valid Range of Y
Valid Range of M
Valid Range of D
Valid Range of h
Valid Range of W
268
ESC+WP
:
Year
:
Month
:
Day
:
Time
:
Week
:
0 to 9
:
00 to 99
:
000 to 999
:
000 to 999
:
00 to 99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents