Limitronic Limitag Comms Protocol 2.0.0.30 (En)
Limitronic Limitag Comms Protocol 2.0.0.30 (En)
version 2.0.0.30
coding and marking solutions
Revision 2.1
Firmware version:
2.0.0.23 (V2-V4)
all versions (V5 series)
8432214000149
© 2009 V.L. Limitronic S.L.
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
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.
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#
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.
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
Value Description
Start transmission <STX> ASCII 2
Command CVA
File name String
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
Value Description
Start transmission <STX> ASCII 2
Command L
Value String Variable value
End transmission <ETX> ASCII 3
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
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
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
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
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
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
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
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
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
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
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
Value Description
Start transmission <STX> ASCII 2
Command IMPR
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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
Value Description
Start transmission <STX> ASCII 2
Command CFW
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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
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:
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Value Description
Start transmission <STX> ASCII 2
Command IFIC
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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’.
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
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
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
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
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
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
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
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
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
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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
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
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
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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
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
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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
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
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
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
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
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
Value Description
Start transmission <STX> ASCII 2
Error Error num
Separator # ASCII 35
Checksum 2 chars
End transmission <ETX> ASCII 3
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:
E - Char 69
S - Char 83
T - Char 84
# - Char 35
XOR= 97 and converted to HEX results in 61.
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.
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.
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.
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>