Sie sind auf Seite 1von 81

adaptronic

Programming Software KT Edit

Programming Software
KT Edit

24.09.2002 BD-05-382-A

adaptronic

Table of Contents

Table of Contents
Page
1

Overview of KT Edit

1-1

1.1
1.2

About this Manual


........................................................................................................... 1-1
General Safety Precautions...........................................................................................................
1-2

Installation of KT Edit

2.1
2.2

System Requirements ........................................................................................................... 2-1


Installing KT Edit from the CD .................................................................................................. 2-2

Working with KT Edit

3.1
3.2
3.3
3.4
3.5
3.6

Starting KT Edit
"Job Transfer" Function
"Options" Function
"Update" Function
"File Transfer" Function
Copying Jobs and Files

Test Data Description and Test Point Naming with ATX Keywords

4.1
4.2
4.3

Test Data Description File *.ted................................................................................................ 4-2


Test Point Naming File *.ndi ..................................................................................................... 4-8
Complete Project Example ....................................................................................................... 4-9

Commands for Test Sequence Control

5.1
5.2
5.3
5.4
5.5
5.6

General
........................................................................................................... 5-1
Syntax Rules, Editing and Storing of Commands .................................................................... 5-2
Outputs, Start Button and Release Button ............................................................................... 5-4
Commands and Functions........................................................................................................ 5-5
Test Point Formats
......................................................................................................... 5-19
Additional Information for Test Flow Control .......................................................................... 5-19

Generating and Editing of Label Layouts

6.2
6.3
6.4

Arranging Label Print


........................................................................................................... 6-2
Edit Printer Initialization File (LABEL.INI / RECORD.INI) ................................................. 6-4
Edit Label Layout File ........................................................................................................... 6-6

Configuration entries in KT.CFG file

7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9

Configuration file
........................................................................................................... 7-1
Information about system configuration.................................................................................... 7-2
Device names
........................................................................................................... 7-2
System Configuration ........................................................................................................... 7-2
Interface assignment (see Interface configuration) .................................................................. 7-2
Configuration
........................................................................................................... 7-4
Testing, Learning und Diagnostics ........................................................................................... 7-5
Loading and Saving
........................................................................................................... 7-8
Languages
........................................................................................................... 7-8

Configuration entries in the USER.CFG file

2-1

3-1
........................................................................................................... 3-2
........................................................................................................... 3-2
........................................................................................................... 3-5
........................................................................................................... 3-6
........................................................................................................... 3-7
........................................................................................................... 3-8
4-1

5-1

6-1

7-1

8-1

24.09.2002 BD-05-382-A

Table of Contents

adaptronic

Addendum

9.1
9.2
9.3
9.4
9.5

File system on the KT 110 ........................................................................................................ 9-1


Directory structure
........................................................................................................... 9-2
Card-reader (Option)
........................................................................................................... 9-3
Interface cable PC - KT 110 ..................................................................................................... 9-4
Key Words for Label Printing................................................................................................... 9-5

BD-05-382-A

24.09.2002

9-1

adaptronic

Installation von KT Edit

1-1

Overview of KT Edit

KT Edit is a software tool that runs under Windows, allowing


diverse tasks for the KT 110 to be done easily on an external
PC.
Creation and editing of test programs
Creation and editing of label layouts
Copying of test programs between PC and KT 110
Configuration of the KT 110
Upload of software updates to the KT 110
The administration of multiple test systems from one PC
Connection of a chip-card reader (optional)

1.1

About this Manual


You must read this manual before initially attempting to
operate KT Edit or any of the hardware components of the
test system. In particular, please observe the safety precautions described in this chapter.
Only those persons who are authorized to operate and
program the test system are permitted to operate KT Edit.
A copy of the manual must be readily available to all persons
who operate KT Edit.
This manual is intended to assist you in familiarizing yourself
with the functions and capabilities of the KT Edit software and in
learning how to use them correctly.
The manual contains important instructions on how to operate
the test system safely. Observance of these instructions helps
to:
Avoid danger
Reduce repair costs and downtime
Increase the service life and reliability of the test system

All accident prevention and environmental regulations valid in


the country and place of use must be observed.

24.09.2002 BD-05-382-A

1-2

adaptronic

Installation of KT Edit

Only those components that are relevant to operating KT Edit


are described in this manual.

Supplementary documents
Please see the hardware manual of the KT 110.

Symbols used in this manual


The following symbols are used in this manual:
Symbols

Activity symbol: Text following this symbol describes an activity. Such activities are to be performed sequentially from
the top down.

9 Result symbol: Text following this symbol describes the result of an operation.

1.2

General Safety Precautions


All safety precautions are described in this chapter. The chapter
is therefore suited for an initial and thorough instruction of new
employees.
Every person involved in working with KT Edit must read and
follow the general safety precautions.
The safety equipment of your test system is described in the
hardware manual of your tester.
The hardware documentation is an integral part of the test system documentation and must also be read and observed.

BD-05-382-A

24.09.2002

adaptronic

Installation von KT Edit

1-3

Methodology
KT Edit has been designed and programmed in accordance
with the latest technological and safety standards. Nevertheless, danger to the operator of the test system or third parties,
or material damage may occur if:
You do not use the test system properly
The test system is operated by personnel who have
not been instructed in its operation
The test system is modified or refitted in a manner not
authorized by the manufacturer
You do not heed the safety precautions and instructions
Operate the test system only when it is in a good working order.
The test system must be operated as intended and in full
awareness of the relevant safety regulations and potential dangers involved.
The test system is to be shut down immediately if there are any
faults that impair safety or if there are changes in operation.
Report all such cases to the service personnel at adaptronic
GmbH.

Proper Usage
KT Edit may only be used to program and handle test data for
the test system.
Observance of the instructions in the manual, the supplementary documents, the inspection and maintenance regulations,
the accident prevention regulations for testing stations as well
local work regulations, are all considered to be a part of proper
usage.

24.09.2002 BD-05-382-A

1-4

adaptronic

Installation of KT Edit

Selection and Qualifications of Personnel


Basic knowledge of the operating systems Windows 9x /
Windows 2000 / Windows XP or Windows NT are assumed.
Programming / Operation

Only trained, instructed and authorized personnel are allowed


to use KT Edit.
The programmer using KT Edit with the test system should possess mechanical and electrical knowledge in order to program
the tests. The programmer should be familiar with programming
applications on the Windows 9x, 2000, XP and NT platform.

Maintenance and care

Special knowledge is required to service and maintain the system. Therefore, only trained and authorized personnel are permitted to carry out such work.

Safety instructions for normal operating mode


Only operate KT Edit if all safety and protective equipment of
the test system are in place and fully functional.
Use measurement and test equipment only as intended.
Use only suitable test and measurement equipment.
During testing, no other persons are permitted to stand in the
danger zone.
Avoid operating high frequency, remote control and radio devices near the test system and its cables.

Documentation

The hardware and adapter manual of your test system must be


read and observed.
A copy of the documentation of the entire test system must always be readily available.

BD-05-382-A

24.09.2002

adaptronic

Installation von KT Edit

Installation of KT Edit

2.1

System Requirements

2-1

To use KT Edit, you will require:


A PC with a 166 MHz Pentium processor or higher running

Windows 98, Windows ME, Windows 2000, Windows XP or


Windows NT 4.0.
A hard disk with enough free space to install KT Edit.

(KT Edit requires approximately 10 MB of space). After installing KT Edit, you should ensure that you have several
Mobs of free hard disk space for storing test programs.
A CD-ROM drive
64 MB RAM
An unused RS232 serial port for each KT 110 to be con-

nected
An unused RS232 serial port for a smart card reader (option)
VGA monitor with 800 x 600 or higher resolution
A mouse or compatible pointing device

Please note:

KT Edit can handle a maximum of 4 serial ports.

24.09.2002 BD-05-382-A

2-2

2.2

adaptronic

Installation of KT Edit

Installing KT Edit from the CD


To install KT Edit, you will need the KT Edit setup CD.
The procedure for a new installation is identical to updating an
existing version.

Starting KT Edit Setup


Close all Windows applications on the PC.
Insert the KT Edit setup CD into the CD-ROM drive.
If the CD does not start Setup automatically, please start
SETUP-EXE via Explorer.

9 The start window of the installation program SETCD.EXE will


appear.
Follow the installation program instructions.

9 After installation you can start KT Edit with the button on the
desktop or via Start
adaptronic tools
KT Edit.

BD-05-382-A

24.09.2002

adaptronic

Working with KT Edit

3-1

Working with KT Edit


When working with KT Edit, two access levels and the connection status online or off-line distinguish access to one or several KT 110 test systems.
Depending on the active access rights and the connection
status, different functions of the software are available.
The two following tables show the levels. The functions that are
accessible are shown in the following sections in more detail.
Function

Standard access level

Supervisor access level

Job Transfer

Options

Update

File Transfer

Tab. 3.1: Functions

Function

Offline

Offline /
supervisor

Online

Online /
supervisor

Exit

Edit job

Create new job

Delete job

Copy job to device

Copy job to pc

Format smart card in


drive

Available with an smart card reader connected to the


PC or for the reader integrated into the KT 110

Tab. 3.2: Functions

24.09.2002 BD-05-382-A

3-2

3.1

adaptronic

Working with KT Edit

Starting KT Edit
Start KT Edit via the button on the desktop or via
Start
adaptronic tools
KT Edit.

9 KT Edit scans the serial interfaces of the PC in order to find


any connected test systems and any connected smart card
reader.

9 After the scan you are on the standard access level of KT


Edit with the functions "Job Transfer" and "Options".

3.2

"Job Transfer" Function


The "Job Transfer" function is the basic function for creating,
editing and transferring test data for units under test.

Directory structure of PC
Scanned devices

Contents of device directory


Contents of PC directory

Fig. 3.1: Start screen with scanned devices

BD-05-382-A

24.09.2002

adaptronic

Working with KT Edit

3-3

Menu bar
The functions offered in this function are available via the menu
bar.

Refresh device connections


Format smart card in drive
Copy job to PC
Copy job to device
Delete job
Create new job
Edit job
Exit

Fig. 3.2: Menu bar

Exit
Edit job
Create a new job
Delete job
Copy job to device
Copy job to PC
Format smart card in drive

Refresh device connections

Click on this button to close KT Edit.


Click on this button or double-click the job icon to edit a selected job.
Click on this button to create a new job. You will be called to
enter a new job name.
You can delete a selected job.
Copy a job from the PC to a connected KT 110 drive or to a
smart card reader on the PC.
Copy a job from a connected KT 110 drive or from a smart card
reader on the PC to the PC.
Function to format a smart card inserted in the smart card
reader connected to the PC or in the reader of the
KT 110.
Initialize a new scan of the PC serial interfaces.

24.09.2002 BD-05-382-A

3-4

adaptronic

Working with KT Edit

