beautypg.com

AMETEK 1746 LDT Interface Card User Manual

Page 20

background image

17

Installation & Programming Manual

Chapter 4: Application Examples

When the position scaling data has been acknowledged for resolver 1, the program will copy the position
scaling command for resolver 2 into the output image table. This resolver is set up for a scale factor of 360 with
no turns counting. This will continue until the command has been acknowledged.

0004

Res 1 Config Bit Set

N10:0

MOV

Move
Source

4
4 <

Dest

N10:0

0 <

Clear Program Bit

O:1

( U )

15

OTHER

WHEN COPY OF THE RESOLVER 1 COMMAND IS COMPLETE, SET THE STATE FLAG TO CONFIGURE
RESOLVER 2

COP

Copy File
Source #N7:20
Dest

#O:1.0

Length 8

0005

COPY THE COMMAND TO CONFIGURE THE RESOLVER 2 WITH
SCALE FACTOR AND TURNS COUNTING INFORMATION

Res 2 Config Bit Set

N10:0

Ack Bit Cleared

I:1

1

2

15

OTHER

When the position scaling data has been acknowledged for resolver 2, the program will copy the reset-to-preset
command into the output image table. The reset-to-preset value for resolver 1 is set to 100 and the reset-to-
preset value for resolver 2 is set to 180. The program will wait for the acknowledge bit to be set.

0006

WHEN COPY OF THE RESOLVER 2 COMMAND IS COMPLETE, SET THE STATE FLAG TO CONFIGURE
RESET-TO-PRESET

Res 2 Config Bit Set

N10:0

Ack Bit Set

I:1

2

15

OTHER

Program Bit Set

O:1

15

OTHER

MOV

Move
Source

8
8 <

Dest

N10:0

0 <

Clear Program Bit

O:1

( U )

15

OTHER

COP

Copy File
Source #N7:30
Dest

#O:1.0

Length 8

0007

COPY THE COMMAND TO CONFIGURE THE RESET-TO-PRESET

Config Bit Set

N10:0

Ack Bit Cleared

I:1

3

15

OTHER

Ack Bit Set

I:1

15

OTHER

Program Bit Set

O:1

15

OTHER

Reset-to-Preset