0% found this document useful (0 votes)
26 views53 pages

Limitronic Limitag Comms Protocol 2.0.0.30 (En)

The Limitag communications protocol manual outlines the command interface for Limitag printers, detailing how to communicate via Ethernet and serial ports. It includes a comprehensive command index and descriptions for various commands used to manage printing tasks, modify message variables, and check printer status. The document serves as a technical guide for users to effectively utilize the Limitag printing system.

Uploaded by

elrohirsurion86
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views53 pages

Limitronic Limitag Comms Protocol 2.0.0.30 (En)

The Limitag communications protocol manual outlines the command interface for Limitag printers, detailing how to communicate via Ethernet and serial ports. It includes a comprehensive command index and descriptions for various commands used to manage printing tasks, modify message variables, and check printer status. The document serves as a technical guide for users to effectively utilize the Limitag printing system.

Uploaded by

elrohirsurion86
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 53

Limitronic Limitag communications protocol

version 2.0.0.30
coding and marking solutions

Limitag communications protocol


Ethernet and Serial command interface

Revision 2.1
Firmware version:
2.0.0.23 (V2-V4)
all versions (V5 series)

8432214000149
© 2009 V.L. Limitronic S.L.

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 1 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Command Index

Introduction ......................................................................................................................................................................................3
CVA - Request message variable data ......................................................................................................................................4
L - Quick variable modification in current printing message ...........................................................................................5
VAR – Change variable values in a message ..........................................................................................................................6
Modification of many message variables................................................................................................................................7
Begin variable sending (IVR) ..................................................................................................................................................7
Data variable sending (DVR) ..................................................................................................................................................8
End variable data sending (FVR)...........................................................................................................................................9
CIMP – Check message(s) in print buffer.............................................................................................................................. 10
IMPR – Select message(s) to print........................................................................................................................................... 11
IMPN – Print a message N times.............................................................................................................................................. 13
EST – Check controller status ................................................................................................................................................... 14
CNT – Check print counters ...................................................................................................................................................... 16
BCN - Reset print counters ........................................................................................................................................................ 17
CCNT - Set print counter value ................................................................................................................................................ 18
CCF - Check general configuration......................................................................................................................................... 19
CFG – Change general config .................................................................................................................................................. 20
CCC – Check printhead config................................................................................................................................................. 21
CFC – Change printhead config .............................................................................................................................................. 22
CCW – Check printhead config (Limitag V5)....................................................................................................................... 23
CFW – Change printhead configuration in Limitag V5.................................................................................................... 25
CRES – Check resolution values............................................................................................................................................... 26
RES – Change resolution............................................................................................................................................................ 27
CFI - Check messages in queue ............................................................................................................................................... 28
BFI - Clear menssages in queue............................................................................................................................................... 29
BDI - Delete message .................................................................................................................................................................. 30
Sending a full message using protocol................................................................................................................................. 31
Begin (INI).................................................................................................................................................................................. 31
Sending fields (DAT) .............................................................................................................................................................. 32
End of sending (FIN) .............................................................................................................................................................. 35
End of sending and save copies (FIS)............................................................................................................................... 36
IFIC - File sending ......................................................................................................................................................................... 37
CIG - Check saved images/bitmaps in controller............................................................................................................... 38
CDG - Check stored messages ................................................................................................................................................. 39
STP - Stop print ............................................................................................................................................................................ 40
RUN - Start print............................................................................................................................................................................ 41
CPR - Check schedules................................................................................................................................................................ 42
CFP – Change messages in schedule..................................................................................................................................... 43
CCIP - Check IP address .............................................................................................................................................................. 44
CIP - Change IP address.............................................................................................................................................................. 45
CFEC - Check controller date/time (CFEC) ........................................................................................................................... 46
FEC - Controller date/time change......................................................................................................................................... 47
ACT – Program version updates.............................................................................................................................................. 48
CFU - Check font types ............................................................................................................................................................... 49
Checksum calculation................................................................................................................................................................. 50
Error list............................................................................................................................................................................................ 51
Summary of commands in alphabetical order................................................................................................................... 52

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 2 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Introduction
This manual describes the command interface to communicate Limitag printers with any
remote system

