8
Elements of an Application Program
This chapter provides basic information about the application program for a VersaMax
PLC.
•
Structure of an application program
•
Subroutines
•
Program languages
•
The Instruction Set
8.1
Structure of an Application Program
The application program consists of all the logic needed to control the operations of the
PLC CPU and the modules in the system.
Application programs are created using the programming software and transferred to the
PLC. Programs are stored in the CPU’s non-volatile memory.
During the CPU Sweep (described in the previous chapter), the CPU reads input data
from the modules in the system and stores the data in its configured input memory
locations. The CPU then executes the entire application program once, utilizing this fresh
input data. Executing the application program creates new output data that is placed in the
configured output memory locations.
After completing the end of the application program, the CPU writes the output data to
modules in the system.
Execute
Application
Program
Read Inputs
Write Outputs
Elements of an Application Program
GFK-1503E User Manual 103
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......