EasyManua.ls Logo

ProSoft Technology MVI56E-GSC - Page 104

ProSoft Technology MVI56E-GSC
140 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Reference MVI56E-GSC/GSCXT CompactLogix or MicroLogix Platform
User Manual Enhanced Generic ASCII Serial Communication Module
Page 104 of 140 ProSoft Technology, Inc.
April 24, 2017
The idea is that your application-specific logic will first load the
GSC.DATA.PortX.WriteString array with the values or ASCII string character that
you wish to have sent. Then, to trigger the transmission, your application-specific
logic will load into the GSC.DATA.PortX.WriteLength tag a value equal to the
number of characters in the string. As soon as the sample ladder detects a non-
zero value in the range of 1 to 4096 in this tag, it will begin to transfer data from
the GSC.DATA.PortX.WriteString array into the output image and send it to the
module. When the module receives data in the output image, it will transmit that
data out the serial port.
GSC.DATA.PortX.WDelay
This parameter reflects the number of the milliseconds to wait between each
character is sent from the port. Valid parameter for this parameter is from 1 to
32767.
GSC.DATA.PortX.WriteString
The tag arrays, GSC.DATA.PortX.WriteString, are arrays of 4096 single-byte
integer values, capable of holding binary byte values, which can also be
interpreted as ASCII codes for alpha-numeric string characters. The ladder logic
will get all application serial port data to be sent to be transmitted out the port
from this array. If the string to be transmitted is larger than 200 characters,
multiple block transfers will be required to send the entire string to the module
from the WriteString array.

Table of Contents

Related product manuals