Domino G20I Manuale utente

Domino G20i
RS485 Guide
G
20i

(2) EPT052026 Issue 1 February 2019
THIS PAGE INTENTIONALLY LEFT BLANK

EPT052026 Issue 1 February 2019 (3)
DOMINO G20i RS485 GUIDE
This Guide, Domino Part No. EPT052026, describes how to send commands via RS485 to
Domino G20i printers.
Users of this printer are warned that it is essential to read, understand and act according to the
information given in the G20i Product Manual and User Guide.
All rights reserved. No part of this publication may be reproduced, stored 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 Printing Sciences plc. has a policy of continuous product improvement, the company
therefore reserves the right to modify the specification contained in this guide without notice.
© Domino Printing Sciences plc. 2019.
For technical support refer to www.DominoCaseCoding.com or contact you local Domino
channel.
Domino UK Ltd.
Bar Hill
Cambridge CB23 8TU
England
Tel: 01954 782551
Fax: 01954 782874

(4) EPT052026 Issue 1 February 2019
THIS PAGE INTENTIONALLY LEFT BLANK

EPT052026 Issue 1 February 2019 (5)
CONTENTS
Page
AMENDMENT RECORD ........................................................................................................... 6
RS485 WIRING CONNECTION ................................................................................................. 7
Extended Port Connection ................................................................................................... 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 Printing ........................................................................................... 10
COMMUNICATION PROTOCOL TABLES ................................................................................. 11
PC to Printer ......................................................................................................................... 11
PLC to Printer ....................................................................................................................... 23
DECIMAL/HEXADECIMAL CONVERSION TABLE .................................................................... 35

(6) EPT052026 Issue 1 February 2019
AMENDMENT RECORD
Amendment Date
All parts at Issue 1 February 2019

EPT052026 Issue 1 February 2019 (7)
RS485 WIRING CONNECTION
Extended Port Connection
RS485+ (A) connects to pin 11 on the printer’s extended port.
RS485- (B) connects to pin 1 on the printer’s extended port.
Connecting Multiple Printers to a PC
The diagram below illustrates how to connect more than 1 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 Wiring Diagram
USB to RS485
Converter
RS-485+
RS-485-
RS-485+
RS-485-
RS485+
RS485-
PC G20i 1 G20i 2
RS485 Connection Diagram - Multiple Printers to PC
RS-485+
RS-485-
G20i 3
RS-485+
RS-485-
RS-485+
RS-485-
RS485+
RS485-
PLC
G20i 1 G20i 2
RS-485 Connection Diagram - Multiple Printers to PLC
RS-485+
RS-485-
G20i 3

(8) EPT052026 Issue 1 February 2019
PRINTER SETTINGS
Notes: (1) A USB keyboard is required to setup the printer.
(2) Ensure the printer’s RS485 settings and the PLC or PC’s com port settings are set to
the same values.
To configure the printer for RS485 communication:
(1) From the main menu, highlight Settings.
(2) Press the Enter button.
(3) Move the cursor to highlight 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 unique address for each printer. The value is set in decimal form
from 1 to 255.
See “DECIMAL/HEXADECIMAL CONVERSION TABLE” on page 35.
Baud rate: Set the speed of communication from 9600 to 115200.
Parity: Set the protocol check sum:
•Odd
•Even
•None
Data bits Select 8 if Parity is set to None.
Select 9 if Parity is set to Odd or Even.
Stop bits Select 1 or 2

EPT052026 Issue 1 February 2019 (9)
COMMUNICATION COMMANDS
Create Message and Start Printing Via RS485
The example below illustrates how to send the commands to set the font type, font size, message
data and start/stop printing.
Notes: (1) The printer’s address is sent in a hexadecimal format. 0b is printer 11.
(2) The <NUL> character has a hexadecimal value of 0x00.
(3) Add 000s to the end of commands to make the commands 150 bytes in length.
1st Command:
Send FONT TYPE
150 bytes
Delay at least 200ms
00:0b01^1U02CS1<NUL>0000000000000000000000000000000
0000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000
0b = Printer Address Number 11
1U02CS = Set Font Type Command
1= Use Uppercase Font (0 = Use Lowercase Font)
2nd Command:
Send FONT SIZE
150 bytes
Delay at least 200ms
00:0b01^1U01CS0<NUL>0000000000000000000000000000000
0000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000
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`ABC`@1`XYZ`@2`IHG`@3`WER`@4`TUV`@5`
OPQ<NUL>0000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
0b = Printer Address Number 11
1M01CS = Set Message Data Command
`@0`ABC = Print “ABC”on line 1
`@1`XYZ = Print “XYZ” on line 2
`@2`IHG = Print “IHG” on line 3
`@3`WER = Print “WER” on line 4
`@4`TUV = Print “TUV” on line 5
`@5`OPQ = Print “OPQ” on line 6
4th Command:
Send START PRINTING
150 bytes
Delay at least 200ms
00:0b01^1R01CS1<NUL>0000000000000000000000000000000
0000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000
0b = Printer address number 11
1R01CS = Printer Start/Stop Command
1= Start Printing
5th Command:
Send STOP PRINTING
150 bytes
Delay at least 200ms
00:0b01^1R01CS0<NUL>0000000000000000000000000000000
0000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000
0b = Printer address number 11
1R01CS = Printer Start/Stop Command
0= Stop Printing

(10) EPT052026 Issue 1 February 2019
Update Message While Printing
During printing, users can send a new message to replace the current message that is being
printed. The message can take between 3 and 5 seconds to update.
Note: Add 000s to the end of the command to make it 150 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
00000000000000000000000000000000000000000000000000
0b = Printer Address Number 11
1M03CS = Set Message Data While Printing Command
`@0`ABC = Print “ABC”on line 1
`@1`XYZ = Print “XYZ” on line 2
`@2`IHG = Print “IHG” on line 3
`@3`WER = Print “WER” on line 4
`@4`TUV = Print “TUV” on line 5
`@5`OPQ = Print “OPQ” on line 6
Altri manuali per G20I
2
Indice
Altri manuali Domino Stampante

Domino
Domino Ax Series Manuale dell'operatore

Domino
Domino D620i Blue Manuale utente

Domino
Domino C6000 plus Manuale utente

Domino
Domino G Series Manuale utente

Domino
Domino G20I Manuale utente

Domino
Domino Macrojet 2 Manuale utente

Domino
Domino Ax Series Manuale dell'operatore

Domino
Domino G20I Manuale utente

Domino
Domino C Series Manuale utente

Domino
Domino A-SERIES Manuale utente


















