ProSoft Technology MVI69E-MBTCP User Manual

Page 83

Advertising
background image

MVI69E-MBTCP ♦ CompactLogix Platform

Using Controller Tags

Modbus TCP/IP Enhanced Communication Module

User Manual

ProSoft Technology, Inc.

Page 83 of 150

May 20, 2015

MBTCP.CONTROL.EventSequenceCommand

This tag array contains the values needed to build one Modbus TCP/IP
command, have it sent to a specific client on the module, and control the
processing of the returned response block.

Tag Name

Range

Description

MBTCP.CONTROL.EventSequence
Command.Trigger

0 or 1

Toggle to send Event Sequence Command.
0 = Disable, 1 = Enable

MBTCP.CONTROL.EventSequence
Command.ClientID

0 to 19

Client ID associated with the command to be
executed

MBTCP.CONTROL.EventSequence
Command.ServerIPaddress

xxx.xxx.xxx
.xxx

IP address of target Modbus server

MBTCP.CONTROL.EventSequence
Command.ServicePort

502 or
2000

Service port of target Modbus server

MBTCP.CONTROL.EventSequence
Command.SlaveAddress

1 to 255

Slave address of target Modbus TCP/IP to
serial device, if applicable

MBTCP.CONTROL.EventSequence
Command.InternalDBaddress

0 to 9999
(word-level)
or
0 to 65535
(bit-level)

Specifies the module’s internal database
register to be associated with the command.
Allowable range is:
0 to 9999 for Modbus Function Codes 3, 4, 6, or
16
0 to 65535 for Modbus Function Codes 1, 2, 5,
or 15.

MBTCP.CONTROL.EventSequence
Command.RegisterCount

1 to 125
(words)
or
1 to 800
(coils)

Specifies the number of registers or digital
points to be associated with the command.
Modbus Function Codes 5 and 6 ignore this field
as they only apply to a single data point.

MBTCP.CONTROL.EventSequence
Command.SwapCode

0,1,2,3

Specifies if the data received from the Modbus
server is to be ordered differently than received
from the server device.
This parameter is helpful when dealing with
floating-point or other multi-register values, as
there is no standard method of storage of these
data types in server devices.

MBTCP.CONTROL.EventSequence
Command.ModbusFC

1,2,3,4,5,6,
15,16

Specifies the Modbus function to be executed
by the command.

MBTCP.CONTROL.EventSequence
Command.DeviceModbusAddress

0 to 9999

Specifies the register or digital point address
offset within the Modbus server device. The
MBTCP client reads or writes from/to this
address within the server.

MBTCP.CONTROL.EventSequence
Command.SequenceNumber

Event Sequence Command Number

MBTCP.CONTROL.EventSequence
Command.StatusReturned

Event Sequence Command Returned
0 = Fail
1 = Success
-1 = Client disabled /inactive

MBTCP.CONTROL.EventSequence
Command.CmdInQue

Number of Event Sequence commands in
queue

Advertising