Chapter 13 Macro
13-23
13
Mac
ro Co
mma
nds
Example: Create pluses at 500-msec intervals.
Increment $u00210 at 500-msec intervals.
OPEN macro
$u00201 = 1 (W)
Set the timer type.
$u00202 = 50 (W)
time-up time 500 msec
SYS (STA_TIME)
$u00200
CYCLE macro
SYS (CHK_TIME)
$u00200
IF ($u00200) ! = 0)
LB00
RET
;
LB00
$u00210=$u210+1
•
GET_CLND
Get the calendar data.
Available Devices
(GET_CLND)F1
Get calendar data
•
SET_CLND
Set eight words in F1 for the use of system calendar. When the PLC with
calendar function is connected, the PLC calendar can also be set.
Available Devices
(SET_CLND)F1
Set calendar data
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
Command
name
F1
F1 + 0
Year (4 digits)
F1 + 1
Month
F1 + 2
Day
F1 + 3
Hour
F1 + 4
Minute
F1 + 5
Second
F1 + 6
Day of the week (valid with V4, invalid with V6)
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
Command
name
F1
F1 + 0
Year (4 digits or 2 digits, V4 fixed to 4 digits)
F1 + 1
Month
F1 + 2
Day
F1 + 3
Hour
F1 + 4
Minute
F1 + 5
Second
F1 + 6
Day of the week (invalid due to auto calculation in the V series)
F1 + 7
PLC port number (for 1: n connection)
500 msec
500 msec
500 msec
Содержание Monitouch V Series
Страница 1: ...Function Hakko Electronics Co Ltd...
Страница 3: ......
Страница 11: ......
Страница 35: ......
Страница 36: ...System Setting...
Страница 37: ......
Страница 64: ...Basic Functions...
Страница 65: ......
Страница 95: ...Chapter 2 Overlap 2 30 Please use this page freely...
Страница 139: ...Chapter 4 Lamp 4 14 Please use this page freely...
Страница 163: ...Chapter 5 Data Display 5 24 Please use this page freely...
Страница 191: ...Chapter 6 Message Display Relay Message 6 28 Please use this page freely...
Страница 427: ...Chapter 13 Macro 13 44 Please use this page freely...
Страница 454: ...Special Functions...
Страница 455: ......
Страница 507: ...Chapter 18 Video Display V7i Only 18 32 Please use this page freely...
Страница 647: ...Chapter 27 E Mail 27 6 Please use this page freely...
Страница 667: ...Chapter 28 Web Server 28 20 Please use this page freely...
Страница 690: ...Appendix...
Страница 691: ......
Страница 714: ...Appendix 1 Internal Memory A1 23 A1 System Memory Please use this page freely...
Страница 715: ...Appendix 1 Internal Memory A1 24...
Страница 737: ...Appendix 3 Error A3 16 Please use this page freely...
Страница 745: ......