6-14 MM2 Motor Manager 2
GE Power Management
6.4 APPLICATIONS 6 COMMUNICATIONS
6
6.4 APPLICATIONS 6.4.1 PERFORMING COMMANDS USING FUNCTION CODE 10H
Commands can be performed using function code 16 as well as function code 5. When using FUNC-
TION CODE 16, the Command Function register must be written with a value of 5. The Command
Operation register must be written with a valid command operation number. The Command Data
registers must be written with valid data; this is dependent upon the command operation.
The commands supported by the MM2 are listed in Section 6.6: DATA FORMATS on page 6–41
under code F22.
For example, consider a request for slave 17 to perform command operation 1 (RESET): The mas-
ter/slave packets have the following format:
Table 6–9: MASTER/SLAVE PACKET FORMAT FOR PERFORMING COMMANDS
MASTER TRANSMISSION BYTES EXAMPLE DESCRIPTION
SLAVE ADDRESS 1 11 message for slave 17
FUNCTION CODE 1 10 store multiple setpoints
DATA STARTING ADDRESS 2 11 60 setpoint address 1160
NUMBER OF SETPOINTS 2 00 02 2 setpoints = 4 bytes total
BYTE COUNT 1 04 4 bytes of data
DATA 1 2 00 05 data for address 1160
DATA 2 2 00 01 data for address 1161
CRC 2 76 87 CRC error code
SLAVE RESPONSE BYTES EXAMPLE DESCRIPTION
SLAVE ADDRESS 1 11 message from slave 17
FUNCTION CODE 1 10 store multiple setpoints
DATA STARTING ADDRESS 2 11 60 setpoint address 1160
NUMBER OF SETPOINTS 2 00 02 2 setpoints
CRC 2 46 7A CRC error code