Chapter 13 Macro
13-1
13
Notes
o
n
Ma
cr
o
Comm
and
s
Notes on Macro Commands
•
The macro function is operated in the decimal system with signs.
•
Up to 1,024 lines (commands) can be set for one macro.
•
A maximum of executable lines in one macro is 160,000.
If the same macro command is executed repeatedly using a loop macro
command, etc. exceeding this number, the macro is forcibly terminated.
•
When addresses in the PLC memory are specified for the MOV or BMOV
command, the MONITOUCH accesses the PLC memory every time it is
required; the processing speed may become slower. To solve this problem,
consider the following recommendation.
Example:
Line No. 0
D200 = $u200 (W)
Line No. 1
D201 = $u201 (W)
Line No. 2
D202 = $u202 (W)
Line No. 3
D203 = $u203 (W)
Line No. 4
D204 = $u204 (W)
In the above example, the MONITOUCH goes and writes data to D200 as
commanded in line No. 0, then goes and writes data to D201 as commanded
in line No. 1, and so on. Communications must frequently occur, which will
result in a prolonged processing time. To shorten the communications time,
give a BMOV command as shown below. The contents are the same as the
above macro commands with only one write operation.
Line No. 0 D200 = $u200 C: 5 (BMOV)
The processing speed is increased and the number of macro commands is
reduced. As described above, macro commands can be simplified when you
contrive to make these commands efficient to use.
Macro
POWER
F1
F2
F3
F4
F5
F6
F7
SYSTEM
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: ......