5uninstallation, 6codesorganizationandcontrollerfunctions, Codesorganization – CREATOR CR-PGMIII User Manual
Page 28: 21 pgmⅢ programmable ethernet control system, 5 uninstallation, 6 codes organization and controller functions

CREATOR CHINA 2011-03
WWW.CREATOR1997.COM
21
PGMⅢ Programmable Ethernet Control System
Choose “environment”
Click to browse the right jdk1.4 installation path.
Note: if jdk1.4’s has been installed to its
default path, nothing needs to be changed
here.
7.5 Uninstallation
The software can be easily uninstalled from
“Start”—”Control Panel”--- “Add and Delete
Program”. All files, modules and shortcuts will be
deleted after the u installation.
7.6 Codes organization and
Controller Functions
7.6.1 Codes Organization
1 A program is consisted of the following
modules:
Every module has its own special functions: for
example, the “DEFINE_DEVICE” is used to
define a device. Each equipment involved in the
controlling program has to be defined here. It is
recommended not to change the order between
every module.
// Device definition module
DEFINE_DEVICE
// Constant define module
DEFINE_CONSTANT
// Variable define module
DEFINE_VARIABLE
// Function define module
DEFINE_FUNCTION
// Program initialization module
DEFINE_START
// Loop define module
DEFINE_PROGRAME
// Event define module
DEFINE_EVENT
2 Define Modules
DEFINE_DEVICE: Device define module
All the device definition has to be done within
this module.
DEFINE_COMBINE: Device define
module
This module is used to define multiple touch
panels in the same system.