beautypg.com

AMETEK 1746 LDT Interface Card User Manual

Page 20

background image

Chapter 4: Application Examples

Installation & Programming Manual

16

When the LDT configuration data has been acknowledged for LDT 1, the program will copy

the configuration data for LDT 2 into the output image table. The speed of wire is defined as

9.272µs/inch. The counts will be increasing from the LDT head. There is one recirculation in the

LDT and the LDT length is 24.0 inches. This will continue until the command is acknowledged

by the 1746L LDT Interface Module.

N9:0

Copy File

Source #N7:10

Dest #O:1.0

Length 8

Move

Source 2

2<

Dest N:9.0

0<

MOV

SET THE STATE FLAG TO CONFIGURE LDT 1

0002

COP

0003

Config Bit Set

0

0

N9:0

LDT 1 Config Bit Set

DIRECTION, RECIRCULATIONS AND THE LDT LENGTH

Ack Bit Cleared

I:1

15

OTHER

U

Clear Program Bit

O:1

15

OTHER

15

OTHER

I:1

Ack Bit Set

OTHER

15

O:1

Program Bit Set

WHEN COPY OF THE 1746L CONFIGURATION COMMAND IS COMPLETE,

COPY THE COMMAND TO CONFIGURE LDT 1 WITH WIRE SPEED, COUNT

O:1

Move

Source 4

4<

Dest N:9.0

0<

MOV

SET THE STATE FLAG TO CONFIGURE LDT 2

0004

Config Bit Set

N9:0

1

U

Clear Program Bit

O:1

15

OTHER

15

OTHER

I:1

Ack Bit Set

OTHER

15

Program Bit Set

WHEN COPY OF THE LDT 1 COMMAND IS COMPLETE,

Copy File

Source #N7:20

Dest #O:1.0

Length 8

COP

0005

2

N9:0

LDT 2 Config Bit Set

DIRECTION, RECIRCULATIONS AND THE LDT LENGTH

Ack Bit Cleared

I:1

15

OTHER

COPY THE COMMAND TO CONFIGURE LDT 2 WITH WIRE SPEED, COUNT

WHEN COPY OF THE LDT 2 COMMAND IS COMPLETE, CLEAR THE STATE

Clear Program Bit

Clear

Dest N:9.0

0<

CLR

O:1

U

OTHER

15

Program Bit Set

FLAGS & THE CONFIGURATION IS COMPLETE

Ack Bit Set

LDT 2 Config Bit Set

N9:0

2

I:1

OTHER

15

OTHER

15

O:1

0006