Emerson MVME147 User Manual

Page of 170
TARGET ROLE ROUTINES
6-4
6
Data Area
Only one direction allowed per command.  If multiple 
directions of data transfer are required, linked commands 
could provide a solution.  
Message-In Area (user defined)
For messages to be sent to the initiator.  
Message-Out Area (user defined)
258 byte maximum for extended message for messages sent 
by initiator.  
Command Count
The number of bytes command received in the command 
area.  
Command Area(s)
Commands are stored in this 12-byte-maximum area.  
Status Area
This status byte is sent if the status phase is encountered in the 
script.  
Data Area Count
Data transfer count.  
Data Area Pointer
Pointer to the data area described below.  DATA-IN: to the 
initiator, DATA- OUT: from the initiator.  
Message-In Area Count
Number of message bytes to be sent to the initiator.  
Message-In Area Pointer
Pointer to the message-in area described below.  Messages 
sent to the initiator.  
Message-Out Area Count (not used)
Message-Out Area Pointer
Pointer to the message-out area described  below.  Messages 
received from the initiator.  
Enabling TARGET Role
1.
Prepare a custom sequence packet as described in the TARGET Enable 
Custom Sequence Packet
 section in Chapter 2, with the code of TARGET