ProSoft Technology MVI56-103M User Manual
Page 58

Ladder Logic
MVI56-103M ♦ ControlLogix Platform
User Manual
IEC 60870-5-103 Master Communication Module
Page 58 of 152
ProSoft Technology, Inc.
February 22, 2013
Channel Status Object (I103MCHStat)
The I103MCHStat object holds the status data related to a single IEC 60870-5-
103 Master port. The following table describes the structure of the object.
Data Type
Description
State
State machine value
CmdReq
Number of command requests
CmdResp
Number of command responses
CmdErr
Number of command errors
Req
Number of request messages
Resp
Number of responses
ErrSent
Number of errors sent
ErrRec
Number of errors received
CfgErr
Configuration Error Word for channel
CurErr
Current error code for channel
LastErr
Last error for channel
This information is passed to the controller from the module with each normal
read block image.
Configuration/Error Status Flags (CfgErr)
The CfgErr word member of the I103MCHStat reports configuration errors for the
respective server. If the module is not functioning as expected, inspect the value
presented in this object. If a configuration error exists, the associated bit will be
set. A value of zero for the bit indicates the configuration value is valid. This does
not guarantee that the module is configured correctly for your application. The
bits used by this member are shown in the following table.
Bit
Code
Description
0
0x0001
Invalid baud rate selected
1
0x0002
Invalid parity selected
2
0x0004
Received timeout set to 0
3
0x0008
Invalid Port selected for a session
4
0x0010
Invalid sector count for session
5
0x0020
Could not allocate memory for sector of a session.
6
0x0040
7
0x0080
Invalid failure delay or confirm timeout for session.
8
0x0100
9
0x0200
10
0x0400
11
0x0800
12
0x1000
13
0x2000
14
0x4000
15
0x8000