Creating Function Nodes; Frames; Subroutines; Using Your Flow Chart - PSC PT Program Generator User Manual

Psc pt program generator user's manual
Table of Contents

Advertisement

PPG Application Design

Creating Function Nodes

Once you've designed the basic program structure, the next step in generating
a portable program is to define each
frames or subroutines and are used to organize the steps and work of
tion Nodes

Frames

Frames
cal structure.
Nodes are Linked together within the frame using Links.

Subroutines

Subroutines
they can be called from anywhere in the application. They should be self-con-
tained and perform functions that are used in multiple places in the applica-
tion. Use
Node

Using Your Flow Chart

Using the flow chart you created in
Frames
tion is used in multiple places, make it a
Frame
Operation Nodes

Creating Operation Nodes

Each
application. After you have created the frames and subroutines, fill in the pro-
gram steps for each function node. Using the flow chart, create an appropriate
Operation Node
ferent types of
18
. Most developers start by creating
contain a set of program steps that are collected and ordered in a logi-
can consist of other frames, subroutines, and nodes.
Frames
contain nodes that execute program steps, much like
nodes to link
Call
or
where they will be called.
Frame
and
you will define. As a general guideline, if the func-
Subroutines
. Once all
Function Nodes
.
represents a program step or work performed by the
Operation Node
for each step in the
Operation Nodes
Function Node. Function Nodes
Function Nodes
to the location within the
Subroutines
Application Structure on page 16
Subroutine
are created, define each step by creating the
or
Frame
Subroutine
to chose from, as shown in
PT Program Generator (PPG) v5.0
are
Opera-
.
, but
Frames
Operation
, list the
. Otherwise, it should be a
. There are nine dif-
Table 1 on page 17
.

Advertisement

Table of Contents
loading

Table of Contents