ProSoft Technology MVI69L-MBTCP User Manual

Page 83

Advertising
background image

MVI69L-MBTCP ♦ CompactLogix Platform

Using Controller Tags

Communication Module

User Manual

ProSoft Technology, Inc.

Page 83 of 152

January 6, 2014

5.3.3.4 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 479
(word-level)

or

0 to 3839
(bit-level)

Specifies the module’s internal database
register to be associated with the
command. Allowable range is 0 to 479 for
Modbus Function Codes 3, 4, 6, or 16,
and 0 to 3839 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

Defines 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,1
5,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 will read or
write from/to this address within the
server.

MBTCP.CONTROL.EventSequence
Command.SequenceNumber

Event Sequence Command Number

MBTCP.CONTROL.EventSequence
Command.StatusReturned

0, 1, or -1

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