Serial out, General introduction, Example – Datamax 123 Print v1.1x User Manual

Page 158

Advertising
background image

Copyright © 2007 • MCL Technologies • All Rights Reserved

www

.mcl-collection.com

Chapter 5 : Using Processes

5.7.2.

Serial Out

General introduction

The Serial Out process allows you to create an output process that

sends data out a serial com port to an auxiliary device.

The format of the data to be sent is defined here.

Serial Out

To send data to an auxiliary port, proceed as follows:

1

Add the process Serial Out to your label program

2

Select the Communication Port that this process will use to send
the data.

3

In the Start with box, click the appropriate character to be used
as the first character in the data stream to be transmitted :

ƒ

None if you do not want to wait for a special start character.

ƒ

STX if you want to wait for a Start of Text character.

4

In the End with box, click the appropriate character to be used to
terminate the data stream to be transmitted:

ƒ

ETX if you want an End-of-Text character as the stop
character.

ƒ

CR/LF if you want a Carriage Return/Line Feed as the stop
sequence.

5

In the Data area, select the variable(s) to send or type the text to
send.

6

Click OK

Example

In this example, serial com 2 is used to send a stream of data. The

transmission begins with a start-of-text character followed by the
contents of the variables [E3], [E4], [E5], [E6] and [E7]. The
transmission is terminated with carriage return/line feed.





October 2007

Page

158

Advertising