Event Step Transfer Command

Format: 1110 DSSS SSSS SNNN

D Direction. Write (0) or read (1) event step.

S Step number. 0 to 255.

N Field in the event step. 0 to 7.

 

These commands are used to move event step information to and from the RMC. The D bit shown in the binary expansion of the Event Step Transfer Command register indicates whether the command will write an Event Step value (indicated by a 0) or read an Event Step value (indicated by a 1). Therefore, commands E000 to E7FF set (write) data to the RMC, while commands E800 to EFFF get (read) data from the RMC. The eight S bits specify the step number, and the three N bits represent the field in the Event Step to access. Use the following chart to select the desired field:

N BITS
VALUE

STEP FIELD

000

MODE

001

ACCEL

010

DECEL

011

SPEED

100

COMMAND VALUE

101

COMMAND/COMMANDED AXES

110

LINK TYPE/NEXT

111

LINK VALUE

 

To write event step information to the RMC, use the following commands to set the corresponding fields. The command data value will be copied into the corresponding step field:

Command
Register

Data
Register

E000

Step 0 MODE

E001

Step 0 ACCELERATION

E002

Step 0 DECELERATION

E003

Step 0 SPEED

E004

Step 0 COMMAND VALUE

E005

Step 0 COMMAND/COMMANDED AXES

E006

Step 0 LINK TYPE/NEXT

E007

Step 0 LINK VALUE

E008

Step 1 MODE

E009

Step 1 ACCELERATION

...

 

E7FD

Step 255 COMMAND/COMMANDED AXES

E7FE

Step 255 LINK TYPE/NEXT

E7FF

Step 255 LINK VALUE

 

 

When using PROFIBUS-DP, you can update multiple words every Programmable Controller scan by using the Command and Data registers for multiple axes. For example, by using one axis to transfer the first half of the table and the second axis to transfer the second half of the table, transfer time can be cut in half.

 

To read event step information from the RMC, use the following commands to retrieve the corresponding pieces of data from the step table. The data will be available where the Status Area Request is normally returned:

Command
Register

Data In

Register

E800

Step 0 MODE

E801

Step 0 ACCELERATION

E802

Step 0 DECELERATION

E803

Step 0 SPEED

E804

Step 0 COMMAND VALUE

E805

Step 0 COMMAND/COMMANDED AXES

E806

Step 0 LINK TYPE/NEXT

E807

Step 0 LINK VALUE

E808

Step 1 MODE

E809

Step 1 ACCELERATION

...

 

EFFD

Step 255 COMMAND/COMMANDED AXES

EFFE

Step 255 LINK TYPE/NEXT

EFFF

Step 255 LINK VALUE

 

 

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.