Editing Jobs
Proceed as follows to edit of an existing job:
Open the selection "Job Transfer".
Select one job stored on the PC or on a KT 110 and open
the edit window by clicking on the "Edit job" button or double
click the job name.

Fig. 3.3: Edit window for jobs (example of a new job)

9 The window shown above will be opened with the data for
the selected job. It is divided into three editing areas:
ted-file: test data for the unit under test
ndi-file: file for test point naming
doc-file: file for documentation purposes or test sequence control
Please note:

BD-05-382-A

24.09.2002

The ted-file and the ndi-file are explained in chapter 4 "Test


Data Description and Test Point Naming with ATX Key Words".
The test sequence control (doc-file) is explained in chapter 5
"Commands for Test Sequence Control".

adaptronic

Working with KT Edit

3-5

Menu bar
The functions offered in this window are available via the menu
bar.

Redo
Undo
Paste
Copy
Cut
Find...(Ctrl+F)
Print
Save + quit (Ctrl+S) exit
Fig. 3.4: Menu bar

3.3

"Options" Function
With this function you can initiate following items:
Access Level
About KT Edit

Fig. 3.5: "Options" function

24.09.2002 BD-05-382-A

3-6

adaptronic

Working with KT Edit

Access Level

Change the access level between "program" and


"supervisor".
After clicking the "Access Level" button, you will be asked for a
password.
The wrong password or blanks reset the access level to program level. With the correct password you enter the supervisor
level with the additional functions "Update" and "File Transfer".
Actual password for supervisor level: 1111

About KT Edit

3.4

By clicking on this button, you will get information about KT Edit


such as Version, Contact adaptronic and Free System Resources.

"Update" Function
This function enables you to make firmware updates to the
KT 110.

Information about
the actions taking
place during
update

Start button
Versions available on the PC

KT 110 connected

Fig. 3.6: "Update" Function

BD-05-382-A

24.09.2002

adaptronic

Working with KT Edit

3-7

Proceed as follows:
Select the version to be transmitted to the KT 110 and the
specific KT 110 to be updated.
After making the selections, click the "Update" button.
Confirm security retrieval.
KT Edit carries out the update procedure to the selected

KT 110(s) and gives information about the update status and


the actions taking place during the update.

Once the update is finished, KT Edit shows the job transfer

function and executes a rescan on the ports to update the


connected devices view.

Please note:

3.5

By updating the KT 110, all test data stored in the tester will be
lost!
Update is done via an asynchronous serial communication. Due
to noise and other problems, the update function can abort on
errors. Just retry the update in this case.

"File Transfer" Function


Use this function to change or to edit the kt.cfg configuration file
and label layout files of a KT 110.

Directory structure of the PC


Scanned devices

Contents of the device directory


Contents of the PC directory

Fig. 3.7: "File Transfer" Function

24.09.2002 BD-05-382-A

3-8

adaptronic

Working with KT Edit

Menu bar
The functions offered in this selection are available via the
menu bar.

Reset test device


Refresh device connections
Copy file to PC
Copy file to device
Delete file
Edit file
Exit

Fig. 3.8: Menu bar

Exit
Edit file
Delete file
Copy file to device
Copy file to PC
Refresh device connections
Reset test device

3.6

Click this button to close KT Edit.


Click this button or double-click on the file icon to edit a selected file.
Click this button to delete a selected file.
Click this button to copy a file from the PC to a connected KT
110 drive or to a smart card reader on the PC.
Click this button to copy a file from a connected KT 110 drive or
from a smart card reader on the PC.
Click this button to initialize a new scan of the serial interfaces
of the PC.
Click this button to reset a connected KT 110.

Copying Jobs and Files


As described in the respective chapters, jobs or files can be
copied using the copy buttons. As an alternative, you can copy
jobs or files using the drag and drop function between the respective window areas.

BD-05-382-A

24.09.2002

adaptronic

Test Data Description and Test Point Naming with ATX Key Words

4-1

Test Data Description and Test Point Naming


with ATX Keywords

Test data can be described in the adaptronic ATX format.


There are keywords defined for:
The setting of the parameters
The definition of net lists
The definition of prim lists
The definition of component lists
The naming of test points

24.09.2002 BD-05-382-A

4-2

4.1

Test Data Description and Test Point Naming with ATX Key Words

adaptronic

Test Data Description File *.ted


Parameters, net lists, prim lists and component lists are defined
in a file with a .ted extension. This file is located in the directory
C:\ATG\TEDA\<projectname>\<projectname>.ted.
General structure of a *.ted file:

Segment 1

Global Parameters
Segment
Parameters
(Electrical Parameters)
Prim List
Net List

Segment 2

Component List
Segment
Parameters
(Electrical Parameters)
Prim List
Net List

Segment 6

Component List

Segment
Parameters
(Electrical Parameters)
Prim List
Net List
Component List

BD-05-382-A

24.09.2002

adaptronic

Test Data Description and Test Point Naming with ATX Key Words

4-3

Parameters
The parameters for the tests are divided up into two different
types of parameter sets:
UUT related parameters: one parameter set within
each *.ted file (global parameters)
Segment related parameters: one parameter set
within each segment (electrical parameters for the
segment test)
UUT related parameter block (example):
#PARAMETER "PROJECT1"
@ VERSION "V 01.68"
@ PIN_FORMAT DIRECT
@ KEEP_FAULTS OFF
@ RESULT_DOCUMENTATION_LEVEL 0
@ ERROR_LIMIT 20
@ ABORT_ALL ON
@ STOP_ON_FAULTS ON
@ PRINT_PASSED ON
@ PRINT_HEADER ON
@ PRINT_SEGMENT ON
@ PRINT_PARAMETERS ON
@ PRINT_COMP_NAME OFF
@ PRINT_VALUE OFF
@ PRINTER_INTERNAL OFF
@ GOOD_LABEL_NAME "label.gut"
@ GOOD_LABEL ON
@ BAD_LABEL_NAME "label.bad"
@ BAD_LABEL OFF
@ HEAD_LABEL_NAME "record.lab"
@ HEAD_LABEL OFF
@ ADD_LABEL_NAME "label.gut"
@ ADD_LABEL OFF
@ RELAIS_TIME 250
@ BYTE_USED_BY_TEST 16
@ EXCLUDE_SHORT_UPPER 128
@ MONITORING OFF
@ LOOSE_CONTACT_TEST OFF
@ VISUAL_LED_TEST OFF
!

Start sequence for parameter block of "Project1"


Software version 1.68
Direct format for test point naming

Definition of label layout file for good label


Print out of good label activated
Definition of label layout file for bad label
Print out of bad label deactivated
Definition of label layout file for lot label
Print out of lot label deactivated
th
Definition of label layout file for the 4 label
th
Print out of 4 label deactivated

Loose contact test deactivated


Visual led test deactivated

24.09.2002 BD-05-382-A

4-4

adaptronic

Test Data Description and Test Point Naming with ATX Key Words

Segment related parameter block (example):


#PARAMETER "PROJECT1" "Segment_1"
:TEST_TYPE

CONNECTION_LOW SHORT_LOW

@ SEGMENT_MESSAGE "Start Segment 1"


@ SEG_MES_ACK ON
@ VOLTAGE_LOW 10
@ RESISTANCE_LOW 100
@ RESISTANCE_INSULATION 20000
!

Start sequence for the 1st segment of "PROJECT1"


Test type definition: low voltage continuity test and
low voltage insulation test
Output of message to the display
Waiting until acknowledgement of the message
Setting of test voltage: 10 V
Setting of lower threshold: 100
Setting of upper threshold: 20 k
End of segment relating parameter set

PRIM
The test points (TP) for a short-circuit test are defined by the
PRIM data block of the *.ted file.
One prim list can be included in each segment.
The prim list consists of one test point of each net.
Example of prim list:
TP 1

TP 5

TP 2

TP 6

TP 3

TP 4

#PRIM "PROJECT1" "Segment_1"


@ 1 3
!

Start of prim point definition for segment 1 of


"PROJECT1"
Definition of short circuit test points
End of prim point definition

All declared test points are tested against each other in the
short-circuit test. In this example, two points are defined for the
short-circuit test: 1 and 3

BD-05-382-A

24.09.2002

adaptronic

Test Data Description and Test Point Naming with ATX Key Words

4-5

NET
A net list with its nets specifies the test points that have electrical connections to be tested during continuity test. The test
points having connections to other test points are defined in a
single net. Nets have no electrical connection to other nets.
Example of net list:
TP 1

TP 4

TP 2

TP 5

TP 3

TP 6

#NET "PROJECT1" "Segment_1"


@ 1 2 4 5
@ 3 6

Start sequence for net list definition of segment 1 of


"PROJECT1"
Net 1
Net 2
End of net list definition
In this example, two nets are defined: the first contains the
points 1, 2, 4 and 5. The second network contains the two
points 3 and 6.

24.09.2002 BD-05-382-A

4-6

Test Data Description and Test Point Naming with ATX Key Words

adaptronic

COMPONENT
In the COMPONENT data block, electrical components are described. Furthermore, the component definition is used for special components like open and connection.
The unit for the set values for resistance is Ohm and for capacitance, Farad. The definition of tolerance is done in %. The
tolerance statement refers to the value stated directly ahead of
it in each case. For components with tolerance, where no tolerance in entered, a tolerance of 10 % is used. If only one is
stated, this value is applicable to the positive and negative tolerance. If both values are stated, the first is taken as the positive tolerance and the second the negative tolerance.
Each component location has a position, that contains the component name and two test points, from_point and to_point. If no
component name exists, a ? must be used.
An electrolytic capacitor can be specified by the voltage statement. The first point in position gives the anode and the second, the cathode.
The components X (connection) and U (open circuit) are
tested as resistances below the lower threshold and above the
upper threshold.
Example of a component list:
#COMPONENT "PROJECT1" "Segment_1"
@R "R_1" 1 2 330

@R "R_2" 2 ground 4700 10

@R "R_3" 50 SIX 22000 10 20

@C ? 7 9 100e-9 20 20

BD-05-382-A

24.09.2002

Start sequence for component list definition of


segment 1 of "PROJECT1"
Resistance
name:
R_1
from test point:
1
to test point:
2
value:
330
tolerances:
not defined = 10%
Resistance
name:
R_2
from test point:
2
to test point:
ground (direct name)
value:
4,7 k
tolerances:
10%
Resistance
name:
R_3
from test point:
50
to test point:
SIX (direct name)
value:
22 k
tolerances:
+ 10% / - 20%
Capacitor
name:
not defined
from test point:
7
to test point:
9
value:
100 nF

adaptronic

@C "Cond_3" 5 battery 0.470e-3

@D "d1" 55 64

@Z "Z1" 32 33 3.3

@Z "Z2" 7 10 5.3 20 20

@E "LEDa" 30 31

@E "LEDb" 34 35 5.0

@X "Short1" 100 101

