background image

EPT052026 Issue 1 February 2019

(17)

Set counter

^1C01CS

*x*y*z*

a*b*c*d*e

\0

*x

: Counter number. 

Range = 0-5. This is the 
name of the counter that 
will be stored on the 
printer.

*y

=0: Count upwards.

*y

=1: Count downwards.

*z

=0: Do not fill zeros.

*z

=1: Fill zeros.

*a

: Counter steps. Range 

= 000-250 (mandatory 3 
characters).

*b

: Counter start 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 characters).

*e

: Current repeat value. 

Range = 0000000000-
0010000000 (mandatory 
10 characters).

1C01CS0010010000000001000
00000010000000999\0

=

Counter number: 0
Count direction: Upwards
Fill zeros: Enabled
Counter steps: 1
Start value: 1
Current value: 1
Reset value: 999

8080

Table 1: PC to Printer

Operation

Command

Parameter

Examples

UDP Port

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: