Chapter 11 Time Display/Calendar
11-11
11
Correc
tin
g Ca
le
n
dar Da
ta
Correcting with Macro Command
Using a macro command, time data of the calendar can be corrected.
1. Secure six words in the memory addresses that are not used.
2. Set from the top memory address in order: year, month, day, hour, minute,
and second.
3. Execute the SET_CLND macro command as the ON macro of a switch, etc.
The calendar data in the memory is written. The set calendar data is read.
Example: To correct the PLC calendar:
POWER
F1
F2
F3
F4
F5
F6
F7
SYSTEM
$u0
$u1
$u2
$u3
$u4
$u5
0
0
0
0
0
0
POWER
F1
F2
F3
F4
F5
F6
F7
SYSTEM
$u0
$u1
$u2
$u3
$u4
$u5
2002
4
1
15
0
30
POWER
F1
F2
F3
F4
F5
F6
F7
SYSTEM
$u0
$u1
$u2
$u3
$u4
$u5
2002
4
1
15
0
30
POWER
F1
F2
F3
F4
F5
F6
F7
SYSTEM
$u0
$u1
$u2
$u3
$u4
$u5
2002
4
1
15
0
30
run
stop
02/01/00
10:40:00
02/01/00
10:40:00
02/01/00
10:40:00
02/01/02
15:00:30
(1) Internal memory
$u0000 to 0005 are used.
(2) Set data.
$u0000 = 2002
$u0001 = 4
$u0002 = 1
$u0003 = 15
$u0004 = 0
$u0005 = 30
(3) Execute the macro command.
[ON Macro Edit]
SYS (SET_CLND) $u0000
Rewrite the PLC calendar.
Calendar readout
Calendar
February 1, 2002
10 : 40 : 00
April 1, 2002
15 : 00 : 30
Summary of Contents for Monitouch V Series
Page 1: ...Function Hakko Electronics Co Ltd...
Page 3: ......
Page 11: ......
Page 35: ......
Page 36: ...System Setting...
Page 37: ......
Page 64: ...Basic Functions...
Page 65: ......
Page 95: ...Chapter 2 Overlap 2 30 Please use this page freely...
Page 139: ...Chapter 4 Lamp 4 14 Please use this page freely...
Page 163: ...Chapter 5 Data Display 5 24 Please use this page freely...
Page 191: ...Chapter 6 Message Display Relay Message 6 28 Please use this page freely...
Page 427: ...Chapter 13 Macro 13 44 Please use this page freely...
Page 454: ...Special Functions...
Page 455: ......
Page 507: ...Chapter 18 Video Display V7i Only 18 32 Please use this page freely...
Page 647: ...Chapter 27 E Mail 27 6 Please use this page freely...
Page 667: ...Chapter 28 Web Server 28 20 Please use this page freely...
Page 690: ...Appendix...
Page 691: ......
Page 714: ...Appendix 1 Internal Memory A1 23 A1 System Memory Please use this page freely...
Page 715: ...Appendix 1 Internal Memory A1 24...
Page 737: ...Appendix 3 Error A3 16 Please use this page freely...
Page 745: ......