MVI56-MCM ♦ ControlLogix Platform Reference
Modbus Communication Module
Page 94 of 159 ProSoft Technology, Inc.
July 24, 2008
Block ID Description
3002 Request for first 128 slave status values for Modbus Port 1
3003 Request for last 128 slave status values for Modbus Port 1
3102 Request for first 128 slave status values for Modbus Port 2
3103 Request for last 128 slave status values for Modbus Port 2
The format of these blocks is as shown in the following table:
Offset Description Length
0 3002 to 3003 or 3102 to 3103 1
1 to 247 Spare 246
The module will recognize the request by receiving the special write block code
and respond with a read block with the following format:
Offset Description Length
0 Reserved 1
1 Write Block ID 1
2 to 129 Slave Poll Status Data 128
130 to 248 Spare 119
249 3002 to 3003 or 3102 to 3103 1
Ladder logic can be written to override the value in the slave status table. It can
disable (state value of 3) by sending a special block of data from the processor to
the slave. Port 1 slaves are disabled using block 3000, and Port 2 slaves are
disabled using block 3100. Each block contains the slave node addresses to
disable. The structure of the block is displayed in the following table:
Offset Description Length
0 3000 or 3100 1
1 Number of Slaves in Block 1
2 to 201 Slave indexes 200
202 to 247 Spare 46
The module will respond with a block with the same identification code received
and indicate the number of slaves acted on with the block. The format of this
response block is displayed in the following table:
Offset Description Length
0 Reserved 1
1 Write Block ID 1
2 Number of slaves processed 1
3 to 248 Spare 246
249 3000 or 3100 1
Ladder logic can be written to override the value in the slave status table to
enable the slave (state value of 1) by sending a special block. Port 1 slaves are
enabled using block 3001, and Port 2 slaves are enabled using block 3101. Each
block contains the slave node addresses to enable. The following table describes
the format for this block.