2 HMI Application Basics
2-3
Subroutines
A subroutine is a sequence of instructions that is written in Visual Basic. You can create powerful appli-
cations by programming the processing to execute when events occur as subroutines.
There are the following two types of subroutines.
Type of subroutine
Page subroutine
Global subroutine
2 - 4
Definition
A subroutine that can be accessed only within one page.
A subroutine that can be accessed from anywhere in the project.
NA-series Programmable Terminal Startup Guide (V120)