Limitag controllers can communicate by default either using Ethernet and/or serial port.

Both ports can be used at the same time, e.g. a remote PC is sending variable data while a
PLC is selecting message to print.

Default communication parameters:

Serial Port : RS-232. 9600 bps, 8 data bit, no parity, 1 stop bit (configurable)
Ethernet port : TCP 5500 (configurable)

Most of the manual is based on telnet command interface instructions. Most of operations
done in the controller can be done through following commands

Quick start:

An easy way to test communications is using any telnet application (e.g. hyperterminal)
either Ethernet or serial port.
1
Copy following line to clipboard and “paste to host” inside telnet application:
CNT#

Above instruction checks controller counters. Printer should answer the print counters.

Stop Print:
STP#

Print layout named "PRINT_SAMPLE":


IMPR#PRINT_SAMPLE#

Change variables named WEIGHT and V_ITF14 in "PRINT_SAMPLE" layout:


VAR#PRINT_SAMPLE#WEIGHT|123.34#V_ITF14|1843221412345#

Change variables named WEIGHT and V_ITF14 in "PRINT_SAMPLE" layout and add to actual
printer FIFO four copies of it (only when printer is in FIFO mode):
IMPN#PRINT_SAMPLE.LTG#1#WEIGHT|123.34#V_ITF14|1843221412345#00

If no messages in current FIFO, printer will print the 4 copies and then STOP print.

1
Due to written manual limitations, <STX> and <ETX> control characters (non visual) may not be copied
adequately to clipboard. In that case please refer to attached PROTOCOL_SAMPLES.TXT to copy from there
the quick start commands.

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 3 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CVA - Request message variable data


This command is used to read all variable objects inside a specified message stored in the
controller

Message file name must be specified (no LTG extension needed).

Value Description
Start transmission <STX> ASCII 2
Command CVA
Separator # ASCII 35
File name String Message fine name (without .LTG extension)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CVA
File name String
Separator # ASCII 35

Name variable String


Separator | ASCII 124 Repeat for each variable
Value String data to be changed
Separator # ASCII 35

Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 4 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

L - Quick variable modification in current printing message


With this command the variable named V1 is changed from current printing message.
This tiny command can be used in configurable barcode readers or PLC to set V1 values to
the readed code.

Value Description
Start transmission <STX> ASCII 2
Command L
Value String Variable value
End transmission <ETX> ASCII 3

Controller does not respond to this command.

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 5 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

VAR – Change variable values in a message


Use this command to change variable data in a stored message. If number of variable data
to be changed is greater than 5 and serial port communication is being used next page
structured command (IVR, DVR, FVR) is recommended.

File name of the message has to be indicated (no extension needed) and then each
variable separeted with the corresponding new value by ASCII char 124. There is no need
to send all variable data of the message, only those to be changed are needed.

Value Description
Start transmission <STX> ASCII 2
Command VAR
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Name variable String name
Separator | ASCII 124 Repeat for each variable data to
New value String be changed
Separator # ASCII 35

Checksum 2 chars (optional, not used by default)


End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command VAR
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error <NAK> ASCII 21
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 6 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Modification of many message variables


If there is many variable data to be changed in the message and serial port is being used,
then this command should be used in spite to previous page VAR command

Begin variable sending (IVR)

Value Description
Start transmission <STX> ASCII 2
Command IVR
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command IVR
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 7 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Data variable sending (DVR)

Use following Command for each variable data:

Value Description
Start transmission <STX> ASCII 2
Command DVR
Separator # ASCII 35
Name variable String name
Separator | ASCII 124
New value String
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command DVR
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 8 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

End variable data sending (FVR)

Use following command to set end of variable data sending

Value Description
Start transmission <STX> ASCII 2
Command FVR
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command FVR
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 9 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CIMP – Check message(s) in print buffer


Use this command to check which message(s) is printing

Value Description
Start transmission <STX> ASCII 2
Command CIMP
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

