1 read block – ProSoft Technology MVI56-104S User Manual
Page 66

MVI56-104S ♦ ControlLogix Platform
Ladder Logic
IEC 60870-5-104 Server Communication Module
User Manual
Page 66 of 188
ProSoft Technology, Inc.
November 18, 2009
3.2.1 Read
Block
This block transfers IEC output (control) data sent from the remote IEC 104
Client through the module to the ControlLogix processor. The following table
outlines the structure of data contained in the input image of a normal Read
Block.
Offset Description
Length
0
Reserved
1
1
Write Block ID
1
2 to 201
Read Data
200
202
Program Scan Counter
1
203 to 204
Product Code
2
205 to 206
Product Version
2
207 to 208
Operating System
2
209 to 210
Run Number
2
211 to 214
Data Transfer Status
4
215
t0 Error Count
1
216
t1 Error Count
1
217
t2 Error Count
1
218
t3 Error Count
1
219
Sequence # Error Count
1
220
Bad Address Error Count
1
221
Length Error Count
1
222
Receive Frame Count
1
223
Transmit Frame Count
1
224
Socket State
1
225
Socket Open Count
1
226
Socket Close Count
1
227
Socket Connection Count
1
228
Free events in event buffer for M_SP_NA points
1
229
Free events in event buffer for M_DP_NA points
1
230
Free events in event buffer for M_ST_NA points
1
231
Free events in event buffer for M_ME_NA points
1
232
Free events in event buffer for M_ME_NB points
1
233
Free events in event buffer for M_ME_NC points
1
234
Free events in event buffer for M_IT_NA points
1
235 to 248
Spare
14
249
Read Block ID
1
The Read Block ID is an index value sent by the module and used by the ladder
logic to determine where the current 200-word block of input data should be
placed in the ControlLogix processor IEC870S.ReadData controller tag array.
Each input data block transfer can move up to 200 words of user application data
(Read Block offsets 2 to 201) from the module to the processor. In addition to
moving user data, the block also contains module status data. This status data is
transferred with each new input image block and can be used for module
diagnostics.