beautypg.com

ProSoft Technology MVI56E-MNETC User Manual

Page 127

background image

MVI56E-MNETC ♦ ControlLogix Platform

Reference

Modbus TCP/IP Client Enhanced Communication Module

User Manual

ProSoft Technology, Inc.

Page 127 of 183

February 3, 2013

Event Sequence Command Error Report (4100 to 4129)
This block displays the result of each command sent to the Client. The request
includes the Client identification and the command sequence number. The
response is the event count and error code for each event. A value of 0 in the
error code means there was no error detected.

Block Request from Processor to Module

Word Offset

Description

Length

0

4100 to 4029 (last digits indicate which Client to utilize)

1

1 to 247

Reserved

247


Block Response from Module to Processor

Word Offset

Description

Length

0

Reserved

1

1

Write Block ID

1

2

Number of Event Sequence Commands executed by the
specified Client for which status has not yet been retrieved

1

3 to 32

Sequence number and error code for each Event Sequence
Command (up to the 15 most recent commands)

30

33 to 248

Reserved

216

249

Read Block ID: 4100 to 4129

1

Notes:
 The module stores command status data in a queue for the last 15 event

sequence commands it has sent out on the Modbus TCP/IP network. The
Event Command Sequence Number identifies the status data for an Event
Sequence Command.

 When you retrieve event status data for a Client using Block 4100 to 4129,

the Client's event status data queue is deleted. If more than 15 commands
have been issued since the last retrieval, the early commands are deleted
and only the last 15 are saved in the queue.

Controller Tags
To retrieve status data for one client at a time, enter the appropriate values in the
following members of the MNETC.STATUS.EventSeqCmd controller tag in the
ladder logic.

Controller Tag

Data Type

Description

ClientID

INT

Enter the Client (0-29) to request status data for.

Trigger

BOOL

Set the value of this tag to 1 to trigger the Event
Sequence Command block request.