If print mode is direct, internal (by default, no external hardware message selecion)
controller will answer:
Value Description
Start transmission <STX> ASCII 2
Command CIMP
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
If print mode is external (BCD external message selection), controller will answer:
Value Description
Start transmission <STX> ASCII 2
Command CIMP
Separator # ASCII 35
Message name 1 String File name
Separator # ASCII 35
Message name 2 String File name
Separator # ASCII 35
Message name 15 String File name
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

On any error controller will answer:


Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 10 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

IMPR – Select message(s) to print


This command is used to select message(s) to be printed

Depending on print mode configuration then one message to be printed (by default) or
several messages to be printed need to be indicated.

When print mode is internal (by default, no external hardware message selection):

Value Description
Start transmission <STX> ASCII 2
Command IMPR
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

When print mode is external (BCD external message selection):

Value Description
Start transmission <STX> ASCII 2
Command IMPR
Separator # ASCII 35
Message name 1 String File name
Separator # ASCII 35
:
Message name N String File name (N <=15)
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command IMPR
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 11 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 12 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

IMPN – Print a message N times


Use this command to set the message to be printed and the number of copies of same
message that will be printed before stopping print.

Value Description
Start transmission <STX> ASCII 2
Command IMPN
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Number of prints Integer Number of copies (0-infinite)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command IMPN
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 13 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

VFIFO – Clear printing buffer FIFO queue. Only when printer in FIFO mode
Use this command to clear all messages in print buffer queue pending to be printed. Only
responds when printer in FIFO mode

