beautypg.com

Side connect status block – ProSoft Technology MVI71-GSC User Manual

Page 54

background image

MVI71-GSC ♦ PLC Platform

Reference

Generic Serial Communication Module

Page 54 of 82

ProSoft Technology, Inc.

January 31, 2008

Ladder logic should be developed to recognize the presence of this condition and
place the status information in a user data file. The example ladder logic displays
this process.

Side Connect Status Block
Status block information informs the processor of the activity and "health" of the
module. When the side-connect interface is used, this data set is automatically
placed in the application file at offset 200. The format of the block is shown
below:

Module Status

Word Offset

Description

200

Program cycle counter

201 to 202

Product name as ASCII string

203 to 204

Revision level as ASCII string

205 to 206

Operating system level as ASCII string

207 to 208

Run number as ASCII string

209

Number of blocks transferred from module to processor

210

Number of blocks transferred from processor to module

211

Number of blocks parsed by module

212

Number of block errors in module

Port 1 Status

Word Offset

Description

213

Port 1 receive state:
-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer

214

Port 1 receive character count

215

Port 1 receive block count

216

Port 1 transmit state:
0 = Waiting for Data to Send
1 = RTS On
2 = RTS Timeout
3 = Sending data
4 = Waiting for RTS Off
5 = RTS turned off
30 = Intercharacter Delay
31 = Intercharacter Delay
32 = Intercharacter Delay
100 = Message Delay before Transmit
101 = Message Delay before Transmit

217

Port 1 transmit character count

218

Port 1 transmit block count

219

Port 1 error word