@U "Open1" 102 103

Test Data Description and Test Point Naming with ATX Key Words

4-7

tolerances:
+ 20% / - 20%
Electrolytic capacitor
name:
Cond_3
from test point:
5 (+)
to test point:
battery (-)(direct name)
value:
470 F
tolerance:
not defined = 10%
Diode
name:
d1
from test point:
55 (anode)
to test point:
64 (cathode)
Zener diode
name:
Z1
from test point:
32 (anode)
to test point:
33 (cathode)
Zener voltage:
3,3 V
tolerance:
not defined = 10%
Zener diode
name:
Z2
from test point:
7 (anode)
to test point:
10 (cathode)
Zener voltage:
5.3 V
tolerance:
+ 20% / -20%
LED
name:
LEDa
from test point:
30 (anode)
to test point:
31 (cathode)
voltage:
set tester voltage
LED
name:
LEDb
from test point:
34 (anode)
to test point:
35 (cathode)
voltage:
5 V (reverse voltage)
Connection
name:
Short1
from test point:
100
to test point:
101
Open circuit
name:
Open1
from test point:
102
to test point:
103
End of component list definition

24.09.2002 BD-05-382-A

4-8

Test Data Description and Test Point Naming with ATX Key Words

4.2

adaptronic

Test Point Naming File *.ndi


A specific (direct) name can be assigned to every test point of
the UUT.
The assignment is stored in a file with the extension .ndi which
is located in the directory
C:\ATG\TEDA\<projectname>\<projectname>.ndi.
Example of test point naming:

#NAME_DIRECT "PROJECT1"
@ 1
Node_1
@ 4
Point_4 ? E_99
Ground

@ 128
Battery Eyelet
!

BD-05-382-A

24.09.2002

Start sequence for test point naming of "PROJECT1"


Set start position to decimal test point 1
Direct name of test point 1 = Node_1
Set start position to decimal test point 4
Direct name of test point 4 = Point_4
5 = not defined
6 = E_99
7 = Ground
8 = not defined
9 = not defined ...
Set start position to decimal test point 128
Direct name of test point 128 = Battery
129 = Eyelet
End of test point naming

adaptronic

4-9

Complete Project Example


The following unit under test must be tested with both possible
switch positions (switch open / switch closed) during one test
run.
Topology of the unit under test:
TP 3

TP 4
330

TP 7

TP 8
TP 68

TP 67

Setting of global parameters

Test data file PROJECT1.ted:


#PARAMETER "PROJECT1"
@ VERSION "KT_621"
@ PIN_FORMAT DIRECT
@ KEEP_FAULTS OFF
@ RESULT_DOCUMENTATION_LEVEL 0
@ ERROR_LIMIT 20
@ ABORT_ALL ON
@ STOP_ON_FAULTS ON
@ PRINT_PASSED ON
@ PRINT_HEADER ON
@ PRINT_SEGMENT ON
@ PRINT_PARAMETERS ON
@ PRINT_COMP_NAME OFF
@ PRINT_VALUE OFF
@ PRINTER_INTERNAL OFF
@ GOOD_LABEL_NAME "label.gut"
@ GOOD_LABEL OFF
@ BAD_LABEL_NAME "label.bad"
@ BAD_LABEL OFF
@ HEAD_LABEL_NAME "record.lab"
@ HEAD_LABEL OFF
@ ADD_LABEL_NAME "label.gut"
@ ADD_LABEL OFF
@ RELAIS_TIME 250
@ BYTE_USED_BY_TEST 8
@ EXCLUDE_SHORT_UPPER 128
@ MONITORING OFF
@ LOOSE_CONTACT_TEST OFF
@ VISUAL_LED_TEST OFF
!

Parameters segment 1
Segment 1

4.3

Test Data Description and Test Point Naming with ATX Key Words

#PARAMETER "PROJECT1" "Segment_1"


:TEST_TYPE CONNECTION_LOW SHORT_LOW
@ SEGMENT_MESSAGE "Please set switch position 1"
@ SEG_MES_ACK ON
@ VOLTAGE_LOW 10
@ RESISTANCE_LOW 100
@ RESISTANCE_INSULATION 20000
!

24.09.2002 BD-05-382-A

4-10

adaptronic

Test Data Description and Test Point Naming with ATX Key Words

Prim list
#PRIM "PROJECT1" "Segment_1"
@ 1 2 3 5 6
7 9 10 11 12
13 14 15 16 17
18 19 20 21 22
23 24 25 26 27
28 29 30 31 32
33 34 35 36 37
38 39 40 41 42
43 44 45 46 47
48 49 50 51 52
53 54 55 56 57
58 59 60 61 62
63 64 65 66 67
68 69 70 71 72
73 74 75 76 77
78 79 80 81 82
83 84 85 86 87
88 89 90 91 92
93 94 95 96 97
98 99 100 101 102
103 104 105 106 107
108 109 110 111 112
113 114 115 116 117
118 119 120 121 122
123 124 125 126 127
128
!

#NET "PROJECT1" "Segment_1"


@-"NET_1"
3 4
!

Net list
switch open

Component list
#COMPONENT "PROJECT1" "Segment_1"
@R "R_1" 7 8 330 10 10
!

Segment 2

Parameters segment 2

BD-05-382-A

#PARAMETER "PROJECT1" "Segment_2"


:TEST_TYPE CONNECTION_LOW SHORT_LOW
@ SEGMENT_MESSAGE " Please set switch position 2"
@ SEG_MES_ACK ON
@ VOLTAGE_LOW 10
@ RESISTANCE_LOW 100
@ RESISTANCE_INSULATION 20000
!

24.09.2002

adaptronic

Test Data Description and Test Point Naming with ATX Key Words

4-11

Prim list
#PRIM "PROJECT1" "Segment_2"
@ 1 2 3 5 6
7 9 10 11 12
13 14 15 16 17
18 19 20 21 22
23 24 25 26 27
28 29 30 31 32
33 34 35 36 37
38 39 40 41 42
43 44 45 46 47
48 49 50 51 52
53 54 55 56 57
58 59 60 61 62
63 64 65 66 67
69 70 71 72 73
74 75 76 77 78
79 80 81 82 83
84 85 86 87 88
89 90 91 92 93
94 95 96 97 98
99 100 101 102 103
104 105 106 107 108
109 110 111 112 113
114 115 116 117 118
119 120 121 122 123
124 125 126 127 128
!

#NET "PROJECT1" "Segment_2"


@-"NET_1"
3 4
@-"NET_2"
67 68
!

Net list
switch closed

#COMPONENT "PROJECT1" "Segment_2"


@R "R_1" 7 8 338.783 10 10
!

Test point naming PROJECT.ndi:


#NAME_DIRECT "PROJECT1"
@ 3
"red"
"black"
@ 7
"yellow"
"blue"
@ 67
"S1"
"S2"
!

24.09.2002 BD-05-382-A

adaptronic

Commands for the Test Flow Control

Commands for Test Sequence Control

5.1

General

5-1

The following description allows the setting of test sequences in


addition to the possibilities of the programmable segment sequences in KT Edit. Checking of set conditions and easy resolution during the test run can easily be achieved.
The test sequence control uses the known commands of KT
Edit and allows additional commands and their integration into
the software.
Overview over the usable range of functions:
Test instructions
Running the whole test program or only single segments
Insertion of operator queries
General output commands
Generate displays
Labels and report printouts
Delay times
Data output on serial interface
Control commands for output signals
Set and reset of the external port outputs
Reading commands for inputs
Reading the inputs of the external port
Test the test points on connection and interruption
Control structures
Branching
Comparison
and many more.

24.09.2002 BD-05-382-A

5-2

Commands for the Test Flow Control

5.2

Syntax Rules, Editing and Storing of Commands

adaptronic

Editing
The commands mentioned above can be inserted within the
documentation text/block of commands in the section
[KT_INSTRUCTIONS]. The key word [KT_INSTRUCTIONS]
brackets included must be input by the operator.
When there are no commands in the section
[KT_INSTRUCTIONS] of the documentation text/block of commands, the standard test cycle will be executed.
As soon as there commands are present, these commands will
be executed instead of the standard test cycle.
Example of editor window with test flow commands:
#PARAMETER "KT 110_4"
: DESRIPTION ($
generated on 07/02/2002
[KT_INSTRUCTIONS]
If WaitShort 1 2 500
Test "Segment_1"
EndIf
If WaitShort 203 500
Test "Segment_2"
EndIf
$)
!
One command per line is allowed.

BD-05-382-A

24.09.2002

adaptronic

Commands for the Test Flow Control

5-3

The individual symbols (commands and parameters) have to be


separated from one another by at least one character
<SPACE> or <TAB>.
A command can be indented.
The following control characters are supported with the output
of text:
Control character
\a
\n
\r
\t

Meaning

Remarks

Alert (bell)
Newline (linefeed)
Carriage return
Horizontal tab

Beep
New line
Go to beginning of line
Tabulator (= 4
*<SPACE>)

Example
DisplayWait "Please press KT-Key 1\n or F1 "

Syntax Check
KT Edit does not check the correct syntax during input.
Faults in syntax are displayed at the tester during loading of the
test program.
In the numeric declaration of the line in which the fault appeared, the count begins at the entry [KT_INSTRUCTIONS]. If
for the line of fault "-1" is output, a fault appeared in the if interlock.
In the event of a fault, the test program will not be loaded.

Storage
When the test system stores the documentation data block, it
stores the [KT_INSTRUCTIONS] as well. In this way every test
program can contain an individual test sequence.

24.09.2002 BD-05-382-A

5-4

Commands for the Test Flow Control

5.3

Outputs, Start Button and Release Button

adaptronic

Start and Release Buttons


The external interface must be activated for support of the external port command.
Inputs E1 and E3 of the external interface (external start button
and release (abort) button) are always polled.

Outputs
Outputs A1, A2 and A3 can be programmed by setting the corresponding function for each output.
With the usage of the test flow control, the support of the outputs of the external port is blocked for automatic run with the
following exceptions:
The outputs of the external port will be activated at the
end of the test upon fault abort in accordance with the
configuration settings.
At operator abort, the outputs of the external interface
will be activated at the end of the test in accordance
with the configuration settings if the test table interface
is not switched on.
If the test table interface is switched on, Output 2 of the external
port (release signal) is always supported upon releasing the
table.

BD-05-382-A

24.09.2002

adaptronic

5.4

Commands for the Test Flow Control

5-5

Commands and Functions


One, the test or the query command must be executed during
the test run. Otherwise the test run will be ignored for the statistics and no fault message will be put out.

Test
Test Command
Syntax

Test [" SegmentName"]

Description
Run the whole test program. i.e. test all segments if no Segment name has been transferred or test segment named SegmentName.
The segment SegmentName must exist in the test program.
Parameter

Example

Parameters
SegmentName

Description
Name of the segment to be
tested (maximum 32 characters)

