M-Maxâ„¢ Series Adjustable Frequency Drive - Eaton Corporation
M-Maxâ„¢ Series Adjustable Frequency Drive - Eaton Corporation
M-Maxâ„¢ Series Adjustable Frequency Drive - Eaton Corporation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Function Code 06 (hex): Writing a Holding Register<br />
This function writes the data to a holding register (of<br />
specified register addresses).<br />
Example:<br />
Writing of the control word (BUS) (ID 2001) of an MMX<br />
frequency inverter with the slave address 5.<br />
Master request: 05 06 07D0 0003 C2C8 (hex)<br />
Hex Name<br />
05 Slave address<br />
06 Function code (here: Writing of a holding register)<br />
07D0 2000 (dec): The ID number of the written register is<br />
2001 (dec) as the master PLC has an offset of +1<br />
0003 Content (2 bytes) for register 42101:<br />
0000 0000 0000 0011 [bin]<br />
See anticlockwise, RUN<br />
C2C8 CRC<br />
Slave response: 05 06 07D0 0003 C8C2 (hex)<br />
The slave response is a copy of the master request if it is a<br />
normal response.<br />
Hex Name<br />
05 Slave address<br />
06 Function code (here: Writing of a holding register)<br />
07D0 2000 (dec): The ID number of the first requested register<br />
is 2001 (dec) as the master PLC has an offset of +1<br />
0003 Content (2 bytes) for register 42101:<br />
0000 0000 0000 0011 (bin)<br />
See anticlockwise, RUN<br />
C8C2 CRC<br />
Function code 06 (hex) can be used for broadcasting.<br />
Serial Interface (Modbus RTU)<br />
Function Code 10 (hex): Writing of the Holding Registers<br />
This function writes data to a number of consecutive holding<br />
registers (of specified register addresses).<br />
CAUTION<br />
Although the registers to be written are consecutive, the ID<br />
numbers of the parameter list are not. Only the ID numbers<br />
in the process data list are consecutive.<br />
Example:<br />
Writing of the control word (ID 2001) of the general control<br />
word (ID 2002) and the speed setpoint (ID2003) of an MMX<br />
frequency inverter with the slave address 5.<br />
Master request:<br />
05 10 07D0 0003 06 0001 0000 2710 D125 (hex)<br />
Hex Name<br />
05 Slave address<br />
10 Function code (here: Writing of the holding registers)<br />
07D0 2000 (dec): The ID number of the first written<br />
register is 2001 (dec) as the master PLC has an offset of +1<br />
0003 Total number of requested registers<br />
(42001–42103)<br />
06 Number of consecutive data bytes<br />
(3 registers x 2 bytes = 6 bytes)<br />
0001 Content (2 bytes) for register 42101:<br />
0000 0000 0000 0001 (bin) (Start command)<br />
0000 Content (2 bytes) for register 42102:<br />
0000 (dec) (no content, as not used)<br />
2710 Content (2 bytes) for register 42103:<br />
10.000 (dec) (frequency setpoint = 100.00%)<br />
D125 CRC<br />
Slave response: 05 10 07D0 0003 8101 (hex)<br />
Hex Name<br />
05 Slave address<br />
10 Function code (here: Writing of the holding registers)<br />
07D0 2000 (dec): The ID number of the first written register<br />
is 2001 (dec) as the master PLC has an offset of +1<br />
0003 Total number of requested registers<br />
(42001–42103)<br />
8101 CRC<br />
Function code 10 (hex) can be used for broadcasting.<br />
M-Max <strong>Series</strong> <strong>Adjustable</strong> <strong>Frequency</strong> <strong>Drive</strong> MN04020003E—April 2011 www.eaton.com 139