background image

(28)

EPT052026 Issue 1 February 2019

Set message 
while printing

^1M03CS`@0`

*x

`@1`

*y

`@2`

*z

`@3`

*p

`@4`

*r

`@5`

*q

\0

*x

: Message string for line 1. 

Range = 0-100 characters.

*y

: Message string for line 2. 

Range = 0-100 characters.

*z

: Message string for line 3. 

Range = 0-100 characters.

*p

: Message string for line 4. 

Range = 0-100 characters.

*r

: Message string for line 5. 

Range = 0-100 characters.

*q

: Message string for line 6. 

Range = 0-100 characters.

To insert a variable item into 
the message:
Counter = C

x

 with 

x

: 0-5

Shift code = S

x

 with 

x:

 0-2

BoxLot = S

xy

 with 

x:

 0, 

y

: 0-3

Time = T
Date = D

x

 with 

x

: 0-4

Expire date = E

x

 with x: 0-4

Barcode = R
Logo = L

x

 with 

x

: 0-3

Note:

It can take between 
3 and 5 seconds 
for the message to 
update.

^1M03CS`@0`ABC`@1`XYZ`@2`I
HG`@3`WER`@4`TUV`@5`OPQ\0 
= Print “ABC” on line 1, “XYZ” 
on line 2, “IHG” on line 3, 
“WER” on line 4, “TUV” on line 5 
and “OPQ” on line 6.

To insert the counter to line 1 of 
message that has been setup 
with counter setup command, 
we use this command:
^1M03CS`@0`CounterSample: 
`C0`. Time: `T`. Date: `D`. Expire 
date: 
`E``@1`XYZ`@2`IHG`@3`WER`@4`
TUV`@5`OPQ\0

Message name

^1M07CS

*x

\0

*x

: Message name. Range = 

1-20 characters.

Note:

Send the “Message 
name” command 
before sending the 
“Set message” 
command.

^1M07CSMessage 1\0 = 
Save message name as 
“Message 1

.

Table 2: PLC to Printer

Operation

Command

Parameter

Examples

Summary of Contents for G20I

Page 1: ...Domino G20i RS485 Guide G20i...

Page 2: ...2 EPT052026 Issue 1 February 2019 THIS PAGE INTENTIONALLY LEFT BLANK...

Page 3: ...tored on a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior permission of Domino Printing Sciences plc Domino Pri...

Page 4: ...4 EPT052026 Issue 1 February 2019 THIS PAGE INTENTIONALLY LEFT BLANK...

Page 5: ...on 7 Connecting Multiple Printers to a PC 7 Connecting Multiple Printers to a PLC 7 PRINTER SETTINGS 8 COMMUNICATION COMMANDS 9 Create Message and Start Printing Via RS485 9 Update Message While Print...

Page 6: ...6 EPT052026 Issue 1 February 2019 AMENDMENT RECORD Amendment Date All parts at Issue 1 February 2019...

Page 7: ...printer to a PC via RS485 Connecting Multiple Printers to a PLC The diagram below illustrates how to connect more than 1 printer to a PLC via RS485 1 11 Extended Port RS485 B RS485 A Printer RS 485 Wi...

Page 8: ...hlight RS485 4 Press the Enter button 5 The following settings can now be configured 6 Press ESC to return to the main menu End of procedure Status Enable or Disable RS485 communication Address Set a...

Page 9: ...0000000000 0b Printer Address Number 11 1U01CS Set Font Size Command 0 1 Line Font Height Range 0 5 1 Line to 6 Line Height 3rd Command Send SET MESSAGE 150 bytes Delay at least 500ms 00 0b01 1M01CS 0...

Page 10: ...50 bytes in length Command Send SET MESSAGE WHILE PRINTING 150 bytes Delay at least 500ms 00 0b01 1M03CS 0 ABC 1 XYZ 2 IHG 3 WER 4 TUV 5 OPQ NUL 0000000000000000000000000000000000000000000 00000000000...

Page 11: ...to 01200 inches min 8080 Set Resolution 1O01CS x 0 x 7 300x100 dpi x 6 300x150 dpi x 5 300x200 dpi 1O01CS7 0 Set resolution to 300x100 dpi 1O01CS6 0 Set resolution to 300x150 dpi 1O01CS5 0 Set resolu...

Page 12: ...nt when the product detect sensor is continuously triggered Stop printing when the product detect sensor is not triggered 1W01CS0002003930 0 Print in sensor mode Make 2 prints each time the sensor is...

Page 13: ...printer 15 characters maximum 1n01CSG20i 0 Set the printer s name to G20i Set screen rotation 1e01CS x 0 x 1 Set screen to horizontal side of menu facing the printing side x 2 Set screen to vertical...

Page 14: ...1G01CS 0 Immediately purge the print head 8080 Reset counter 1R02CS0 0 1G01CS 0 Reset the counter when printing stops Set font type 1u02CS x 0 x 0 Normal font x 1 Uppercase font 1U02CS0 0 Set normal f...

Page 15: ...the message Counter Cx with x 0 5 Shift code Sx with x 0 2 BoxLot Sxy with x 0 y 0 3 Time T Date Dx with x 0 4 Expire date Ex with x 0 4 Barcode R Logo Lx with x 0 3 Note Stop printing before sending...