Valor Descripción
Stara transmission <STX> ASCII 2
Command VFIFO
Separator # ASCII 35
Checksum 2 chars ( optional, not used by default
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command VFIFO
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 14 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

EST – Check controller status


Use this command to check controller status:

Value Description
Start transmission <STX> ASCII 2
Command EST
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3
Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command EST
Separator # ASCII 35
External Data Integer
Separator # ASCII 35
Printed Data Integer
Separator # ASCII 35
Ready Data Integer
Separator # ASCII 35
Ready message String File name
Separator # ASCII 35
Warning Code Integer Código de alarma
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 15 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CNT – Check print counters


Use this command to check counter(s) values.

Value Description
Start transmission <STX> ASCII 2
Command CNT
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

If print mode is internal (no HW external msg selection), controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CNT
Separator # ASCII 35
Contador Integer
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
If print mode is external (BCD external HW message selection), controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CNT
Separator # ASCII 35
Data 1 counter Integer
Separator # ASCII 35
:
Data 15 counter Integer
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 16 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

BCN - Reset print counters


Use this command to set all print counters to zero

Value Description
Start transmission <STX> ASCII 2
Command BCN
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3
After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command BCN
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 17 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CCNT - Set print counter value


Use this counter to set counter to a specific desired value

Value Description
Start transmission <STX> ASCII 2
Command CCNT
Separator # ASCII 35
Counter number Integer 0 a 15
Separator # ASCII 35
New value Integer
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CCNT
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 18 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CCF - Check general configuration

Value Description
Start transmission <STX> ASCII 2
Command CCF
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CCF
Separator # ASCII 35
Number of printheads Integer (1 to 4)
Separator # ASCII 35
Print mode Char C = photocell
T = internal clock (default)
E = encoder
Separator # ASCII 35
Print speed Integer CM per minute
Separator # ASCII 35
Encoder pulses Integer
Separator # ASCII 35
Wheel diameter Integer
Separator # ASCII 35
Printhead with Damper Chars (S/N)
Separator # ASCII 35
Eco mode Chars (S/N)
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 19 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFG – Change general config


Value Description
Start transmission <STX> ASCII 2
Command CFG
Separator # ASCII 35
Number of printheads Integer (1 to 4)
Separator # ASCII 35
Print mode Chars C = photocell
T = internal clock (default)
E = encoder
Separator # ASCII 35
Print speed Integer CM per minute
Separator # ASCII 35
Encoder pulses Integer
Separator # ASCII 35
Wheel diameter Integer
Separator # ASCII 35
Printhead with Damper Chars (S/N)
Separator # ASCII 35
Eco mode Chars (S/N)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFG
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 20 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CCC – Check printhead config


Use this command to check configuration of each printhead.

Value Description
Start transmission <STX> ASCII 2
Command CCC
Separator # ASCII 35
Printhead number Integer (1 to 4)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CCC
Separator # ASCII 35
Printhead number Integer (1 to 4)
Separator # ASCII 35
Print direction Chars D=left to right
I=right to left
Separator # ASCII 35
Printhead type Integer 128, 256, 512 ,580, …
Separator # ASCII 35
Print delay Integer
Separator # ASCII 35
PH256 gap Integer
Separator # ASCII 35
Upsidedown Chars S=upside down
N=upside up
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

On any error controller will answer:


Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 21 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFC – Change printhead config


Use this command to change each installed printhead configuration

Value Description
Start transmission <STX> ASCII 2
Command CFC
Separator # ASCII 35
Printhead number Integer (1 to 4)
Separator # ASCII 35
Print direction Char D = left to right
I = right to left
Separator # ASCII 35
Printhead type Integer 128, 256, 512 o 580, …
Separator # ASCII 35
Print delay Integer
Separator # ASCII 35
PH256 gap Integer
Separator # ASCII 35
Upsidedown Chars S=upside down
N=upside up
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFC
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 22 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CCW – Check printhead config (Limitag V5)


Use this command to check configuration of each printhead in a Limitag V5 printer

Value Description
Start transmission <STX> ASCII 2
Command CCW
Separator # ASCII 35
Printhead number Integer (1 to 4)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:


Value Description
Start transmission <STX> ASCII 2
Command CCW
Separator # ASCII 35
Printhead number Integer (1 to 4)
Separator # ASCII 35
Printhead type Integer 735, 780, …
Separator # ASCII 35
Print direction Chars 0=left to right
1=right to left
Separator # ASCII 35
Print delay Integer
Separator # ASCII 35
Upsidedown Chars 0=normal, 1=invertido
Separator # ASCII 35
Print speed Integer
Separator # ASCII 35
External data Chars 0=No, 1=Yes
Separator # ASCII 35
Number of prints Chars 0=No, 1=Yes
query
Separator # ASCII 35
Print speed mode Chars 0=Timer, 1=Encoder, 2=Sensor
Separator # ASCII 35
Encoder pulses Integer
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 23 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 24 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFW – Change printhead configuration in Limitag V5


Use this command to change configuration of any installed printhead in a Limitag V5
printer

Value Description
Start transmission <STX> ASCII 2
Command CFW
Separator # ASCII 35
Printhead number Integer (1 to 4)
Separator # ASCII 35
Printhead type Integer 735, 780, ...
Separator # ASCII 35
Print direction Chars 0=left to right
1=right to left
Separator # ASCII 35
Print delay Integer
Separator # ASCII 35
Upsidedown Chars 0=upside up, 1=upside down
Separator # ASCII 35
Print speed Integer
Separator # ASCII 35
External data Chars 0=No, 1=Yes
Separator # ASCII 35
Number of prints Chars 0=No, 1=Yes
query
Separator # ASCII 35
Print speed mode Chars 0=Timer, 1=Encoder, 2=Sensor
Separator # ASCII 35
Encoder pulses Integer
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFW
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 25 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CRES – Check resolution values


Use this command to check printhead resolution

Value Description
Start transmission <STX> ASCII 2
Command CRES
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CRES
Separator # ASCII 35
1
Resolution Integer (0..7)
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

1
Available resolutions:

0 – 185 dpi (100%)


1 – 135 dpi (75%)
2 – 120 dpi (66%)
3 – 90 dpi (50%)
4 – 60 dpi (33%)
5 – 45 dpi (25%)
6 – 36 dpi (20%)
7 – 30 dpi (17%)

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 26 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

RES – Change resolution


Use this command to change resolution values.

Value Description
Start transmission <STX> ASCII 2
Command RES
Separator # ASCII 35
1
Resolution Integer (0 a 7)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command RES
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

1
Los tipos de resolución admitidos son:

0 – 185 dpi (100%)


1 – 135 dpi (75%)
2 – 120 dpi (66%)
3 – 90 dpi (50%)
4 – 60 dpi (33%)
5 – 45 dpi (25%)
6 – 36 dpi (20%)
7 – 30 dpi (17%)

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 27 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFI - Check messages in queue


Use this command to check all messages loaded in the queue print buffer

Value Description
Start transmission <STX> ASCII 2
Command CFI
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFI
Separator # ASCII 35
Number of messages Integer
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 28 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

BFI - Clear menssages in queue


Value Description
Start transmission <STX> ASCII 2
Command BFI
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command BFI
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 29 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

BDI - Delete message


Use this command to delete message from the controller

Value Description
Start transmission <STX> ASCII 2
Command BDI
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After a successful transmission and successful deletion of message, controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command BDI
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 30 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Sending a full message using protocol


Use this command to send a full message from scratch using protocol instructions.

Please note:
Usual way to send messages to printer in a high level way is through the integrated USB
port or using printing/sending functions in Graphic Editor and rest of Limitronic
software using integrated Ethernet port.
When sending using protocol instructions, next instruction IFIC is most commonly used

Sending is structured in several commands which indicate begin of message sending, all
data and end of sending

Begin (INI)

Value Description
Start transmission <STX> ASCII 2
Command INI
Separator # ASCII 35
Message name String File name
Separator # ASCII 35
Width Integer Width in pixels
Separator # ASCII 35
Height Integer 128, 256, 512, 1024, ...
Separator # ASCII 35
Number of objects Integer Number of fields
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:


Value Description
Start transmission <STX> ASCII 2
Command INI
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 31 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Sending fields (DAT)

Use following structure for each of the message fields

Value Description
Start transmission <STX> ASCII 2
Command DAT
Separator # ASCII 35
Type of object 2 Chars TT=Text
TC=Barcode
TI=Picture
TR=Rectangle
TE=Ellipse
Separator # ASCII 35
Coord X1 Integer
Separator # ASCII 35
Coord Y1 Integer
Separator # ASCII 35
Coord X2 Integer
Separator # ASCII 35
Coord Y2 Integer
Separator # ASCII 35
Variable name String
Separator # ASCII 35
Variable type String (EXT,D/T,CNT,TRN)
Separator # ASCII 35
Invisible Char S=Invisible
N=Visible
Separator # ASCII 35

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 32 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Value Description
String String
Separator # ASCII 35
Angle Integer (0,90,180,270)
Separator # ASCII 35
Text colour Integer
Separator # ASCII 35
Font height Integer
Separator # ASCII 35
Adjustment Integer (0 to 4)
Separator # ASCII 35
Tipo de fuente String Data to be sent if
Separator # ASCII 35 object is a TEXT
Font effect String (N,C,S,T)
Separator # ASCII 35
Date/Time format String
Separator # ASCII 35
Rollover minutes Integer
Separator # ASCII 35
Offset days Integer
Separator # ASCII 35
Offset months Integer
Separator # ASCII 35
Frame adjustment Integer (1 to 9)
Separator # ASCII 35

Value Description
String String
Separator # ASCII 35
Angle Integer (0,90,180,270)
Separator # ASCII 35
Barcode Type String Data to be sent if
Separator # ASCII 35 object is a BARCODE
Check digit Char S=yes N=no
Separator # ASCII 35
Human readable text Char S=yes N=no
Separator # ASCII 35
Human readable text fixed size Chars S=yes N=no
Separator # ASCII 35
Security Chars S=yes N=no
Separator # ASCII 35

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 33 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Value Description
ImagePatch String
Separator Data to be sent of
# ASCII 35
Strech to frame Chars S=si N=no object is a PICTURE
Separator # ASCII 35
String Chars bitmap name
Separator # ASCII 35
Value Description
Pen colour Integer
Separator # ASCII 35
Brush colour Integer Data to be sent of object
Separator # ASCII 35 is a Rectangle shape
Pen width Integer
Separator # ASCII 35
Brush style String
Separator # ASCII 35
Value Description
Pen colour Integer Data to be sent of object
Separator # ASCII 35 is a Ellipse shape
Brush colour Integer
Separator # ASCII 35
Pen width Integer
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command DAT
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 34 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

End of sending (FIN)

Value Description
Start transmission <STX> ASCII 2
Command FIN
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command FIN
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 35 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

End of sending and save copies (FIS)

This is only used when after sending message we want to store several copies to be used
afterwards in external message selection configurations.
This command will rename original file name into N file naMonth.

Value Description
Start transmission <STX> ASCII 2
Command FIS
Separator # ASCII 35
Number of copies Número N message copies
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command FIS
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 36 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

IFIC - File sending


This command is very useful to send files to the controller (e.g. can be used to send
messages in just one command).

Value Description
Start transmission <STX> ASCII 2
Command IFIC
Separator # ASCII 35
File name String
Separator # ASCII 35
Size Integer File size in bytes
Separator # ASCII 35
Folder String Folder to be stored in controller1
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command IFIC
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

After receiving above answer, file has to be sent in binary mode.

After controller receives all specified bytes, it will answer:

Value Description
Start transmission <STX> ASCII 2
Command FFIC
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

1
TTF font files can be sent to ‘windows\fonts’.

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 37 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CIG - Check saved images/bitmaps in controller


Use this command to check all avaiable logos and bitmaps stored in the controller

Value Description
Start transmission <STX> ASCII 2
Command CIG
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CIG
Separator # ASCII 35
Logos file list, List
separated by pipe
character (ASCII 124)
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 38 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CDG - Check stored messages


Use this command to receive a list of all stored messages in controller

Value Description
Start transmission <STX> ASCII 2
Command CDG
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CDG
Separator # ASCII 35
Messages file list, List
separated by pipe
character (ASCII 124)
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 39 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

STP - Stop print


Value Description
Start transmission <STX> ASCII 2
Command STP
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command STP
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 40 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

RUN - Start print


Use this command to unstop print

Value Description
Start transmission <STX> ASCII 2
Command RUN
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command RUN
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 41 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CPR - Check schedules


Use this command to check all messages stored in a schedule
This is mainly used when external BCD hardware message selection is enabled

Value Description
Start transmission <STX> ASCII 2
Command CPR
Separator # ASCII 35
Schedule number Integer Schedule number (1 to 15)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

Controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CPR
Separator # ASCII 35
Description String Description
Separator # ASCII 35
Message name 1 String
Separator # ASCII 35
Message name 2 String Up to 15 messages
Separator # ASCII 35

Checksum 2 chars
End transmission <ETX> ASCII 3

On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 42 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFP – Change messages in schedule


Use this command to specify which messages pertain to a selected Schedule

Value Description
Start transmission <STX> ASCII 2
Command CFP
Separator # ASCII 35
Schedule number Integer 1 to 15
Separator # ASCII 35
Description String Description programación
Separator # ASCII 35
Message name 1 String File name
Separator # ASCII 35
:
Message name N String File name (N <= 15)
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFP
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 43 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CCIP - Check IP address


Value Description
Start transmission <STX> ASCII 2
Command CCIP
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CCIP
Separator # ASCII 35
IP String IP address
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 44 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CIP - Change IP address


Value Description
Start transmission <STX> ASCII 2
Command CIP
Separator # ASCII 35
IP String IP address
Separator # ASCII 35
Mask String Network Mask
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CIP
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 45 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFEC - Check controller date/time (CFEC)


Value Description
Start transmission <STX> ASCII 2
Command CFEC
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFEC
Separator # ASCII 35
Day Integer 2 digits
Separator # ASCII 35
Month Integer 2 digits
Separator # ASCII 35
Year Integer 4 digits
Separator # ASCII 35
Hour Integer 2 digits
Separator # ASCII 35
Minutes Integer 2 digits
Separator # ASCII 35
Seconds Integer 2 digits
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 46 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

FEC - Controller date/time change


Use this command to set a new controller date and time. To leave any field unchanged use
minus ‘-‘ char or leave it blank

Value Description
Start transmission <STX> ASCII 2
Command FEC
Separator # ASCII 35
Day 2 chars Day. Use ‘-’ to leave it unchanged
Separator # ASCII 35
Month 2 chars Month. Use ‘-’ to leave it unchanged
Separator # ASCII 35
Year 4 chars Year. Use ‘-’ to leave it unchanged
Separator # ASCII 35
Hour 2 chars Hour. Use ‘-’ to leave it unchanged
Separator # ASCII 35
Minutes 2 chars Minutes. Use ‘-’ to leave it unchanged
Separator # ASCII 35
Seconds 2 chars Seconds. Use ‘-’ to leave it unchanged
Separator # ASCII 35
DateTimeValue String Date/Time value
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command FEC
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 47 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

ACT – Program version updates


Command to indicate that new versions have been stored in controller2.

Value Description
Start transmission <STX> ASCII 2
Command ACT
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command ACT
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

2
Before sending command, new versions need to be stored in \temp printer folder
Not used in Limitag V5

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 48 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

CFU - Check font types


Use this command to check all installed font types in the controller

Value Description
Start transmission <STX> ASCII 2
Command CFU
Separator # ASCII 35
Checksum 2 chars (optional, not used by default)
End transmission <ETX> ASCII 3

After successful transmission controller will answer:

Value Description
Start transmission <STX> ASCII 2
Command CFU
Separator # ASCII 35
List of all font types List
separated by pipe
character (ASCII 124)
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

On any error controller will answer:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 49 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Checksum calculation
By default there is no need to send checksum values to the printers. However, in harsh
environments and specially when using serial port communication this checksum can be
useful.

It is simply a XOR (OR exclusive) of all characters ASCII being transmitted, except initial and
ending STX and ETX control characters.

Alter calculation the result must be converted to hexadecimal and two end digits will
conform the checksum

Sample:

We want to send the check status command (EST).

Message to be sent will be: <STX>EST#checksum<ETX>3

Callculation of EST# checksum:

E - Char 69
S - Char 83
T - Char 84
# - Char 35
XOR= 97 and converted to HEX results in 61.

Message to be sent using checksum calculation is:


<STX>EST#61<ETX>

3
Characters STX and ETX are written inside < and > signs to inform equivalent ASCII codes must be sent, i.e. ASCII 2 and
ASCII 3 respectively.

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 50 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Error list
When an error occur during transmission, controller answers following string of chars:

Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
List on main error codes:

01 – Checksum error
02 – Blank variable name to be assigned.
03 – message not found.

Errors when sending general configuration:


04 – Wrong number of printheads.
05 – Wrong print mode.
06 – Wrong speed.
07 – Incorrect encoder pulses.
08 – Incorrect wheel diameter.

Errors when sending printhead configuration.


09 – Ijncorrect printhead number.
10 – Print direction incorrect.
11 – Incorrect printhead model.

Erros when sending a message.


12 – Incorrect file name.
13 – Wrong width.
14 – Wrong height.
15 – Incorrect number of objects.
16 – Incorrect class of object.
17 – Incorrect variable type.
18 – Wrong coordinates.

Errors when querying schedule group.


19 – Schedule specified not exists or incorrect number.

Other errors.
20 – message could not be loaded in printhead.
21 – Incorrect Date / Time value.
22 – Wrong resolution.
23 – message could not be deleted.
99 – Unknown error.

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 51 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

Summary of commands in alphabetical order.


ACT - Program version update.
<STX>ACT#checksum<ETX>
BCN - Reset print counters
<STX>BCN#checksum<ETX>
BFI - Reset queue messages.
<STX>BFI#checksum<ETX>
BDI - message deletion.
<STX>BDI#message name#checksum<ETX>
CCC - Check speficied printhead configuration.
<STX>CCC#nºcabezal#checksum<ETX>
CCF - Check general configuration.
<STX>CCF#checksum<ETX>
CCIP - Check IP address.
<STX>CCIP#checksum<ETX>
CCNT - Change print counter value.
<STX>CCNT#nºcounter#value#checksum <ETX>
CCW - Check specified printhead configuration (V5 series).
<STX>CCC#printhead number#checksum<ETX>
CDG - View all list of messages stored.
<STX>CDG#checksum<ETX>
CFC - Change specified printhead configuration.
<STX>CFC#printhead numberl#print direction#printhead type#delay#gap#upsidedown#checksum<ETX>
CFEC - Check date / time.
<STX>CFEC#checksum<ETX>
CFG - Change general config.
<STX>CFG#num.of printheads#print mode#speed#encoder#wheel#damper#eco#checksum<ETX>
CFI - Check queue messages.
<STX>CFI#checksum<ETX>
CFP - Modify specified set of schedules.
<STX>CFP#schedule number#description#message1#..... #message15#checksum<ETX>
CFU - View list of font types available.
<STX>CFU# checksum<ETX>
CFW - Change specified printhead configuration (V5 series).
<STX>CFC#printhead num#type#direction#delay#upsidedown#speed#external data#number of prints
query#print speed mode#encoder pulses#checksum<ETX>
CIG - View list of all stored logos/bitmaps.
<STX>CIG#checksum<ETX>
CIMP - Check messages to print.
<STX>CIMP#checksum<ETX>
CIP - Change IP address.
<STX>CIP#new IP address#net mask#checksum<ETX>
CNT - Check print counter values.
<STX>CNT#checksum<ETX>
CPR - Check set of schedules.
<STX>CPR#schedule number#checksum<ETX>
CRES - View resolution value.
<STX>CRES#checksum<ETX>
CVA - Check variable data in specified message.
<STX>CVA#Message name#checksum<ETX>

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 52 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]
Limitronic Limitag communications protocol
version 2.0.0.30
coding and marking solutions