Test
Test "Segment_1"

24.09.2002 BD-05-382-A

5-6

adaptronic

Commands for the Test Flow Control

Query
Test Command
Syntax

Query " Instruction" FaultNumber

Description
The Query command allows queries to be shown on the display
that, depending upon the operators decision, can be accepted
as faults.
Parameter

Parameters
Instruction

FaultNumber

Description
Instruction text; the display allows up to 40 characters. Up to
32 characters are used for the
result output.
ID number of the error from the
error list catalogue (DEVICE.*).
The range 160-199 is reserved
for the user to insert customized
error descriptions. Be careful of
inserting error descriptions outside this range since they may
conflict with later expansions of
the error catalogue by adaptronic.

The Instruction text will be shown on the display of the test


system and the operator must confirm it as follows:
Key
Soft Key 3
Soft Key 4
ENTER
MENU

Example

BD-05-382-A

24.09.2002

Effect
Accept command (query) as error, enter it into
the error memory and run the subsequent tests.
Continue the tests cycle: no error
Abort test: the system asks if the test run is to
be aborted. In the case of NO the last command will be displayed.
Query "Instruction OK?" 160

adaptronic

Commands for the Test Flow Control

5-7

DisplayWait, DisplayPrint, DisplayShow, DisplayBeep


General Output Commands
Syntax

DisplayWait "Text"
DisplayPrint "Text"
DisplayShow "Text" Time
DisplayBeep

Description
This command allows an output to the display of the test system.
Parameter Parameters
Text
Time

Description
Text to be output
Display times the of text in 1/10
seconds; position 0-600 (= 0 - 60 s)

24.09.2002 BD-05-382-A

5-8

Commands for the Test Flow Control

adaptronic

Depending upon the command the output can be controlled as


follows:
Command
DisplayWait

Description
Displays the text and waits for an event; this
can be a KT key input or a signal from the
input E1 or E2 on the external control interface of the tester. The previous display output is stored intermediately and will be displayed again after having finished the command.
DisplayPrint Creates a display output without storing the
previous display content.
In case the output text requires more space
than the display has available, the display will
automatically scroll the text upwards.
DisplayShow Outputs the text and waits a certain period of
time which can be set with the parameter
Time and continues the test run after that
time. The previous display output is stored
intermediately and will be displayed again
after having finished the command.
The wait times can be shortened by pressing
a key during the display of the information.
DisplayBeep Makes the test system beep.
Example
DisplayWait "Please press\n KT key '1' or F1"
DisplayPrint "without save..."
DisplayShow "wait 5 seconds..." 50
DisplayBeep

BD-05-382-A

24.09.2002

adaptronic

Commands for the Test Flow Control

5-9

PrintLabel, PrintProt
General Output Commands
Syntax

PrintLabel" LabelFile.EXT"
PrintProt

Description
The Print... command allows data to be output to a printer.
Parameter

Parameters
LabelFile

EXT

Description
The label file to be printed.
The file itself as well as the
corresponding initialization
file LabelFile.INI must be
stored in the directory:
\GLOBAL.
File extension, preset for
initializing files is "INI". The
extension for layout files is
arbitrary (in accordance with
DOS conventions)

24.09.2002 BD-05-382-A

5-10

adaptronic

Commands for the Test Flow Control

The interfaces are stated in the .cfg file:


Command
PrintLabel

PrintProt

Example

Description
This command outputs a label file to a
printer. When necessary the label file is
loaded prior to printing, the printer is also
initialized and then the file is printed. The
option LABEL_PRINTER must be part of the
wiring tester software. The output depends
upon the menu setting.
Interface: LAB_A_PRINTER...
An error log is output to a printer.
The settings in the menu PRINTOUT
PARAMETER are observed.
Interface: PRO_PRINTER... (Log printing)

PrintLabel
PrintProt

BD-05-382-A

24.09.2002

"label.pas"

adaptronic

Commands for the Test Flow Control

5-11

Delay
General Output Command
Syntax

Delay Time

Description

Stops the test run for the period set with Time.

Parameter

Example

Parameters
Time

Description
Delay period in ms; range 065535

Delay 500

OutRS232
General Output Command
Syntax

OutRS232 Interface Instruction

Description

With the OutRS232 command, data/control


characters can be passed out through an interface.

24.09.2002 BD-05-382-A

5-12

adaptronic

Commands for the Test Flow Control

Parameter

BD-05-382-A

24.09.2002

Parameters
Interface

Description
Statement of the interface
number. The interface numbers are listed with the appropriate keywords in the
appendix. Each interface
listed in the appendix can be
used.
The establishment of the
output medium as well as, if
necessary, the interface parameters, is done in the configuration file KT.CFG.

Instruction

The output data. All characters after the interface number are interpreted as Instruction. If the data are not
limited with quotation marks,
leading or following spaces
will not be sent. Blank characters within the Instructionarea will be sent.
The output of control characters is possible by using
the syntax described in the
appendix.

adaptronic

Commands for the Test Flow Control

5-13

OutExtPort
Output Signal Control Commands
Syntax

OutExtPort Command [Address]

Description

The OutExtPort- commands control the outputs


of the external control interface.

Parameter

Parameters
Command
Address

Description
Command mode
Output address

Use Command as follows:


Command
OutExtPort

Command
SET

OutExtPort

RES

Description
The switch output Address is
set.
The switch output Address is
reset. 1)

1) If no Address is stated, all switch outputs or relays will be operated.

.
Example

OutExtPort SET 1
OutExtPort RES

24.09.2002 BD-05-382-A

5-14

adaptronic

Commands for the Test Flow Control

WaitExtPort, WaitShort, WaitOpen,


Input Query Commands
Syntax
WaitExtPort Level Address time-out
WaitShort AddressFrom""AddressTo" Timeout
WaitOpen " AddressFrom""AddressTo" Timeout
Description
The Wait... commands allow different types of input to be queried.
Input from the external control interface (WaitExtPort)
Continuities (WaitShort)
Opens (WaitOpen)
From and To test point can be stated in any available naming
format.
Parameter Parameters
Level
Address
AddressFrom
AddressTo
Timeout

Description
Level to be queried (0 or 1)
Input address; range: depends
upon hardware
To define the From test-point
To define the To test-point
Time period in ms that the system
will wait for the state "Set" or
"Continuity" or" Open"; range is 065535
With 0, the system waits until the
level to be queried is measured or
the operator aborts the process.

Example
WaitExtPort 1 1 1000
WaitShort "Test Point 1"" Test Point 11" 500
WaitOpen "OD_1-Code"" MOD_1-missing" 10000

BD-05-382-A

24.09.2002

adaptronic

Commands for the Test Flow Control

5-15

WaitInput
Input Query Commands
Syntax

WaitInput " Text" KeyWord Length Timeout

Description
With the WaitInput command, data can be read. The data are
then available for output via the KT keywords.
If the minimum number of characters is not reached, the input is
defective and the data will not be accepted. The result can be
evaluated via the control structure.
With operator abort, the test will be cancelled.
Parameter

Parameters Description
Text
Text to output (maximum 16 characters recommended)
KeyWord
Statement of KT keyword, that
data content is to be changed
Length
Minimally number of characters to
be entered
Timeout
Time period in s. During that time,
the input can repeated after a defective comparison. Range 065535
With 0, only one input is possible.

Example
WaitInput

"Serial No." SERIAL_NUMBER 1 5

WaitInput

"Operator" OPERATOR 1 5

Notes
A maximum length of 32 characters is possible. If fewer characters are possible for a command, the remaining characters
will be ignored (for example: label parameter LABEL_VAR_n
with a maximum of 20 characters).
The range is checked during the reading of numeric data. The
check can be deactivated with a configuration setting.
For input of decimal numbers, a decimal point must be used.
The range for numbers is 0-65535.

24.09.2002 BD-05-382-A

5-16

adaptronic

Commands for the Test Flow Control

Compare
Compare Function
Syntax
Compare

"Text" KeyWord CompareFlag Timeout

Description
Data can be read and compared with stored data by use of this
command. The data to be compared are set via keywords.
The result can be evaluated via the control structure.
With operator abort, the test will be cancelled.
Parameter Parameter
Text
KeyWord
CompareFlag

Timeout

BD-05-382-A

24.09.2002

Descriptions
Text to be output (maximum 16
characters recommended)
Statement of the comparison data
for the data read in via a KT keyword.
Selection of compare data:
Comparison is OK, if with
numeric data
0: the read value and the stored
value are identical
1: the read value is lower than the
stored value
2: the read value is higher than
the stored value
text data
0: the texts are identical
1: the read text is shorter than the
stored text
2: the read text is longer than the
stored text
3: the stored text includes the read
text
4: the read text includes the stored
text
(For text data, small or capital letters are not heeded at 0, 1 and 2.)
Time period in s. During that time,
the input can repeated after a defective comparison. Range is 065535
With 0 only one input is possible.

adaptronic

Commands for the Test Flow Control

5-17

Example
Compare

"Read bar code" LABEL_VAR_1 3 0

Compare

"Read bar code" TEST_OBJECT 0 0

If, Else, EndIf


Control Structures
Syntax

If Condition
Else
EndIf

Description
Using the commands If, Else, and EndIf, simple branching can
be done. When the condition is true the commands following
the If command will be processed until the next Else or EndIf.
Otherwise, the system proceeds after the next Else or Endif.
Within an If() - Else - EndIf sequence, additional If() - Else EndIf sequences are possible (maximum depth of structure:
32767).
Condition
TestPassed
TestFailed
SegTestPassed
SegTestFailed
WaitExtPort...
WaitShort...
WaitOpen...
Query..
Compare..
WaitInput..
OutRS232...

Description
Complete test without faults
Complete test with one or more faults
Test of the last tested segment passed
Test of the last tested segment with one
or more faults
If the level to be queried is actually
measured the result is true, otherwise
false
With an error the result is false, otherwise
true
With a defective comparison the result is
false, otherwise true
The result is false if the number of characters is to small
The result is false if the data output is
faulty. This result does not influence the
test result.

24.09.2002 BD-05-382-A

5-18

adaptronic

Commands for the Test Flow Control

Example
If TestPassed
OutExtPort SET 1
Else
If WaitExtPort 1 1 1000
OutExtPort SET 2
EndIf
EndIf
If Query "Connector 1 and 2\nexisting?" 155
DisplayShow "Test started" 5
Test
Else
DisplayWait "Test aborted"
EndIf
If Compare "Barcode Check" LABEL_VAR_1 0 0
DisplayShow "Comparison OK" 5
Else
DisplayShow "Comparison faulty" 5
EndIf
If WaitInput "Barcode reading" LABEL_VAR_1 1 10
DisplayShow "Barcode read" 5
Else
DisplayShow "Barcode not read" 5
EndIf

BD-05-382-A

24.09.2002

adaptronic

5.5

Commands for the Test Flow Control

5-19

