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

 

3

the data.

 

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.

 

4

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

 

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

 

5

sequence.

 

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

 

6

send.

 

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.

www.mcl-collection.com

October 2007

Page 158

Copyright © 2007 • MCL Technologies • All Rights Reserved

 

 

Page 158
Image 158
Datamax v1.1x user manual Serial Out