
Chapter 13 Macro
13-2
Macro Set-up
The “macro” command is a function for composing programs with commands
unique to the V series. The macro commands are available with the following
parts.
•
Screen
1) OPEN macro:
Executed once when the screen is opened.
2) CLOSE macro:
Executed once when the screen is closed.
3) CYCLE macro:
Executed repeatedly when the screen is open.
•
Multi-overlap
1) OPEN macro:
Executed once when the multi-overlap is opened.
2) CLOSE macro:
Executed once when the multi-overlap is closed.
* OPEN/CLOSE macros cannot be used for call-overlap.
•
Switch
1) ON macro:
Executed once when the switch is pressed.
2) OFF macro:
Executed once when the switch is released.
•
Function Switch
1) ON macro:
Executed once when the function switch is pressed.
2) OFF macro:
Executed once when the function switch is released.
•
Initial Macro
The initial macro that is created in “Macro Block” edit is executed once
before the V series starts communications with the PLC. (
Refer to
•
Global Macro
The global macro that is created in “Macro Block” edit is executed when the
bit in the read area changes from 0
→
1 (leading edge). (
Refer to page
•
Event Timer Macro
The event timer macro is executed regardless of the displayed screen, and
has the timer setting for specifying the interval of executing the macro
command. (
Refer to page 13-34.)
•
Interval Timer
The interval timer is used to execute the macro command that is created on
the macro block edit window at intervals of the set time when the screen
equipped with the interval timer is displayed. (
Refer to page 13-35.)
•
Macro Mode
Macro commands can be executed according to the status in the specified
memory addresses when the screen equipped with macro mode is
displayed. (
Refer to page 13-42.)
1) ON macro:
Executed when the bit in the specified memory address
changes from 0
→
1 (leading edge).
2) OFF macro:
Executed when the bit in the specified memory address
changes from 1
→
0 (falling edge).
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: ......