Test Point Formats


The test software supports the following test-point formats:
DIRECT
Direct names
CONNECTOR
Test-point card connector
DECIMAL
Decimal counting of test points
(1, 2, 3,...)
If there is no DIRECT format, the CONNECTOR format will be
used and so on. Please refer to the chapter on test point naming in the KT Edit manual and the hardware manual for this
topic.

5.6

Additional Information for Test Flow Control


Interfaces
Interface
no.
0
1
2
3
4
5
5

Keyword

Interface

PRO_PRINTER
DOC_PRINTER
LAB_G_PRINTER
LAB_B_PRINTER
LAB_H_PRINTER
LAB_A_PRINTER
LINE_SERIAL

6
7
8

RESULT_SERIAL
SER_BCODE
EXT_MEASURE

Report printer
Documentation printer
Passed label
Failed label
Test report / batch label
4th label
Serial communication with host
computer
Result data communication
Serial barcode reader
External measurement electronics

Escape Sequences
Control character
\a
\b
\f
\n
\r

Meaning

HEX
value
7
8
C
A
D

\t
\v
\\
\^
\"

Alert (bell)
Backspace
Form feed
New line
Carriage return
Horizontal tab 9
Vertical tab
B
----

\'

--

Comment
Beep
Back key
Form feed
Line feed
Carriage return
Horizontal Tab
Vertical Tab
Backslash
Display character ^
Display character"
Display character'

24.09.2002 BD-05-382-A

5-20

adaptronic

Commands for the Test Flow Control

The characters'^',' \','"' and "' need special treatment. They must
be initialized with a backslash.
Example:
String for instruction

String at output
"command between
"\" command between double quotation double quotation
marks \""
marks"
Control Sequences
The control sequences (ASCII-characters < 20hex) are declared with the control character '^' The character following the
control character ^ will be passed out as [character]-40hex.
ASCII - table control characters:
Control character
SOH
HEX-value
1
Control sequence
A
^
Control character
LF
HEX-value
A
Control sequence
J
^
Control character DC3/XOF
F
HEX-value
13
Control sequence
S
^
Control character
FS
HEX-value
1C
Control sequence
\
^

STX
2
B

ETX
3
C

EOT
4
D

ENQ
5
E

ACK
6
F

BEL
7
G

BS
8
H

HT
9
I

VT
B
K

FF
C
L

CR
D
M

SO
E
N

SI
F
O

DLE
10
P

DC1/XON
11
Q

DC2
12
R

DC4

NAK

SYN

ETB

CAN

EM

SUB/EOF

ESC

14
T

15
U

16
V

17
W

18
X

19
Y

1A
Z

1B
[

GS
1D
]

R-S
1E
^

U.S.
1F
_

Example

BD-05-382-A

24.09.2002

^ M^J (Carriage Return linefeed: CR LF)

adaptronic

Generating and Editing of Label Layouts

6-1

Generating and Editing of Label Layouts

With the KT 110 label print option, you have the ability to activate the printout of labels manually or under software control.
Depending on the print conditions activated:
1. Passed label after test run without fault on the unit
under test,
2. Failed label after test run with fault on the unit under test or
3. Batch label, if the batch counter has reached the
defined number of units under test
will be printed automatically with the layouts assigned to the
print setup.
For test printouts or for occasional printouts the label print can
be activated manually on the KT 110.
The printout can be done on one or several printers, taking into
consideration that the printer type must be the same for passed
and failed labels. The batch label can be printed with another
printer type.

Steps to Label Printing


Several steps are necessary to do label printing. These steps
are described in the sections of this chapter.
1.

Setup of the label print in the configuration file


KT.cfg.

2.

Creation of the initialization file for the


printer used (optional).

3.

Creation of the label layout files.

4.

Operation of the label print option on the test


system (see KT 110 manual).

24.09.2002 BD-05-382-A

6-2

Generating and Editing of Label Layouts

6.2

Arranging Label Print

adaptronic

Modification of the configuration file KT.cfg


The names of the label layout files have to be assigned to the
labels to be printed in the configuration file KT.cfg. In addition,
the interfaces where the different kinds of labels should be
printed must be set.
Below and on the following page you will find an excerpt of the
configuration file and then the description of the key words and
parameters.
Excerpt of KT.cfg for the definition of the printer interfaces and
the label layout files (example):
...
/*********************************************/
/

L A B E L

P R I N T E R

/*********************************************/
/
LAB_G_PRINTER PAR 0
/

label printing for good test items

LAB_B_PRINTER CGL 1 9600 8 1 N 0x00


/

Definition of the printer


interfaces

label printing for faulty test objects

LAB_H_PRINTER NIL
/

3. additional label printing

LAB_A_PRINTER NIL
/

4. additional label printing

GOOD_LABEL_NAME label.gut
/

label description file for GOOD test items

BAD_LABEL_NAME
/

Assignment of label
layouts

label.bad

label description file for Faulty test items

HEAD_LABEL_NAME record.lab
/
label description file for 3. additional label printing
(batch)
ADD_LABEL_NAME label.xxx
/
...

BD-05-382-A

24.09.2002

label description file for 4. additional label printing

adaptronic

Generating and Editing of Label Layouts

6-3

The following allocation for the printers is valid in this example:


Keyword

Printer for

LAB_G_PRINTER

Passed label after test run without fault at the UUT

LAB_B_PRINTER

Failed label after test run with fault at the UUT

LAB_H_PRINTER

Batch label after reaching the defined number of UUTs

LAB_A_PRINTER

Label print out at test flow control

To print out the labels on the correct printers, descriptions of the


printer interfaces must be assigned to the printer keywords:
Information

Meaning

Valid parameters

NIL

No output

VID

Display on the monitor

PAR x

Output at the parallel printer


interface

x=0: LPT1

GCL com bd db sb p hs

Output at the serial printer


interface

Note following table

Interface settings for serial interface:


Parameter

Meaning

Valid values

Com

Serial interface

COM1/2 = 0/1

Bd

Data rate (baud-rate)

9600 ...

Db

No. Of data-bits

8..

Sb

Stop bit

1...

Parity

N=none, E=even, O=odd

Hs

Handshake

00=no, 10=RTS/CTS, 20=DTR/DSR,


30=RTS/CTS and DTR/DSR,
80=XON/XOFF,
B0=RTS/CTS and DTR/DSR and
XON/XOFF

24.09.2002 BD-05-382-A

6-4

adaptronic

Generating and Editing of Label Layouts

The following allocations for the label layout are valid in the example:
Keyword

6.3

Label layout file

Label type

GOOD_LABEL_NAME

Label.gut

Passed label after test run without fault on the UUT

BAD_LABEL_NAME

Label.bad

Failed label after test run with fault on the UUT

HEAD_LABEL_NAME

Record.lab

Batch label after reaching the defined number of


UUTs

ADD_LABEL_NAME

Label.xxx

Not available

Edit Printer Initialization File


(LABEL.INI / RECORD.INI)

To make a printout of a passed label or failed label on a connected printer, a printer-specific initialization file named
LABEL.INI can be generated for the printer used.
For the batch label, an initialization filed named RECORD.INI
has to be generated.
In the following the LABEL.INI is described in details. The explanations are also valid for the file RECORD.INI.
The selected printer will be prepared for printing by receiving
the data of the initialization file.
The printer-specific output commands (print macros) will be
named as well, to make the design of the output description as
clear and equipment-independent as possible.
For the beginning, end of line and form feed, three additional
predefined macros can be edited.
A maximum of 50 output commands, consisting of less than 15
characters can be entered in each layout. The characters have
to be defined by using the decimal ASCII-code or by writing the
characters between quotation marks.

Important!
The initialization file must be edited with an ASCII-editor as
a pure ASCII-file. Control characters, like those automatically inserted by word processing software, can cause a
malfunction of the tester.

BD-05-382-A

24.09.2002

adaptronic

Generating and Editing of Label Layouts

6-5

Syntax of the Initialization File


Each line of the initialization file must start with one of the following characters:
Sign

Description

Default

Comment

C, K or I

Initialization order

D, M or V

Print macro definition

Start of line macro (max. 20 signs)

End of line macro (max. 20 signs)

Form feed (max. 20 signs)

LF/CR

Examples

Example 1:
Comment
# Initialization file for printer xy

# is the start character for a comment line, the


comment is following.

Example 2:
Initialization line for vertical positioning of the printout at
printer Bluhm ST140i
C "/" "H" "0" "1" "4" "0"

C is the start character for a initialization order.

The characters between the quotation marks are


the printer specific control sequences for the positioning of the print out.

Example 3:
Instruction line for vertical bold print at the printer Bluhm
ST140i
D bold_vert

"/" "F" "0" "2"

D is the start character for a macro definition.

Bold_vert is the macro name.

The characters between the quotation marks are


the printer specific control sequences for the
change to vertical bold print.

24.09.2002 BD-05-382-A

6-6

Generating and Editing of Label Layouts

adaptronic

Example 4:
Instruction line for form feed at the printer Bluhm ST140i
F "/" "W" "0" "0" "0" "1"

6.4

F is the start character for the form feed macro.

The characters between the quotation marks are


the printer specific control sequences for the form
feed.

Edit Label Layout File


Each label layout must be defined in its own file. The assignment of a label layout to a print condition (after passed test,
after failed test,...) is done in the configuration file KT.cfg in
the system. Please see Section 3, Label Print setup.
The actual appearance of the label will be defined in a layout
file. For this, the following description elements can be used:
Constants, for example for the output of fixed texts.
Printing macros, defined in the initialization file. The
printing macros will be activated by their names delimited with '{','}'.
Program variables, delimited with '[',']'.
For printing macros and program functions, there is the
ability to assign a multiplication factor inside the brackets limiting the name. For this multiplication the character '*' must be used.
The content of the program variables can be formatted
as follows:
By entering the first character to be inserted (in
brackets, following the variable name and separated
with comma),
and following, separated with comma, too,
the desired length of the variable content.
To set a length requires the setting of the first character to be inserted.

Attention!
The maximum length of a line without LF/CR: 254
characters.
The layout file may not be greater than 64 kB.

BD-05-382-A

24.09.2002

adaptronic

Generating and Editing of Label Layouts

6-7

Important!
The initialization file must be edited with an ASCII-editor as
a pure ASCII-file. Control characters, like those automatically inserted by word processing software, can cause a
malfunction of the tester.

Layout File Syntax

The following syntax must be used in the layout file for printing
macros, program variables and program functions:
Printing macros: {Factor * Name}
A defined printing macro will be called on via the macro name
assigned in the printer initialization file.
The printing macro call is delimited with {...}.
To repeat the macro several times, for example, to repeat several line feeds, a multiplication factor can be used. To carry out
the macro only one time, the factor 1 need not be entered.
Example:
Macrodefinition in the initialization file: C linefeed 10
{5*linefeed}= carrying out a linefeed 5 times
Program variables : [Name,from,length]
The content of a system internal defined program variable will
be printed out.
The call on for printout is delimited with [...].
The printout of a variable can be formatted. There is the ability
to start the printout at a defined position of the variable with a
defined length. The variable will be cut then or filled with
spaces.
Example:
[LABEL_VAR_1,2,4]
|
|
|

