beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 76

background image

Using ASCII Communications

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 76 of 234

ProSoft Technology, Inc.

December 13, 2011

In order to use a CLX Message as the transfer destination, the following MSG

instruction
has to be configured:

The transfer sequence is described in the following paragraphs:
Step 1 - When the maximum number of characters is reached, or the character

delimiter is found, the data is transferred to the destination file. The MVI56-BAS

also places the byte count in the lower byte of the first register in the destination

file.
Step 2 - Next, the MVI56-BAS turns ON one of the following bits to indicate that
new data is available:
PRT1 => Local:x:I.Data[0].8
PRT2 => Local:x:I.Data[0].9
Where x is the MVI56-BAS slot number.
Step 3 - Next, the ladder logic reads the data and turns ON one of the following
bits to indicate the data was received:
PRT1 => Local:x:O.Data[0].8
PRT2 => Local:x:O.Data[0].9
Step 4 - The MVI56-BAS resets the image file input bit.
Step 5 - The ladder logic resets the image file output bit.