beautypg.com

Event step edit commands – Delta MMC120 User Manual

Page 97

background image

97

commands and update the Synchronization Input register to match. At this time, the

input registers would hold the following values:

3TTTTT+1 XXXX|XXXX|XXXX|XXXX (XXXX)

STATUS

of axis 1

+2 XXXX|XXXX|XXXX|XXXX (XXXX)

SCALE

of axis 1

3TTTTT+3 XXXX|XXXX|XXXX|XXXX (XXXX)

STATUS

of axis 2

+4 XXXX|XXXX|XXXX|XXXX (XXXX)

SCALE

of axis 2

Event Step Edit Commands

Format: 0000 RRRR 1110 NNNN

R Used for

Status Area Request

N Used for Command Index described below

These commands let you change an event parameter’s value across a range of steps in a

single scan. The format of the Command Register for the Event Step Edit commands is

given below:

|

| 111|1111

BIT # 1234|5678|9012|3456

-------------------

HEX

|SAR |CMND|INDX

VALUE -------------------

0XE0

0000|XXXX|1110|0000 Start Step Number (0 to 255)

0XE1

0000|XXXX|1110|0001 End Step Number (0 to 255; > E0)

0XE2

0000|XXXX|1110|0010 Parameter to Modify (0 to 7)

0XE3

0000|XXXX|1110|0011 Value to be Used

For command types

0XE0

and

0XE1

, the data for the command

Output register

represents a step number. For command type

0XE2

, the data

Output register

represents

the field that will be modified by

0XE3

. Use the following table to select a field:

0XE2 DATA

VALUE

STEP FIELD

0

MODE

1

ACCEL

2

DECEL

3

SPEED

4

COMMAND VALUE

5

COMMAND

6

LINK TYPE/NEXT

7

LINK VALUE