|
give out 4 characters beginning with 2. position
give out variable LABEL_VAR_1

The supported program variables are listed in the appendix.

24.09.2002 BD-05-382-A

6-8

adaptronic

Generating and Editing of Label Layouts

Program functions : < Name>


Example:
<i>

printout of the local variable

Constants
Constants can be inserted into the label layout. If one label layout is used in several test programs, the constant will be print
out independent from the test program.

The Label Variables (-Parameters)


Label Variables are variables in the label layout, which are set
in the corresponding test program. It may be regarded as a test
program specific constant.
In this manner a single label layout can be used in several test
programs with, for example, changing product name on the label, if the product names are stored as label variables in the
corresponding test programs.
20 label variables are available for editing in total.
Syntax in the label layout file:
LABEL_VAR_x

x=1-20

The test program specific load with character strings can be


done menu guided at the test system. Please note section
2.2.3, Menu Item Label Parameters.

BD-05-382-A

24.09.2002

adaptronic

Generating and Editing of Label Layouts

6-9

The Program Variables


The program variables are variables, whose values are test
program specific.
Possible test data:
Keyword / Variable

Description

TEST_OBJECT

Description of UUT

SERIAL_NUMBER

Serial number

LOT

Lot

DATE

Date

TIME

Time

OPERATOR

Operators name

Examples

Example 1:
Label via Eltron TLP 2742 printer

Layout File

Description

A16,32,0,2,2,2,R,"FF"

Inverse output of the


string -FF-

A64,32,0,4,1,1,N,"geprft"

Normal output of the


string -tested-

A16,72,0,4,1,1,N,"[DATE]"

Normal output of the


variable system date

A16,100,0,4,1,1,N,"G [TEST_OBJECT,1,8]"

Normal output of the


string -G-, followed by
the content of the variable TEST_OBJECT,
starting with the first sign
and a length of 8 signs.

In this example it can be seen that the positioning of the printout


is realized directly with the printer-specific control sequences
and not via a printing macro defined in the printer initialization
file.
Syntax:
Ap1,p2,p3,p4,p5,p6,p7,"Data"

24.09.2002 BD-05-382-A

6-10

adaptronic

Generating and Editing of Label Layouts

BD-05-382-A

24.09.2002

Parameter

Description

ASCII Text

P1

Horizontal start position (X) in dots

P2

Vertical start position (Y) in dots

P3

Rotation (0= no rotation, 1=90, 2=180, 3=270)

P4

Font selection (corresponding to the printer manual)

P5

Multiplication factor for enlargement of the character width (1


to 8)

P6

Multiplication factor for enlargement of the character height


(1 to 8)

P7

N = normal, R= inverse display

"Data"

Data for output

adaptronic

Generating and Editing of Label Layouts

6-11

Initialization file for an ELTRON TLP 2742 label printer:


The initialization file shown is needed for the label print, although there is no printing macro used in the label layout file.
The test system takes out the control sequences for the printer
initialization and the form feed out of the initialization file.

#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
I
#
I
#
I
#
I
#
I
#
I
#
I
#
I
#
#
#
I
#
#
#
#
#
F
#
E

Initialization file for label printer: Eltron TLP 2742


============================================================
adaptronic fs / 14.06.00
Interface specification:
==========================
Serial Port
9600 baud
no parity
1 Stop bit
1 Start bit
8 Data bits
X-ON/X-OFF mode
Software handshake receive + control
Hardware handshake no
Parallel Port:

Standard PAR 0

Forster => KT.CFG / LABEL_GUT_PRINTER => PAR 0


Printer control:
==================
Printer initialization / clear memory (always at the start)
10
Initialization of printer
"D" 10
Printer Mode: Thermo-Transfer
"N" 10
Clear memory
"D" "7" 10
Print intensity
"S" "2" 10
Printing speed
"Z" "B" 10
Printing direction
"Q" "1" "5" "2" "," "0" "2" "4" 10
Label height in dots, distance between two labels in dots
"q" "2" "0" "0" 10
Printing width
I "R" "2" "0" "0" "," "0" 10
Reference point x,y direction in dots
"I" "8" "," "1" "," "0" "4" "9" 10
Code Page, Country Code

Form feed
"P" "1" 10
CR / LF
10

Initialization of
the printer

Definition of the control sequences


for form feed and carriage return
linefeed

24.09.2002 BD-05-382-A

6-12

adaptronic

Generating and Editing of Label Layouts

Example 2:
Label with printer Bluhm ST140i
Label:

adaptronic
UUT 1
Karl Maier
Doerlesberg-Ernsthof
D-97877 Wertheim
Germany
Tel 09345/930-0
Fax 09345/930100
03.11.2000

Layout file:
{start_pos}{dopp_breit_drei_hoch}adaptronic {standard}
constant text

BD-05-382-A

24.09.2002

[LABEL_VAR_1]

program variable

[OPERATOR]

program variable

Doerlesberg-Ernsthof

constant text

D-97877 Wertheim

constant text

Germany

constant text

Tel 09345/930-0

constant text

Fax 09345/930100

constant text

[DATE]

program variable

{upc_a}[LABEL_VAR_1,1,10]

program variable

adaptronic

Generating and Editing of Label Layouts

6-13

Initialization file for Bluhm ST140i label printer:


#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
C
#
#
D
#
#
D
#
D
#
D
#
D
#
#
D
#
D
#
D
#
D
#
D
#

Initialization file for label printer Bluhm ST140i


Information for the operation
Interface

: KT
92
3
3
2
5
7
8
5
7
4
(6-8-20)

(25-)
RXD
TXD
S-GND
CTS
RTS

pin
2
3
5
7
8

Printer 9-pol.
TXD
RXD
S-GND
RTS
CTS

Printing positioning
/Exxxxyyyy
x/y number of dots horizontal/vertical
Rotation of characters
/R0
Rotation clockwise 0
/R1
Rotation clockwise 90
/R2
Rotation clockwise 180
/R3
Rotation clockwise 270
Character sets
/F00
Micro characters
/F01
Standard characters
/F02
Vertical bold print
/F03
Double height
/F04
Triple height
/F05
Horizontal bold print
/F06
Double width
/F07
Double width/height
/F08
Double width/triple height
/F09
Double height/horizontal bold print
Bar code
/B0hhnn..
EAN 13 12 figures
/B1hhnn..
EAN 8
7 figures
/B2hhnn..
UPC-A 11 place
/B3hhnn..
Code39 (Start *, Stop *)
/B4hhnn..
2/5 Interleaved (Start >, Stop <)
Line graphics
/Lrlllls
r= line direction
Interline value
/Xnn
Vertical print positioning
"/" "H" "0" "1" "4" "0"
Printing start position
start_pos
"/" "E" "0" "0" "0" "0" "0" "0" "3" "5"
Rotation
dreh_0
Rotation
dreh_1
Rotation
dreh_2
Rotation
dreh_3

clockwise 0
"/" "R" "0"
clockwise 90
"/" "R" "1"
clockwise 180
"/" "R" "2"
clockwise 270
"/" "R" "3"

Micro character
micro
"/" "F" "0"
Standard character
standard
"/" "F" "0"
Vertical bold print
fett_vert
"/" "F" "0"
double height
dopp_hoch
"/" "F" "0"
Triple height
drei_hoch
"/" "F" "0"
Horizontal bold print

"0"
"1"

Printing macro for standard character size

"2"
"3"
"4"

24.09.2002 BD-05-382-A

6-14

adaptronic

Generating and Editing of Label Layouts

D
#
D
#
D
#
D
#
D
#
#
#
D
#
D
#
D
#
D
#
D
#
#
F

BD-05-382-A

24.09.2002

fett_hor
"/" "F" "0" "5"
Double width
dopp_breit
"/" "F" "0" "6"
double width/height
dopp_breit_hoch
"/" "F" "0" "7"
Double width/tiple height
dopp_breit_drei_hoch"/" "F" "0" "8"
Double height/horizontal bold print
dopp_hoch_fett_hor "/" "F" "0" "9"
Bar code 35*0,35
EAN 13
ean_13
"/"
EAN 8
ean_8
"/"
UPC-A
upc_a
"/"
Code 39
code_39
"/"
2/5 interleaved
2_aus_5
"/"

Printing macro for enlarged characters

mm height
"B" "0" "3" "5"
"B" "1" "3" "5"
"B" "2" "3" "5"
"B" "3" "3" "5"
"B" "4" "3" "5"

Form feed:
"/" "W" "0" "0" "0" "1"

Printing macro for used


bar code

adaptronic

Configuration entries in KT.CFG file

Configuration entries in KT.CFG file

7.1

Configuration file

7-1

Basic settings for the KT-Software can be adjusted by the user


in the KT.CFG configuration file with the help of key words. In
this chapter, the key words and their possible settings are described.
Format:

ASCII (ATX Data format)

Directory:

DEVICE directory

File name:

KT

Extension:

.CFG

Contents:

Configuration data for KT-SW

Changes to this configuration file can be made in the File


transfer" directory.
The configuration file KT.CFG is in the equipment directory
(DEVICE-directory).
Entries are line-oriented, that means only one entry is contained
in each line. The line must be closed with (CR-) LF (CR = Carriage Return, LF = Linefeed).
Numbers (as well as addresses) can be input as decimal as
well as hexadecimal: 16 or 0x10
Entries:
/
Note:

Line is a commentary

With numerical values, a leading 0 stands for an Octal value


(010 = 8 decimal), a leading 0' followed by an x' or X' for a
hexadecimal value (0x10 = 16 decimal).

24.09.2002 BD-05-382-A

7-2

7.2

7.3

Information about system configuration


M_10

ON/OFF

M10 Measurement electronics available

NET_TEST

ON/OFF

Net continuity test

LINK_TEST

ON/OFF

LINK test

LOOSE_CONTACT

ON/OFF

Shake test (default: OFF)

LABEL_PRINT

ON/OFF

Label printer (default: OFF)

MATRIX_SIZE

nn

Number ot test points


(same as Matrix info.)

(Byte

in

matrix)

in

the

tester

KT110

Possibility to assign a device name (max. 8 characters)


Character set: Underscore (not the first character), capital letters, number;
Will be displayed in the tester display during learn and test operations.

System Configuration
RES_FIRST_LEARN

7.5

Device names
DEVICE

7.4

adaptronic

Configuration entries in KT.CFG file

nn

Lowest level for the first learn cycle

Interface assignment (see Interface configuration)

Report printer
PRINTOUT_HEADER

Header for report output (max. 80 characters)

PRINTOUT_DATE

