Professional Documents
Culture Documents
GP - Pro EX Quick Start Guides
GP - Pro EX Quick Start Guides
1 PFTR07_CLS01REVB
D-Script
¾ Overview:
– This chapter explains how to use D-Script and Global D-Script
to enhance custom operation in GP-Pro EX.
¾ Objective:
– At the end of this chapter you can:
• Add, Edit and Remove (Global) D-Scripts
• Identify the differences between D-Script and Global D-Script
• Create Custom Functions
• Use basic operators
• Find advanced Script functions
PFTR07_CLS01REVB
Introduction
PFTR07_CLS01REVB
Editing Scripts
Address Entry
Formula Area
PFTR07_CLS01REVB
Example
PFTR07_CLS01REVB
Trigger Condition
PFTR07_CLS01REVB
Formula Window
PFTR07_CLS01REVB
Custom Functions
PFTR07_CLS01REVB
Tool Box
PFTR07_CLS01REVB
If /else / endif Statements
PFTR07_CLS01REVB
Loop statements
{
break
}
endif
}
endloop
PFTR07_CLS01REVB
Function Workspace
PFTR07_CLS01REVB
Functions – Draw Instructions
¾ Offset Address:
– Writes the result of an expression to an offset of the
selected destination address.
¾ Compare Memory:
– Compares ranges of registers.
– Useful for comparing loaded vs edited
recipes
¾ Compare Memory (Variable):
– Same as compare memory but all
parameters can be assigned during
runtime.
PFTR07_CLS01REVB
Functions – Memory Operations
PFTR07_CLS01REVB
Functions – Memory Operations
PFTR07_CLS01REVB
Functions – SIO Port Options
PFTR07_CLS01REVB
Functions – Bit Operations
PFTR07_CLS01REVB
Functions – CF Card & USB Operations
PFTR07_CLS01REVB
Functions – Printer Instructions
PFTR07_CLS01REVB
Functions – Other
PFTR07_CLS01REVB
D-Script List
PFTR07_CLS01REVB
Search & Replace Workspace
PFTR07_CLS01REVB
Questions
Please refer to the Reference Manual that is installed along with GPPRO-EX.
Manuals are also available on-line at:
http://www.hmisource.com/otasuke/download/manual/
PFTR07_CLS01REVB