Chapter 13 Macro
13-14
•
JMP
Unconditional jump to F0 label takes place.
Available Devices
JMP: Unconditional jump
JMP LBF0
•
LABEL (0 to 127)
The destination for [CMP], [TST] and [JMP] is specified.
Available Devices
LABEL: Label No.
LABEL F0
•
FOR/NEXT
Loop is conducted between FOR and NEXT by the number of times
(maximum 65,535) set in F0.
Available Devices
FOR: FOR to NEXT
FOR F0
•
RET
Macro processing is terminated. RET terminates the macro block which was
triggered by the CALL command, and returns to the original sequence.
•
SWRET
SWRET is used in the switch ON macro, and it acts the same as RET. In
switch ON macro, the switch function is executed following execution of ON
macro. However, when a SWRET command is included in the ON macro,
macro processing is interrupted. After a switch function is executed, then the
macro after the SWRET command is executed.
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
F1
F2
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
F1
F2
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
F1
F2
FOR 10
$u0000 = $u0000+1
FOR $u0100
$u0001 = $u0001
−
1
NEXT
$u0002 = $u0000 + $u0001
NEXT
Loops the number of times
specified in memory
address $u0100
10 loops
Содержание 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: ......