DAT - Send message data objects (only used along INI, DAT, FIN)
<STX>DAT#class#X1#Y1#X2#Y2#variable#vartype#invisible#.... class data ... #checksum<ETX>
DVR - Send variable data of a design (only used along IVR,DVR,FVR).
<STX>DVR#variable name#Value#checksum<ETX>
EST - Check controller status.
<STX>EST#checksum<ETX>
FEC - Change Date / Time.
<STX>FEC#Day#Month#Year#Hour#Minutes#Seconds#DateTimeValue#checksum<ETX>
FIN - End of message sending (only used along INI, DAT, FIN)
<STX>FIN#checksum<ETX>
FIS - End of message sending with N copies (only used along INI, DAT, FIS)
<STX>FIS#N copies#checksum<ETX>
FVR - End of variable data sending. (only used along IVR,DVR,FVR).
<STX>FVR#checksum<ETX>
IFIC - File sending through protocol.
<STX>IFIC#file name#size in bytes#dest folder#checksum<ETX>
IMPN - Print message N times
<STX>IMPN#Message name#number of prints#checksum<ETX>
IMPR - Select message to print.
<STX>IMPR#Message name#checksum<ETX>
INI - Start of message sending (only used along INI, DAT, FIN)
<STX>INI#Message name#width#height#number of ojects#checksum<ETX>
IVR - Start variable data sending (only used along IVR,DVR,FVR).
<STX>IVR#Message name#checksum<ETX>
L - Quick variable modification in current printing message
<STX>Lvalue<ETX>
RES - Change of resolution
<STX>RES#Value#checksum<ETX>
RUN - Start stopped print
<STX>RUN#checksum<ETX>
STP - Stop print
<STX>STP#checksum<ETX>
VAR - Change variable values in a message
<STX>VAR#message name#variable name|new value # ..... #checksum<ETX>

V.L. Limitronic , S.L.


Alcora 260, 12550 Almazora, Castellón, Spain Page 53 of 53
review / print 22/01/2010
Tel: (+34) 902 327 328 Fax: (+34) 902 329 330
Internet: www.limitronic.com e-Mail: [email protected]

You might also like