Format for Data output in print report: D - Day, M - Month, Y Year


EUROPE_NUM=TT.MM.JJ AMERICAN_NUM=MM:TT:JJ

PRO_PRINTER
PRINT_FAULT_LF

nn
OFF
ON

Interface for internal report printer


Default
Linefeed between each fault with fault printout.

LINEFEED_COUNT

nn

Number of linefeeds after printout. (default: 2)

L_MARGIN

nn

Input of the width of the left margin in spaces (default: 0)

PRINT_S
PRINT_E

BD-05-382-A

24.09.2002

30-position text field for the output of a printer sequence at print start (default: no entry)
30-position text field for the output of a printer sequence at print end (default: no entry)

adaptronic

Configuration entries in KT.CFG file

7-3

ASCII -Table control characters


Control character
HEX-value
Control sequence ^
Control character
HEX-value
Control sequence ^

NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT


0
1
2
3
4
5
6
7
8
9
A
B
@
A
B
C
D
E
F
G
H
I
J
K
DLE DC1/ DC2 DC3/ DC4 NAK SYN ETB CAN EM SUB/ ESC
XON
XOF
EOF
F
10
11
12
13
14
15
16
17
18
19
1A 1B
P
Q
R
S
T
U
V
W
X
Y
Z
[

FF
C
L
FS

CR
D
M
GS

SO
E
N
RS

SI
F
O
US

1C
\

1D
]

1E
^

1F
_

P_OPERATOR

15-position text field for the output of the operator

P_LOT

15-position text field for the output of the batch

P_SER_NO

15-position text field for the output of the serial number

Label printer
LAB_G_PRINTER

nn

interface for label printer: GOOD - UUT

LAB_B_PRINTER

nn

interface for label printer: BAD - UUT

LAB_H_PRINTER

nn

interface for label printer: test report/batch label/3. label

LAB_A_PRINTER

nn

interface for label printer: 4. label

GOOD_LABEL_NAME

Name of the file that describes the good label (label.gut)

BAD_LABEL_NAME

Name of the file that describes the bad label (label.bad)

HEAD_LABEL_NAME

Name of the file that describes the 3rd label (record.lab)

ADD_LABEL_NAME

Name of the file that describes the 4th label (label.gut)

Serial barcode
SER_BCODE

nn

interface for a serial reader (ser. barcode reader,..)

24.09.2002 BD-05-382-A

7-4

7.6

Configuration entries in KT.CFG file

adaptronic

Configuration

SUPERCODE

Password for Supervisor (default: "1111", max. 8 characters)

SUPERCODE_ENTRY

OFF
ON

USER_MODE
TEST
PROGRAM
SERVICE
MAX_OPE_ENTRY
OPERATOR_START_MENU

nn
OFF
ON

only display in any case no access possible


If permission is not given for a specific menu, the supervisor password will
be requested. The access level will be taken over.
Operator level at which the system will start.
Only test and load possible.
Access to all functions except operator input, CFG parameter printing and
dwell-time changes on systems with relays.
All functions except operator input
Maximum number of entries in the operator list (default: 25)
No query
Operator queried after program start

MAX_DIR_ENTRY

nn

Maximum number of entries possible in the load/save selection list. (default: 200, max. 850 without DOS extender)

COMPTAB_SIZE

nn

Maximum size of a component list in components (default: 100)

CHARGE_NUMBER

nn

Preset for the count in a batch (default: 0). The batch count will be set to
this number after program load, otherwise to zero. The batch counter will
be set to zero. If a value for CHARGE_NUMBER is input, the menus for
batch count and batch counter will be protected with the local valid supervisor password.

ASK_L_CHARGE_Q

OFF
ON

Delete batch count at load/learn


Request the batch count after loading UUT, in case CHARGE_NUMBER
0. If no input occurs or if input is interrupted, the program will be cleared
from memory. The batch count will be set to 0.

nn

Maximum size of the error list (default: 200, max. 1900). The maximum
value for the error abort will be automatically set.

Faults, Statistics
F_TABSIZE
CANCEL_STAT

BD-05-382-A

24.09.2002

OFF
ON

Entries in the error statistics will always be made.


At operator abort, no entry will be made in the error statistics

adaptronic

7.7

Configuration entries in KT.CFG file

7-5

Testing, Learning und Diagnostics


SET_PRIM

OFF
ON
AUTO

Set PRIM in case PRIM test types is activated and the number of nets,
links or components > 0
Set PRIM in case PRIM test types: SHORT_LOW, HIGH_VOLTAGE
or BREAKDOWN activated (default)
As with ON, but only if the number of components > 0, do not set
PRIM.

SPEC_PRIM_CHECK

OFF
ON

Only component to-points will be deleted in the PRIM.


Consider all component test points in short-circuit test (default)

COMPONENT_SHORT

OFF
ON

A short-circuit test will be made only with the from-test points. (default)
Additional short-circuit test with to-point of components.

S_NO_POS

DEF_SEG_NAME

nn

Entry of the last character of the serial number that is to be incremented (default: 0, Serial number will be incremented, when the 1st
character is a number)

SEGMENT_

Assignment of the segment names: SEGMENT_ -> SEGMENT_1 ...


SEGMENT_n

SEG1_DISP

OFF
ON

1. Do not display segment in switch position test


1. Display segment in switch position test (default)

SEG_AUTO_START

OFF
ON

Default
During switch test, each switch position, other than the first, will be
automatically started after a specific time. The information in the segment parameters is effective.

SEG_AUTO_TIME

nn

Time in 100ms, after which the test will be automatically started (default: 10)

SEG_DELAY_TIME

nn

Additional dwell time in ms after the test start in segment


SEG_DELAY_NO (default: 0, range: 0 - 60000)

SEG_DELAY_NO

nn

Segment number with additional dwell time (default: 0, Segments: 1 60000)

OFF

Short circuit test in only with guided assembly, in case of test type
SHORT_LOW
Guided assembly always with short circuit test (default)

MON_SHORT

ON
SCROLL_TESTPOINT

OFF
ON

default: no scroll
Scroll through the test points in a net during an error display in test.
The number of test points must be greater than 2 (for a short circuit the
sum of both nets).

O_REMEAS

OFF
ON

Default
Recheck in NV area with open in standard test. A retest will automatically occur if the fault is repaired.

S_REMEAS

OFF
ON

Default
Recheck in NV area with short circuit in standard test. If the fault is
repaired and the connector plugged in (can only be checked with UUTspecific or tester-specific module support), a retest will be done.

MISWIRE

OFF
ON

Default: no miswire test


Miswire test on

VIS_LED_TIME
LOOSE_CONTACT_ON

nn
OFF
ON

Time in ms after which the test will automatically be continued after a


fault in visual LED test. (Default: 0=no time evaluation)
Default: Shake test can be turned on in menu.
Option Shake test turned on, no menu support

24.09.2002 BD-05-382-A

7-6

adaptronic

Configuration entries in KT.CFG file

LCONTACT_DISP

OFF
ON

LCONTACT_FAST

OFF
ON
AUTO

Default
Switch between module display and subsequent test in shake test.
Default
Module display and beep not supported in shake test.
Module display not supported in shake test. A beep will sound after a
connection is found.

PIN No.
PINNO_BEEP

OFF
ON
AUTO

Default: No signal output after contacting the pin no.


Signal output via the CPU speaker
Signal output to switch output 2/3, if set to BEEP.

Test Table Support


ATI_TIME

ATI_RELEASE_STD

BD-05-382-A

24.09.2002

nn

On-time for switch output 1 after recognition of input signal 2. Switch output 1 will be reset prior to setting switch output 2. (default. 0, no reset of
switch output 2 prior to switching switch output 1)

ON
OFF

Default
After a defective test, no automatic release of the UUT will occur (only for
setting RETEST_TYPE SEGMENT, with ALL release will only occur with
GOOD)

adaptronic

Configuration entries in KT.CFG file

7-7

External port
L_END_SIGNAL

OFF
ON

EXT_PORT_1
TEST_GOOD
SEGM_FAULT
EXT_PORT_2
EXT_PORT_3
Entry
OPEN

Default
Energize switch output 2 after learn (EXT_PORT_2_TIME is relevant)
Switch output 1 external interface (RELAIS_TIME)
Energize switch output after each good test (default)
Energize switch output after each defective segment.
Switch output 2 external interface
Switch output 3 external interface
Comment
Switch output 3 will not be activated
Switch output 2 fault end and abort (default) (RELAIS_TIME)
Switch output is briefly activated with each error (EXT_PORT_x_TIME,
default for switch output 3)
Switch output activated after the start of a segment and after test end/learn
end (EXT_PORT_x_TIME)
Switch output shows learn/test in progress
Switch output shows learn/test is not possible (inverted BUSY-Signal)
(L_END_SIGNAL is not supported)
Switch output is briefly activated after each test (RELAIS_TIME)
Switch
output
activated
after
each
segment
good
test.
(EXT_PORT_x_TIME)
Activate switch output after each segment. (EXT_PORT_x_TIME)
Switch output shows that a segment learn/test is in progress.
Switch output for segment test
Switch output shows that segment EXT_PORT_x_SEGM tested good
Switch output shows that everything up to segment EXT_PORT_x_SEGM
tested good.

BEEP
SEGMENT
BUSY
IBUSY
TEST_END
SEGMENT_GOOD
SEGMENT_END
SEGMENT_BUSY
Option: SW020
SEGM_X_GOOD
SEGM_TX_GOOD
EXT_PORT_2_SEGM
EXT_PORT_3_SEGM

nn
nn

Segment input External port x (default: 0)


Polled with SEGM_X_GOOD, SEGM_TX_GOOD

EXT_PORT_2_TIME
EXT_PORT_3_TIME

nn
nn

Impulse time for External port x separately selectable (default. 150 ms)
Polled during test by: see Table EXT_PORT_x

24.09.2002 BD-05-382-A

7-8

7.8

Configuration entries in KT.CFG file

Loading and Saving


CHECK_PARAMETER

OFF
ON

No transfer of parameters
Default: A parameter check is done when loading (Checks the limits). (In
the case of an error, the default value actually the nearest value will be
used). This entry occurs only on special situations (Arburg) otherwise it is
not documented.

KEEP_DIRNAME

OFF
ON

Default: Delete direct names prior to loading a test program.


direct Names are not deleted from memory.

CHECK_DIRNAME

OFF
ON

No checking of the test point naming.


Default: The correct test point naming in the nets and Prim lists is checked.

OFF
ON

With automatic Prim generation (TMS) then


Points that do not belong the nets (single points) will be set (default).
The first points in nets to Prim points

STORE_ATX_PRIM

OFF
ON

Default
After loading to test, save automatically created PRIMs

SAVE_WITH_NAMES

OFF
ON

Default
With this flag is enabled the saving of current test point names in nets and
Prims as well. Saving and loading take longer, but it is easier to work with
the data with other programs (like TMS).

