Rockwell Automation 1771-QA Stepper Positioning Assembly User Manual User Manual

Page 104

Advertising
background image

4–26

Example Programs

Publication 1771-UM002A–EN–P – May 2000

Figure 4.11

Example Command File, Axis 1

1

2

3

4

5

Counter Addr:

Axis No.:

File Length:

File A:

to

Moveset No.:

File R:

to

Position

FILE A DATA

Description

Move

MCW

Offset

MS Preset

LS Preset

SMCW

33

34

35

36

37

Position

FILE A DATA

Description

Move

MS Pos

LS Pos

SMCW

Ramp

Rate

SMCW

Ramp

Rate

0

0

0

0

1

1

0

2

0

0

0

0

0

0

0

0

1

035

04

212

215

300

303

10606

ALLEN-BRADLEY

Moveset Data

Programmable Controller

(October, 1982)

HEXIDECIMAL DATA MONITOR

FILE–TO–FILE MOVE

Figure 4.12

Example Command File, Axis 2

1

2

3

4

5

Counter Addr:

Axis No.:

File Length:

File A:

to

Moveset No.:

File R:

to

Position

FILE A DATA

Description

Move

MCW

Offset

MS Preset

LS Preset

SMCW

33

34

35

36

37

Position

FILE A DATA

Description

Move

MS Pos

LS Pos

SMCW

Ramp

Rate

SMCW

Ramp

Rate

0

0

0

0

2

5

0

0

0

0

0

5

0

0

0

0

2

036

04

224

227

300

303

10607

ALLEN-BRADLEY

Moveset Data

Programmable Controller

(October, 1982)

HEXIDECIMAL DATA MONITOR

FILE–TO–FILE MOVE

Advertising