
Reference MVI69E-MBS ♦ CompactLogix Platform
User Manual Communication Module
Page 136 of 162 ProSoft Technology, Inc.
January 6, 2014
7.4.6 Add Event with Data Blocks
Block 8000: Add Event with Data for Port 1
Block 8001: Add Event with Data for Port 2
The 8000-series blocks are similar to the 1000 and 2000-series blocks. The
8000-series blocks source the command data from the processor, instead of from
the module’s database.
Block 8000 or 8001: Request from Processor to Module
Write Block ID: 8000 for Port 1 or 8001 for Port 2 event command with data
request
Slave address of Modbus device to reach with the command request
Modbus function code to use with command (5, 6, 15 or 16)
Modbus address in slave device
Count value for operation- bit count for function 15 (1 to 800 points) and word
count for function 16 (1 to 50 words or 1 to 25 float values). For functions 5 and 6,
the count is assumed to be 1.
Data to be used by command
Where n = 60, 120, or 240 depending on the Block Transfer Size parameter.
Block 8000 or 8001: Response from Module to Processor
Read Block ID: 8000 for Port 1 or 8001 for Port 2 event command with data request
Write Block ID: To be used by the processor in its next Write block.
Error Code for request:
0=no error
-1=port is not enabled
-2=port is not a master port
-3=port is not active (enabled)
-4=port busy with previous event command
-5=invalid Modbus command
-6=invalid point count for command
Comentarios a estos manuales