OFF

default: no language change with error list.

EXCLUSIVE_PRIM

7.9

adaptronic

Languages
DEVICE_CAT_ADJUST

BD-05-382-A

24.09.2002

adaptronic

Configuration entries in the USER.CFG file

8-1

Configuration entries in the USER.CFG file


All configuration entries that can be set via the menus on the
KT 110 are stored in the USER.CFG file.
Changes can also be made with the KT Edit function "File
Transfer".
AUTO_LOAD

OFF
ON

default
Automatic loading of the last test program at program start.

OFF
ON

Control of the JIT-test: prior to the test a display appears for


input of the UUT. Note: relevant entry in USER.CFG
default: No JIT-test
Prior to each test the name of the UUT will be requested and
the test program loaded.
automatic start after loading the UUT

JIT_TEST

AUTO
RETEST_TYPE

ALL
SEGMEN
T

The complete UUT will be tested at retest (default).


The same segment will be retested.

ASK_RETEST

OFF
ON

default: No request for a retest.


Request for a retest switched on. When no stop on fault is
switched on a RETEST-request can occur.

SEG1_RETEST

OFF
ON

default: no automatic retest of segment 1


automatic retest of segment 1 after a defective test run.

INC_SERIALNUMBER

OFF
ON

Serial number will not be counted up


Serial number will automatically be counted up after each test
(default)
Serial number will automatically be counted up after each good
test.

AUTO
ASK_SERIALNUMBER

ASK_L_SERIALNO

OFF
ON
AUTO
OFF
ON
AUTO
AUTO2

No automatic serial number check (default)


Serial number check after test start
Serial number check before test start
Default: Serial number delete at learn/load
Serial number delete at learn/load, After the UUT is loaded, if
there is no response or if the response is interrupted, the memory will be cleared.
Do not delete Serial number at learn/load
Serial number delete at learn/load, take from statistic file after
load.

ASK_L_OPERATOR

OFF
ON

Default
Check with operator which UUT to load. If there is no response
or if the response is interrupted, the memory will be cleared.

ASK_L_CHARGE

OFF
ON

Default: batch delete at learn/load


batch delete at learn/load. After the UUT is loaded, if there is no
response or if the response is interrupted, the memory will be
cleared.
Do not delete batch at learn/load
batch delete at learn/load, take from statistic file after load

AUTO
AUTO2

24.09.2002 BD-05-382-A

8-2

adaptronic

Configuration entries in the USER.CFG file

ASK_L_SERIALNO

OFF
ON
AUTO
AUTO2

Default: Serial number delete at learn/load


Serial number delete at learn/load, After the UUT is loaded, if there is no
response or if the response is interrupted, the memory will be cleared.
Do not delete Serial number at learn/load
Serial number delete at learn/load, take from statistic file after load.

MONITORING_TYPE
SHORT
NORMAL
SHORT_COMPLETE
NORMAL_COMPLETE
SHORT_COMP_LINE
NORMAL_COMP_LINE
MON_OPEN_BEEP

OFF
ON

TEST_START

REMOVE_OBJ

OFF
ON
AUTO
AUTO2
OFF
ON
AUTO

Type of guided assembly


Principally an overview function: The continuity test is stopped
after the first error, no opens are displayed. The subsequent
short test shows the errors.
The continuity test is stopped after the first error and the opens
are displayed. The subsequent short test shows the errors.
The continuity test is fully run. In the subsequent short test all
points are checked that do not belong to the nets. Any errors
found are then displayed. The opens are not displayed.
Like SHORT_COMPLETE but with display of the first open.
Like SHORT_COMPLETE but the sequence information is
noted. That means that no error checking is done so that the
guided assembly goes more quickly.
Like SHORT_COMP_LINE but with display of the opens.

Default: During continuity test in guided assembly, no beep will be output


in the case of an error. In the short circuit test, each error will be marked
by a beep.
After the repair of an open during guided assembly a beep will be output,
otherwise not.
default: no automatic test start
automatic test start
automatic test start with guided assembly turned on
automatic test start with guided assembly turned on, without end test.
No removal test (default)
Check to see if UUT removed at end of test. If the check is interrupted,
no good label will be printed. The good test signal will be output prior to
the removal test. (Function not supported at Siemens)
As with ON, but good label output prior to good test signal.

F_POINT

nn

From point for test start check (default: 0, TP: 1,...)

T_POINT

nn

To point for test start check (default: 0, TP: 1,...)

PRINT_STOP

OFF
ON

SHOW_TIME

nn

ATI_TABLE

OFF
ON

FX_NUMBER

BD-05-382-A

nn

default: no display with connected printer


Display prior to printing to connected printer
Dwell time (display time) for messages in 100 ms (default: 10)
Default
Support for ATI tables. The dwell time for switch output 2 can be entered
in the menu. Switch output 2 will be activated in the case of error/abort.
Programming the FX keys

Function
Operator

Code
0

Serial number

Batch
Report format
Low voltage parameter
Matrix diagnostics

2
3
4
5

24.09.2002

Function
Connector diagnostics
Measurement electronics diagnostics
Multimeter
Load
Store
Mini-statistic

Code
6

Function

Segment information

13

8
9
10
11

Label print
Operator control
Printer on/off

14
15
16
17

Code
12

adaptronic

Configuration entries in the USER.CFG file

LANGUAGE
CZ
DAN
ENG
ESP
FRA
GER
HUN
ITA
JPN
POL
...

8-3

Language with which the test system is to start.-> Extension of the language file.
- Czech
- Danish
- English (default)
- Spanish
- French
- German
- Hungarian
- Italian
- Japanese
- Polish

24.09.2002 BD-05-382-A

adaptronic

Addendum

Addendum

9.1

File system on the KT 110

9-1

System files

The path that contains all the device information is in


C:\DEVICE on the KT 110. (DEVICE directory)

General files
The path that contains all the general information is in
C:\GLOBAL on the KT 110. (GENERAL directory).

Test data
The path that represents the test directory is C:\TEDA on the
KT 110. (TEDA directory).

24.09.2002 BD-05-382-A

9-2

9.2

adaptronic

Addendum

Directory structure
Drive
C:\

C:\

Directory
DEVICE\

GLOBAL

Files
KATE.BIN
KT.CFG
USER.CFG
KATE.GER
..
KATE.DAT
DEVICE.GER
..
OPERATOR.DAT
LABEL.GUT
LABEL.BAD
LABEL.INI

C:\
C:\

BD-05-382-A

TEDA\
TEDA\TEST\

24.09.2002

TEST.TED
TEST.NDI
TEST.DOC

Comments
Program
Configuration file
Operator configuration file
German menu texts
.. further language-dependent menu
texts
Back up file when AUTO_LOAD ON
German error list
..further language-dependent error list
Operator file
Good label
Error label
Printer initialization file for Layout files
LABEL.*
Program directories
Test data
Direct naming
Documentation file / test flow control

adaptronic

9.3

Addendum

9-3

Card-reader (Option)
KT Edit supports terminals for smart cards to directly prepare
test jobs at the PC.
The smart card reader can be connected to an available serial
port on the PC.
If You have acquired a smart card terminal from adaptronic, be
sure to run SETUPTWK.EXE in the KTEdit\SmartDrive program
directory (this is usually c:\program files\adaptronic
GmbH\KTEdit\SmartDrive).
This will install the necessary drivers for the smart drive.
Shut down the PC, connect the smart drive and reboot the
system to recognize the smart drive.
The recognized smart card reader will be shown in the
"Serial Port Devices" window after startup.
Jobs can be moved and edited from this card reader the same
way as with the KT 110.
Although some smart card readers have a feed-through connector for the serial port, usage of the same serial port for both
card reader and KT 110 is not supported.
We recommend preparing jobs on the PC side and then copy
the necessary jobs to the smart card. Due to slow card access,
Saving modified jobs can take up to a minute and more on a
large size card.

24.09.2002 BD-05-382-A

9-4

9.4

adaptronic

Addendum

Interface cable PC - KT 110


A cable to connect a PC with a KT 110 is included in the KT
Edit software package.
For additional connections to additional KT 110s a null-modem
cable with the following layout is needed (one per each K
T110).
PC
(9 pin D-SUB)
Screen
2 RXD
3 TXD
5 GND
7 RTS
8 CTS

PC
(25 pin D-SUB)
Screen
2 TXD
3 RXD
7 GND
4 RTS
5 CTS

BD-05-382-A

24.09.2002

KT 110
(9 pin D-SUB)
Screen
2
3
5
7
8

KT 110
(9 pin D-SUB)
Screen
2
3
5
7
8

adaptronic

9.5

Addendum

9-5

Key Words for Label Printing


The following table lists all key words that can be used for label
printing:
Standard input

Key word

Comment
Date

A,M

DATE

Date:

A,M
A
A
A

TIME
C_WEEK
Y_DAY
W_DAY

dd.mm.yyyy (Europe: day.month.year)


mm/dd/yyyy (USA: month/day/year)
Time: hh:mm:ss (hours:minutes:seconds)
Calendar week
Day of year: January 1st = 1
Week day: Monday = 1

General Input
PRINTOUT_HEADER
Header with log printout
OPERATOR
Operator
General input to the test program
TEST_OBJECT
Test program name
Test program specific input
SERIAL_NUMBER
Serial number
LOT
Lot
LOT_COUNTER
Lot size
LABEL_VAR_1
Free label parameter 1
...
LABEL_VAR_20
Free label parameter 20
LABEL_VAR_21
Label parameter 21 (used program specific)
...
LABEL_VAR_40
Label parameter 40 (used program specific)
Input to the test program contents
NET_NUMBER
Number of nets
Test parameters low voltage test
VOLTAGE_LOW
Low voltage [V]
RESISTANCE_LOW
Lower limit [Ohms]
RESISTANCE_INSULATION
Upper limit [Ohms]
TIME_LOW_VOLTAGE
Time factor (not KT 6)
Statistical input
TST_FAULT
Number of faults in test
TOTAL_ABS
Total number of test samples
TGOOD_ABS
Number of passed test objects and passed test objects with retest
GOOD_ABS
Number of passed test objects
RGOOD_ABS
Number of passed test objects with retest
FAULT_ABS
Number of failed test objects
TGOOD_REL
Relative number of passed test objects and passed test objects with
retest in %
GOOD_REL
Relative number of passed test objects in %
RGOOD_REL
Relative number of passed test objects with retest in %
FAULT_REL
Relative number of failed test objects in %

C
M
M, T
M
M
M
M, T
M, T
A
A
A
M, T
M, T
M, T
M, T
A
A
A
A
A
A
A
A
A
A

*
A
C
E
M
T

The date format is set in the configuration file


Data generated automatically
Configuration file entry
DOS environment variable or default value
Input via menu
Test data, input in TMS

24.09.2002 BD-05-382-A

Das könnte Ihnen auch gefallen