Page 16: ...Dx with x 0 4 Expire date Ex with x 0 4 Barcode R Logo Lx with x 0 3 Note It can take between 3 and 5 seconds for the message to update 1M03CS 0 ABC 1 XYZ 2 I HG 3 WER 4 TUV 5 OPQ 0 Print ABC on line...

Page 17: ...ange 0000000001 2000000000 mandatory 10 characters c Current counter value Range 0000000001 2000000000 mandatory 10 characters d Counter reset value Range 0000000001 2000000000 mandatory 10 characters...

Page 18: ...haracters Note A pair of counters is required for a box lot The command will need to be sent twice 1k01CS00010010000000001 00000000010000000999 0 Set counter 0 of box lot1 1k01CS01010010000000001 0000...

Page 19: ...rmat as dd mm yy 8080 Set shift code 1J01CS x y A A hh mm 0 x the number of the shift code item Value 0 2 The printer supports up to 3 shift code items y the number of codes used in the shift code ele...

Page 20: ...to CodeEAN x 6 Set the barcode type to CodaBar x 7 Set the barcode type to Code11 y Set the barcode width range 1 4 z Set the barcode height range 1 3 w 0 Disable human readable text w 1 Enable human...

Page 21: ...0000000001 2000000000 mandatory 10 characters e Current counter value Range 0000000001 2000000000 mandatory 10 characters f Counter reset value Range 0000000001 2000000000 mandatory 10 characters g P...

Page 22: ...to static barcodes and dynamic barcodes 1q01CS10000000000025 0 Repeat 0 and Spacing 25pt Do not beep NOBEEP After this command is sent the printer will not beep when it receives commands Search for p...

Page 23: ...0 Set resolution to 300x100 dpi 1O01CS6 0 Set resolution to 300x150 dpi 1O01CS5 0 Set resolution to 300x200 dpi Set Density 1B01CS x 0 x 1 Set density to 1 x 2 Set density to 2 x 3 Set density to 3 x...

Page 24: ...ously print when the product detect sensor is continuously triggered Stop printing when the product detect sensor is not triggered 1W01CS0002003930 0 Print in sensor mode Make 2 prints each time the s...

Page 25: ...01CS x 0 x 1 Set screen to horizontal side of menu facing the printing side x 2 Set screen to vertical side of menu facing the top of the printer x 3 Set screen to horizontal side of menu facing the c...

Page 26: ...ter when printing stops Set font type 1u02CS x 0 x 0 Normal font x 1 Uppercase font 1U02CS0 0 Set normal font 1U02CS1 0 Set uppercase font This command is acted on after the set message command is rec...

Page 27: ...with x 0 5 Shift code Sx with x 0 2 BoxLot Sxy with x 0 y 0 3 Time T Date Dx with x 0 4 Expire date Ex with x 0 4 Barcode R Logo Lx with x 0 3 Notes 1 Stop printing before sending the message 2 Ensur...

Page 28: ...T Date Dx with x 0 4 Expire date Ex with x 0 4 Barcode R Logo Lx with x 0 3 Note It can take between 3 and 5 seconds for the message to update 1M03CS 0 ABC 1 XYZ 2 I HG 3 WER 4 TUV 5 OPQ 0 Print ABC o...

Page 29: ...value Range 0000000001 2000000000 mandatory 10 characters c Current counter value Range 0000000001 2000000000 mandatory 10 characters d Counter reset value Range 0000000001 2000000000 mandatory 10 cha...

Page 30: ...y 10 characters Note A pair of counters is required for a boxlot The command will need to be sent twice 1k01CS00010010000000001 00000000010000000999 0 Set counter 0 of boxlot1 1k01CS01010010000000001...

Page 31: ...the date format as dd mm yy Set shift code 1J01CS x y A A hh mm 0 x the number of the shift code item Value 0 2 The printer supports up to 3 shift code items y the number of codes used in the shift co...

Page 32: ...de type to CodeEAN x 6 Set the barcode type to CodaBar x 7 Set the barcode type to Code11 y Set the barcode width range 1 4 z Set the barcode height range 1 3 w 0 Disable human readable text w 1 Enabl...

Page 33: ...Range 0000000001 2000000000 mandatory 10 characters e Current counter value Range 0000000001 2000000000 mandatory 10 characters f Counter reset value Range 0000000001 2000000000 mandatory 10 characte...

Page 34: ...50pt mandatory 3 characters Note The repeat value applies to single counters and dynamic barcodes The spacing value applies to static barcodes and dynamic barcodes 1q01CS10000000000025 0 Repeat 0 and...

Page 35: ...C 13 0D 45 2D 77 4D 109 6D 141 8D 173 AD 205 CD 237 ED 14 0E 46 2E 78 4E 110 6E 142 8E 174 AE 206 CE 238 EE 15 0F 47 2F 79 4F 111 6F 143 8F 175 AF 207 CF 239 EF 16 10 48 30 80 50 112 70 144 90 176 B0...

Page 36: ...36 EPT052026 Issue 1 February 2019 THIS PAGE INTENTIONALLY LEFT BLANK...

Reviews: