ProSoft Technology MVI56-101S User Manual
Page 72

Ladder Logic
MVI56-101S ♦ ControlLogix Platform
User Manual
IEC 60870-5-101 Slave Communication Module
Page 72 of 193
ProSoft Technology, Inc.
August 2, 2011
3.1
Module Data Object (ModuleDef870)
All data related to the MVI56-101S module is stored in a user defined data type.
An instance of the data type is required before the module can be used. This is
done by declaring a variable of the data type in the Controller Tags Edit Tags
dialog box.
The following table describes the structure of this object.
Name Data
Type
Description
InStat InStat870
Status
information in each read block
ReadData
INT[600]
Data read from module
WriteData
INT[600]
Data to write to module
BP
Backplane870S
Data to handle backplane logic
ReadClock Clock870
WriteClock Clock870
CommandBits CommandsBits870S
PassEvents Event870[10]
EventCount INT
This object contains objects that define user and status data related to the
module. Each of these object types is discussed in the following topics of the
document.
3.1.1 Status Object (InStat870)
This object views the status of the module. The InStat870 object shown below is
updated each time a read block is received by the processor. Use this data to
monitor the state of the module at a "real-time rate".
Name Data
Type
Description
PassCnt
INT
Program cycle counter for module
Product
INT[2]
Product code for module
Rev
INT[2]
Revision level of module’s code
OP
INT[2]
Operating system version for module
Run
INT[2]
Run number for module
BlkErrs BlkStat870
Data
block transfer statistics
Read
INT
Total number of blocks read by the module
Write
INT
Total number of blocks written by the module
Parse
INT
Total number of blocks parsed by the module
Err
INT
Total number of block transfer errors
Port_Select
INT
Current port on module being utilized
Bad_CRC
INT
Total number of frames with bad CRC errors
Sync_Err
INT
Total number of sync errors
Len_Err
INT
Total number length errors
Timeouts
INT
Total number timeout errors
RX_Frames
INT
Total number RX frames
TX_Frames
INT
Total number TX frames
Refer to the Reference chapter for a complete listing of the data stored in this
object.