2 HMI Application Basics
2 - 4
NA-series Programmable Terminal Startup Guide (V120)
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
Definition
Page subroutine
A subroutine that can be accessed only within one page.
Global subroutine
A subroutine that can be accessed from anywhere in the project.