As 130013 MK-G Um B57GB WW GB 2102 2
As 130013 MK-G Um B57GB WW GB 2102 2
Inkjet Printer
4 Print Common
Settings
5 Running the
MK-G1000
Environment
6 Settings
A Appendices
Read this manual before using the product in order to achieve maximum
performance.
Keep this manual in a safe place after reading it so that it can be used at
any time.
Symbols
The following symbols alert you to important messages. Be sure to read
these messages carefully.
Point
Indicates additional information on proper operation.
Appendices ................................................................. 23
A-1 Default value lists..................................................................23
A-2 ASCII code table ..................................................................23
Chapter
Environment Settings P.22
6 A-3 Index.....................................................................................24
Revision History ......................................................................................25
This chapter explains the device's environment settings. WARRANTIES AND DISCLAIMERS ......................................................26
6-1 Time
6-2 Barcode Link
List of MK-G1000 Series Identification Codes
Function Identification code
System status SB 6
Startup SS 7
Shutdown ST 7
Deep Clean SU 7
Line settings FM FL FZ 8
Message F1 F6 FY 10
Setting the print contents, character string Set Request Initialize Page Remarks
Print character ASCII only (alphanumeric only) H2 FX 11 You can set character strings for multiple sections.
string
This command can be used with the communication buffer. It is a
Setting in operation BK FX 12 character string setting (up to 240 bytes) that specifies the section
number and character code.
Requesting the print result UZ 12 Requests the last character string that was printed.
Initializing the print settings FI 12 Initializes the character string with the specified setting number.
Setting the print contents, counter Set Request Initialize Page Remarks
Counter condition CO CP CZ 12
Setting the print contents, barcode/2D code Set Request Initialize Page Remarks
Barcode conditions B0 B1 14
2D code conditions B2 B3 15
Print common settings, expiration period Set Request Initialize Page Remarks
Print common settings, replacement characters Set Request Initialize Page Remarks
Shift code RS RT RX 18
Switching the Program number FW FR 20 This command can be used with the communication buffer.
Group printing FF FG FH 20
Communication buffer KV KW KX 20
Test printing TW 20
Suspending printing SR 21
Resuming printing SQ 21
Printed counter KG KH 21
Shift time DW DX 22
B57GB 1
Checksum
1 Getting Started By using the checksum, you can check for data errors.
Append a comma (,) and the checksum data (two bytes, explained later) at
the end of the send data. Use the console to set whether checksums are
1-1 Communication Specifications present in responses. For details, see "Communication Setting" of "MK-
G1000 Series User's Manual".
The MK-G1000 can be controlled by way of communication commands that
it receives from three interfaces: RS-232C, Ethernet, and USB (an HID-type
barcode reader). Reference • We recommend that you perform communication with a
The communication method uses commands and responses, so multiple checksum.
1 commands cannot be sent at the same time. Be sure to receive a response • If the setting for the presence or absence of the checksum is
before sending the subsequent command. different between the MK-G1000 and the external device, it will
Command and response data consists of combinations of comma-separated not be possible to establish communication.
Getting Started
parameters.
How to calculate a checksum
Setting the header and delimiter Checksum data is formed by calculating the XOR (exclusive OR) of the
sequential data, which is to be sent, immediately after the header (from
The following two types of settings are available for the header and delimiter. the beginning of the data if there is no header), and then converting the
Set the header and delimiter to match the format of the external device. result (one byte) into two ASCII code characters.
Format 1 Example:
Header: None, Delimiter: CR (0Dh) For the "FW" command, which switches the setting number to be printed,
the method used in calculating the checksum is shown below.
Command/response data Comma Check- C
(2-2500 byte) , sum R
The send data (for protocol 2) is as follows.
S E
T F W , 0 0 1 , Checksum T
When the checksum is not being used, commas are not necessary. X X
Format 2
Calculate the XOR of this range.
Header: STX (02h), Delimiter: ETX (03h)
S
T
Command/response data
(2-2500 byte)
Comma Check-
, sum
E
T 1 Calculate the XOR
Character Code
X X from "FW" to ","
F 46h 0100 0110b
(comma). XOR
When the checksum is not being used, commas are not necessary. W 57h 0101 0111b
XOR
, 2ch 0010 1100b
2 Convert the result
Data
0 30h
XOR
0011 0000b
XOR
How to read command structures into two ASCII code 0 30h 0011 0000b
XOR
characters. 1 31h 0011 0001b
XOR
Data
Setting the time slot replacement characters delimiting , 2ch 0010 1100b
XOR
3
code
Command Add the characters 0010 0000b
ab··Parameters (setting data) as the checksum ASCII coding
data. Checksum 2 0
This pattern can be repeated for a total of up to
25 instances of the pattern.
Header RS ,a,b,c,d,e Delimiter S
T
X F W , 0 0 1 , 2 0
E
T
X
Setting Maximum
Parameter Quantity Remarks
value bytes
Shift code encoded
a 01 to 64 2 1
character
0: ASCII (8 bits)
1: SHIFT-JIS
2: Latin-9
3: GB2312
b Character code 0 to 3, 5, 9 1 1 5: UTF-8
9: Only for the
command to request
the character code
at the time of setting
Number of characters
c 0 to 10 2 1
to replace
00:00 to 23:59.
Parameters ",d" and ",e"
0000 to are a set that is
d Division start time 4 Max. 25
2359 repeated for a total of
up to 25 instances of
the set.
Division encoded Character
e 20 Max. 25 Up to 10 characters
character string string
2400, 4800, 9600, 19200, 38400, The connector on the controller is a D-sub 9-pin (male) type. Connect the
Baud rate 38400 bps
115200 bps controller to an external device using an RS-232C straight cable. The wiring
Bit length 8 bits (fixed) 8 bits (fixed) for the controller side and the external device side is shown below.
Parity check None, odd, even None
Getting Started
Item Setting Default value Send 2 2 Receive
Port number Port number 9004 Receive 3 3 Send
MK-G side 4 4 External device
Signal GND 5 5 Signal GND (such as a PC)
Common settings side
6 6
Item Setting Default value
7 7
Delimiter CR, ETX CR
8 8
Checksum Not present, present Not present
9 9
Communication OFF, switch Program number, change
OFF Connector hood Connector hood
buffer character string
Shield
Communication priority
Point
• OP-29859 is an optional 9-pin to 9-pin straight cable.
When external devices (for RS-232C, Ethernet, and USB communication)
• OP-26486 is an optional DB9 to RJ-11 connector for use
are connected, there will be competition for communication with the MK- with an RJ-11 cable.
G1000, so the following communication priorities have been set. • OP-26487 is an optional RJ-11 cable.
While settings are saved from console, the console has priority.
In this situation, setting commands and initialization commands from an Important • Use shielded cables for the communication cables.
external source will result in errors. • Use #4-40 (inch type) screws to fix the connector to the
Request commands will be received. controller.
In all other situations, commands will be processed according to the order
that they are received.
If multiple commands change the same setting, the change made by the
last command received will be valid.
Point
If a setting that is being edited is changed by external
communication, the setting displayed on the screen and the RS-232c cable
saved setting may be different. PC
or
USB communication
The communication command input by way of the USB interface supports Controller PLC
HID-type barcode readers.
No response is returned.
Communication log
All communication data is written to the log.
You can change the way that the communication log is displayed so that
items are displayed grouped according to communication path or in date and
time order.
All the data up to a delimiter is handled as a single command. If a command
does not end in a delimiter, the subsequent command will be concatenated
to it in the log.
Controller
PLC
Point
OP-66843 is an optional LAN Ethernet Cable.
Communication buffer
The communication buffer is a function that temporarily stores the com-
mands that are received during printing until these commands can be exe-
cuted.
When the current print operation is completed, the leading command among
those that are stored is executed. Also, only one command is executed
between print operations.
The buffer can hold up to 100 commands. If the buffer is full and a command
is inserted into it, the last command will be overwritten.
The communication buffer function can be used with the following two
commands.
• BK: Changes the set character string in operation
• FW: Switches the Program number
Buffer Head
Header Identification
code Parameters (data) Delimiter Caution level errors
These are errors that indicate that the MK-G1000 has a printing enabled
2
Error response status but in which maintenance is required, such as the ink or solvent
Response
Error
Error name Error description Countermeasures This pattern can be repeated for a total of up to 198
code
instances of the pattern.
Command Check the data contents,
0 Unrecognizable
An undefined identification
and then send the correct
Header EV ,a Delimiter
code was sent.
error data.
Because an abnormal or
Header EZ Delimiter
caution level error has
occurred, the command After confirming the error Response
cannot be executed. contents using the "EV"
2 Status error
Additionally, this error is command and removing the Header EZ Delimiter
returned as a response if a cause of the error, cancel
smart operation start the error and change the
command is received when MK-G1000 to RUN status.
Reference The currently occurring errors and warnings (cautions) are all
smart operation cannot be acquired in a single batch. "EV<delimiter>" is the response when
started. no errors are occurring.
A setting or initialize Switch the console to the Setting Maximum
3 Priority error command was sent while Main screen, and then Parameter Quantity Remarks
value bytes
the console had priority. resend the command.
Number of the
1 to 99,
Check the data contents, a error or caution 3 Max. 198
The data length of the 101 to 199
20 Data length error and then send the correct that is occurring
command is invalid.
data.
* Time-out error: This error occurs when the delimiter is not received within
20 seconds of receiving the leading data or when the
delimiter is different from the settings.
* An external communication error occurs when the data is corrupted due to
invalid communication settings, noise, or similar causes.
* When the checksum is invalid, an error code (90) is sent. The error is not
included in the error history.
* If the delimiter of an empty command is received, the data up to and
including the delimiter is discarded.
The error is not included in the error history. The reception of the delimiter
is written to the communication log.
2
14 Voltage Leak Error 59 Head Cover Open Error 2 Inserted for 1 Hour or More (PY/PW)
15 Head Cover Open Error 60 Ink Path Unit Lifespan Error 151 Cleaning Inside Path Required Error 188 Momentary Stop Detection Warning
16 Gutter Sensor Error 1 61 Cleaning Inside Path Recommendation Error 152 RS-232 Communication Error 189 Backup Module Lifespan Warning
17 Nozzle Clogging Error 62 Ink Shaft Check Error 153 Air Intake Fan Locked Warning 190 Backup Module Unit OFF
Controlling the Main Unit
18 Encoder Speed Over Error 63 Path Hardening Check Error 154 Internal Fan Locked Warning 191 MK Dock Bottle Full Warning
19 Print Trigger Overlap Error 64 Maitenance Not Complete Error 155 CV-X/IV Trigger Tracking Count Over 192 MK Dock Bottle Not Detected Warning
20 Short Print Interval Error 65 Power Outage Detection Error Warning
21 Tracking Count Over Error 66 Main Tank Supply Abnormal Error 156 Pump priming not complete 195 Inexecutable System Recording Warning
22 Short Trigger Delay Error 67 Drain Error 157 Air Pump Error 196 Momentary Stop Detection Warning 2
23 Short Continuous Print Trigger Error 68 Pressure Error 158 Ink Path Unit Replacement Warning 197 Internal Memory No Free Space
24 System Memory Error 69 CV-X/IV Send Judgment Character String Error 1 Warning
25 Pump Lifespan Error 70 CV-X/IV Trigger Delay Error 159 Main Tank Full Warning 198 USB Memory Low Free Space Warning
26 Pump Control Error 71 CV-X/IV Trigger Tracking Count Over Error 160 CV-X/IV Send Judgment Character 199 USB Memory No Free Space Warning
String Warning 1
27 Replacing Pump 72 Trigger Delay Over Error
181 CV-X/IV Inspection Setting Switch
28 Hard Error 1 73 Viscometer Count Error 1
Warning 1
29 Hard Error 2 74 Viscometer Count Error 2
30 Hard Error 3 75 Viscometer Count Error 3
31 Soft Error 1 76 Viscometer Count Error 4 System status
32 Filter A Lifespan Error 77 MK Dock Head Not Detected Error
33
Phase Alignment Error
(5 Minutes Elapsed)
78 MK Dock Bottle Full Error Requesting the system status—acquiring the current
34 Filter B Lifespan Error 79 MK Dock Bottle Not Detected Error system status
35 Air Intake Fan Locked Error 80 MK Dock Connection Error
Command
36 Internal Fan Locked Error 81 MK Dock Mount Error
37 Heater Control Error 91 Ethernet Communication Disconnect Error
38 Piezo FB Error 92 CV-X/IV Linked Communication Disconnect Error Header SB Delimiter
39 Dirty Charging Sensor Error 93 Internal Communication Timeout Error
40 Phase Alignment Error 94 Soft Error 2 Response
41 RS232C Communication Error 95 SNTP Time Misalignment Detected
42 Font Data Error 96 CV-X/IV Inspection Setting Switch Error 1
43 Printing Stop Input ON (Terminal) 97 CV-X/IV Inspection Setting Switch Error 2 Header SB ,a Delimiter
44 Ink Particles Forming 98 CV-X/IV Send Judgment Character String Error 2
45 Gutter Sensor Error 2 99 CV-X/IV Send Judgment Character String Error 3
Setting
Parameter Bytes Quantity Remarks
Caution level errors value
2
the head, so place the included beaker under the head prior
to executing these operations.
Response
After executing shutdown processing, confirm that the system
has finished shutting down, and then turn the power off.
Operation flow through external communication * Smart Startup can be executed with a communication command only when
Turn on the power. the print head is in position on the MK dock (MK-D1B) and the "Head detec-
tion input 1" and the "Head detection input 2" are ON.
If it cannot be executed, “ER,SO,02” is returned.
For details of the built-in MK dock and the head detection input, read
“Connecting and attaching the built-in MK Dock (sold separately)” and “Head
SS: Execute startup SO: Execute Smart
detection input 1/2” of “I/O terminal explanations” in “MK-G1000 Series
processing. Startup processing.
Specifications.”
Execute Smart Recovery
Command
SB: Confirm whether startup processing has
completed. Header SV Delimiter
Shutdown processing
is being executed.
Header SS Delimiter
Response
Header SS Delimiter
Header ST Delimiter
Response
Header ST Delimiter
Program message
Command Setting contents
Response
number number
Header FM Delimiter
3
Printing direction, line speed, size
*** FM Line settings
adjustment, etc.
Message
F1
conditions
Print position, character spacing Requesting line settings and print adjustment
Setting the Print Contents
m: Message interval
Set the distance between print operations.
CAUTION
Workpiece
ABCD ABCD
m: Message interval
9 and 10 50 to 200 (when the line speed is 892 mm/s or faster: 90 to 150)
f: Head distance 11 to 16 50 to 200 (when the line speed is 607 mm/s or faster: 90 to 150)
17 to 24 50 to 100
25 to 32 50 to 100
g: Print method
Print method Print image Description Initializing line settings and print adjustment
Constant once Sensor Printing is performed once each Command
and encoder signal time that the printing start signal
once Workpiece ABC ABC ABC is applied.
Header FZ ,a Delimiter
Constant Sensor
signal Printing is performed repeatedly Response
continuous and
Workpiece ABC ABC ABC while the printing start signal is
constant encoder
ON.
continuous
Message interval
Header FZ Delimiter
Sensor
signal Printing is performed the
Constant N times Setting
specified N times each time that Parameter Bytes Quantity Remarks
and encoder N Workpiece ABC ABC ABC value
the printing start signal is
times
applied. Setting 1 to 500, ALL: All settings
Message interval a 3 1
number ALL, CMN CMN: Common settings
Response
Header F1 ,a,b,c,d,e,f,g,h,i,j,k,l Delimiter
Response
Header FY Delimiter
Header F1 Delimiter
Parameter
Setting Maximum
Quantity Remarks
value bytes
Message
Command b 1 to 64, AL 2 1 AL: All messages
number
3 Header
Response
F6 ,a,b Delimiter
Setting the Print Contents
Reference If the "F1" command is received for the settings being printed, a
busy error (01) is returned.
Setting Maximum
Parameter Quantity Remarks
value bytes
Program
a 001 to 500 3 1
number
Message
b 01 to 64 2 1
number
c Lateral scaling 01 to 10 2 1 Unit: Multiples
d Font number 00 to 22 2 1
e Base X 0000 to 4095 4 1 Unit: Dots
f Base Y 00 to 31 2 1 Unit: Dots
Character
g 0000 to 4095 4 1 Unit: Dots
spacing
h Line spacing 00 to 31 2 1 Unit: Dots
0: Do not print
i Print 0 to 2 1 1 1: Print
2: Inverse
0: 0 degrees
1: 90 degrees
j Print angle 0 to 3 1 1
2: 180 degrees
3: 270 degrees
k Link number 00 2 1 Not used (fixed to 00)
l Lock 0 or 1 1 1 0: Do not lock, 1: Lock
Command Minute
Yes
No %02m
%2Pm
%02Tm
%2TPm
3
Header FT ,a,b,c,d Delimiter No %02s -
First specify the character code for the character string on the lowest line of - Left justify %-CC -
the section, and then enter the line feed code "\n" to start a new line. When - Truncated %#CC -
printing is only performed on a single line, no line feed code is required. * denotes counter numbers 1 to 9 and A to J.
When printing update characters, custom logotypes, or barcodes/2D codes, * If you want to use ASCII or Latin-9 to send a "%" or "\" enter "%%" or "\\" to
specify the setting codes for the subsequent update character, custom logo- escape the default functionality of these characters.
type, or barcode/2D code. Example: If you want to set ABC + counter number 1, send the following data.
A B C % C 1 C
Print contents Message 8260h 8261h 8262h 25h 43h 31h 43h
First line
A B C ¥ n Setting the print character string with ASCII code
Command
Data to be sent This pattern can be repeated for a total of up to 64
Identification code + instances of the pattern.
setting number + Message 01 + Print contents
Header H2 ,a,b,c Delimiter
A B C ¥ n 1 ¥ n E F ¥ n Response
8260h 8261h 8262h 5Ch 6Eh 8250h 5Ch 6Eh 8264h 8265h 5Ch 6Eh
Header H2 Delimiter
First line Line feed code Second line Third line
Set the character string of the specified message number with ASCII code
(alphanumeric characters).
Setting for update characters, custom logotypes, and
Setting Maximum
barcodes/2D codes Parameter
value bytes
Quantity Remarks
To set update characters, custom logotypes, and barcodes/2D codes, follow a Program number 001 to 500 3 1
the format in the table below. b Message number 01 to 64 2 Max. 64
Perform the setting using ASCII codes. Character string The character code is ASCII.
For the , , and marks in the table, set a numeric value or character from c Characters 1000 Max. 64
data Maximum: 999 characters
outside of the column.
Set the printing conditions for custom logotypes and barcodes/2D codes Point
• The maximum for the total number of bytes for all the
separately. character string data in all the messages is 1,000 bytes.
For information on how to set the custom logotypes, see the "MK-G1000 • To specify characters other than alphanumeric characters,
Series User's Manual." To set barcodes/2D codes, use the commands listed use the "FS" command.
under "Barcode/2D code conditions" and "Barcode/2D code variables."
Point
* This command can be used with the communication buffer.
Header CO Delimiter
3 Parameter
Setting
value
Maximum
bytes
Quantity Remarks Header CP ,a,b Delimiter
Response
a Message number 1 to 64 2 1
Setting the Print Contents
Command
Reference Example of setting the counter conditions
With the following settings, the counter operations are performed
Header FI ,a Delimiter
as shown in the figure.
Response Number of display Counter operation
digits: 3
Start End value
Header FI Delimiter Initial value from
second cycle: 200 100→100→200→200・
・・・
・・・
・・・
・・・
・・・
・・・
・・・→500→500
Delete all the setting contents of the specified setting number. End value: 500 Default value
Repeat counts: 2
Default value: 100
Setting Number of
Parameter Bytes Quantity Remarks 200→200→300→300→・
・・・
・・・
・・・
・・・
・・・
・・・
・→500→500
value repetitions: 2
Initial value
Program 001 to 500, Step: 100 from second cycle Counting between initial value from second cycle
a 3 1 ALL: All Programs Number system: 10 and the end values is repeated
number ALL
Response
Header CM ,a,b,c Delimiter
Header CM Delimiter
Requesting the counter's current repeat count
Command
Requesting the current counter value
CR
3
Header ,a,b Delimiter Command
Response
Header CN ,a,b Delimiter
Response
Header DR ,a,b Delimiter
Setting Maximum
Header DR Delimiter
Parameter Quantity Remarks
value bytes
Response
Setting the barcode or 2D code character string
Header B0 Delimiter
Command
Response
Setting Maximum
Parameter Quantity Remarks
Header BF ,a,b Delimiter value bytes
a Program number 1 to 500 3 1
Response
b Barcode number 1 to 4 1 1
0: ITF
Header BF ,a,b,c Delimiter 1: CODE39
2: 2of5
3: NW7 (CODABAR)
4: CODE128
Reference The requested character string is returned with the set character 5: ITF
code. 0 to 7, E to
(check digit on)
c Barcode type 1 1 6: CODE39
H
(check digit on)
Setting the current barcode or 2D code character 7: NW7
(check digit on)
string in operation E: UPC-E
F: JAN8
Command G: UPC-A
H: JAN-13
3
EOT %004A ETB %023A c Barcode type 8 to D 1 1
B: QR mode 2 (MANUAL)
ENQ %005A CAN %024A C: Micro QR
D: DataMatrix
ACK %006A EM %025A
QR
A B C % C 1 C 0: L (7%)
1: M (15%)
8260h 8261h 8262h 25h 43h 31h 43h 2: Q (25%)
Error correction
g 0 to 3 1 1 3: H (30%), Micro QR
level/06Macro
cannot be specified
Point
For CODE39, the start/stop character (*) is added DataMatrix
automatically. You do not have to send this character. 0: 06Macro not supported
1: 06Macro supported
QR
Setting the 2D code conditions 0: Not to set
h Password on/off 0, 1 1 1 1: Set
Command
MicroQR/DataMatrix
0: Fixed value
Header B2 ,a,b,c,d,e,f,g,h,i Delimiter
Value to multiply the cell size
i Quiet zone 0 to 5 1 1
Response by
Header B2 Delimiter
Command Response
4
This pattern can be repeated for a total of up to 10
instances of the pattern.
Header RV ,a,b Delimiter
Header RB ,a,b,c,d Delimiter
Response
Print Common Settings
Setting
Setting Maximum Parameter Bytes Quantity Remarks
Parameter Quantity Remarks value
value bytes
Year encoded
Program 000, a 01 to 10 2 1
a 3 1 000: Common expiration period characters
number 001 to 500
0: ASCII (8 bits)
Only the common expiration 1: SHIFT-JIS
Expiration 2: Latin-9
00, period is valid.
b period 2 1 3: GB2312
01 to 50 The specific expiration periods b Character code 0 to 3, 5, 9 1 1
number 5: UTF-8
are fixed to 0.
9: Only for the command to
c Year -99 to +99 3 1 To set this to 0, specify -00 or request the character
+00. code at the time of setting
d Month -99 to +99 3 1
Number of
-1999 to To set this to 0, specify -0000 or c characters to 1 to 10 2 1
e Day 5 1
+1999 +0000. replace
f Hour -99 to +99 3 1 Encoded Character Up to 10 characters (from
To set this to 0, specify -00 or d Max. 30 10
character string string year 0 to year 9 in order)
g Minute -99 to +99 3 1 +00.
Current date
and time
January 10, 2006 01:00 on January 10, 2006 January 31, 2006 Requesting the month encoded characters
Expiration +1 year, +1 month, 0 years, +1 month, -1 day, 0 years, +1 month, Command
period setting 0 days -02 hours, 00 minutes 0 days
Print
Header RD ,a,b Delimiter
February 2, 2007 23:00 on February 8, 2006 February 28, 2006
contents
Response
This pattern can be repeated for a total of up to 12
Initializing the expiration period settings instances of the pattern.
Command
Header RD ,a,b,c,d Delimiter
Response Response
Requesting the day encoded characters Requesting the minute encoded characters
Command Command
Response
Response This pattern can be repeated for a total of up to 60
This pattern can be repeated for a total of up to 31 instances of the pattern.
instances of the pattern.
Header RJ ,a,b,c,d Delimiter
Header RF ,a,b,c,d Delimiter
Setting the hour encoded characters Setting the second encoded characters
Command Command
This pattern can be repeated for a total of up to 24 This pattern can be repeated for a total of up to 60
instances of the pattern. instances of the pattern.
Header RG ,a,b,c,d Delimiter Header RK ,a,b,c,d Delimiter
Response Response
Requesting the hour encoded characters Requesting the second encoded characters
Command Command
Response Response
This pattern can be repeated for a total of up to 24 This pattern can be repeated for a total of up to 60
instances of the pattern. instances of the pattern.
Header RH ,a,b,c,d Delimiter Header RL ,a,b,c,d Delimiter
* Use a single command to set and request the 24 types of encoded * Use a single command to set and request the 60 types of encoded
characters in order from hour 0 to hour 23. characters in order from second 0 to second 59.
Setting Setting
Parameter Bytes Quantity Remarks Parameter Bytes Quantity Remarks
value value
Hour encoded Second encoded
a 01 to 10 2 1 a 01 to 10 2 1
number number
0: ASCII (8 bits) 0: ASCII (8 bits)
1: SHIFT-JIS 1: SHIFT-JIS
2: Latin-9 2: Latin-9
3: GB2312 3: GB2312
b Character code 0 to 3, 5, 9 1 1 b Character code 0 to 3, 5, 9 1 1
5: UTF-8 5: UTF-8
9: Only for the command to 9: Only for the command to
request the character request the character
code at the time of setting code at the time of setting
Number of Number of
c characters to 1 to 10 2 1 c characters to 1 to 10 2 1
replace replace
Encoded Character Up to 10 characters (from Up to 10 characters (from
d Max. 30 24 Encoded Character
character string string hour 0 to hour 23 in order) d Max. 30 60 second 0 to second 59 in
character string string
order)
Response Response
a 01 to 10 2 1
number
Setting 0: ASCII (8 bits)
Parameter Bytes Quantity Remarks 1: SHIFT-JIS
value
2: Latin-9
Day of the week 3: GB2312
a 01 to 10 2 1
encoded number b Character code 0 to 3, 5, 9 1 1 5: UTF-8
0: ASCII (8 bits) 9: Only for the command to
request the character
1: SHIFT-JIS
code at the time of
2: Latin-9 setting
3: GB2312
b Character code 0 to 3, 5, 9 1 1 Number of
5: UTF-8
9: Only for the command to c characters to 1 to 10 2 1
request the character replace
code at the time of setting Encoded Character Up to 10 characters (from 0
d Max. 30 36
character string string to 9 and A to Z in order)
Number of
c characters to 1 to 10 2 1
replace Setting the time slot encoded characters
Up to 10 characters
Encoded Character (Sunday, Monday, Tuesday, Command
d Max. 30 7
character string string Wednesday, Thursday, This pattern can be repeated for a total of up to 25
Friday, Saturday in order) instances of the pattern.
Header RS ,a,b,c,d,e Delimiter
Setting the week encoded characters
Response
Command
This pattern can be repeated for a total of up to 54 Header RS Delimiter
instances of the pattern.
Requesting the time slot encoded characters
Header RO ,a,b,c,d Delimiter
Command
Response
Header RT ,a,b Delimiter
Header RO Delimiter
Response
This pattern can be repeated for a total of up to 25
Requesting the week encoded characters instances of the pattern.
Command
Header RT ,a,b,c,d,e Delimiter
* Request and set the encoded characters only for the specified time
Header RP ,a,b Delimiter division (up to 25 divisions).
Response Setting Maximum
Parameter Quantity Remarks
This pattern can be repeated for a total of up to 54 value bytes
instances of the pattern. Shift code encoded
a 01 to 10 2 1
number
Header RP ,a,b,c,d Delimiter
0: ASCII (8 bits)
1: SHIFT-JIS
* Use a single command to set and request the 54 types of encoded 2: Latin-9
3: GB2312
characters in order from week 1 to week 54. b Character code 0 to 3, 5, 9 1 1 5: UTF-8
9: Only for the command
Setting to request the
Parameter Bytes Quantity Remarks character code
value
at the time of setting
Week encoded
a 01 to 10 2 1 Number of characters
number c 1 to 10 2 1
to replace
0: ASCII (8 bits)
1: SHIFT-JIS 00:00 to 23:59.
Parameters ",d" and ",e"
2: Latin-9 0000 to
d Division start time 4 Max. 25 are a set that is repeated
3: GB2312 2359
b Character code 0 to 3, 5, 9 1 1 for a total of up to 25
5: UTF-8 instances of the set.
9: Only for the command to
request the character Division encoded Character
e 30 Max. 25 Up to 10 characters
code at the time of setting character string string
Number of Reference Setting example) Use the command shown below to print in time
c characters to 1 to 10 2 1
slot number 01 the following character strings
replace
in three different time slots that the day has
Encoded Character Up to 10 characters (from been divided into.
d Max. 30 54
character string string week 1 to week 54 in order)
00:00 to 07:59 Print 1A
08:00 to 15:59 Print 1B
Response
Header RX Delimiter
Setting Maximum
Parameter Quantity Remarks
value bytes
0: Year encoded
1: Month encoded
2: Day encoded
3: Hour encoded
4: Minute encoded
a Encoded type 0 to 9, A 1 1 5: Second encoded
4
6: Day of the week encoded
7: Week encoded
8: Counter encoded
9: Shift code
A: All types including shift
Response
Setting the current program number
Command Header KV Delimiter
Header FW ,a Delimiter
Response when the command is stored in the communication buffer. Header KW Delimiter
Response
Header FW , BUF Delimiter
Header KW ,a Delimiter
Header FR Delimiter
Command
Response
Header KX Delimiter
Header FR ,a Delimiter
Response
If a command for switching the program number is received during printing,
the command is stored temporarily, a response is sent, and the command is Header KX Delimiter
executed after printing is complete.
Setting Setting
Parameter Bytes Quantity Remarks Parameter Bytes Quantity Remarks
value value
Program 0: OFF,
a 1 to 500 3 1
number a Buffer setting 0, 1, 2 1 1 1: Change program (FW)
2: Change character string (BK)
Group printing
Set the group settings to the current print settings. 5-2 Other
If the specified group setting is empty, an error is returned.
The "run setting" number will be "001" immediately after the group setting is
canceled by specifying "00."
Test printing
Setting the group printing number Sending the test printing command causes printing to be performed once.
Command
Starting test printing
Header FF ,a Delimiter
Command
Response
Header TW Delimiter
Header FF Delimiter
Response
Requesting the group printing number
Header TW Delimiter
Command
Response
Header FH Delimiter
Setting
Parameter Bytes Quantity Remarks
value
FF command: 00: Cancels the
group printing setting
00,
a Group number 2 1 FG command: 00: A state other
01 to 10
than the group printing
setting
Suspending printing
Command
Header SR Delimiter
Response
Header SR Delimiter
Resuming printing
Command
Header SQ Delimiter
Response
Header SQ Delimiter
Guide LED
5
Header GL ,a Delimiter
Response
Header GL Delimiter
Header GM Delimiter
Response
Header GM ,a Delimiter
Setting Maximum
Parameter Quantity Remarks
value bytes
0: OFF
Guide LED
a 0 to 2 2 1 1: ON
status
2: Synchronous printing
Printed counters
You can set and request the printed counters.
Response
Header KG Delimiter
Header KH ,a Delimiter
Response
Setting Maximum
Parameter Quantity Remarks
value bytes
Printed counter KG setting value: 1, 2
a 1 to 3 1 1
number KH setting value: 1 to 3
0 to
b Printed count 9 1
999999999
Requesting the current date and time If you set the shift condition to 1: "Enabled only once," the setting will be
Command changed to 0: "Disabled" after the shift time function is executed one time.
6 Header
Response
DB Delimiter
Parameter
Setting
value
Maximum
bytes
Quantity Remarks
0: Disabled
Shift
Environment Settings
Response When the shift time is set to 28:00 (04:00 of the following day)
From 28:00 (04:00 of the
Up to 27:59 (03:59 of the following day),
Header DI ,a,b,c,d,e,f Delimiter Printing following day), the date of the
the date of the current day is printed.
following day is printed.
Setting Maximum
Parameter Quantity Remarks
value bytes
a Year 00 to 99 2 1 00: 2000 to 99: 2099
b Month 1 to 12 2 1 6-2 Barcode Link
c Day 1 to 31 2 1
d Hour 0 to 23 2 1
Barcode link setting and switching
e Minute 0 to 59 2 1
f Second 0 to 59 2 1 When this command is received in the barcode comparison registration
screen, the variable is registered as a check code. When this command is
Hold date and time, setting the time type received in any other screen, the program number associated with a previ-
ously recorded check variable is loaded.
Command
Response
Hold date and time, requesting the time type
Command
Header BR Delimiter
Header DU Delimiter
Parameter
Setting Maximum
Quantity Remarks
value bytes
Response
ASCII
Character
a character 20 1
string
Header DU ,a Delimiter string
Setting Maximum
Parameter Quantity Remarks
value bytes
0: Current date and time
a Time type 0, 1 1 1
1: Hold date and time
Standard: 15 mm/
Head/target distance Barcode height 16 dots
A
lowercase: 10 mm
Title No
High-order 4 bits
0 1 2 3 4 5 6 7 8 9 A B C D E F
N D
0 U
L
L
E
S D
1 O
H
C
1
S D
2 T
X
C
2
E D
3 T
X
C
3
E D
4 O
T
C
4
E N
5
Low-order 4 bits
N A
Q K
A S
6 C
K
Y
N
B E
7 E
L
T
B
C
8 BS A
N
9 H T EM
S
A L F UB
E
B V T SC
C F F
F S
D C R GS
E SO RS
F S I US
Numerics P
2D codes ..................................................................11, 14 Print adjustment ...........................................................8, 9
Print content settings ........................................................8
A Print method .....................................................................9
Abnormality level errors ....................................................6 Print result ......................................................................12
ASCII code table ............................................................23 Printed counters .............................................................21
Printing conditions ............................................................8
B Printing direction ..............................................................9
Barcode link ...................................................................22 R
Barcodes ..................................................................11, 14
Resuming printing ..........................................................21
C RS-232C cable .................................................................3
Caution level errors ..........................................................6 S
Character height adjustment ............................................9
Character width adjustment .............................................9 Second encoded characters .........................................17
Checksum ........................................................................2 Setting parameter composition ........................................8
Communication buffer ................................................4, 20 Setting the header and delimiter ......................................2
Communication competition .............................................3 Setting the print character string ....................................11
Communication log ..........................................................3 Shift time .........................................................................22
Communication priority ....................................................3 Shutdown .........................................................................7
Communication Settings ..................................................3 Startup ..............................................................................7
Communication Specifications .........................................2 Suspending printing .......................................................21
Counter ...........................................................................12 Switching the program number ......................................20
F W
Font number table ..........................................................10 Week encoded characters .............................................18
G Y
Group printing ................................................................20 Year encoded characters ..............................................16
Guide LED ......................................................................21
H
Head distance ..................................................................9
Hold date and time .........................................................22
Hour encoded characters ..............................................17
How expiration period dates and times are
calculated .......................................................................16
How to read command structures ....................................2
L
Line settings .................................................................8, 9
List of control codes .......................................................15
List of error codes ............................................................5
M
Message conditions .......................................................10
Message interval ..............................................................9
Minute encoded characters ...........................................17
Month encoded characters ............................................16