Add event with data for client blocks – ProSoft Technology MVI69L-MBTCP User Manual

Page 133

Advertising
background image

MVI69L-MBTCP ♦ CompactLogix Platform

Reference

Communication Module

User Manual

ProSoft Technology, Inc.

Page 133 of 152

January 6, 2014

7.4.7 Add Event with Data for Client Blocks

Block 8000: Add Event with Data for Client

The 8000-series blocks are similar to the 2000-series Event Command blocks.
The 8000-series blocks source the command data from the processor, instead of
from the module’s database. These blocks use ‘write’ Modbus Function Codes
(5, 6, 15, 16) only.

Block 8000: Request from Processor to Module

Offset

Description

0

Block ID 8000 indicates this block will add an event with data of a specific
MVI69L-MBTCP client. The last two digits indicate which Client to utilize.
Example: ‘8008’ will utilize Client 8

1 to 4

IP address for the server the message is intended. Each digit (0 to 255) of the IP
address is placed in one of the four registers

5

TCP service port the message will be use

6

Modbus node address to use with the message

7

Modbus Function Code: 5, 6, 15 or 16 only

8

Modbus address in the slave device to be associated with the command

9

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.

10 to 59

Data values to be used by command

60 to 239

Spare

Block 8000: Response from Module to Processor

Offset

Description

0

Block ID 8000 for event command with data request

1

The next read request block identification code

2

Error Code for request:
0=No error
-1=Client is not enabled
-3=Client is not active
-4=Client busy with previous event command
-5=Invalid Modbus command
-6=Invalid point count for command

3 to 239

Spare

Advertising