
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
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: ......