KGK - Printer - CCS-3000 Protocol
KGK - Printer - CCS-3000 Protocol
Instruction manual
Communication
Thank you for purchasing our continuous ink jet printer for industrial use.
In order to properly use this unit, carefully read this instruction manual.
Please keep this instruction manual on hand so that you can consult it whenever any
question and/or trouble arise while in use.
Introduction
Instruction manual - [ Communication ] (hereinafter called "this manual") describes communication between
the ink jet printer and external devices. Thoroughly read this manual and properly use the printer.
In addition, read the "Instruction manual - [ Introduction ]", "Instruction manual - [ Operation/Maintenance ]",
and " Instruction manual - [ I/O ]" along with this manual.
Disclaimer
We shall not be liable for any damage caused by fault, malfunction or defect of the CCS3000 series
(hereinafter called "this product").
We shall not be liable for any matters if any parts, options or consumables other than our genuine parts
are used, or any unauthorized modification, etc. are carried out.
2
Safety precautions
Before use, thoroughly read the "Safety precautions" in this manual, and properly use this product to obtain its
best performance.
This manual indicates the safety precautions as follows in order to prevent personal injury and/or property
damage.
Indicates that improper handling in disregard of this indication may result in personal
Warning injury or property damage.
Indicates that improper handling in disregard of this indication may result in poor
Caution performance or breakdown of the product.
Direction
3
Introduction
Power supply
Danger
Banning the use of any power other than 100-240V, 50/60Hz
Do not use any power other than 100-240V, 50/60Hz.
Prohibit
Failure to observe this may cause fire or electrical shock.
Caution
Prohibited connection/disconnection of the power cables while power is
Prohibit turned on
Do no connect/disconnect the power cables while power is turned on.
Failure to observe this may damage the equipment.
When you install or transport this product, open the cover, or connect with any equipment, be
sure to connect or disconnect the cables according to the following procedures.
When connecting:
Turn OFF all equipment, including the externally connected sequencer, PC, etc.
Unplug this product.
Connect the cables to this product.
Plug in all the equipment.
Turn ON the power switches of all equipment.
When disconnecting:
Turn OFF all equipment, including externally connected sequencer, PC, etc.
Unplug this product.
Disconnect all cables that have been connected to this product.
This product is also designed for IT power distribution system with phase-to-phase voltage
Direction
230V.
This AC outlet shall be installed near the equipment and shall be easily accessible.
Direction
4
5
Contents
Introduction 2
Safety precautions ____________________________ 3
Description of the indication___________________ 3
Power supply ______________________________ 4
Contents 6
Communications overview 8
1-1 Devices required for communications setting ___ 8
1-2 LAN ______________________________________ 8
1-3 RS-232C __________________________________ 9
1-4 Common rules for communication commands _ 11
1-5 Protocol _________________________________ 19
1-6 Precautions in sending commands continuously21
1-7 Checksum form ___________________________ 23
1-8 Concerning time-out _______________________ 24
Settings 26
2-1 Basic communications settings _____________ 26
2-2 Slave control _____________________________ 29
2-3 Procedures prior to communications _________ 31
2-4 Print end signal ___________________________ 31
Communications commands 32
3-1 List of commands _________________________ 32
3-2 Setting commands ________________________ 35
3-3 Acquisition commands____________________ 106
3-4 Reset commands_________________________ 183
3-5 Update commands _______________________ 189
6
Character code 192
4-1 Table of calendar character codes __________ 192
4-2 Table of digit codes_______________________ 193
4-3 Table of user font codes___________________ 194
4-4 Table of bar code data registration codes ____ 195
4-5 Table of 2D code data registration codes _____ 198
4-6 Assignment character-related information____ 201
4-7 I/O pin assignment settings ________________ 204
4-8 Table of version information types __________ 205
7
Communications overview
1-1 Devices required for communications setting
The use of RS-232C communication or LAN communication installed in this product enables data entry and
various settings to be performed via communication.
Prepare the following devices to perform communication.
RS-232C communication RS-232C communication cable (Max. 15 m long)
cable
LAN communication cable LAN communication cable (Max. 100 m long)
- Device with RS-232C interface such as a PC or sequencer
Host device
- LAN communication environment
Software installed on the above host device
Software (The customer should create software which meets the
communication requirements of this product.)
1-2 LAN
This product is equipped with LAN as standard, as its communications interface.
Caution
It is impossible to use LAN and RS-232C at the same time. Select one of them.
Determine which to use, to suit the customer's system configuration.
The communication protocol and commands are the same for both.
Communication spec
Max. cable length 100 m (excluding the case of being relayed via the hub)
Max. possible 100 Mbps
communication speed
No. of terminal units 3 units
connected
Connector shape RJ45
Communication protocol TCP / IP
TCP connection Passive open server
No. of port Fixed
(The number that you set in the communication settings screen.)
IP address Fixed
(The address that you set in the communication settings screen.)
Ethernet specifications 10BASE-T / 100BASE-TX (AUTO)
Attention of connection Set the ethernet hub between host device and CCS3000
Connector type
Type Product side Cable side Manufacturer
1 VS-08-A-RJ45/MOD-1-IP67 VS-08-RJ45-5-Q/IP67 PHOENIX CONTACT Inc.
2 RJ45F71 RJ45F6 WEIPU.
*You can use the connector of the standard LAN cable, but do not get the dust / water proof performance of IP67.
8
1-3 RS-232C
This product is equipped with RS-232C as standard, as its communications interface.
Caution
It is impossible to use RS-232C and LAN at the same time. Select one of them.
Determine which to use, to suit the customer's system configuration.
The communication protocol and commands are the same for both.
Communication spec
15 m (The maximum cable length applies to 9600 bps. The
Max. cable length
communication speed varies according to operating environment.)
Max. possible 115200 bps
communication speed
No. of terminal units 1 unit
connected
Connector shape Refer to "Connector pin assignment" on page 9.
Control signal type other DTR, DSR, RTS, CTS
than data
Connector type
Type Product side Cable side Manufacturer
1 RM15WTRZ-8S(71) RM15WTPZ-8P(71) Hirose Electric Co., Ltd.
2 SF1213/S9 SF1210/P9 WEIPU.
3 KGK-ST1212/S7 KGK-ST1210/P7 KGK Co., Ltd.
9
Communications overview
TXD 2 3 4 TXD
RXD 3 2 2 RXD
RTS 4 7 3 RTS
CTS 5 8 5 CTS
DTR 20 4 6 DTR
DSR 6 6 1 DSR
SG 7 5 7 SG
10
1-4 Common rules for communication commands
Each communication command is made up of a three-letter command (CMD) and a parameter.
Each parameter is separated by a colon ":" as a delimiter. It is not permitted to omit the delimiter.
11
Communications overview
Transmit Data
Character data
Code system specified
Transmit Data
Character data
Code system specified
Transmit Data
Character data
Code system specified
12
Sending character data " " in the ASCII/Shift-JIS code system (When only the Shift-JIS code system
is used)
Character transmitted Shift-JIS code
A 8260
B 8261
8E9A
Transmit Data
Character data
Code system specified
Sending character data " " in the ASCII/Shift-JIS code system (When both code systems are
intermixed)
Character transmitted ASCII or Shift-JIS code
A 41
B 42
8E9A
Transmit Data
Caution
Characters are printed in the same character width regardless of whether they are of one-byte
codes or two-byte codes. (The transmission of characters in one-byte codes does not mean
that they are printed in half-width characters.)
In the case that characters corresponding to calendar characters are transmitted when
"ASCII/Shift-JIS" is specified:
They are recognized as calendar characters if sent in ASCII codes.
They are recognized as characters as sent, if transmitted in Shift-JIS codes.
13
Communications overview
Transmit Data
Character data
Code system specified
Transmit Data
Character data
Code system specified
Sending character data " " in the ASCII/GB code system (When both code systems are intermixed)
Character transmitted ASCII or GB code
A 41
B 42
D7D6
Transmit Data
14
Caution
Characters are printed in the same character width regardless of whether they are of one-byte
codes or two-byte codes. (The transmission of characters in one-byte codes does not mean
that they are printed in half-width characters.)
In the case that characters corresponding to calendar characters are transmitted when
"ASCII/GB" is specified:
They are recognized as calendar characters if sent in ASCII codes.
They are recognized as characters as sent, if transmitted in GB codes.
Transmit Data
Character data
Code system specified
Sending character data "A문자" in the ASCII/KS code system (When both code systems are intermixed)
Character transmitted ASCII or KS code
A 41
문 B9AE
자 C0DA
Transmit Data
문자
Character data (" 문자 " is a two-byte code)
Code system specified
Caution
Characters are printed in the same character width regardless of whether they are of one-byte
codes or two-byte codes. (The transmission of characters in one-byte codes does not mean
that they are printed in half-width characters.)
In the case that characters corresponding to calendar characters are transmitted when
"ASCII/KS" is specified:
They are recognized as calendar characters if sent in ASCII codes.
They are recognized as characters as sent, if transmitted in KS codes.
15
Communications overview
Transmit Data
Character data
Code system specified
Sending character data " " in the ASCII/BIG5 code system (When both code systems are
intermixed)
Character transmitted ASCII or GB code
A 41
B 42
A672
Transmit Data
Caution
Characters are printed in the same character width regardless of whether they are of one-byte
codes or two-byte codes. (The transmission of characters in one-byte codes does not mean
that they are printed in half-width characters.)
In the case that characters corresponding to calendar characters are transmitted when
"ASCII/BIG5" is specified:
They are recognized as calendar characters if sent in ASCII codes.
They are recognized as characters as sent, if transmitted in BIG5 codes.
16
How the characters not stored in CCS3000 will be treated;
When a character code of the character not stored in CCS3000 is sent using a character registration or a
character assignment command, it will be usually treated as an error.
If you do not like to treat a certain character like Cyrillic alphabet or a Japanese Kanji of Class 3 or 4 not stored
in CCS3000 as an error, then you can have it substituted by a user font using the method below.
17
Communications overview
Caution
Characters not stored in CCS3000 are stored as the character code of user font.
If a incorrect shift JIS code (code whose upper 1 bite is shift JIS code) is sent when "ASCII/
Shift-JIS" is specified, it will be treated as an error.
When a character code corresponding to a calendar character is set to the module other than
that for Calendar, the character code of user font will be stored.
When a character code of the digit code is set to the module other than that for Numbering or
Distance, the character code of user font will be stored.
If you wish to store a comment of a message using SMC command, this does not work.
When a character code not stored in CCS3000 is sent, it will be treated as an error.
18
1-5 Protocol
The following protocols are used for communication.
(1)
STX
ETX
Host device
CMD Parameter
(3 characters)
This product 02H 03H
Host device
ACK
This product
06H
(2)
NAK
15H
(2)’
NAK
STX
ETX
Error code
(4 characters)
15H 02H 03H
(2)’’
Memo
Whether to send back only "NAK" in (2)' or send back "NAK + Error code" in (2)'' can be
specified in the basic communications settings or using the setting command "SPC" or "SPN".
For details of the basic communications settings, refer to "Basic communications settings" on
Page 26.
For details of the setting commands "SPC" and "SPN", refer to "SPC (Set Parameter
Communication)" on Page 91 and "SPN (Set Parameter Network)" on page 95. For details of
error codes, refer to "5-1 List of error codes" on page 206.
19
Communications overview
(1)
STX
ETX
Host device
CMD
Parameter
(3 characters)
This product 02H 03H
This product
ACK
STX
ETX
Response data
Host device
06H 02H 03H
(2)
NAK
15H
(2)’
NAK
STX
ETX
Error code
(4 characters)
15H 02H 03H
(2)’’
Memo
Whether to send back only "NAK" in (2)' or send back "NAK + Error code" in (2)'' can be
specified in the basic communications settings or using the setting command "SPC" or "SPN".
For details of the basic communications settings, refer to "Basic communications settings" on
Page 26.
For details of the setting commands "SPC" and "SPN", refer to "SPC (Set Parameter
Communication)" on Page 91 and "SPN (Set Parameter Network)" on Page 95.
For details of error codes, refer to "5-1 List of error codes" on Page 206.
20
1-6 Precautions in sending commands continuously
In the case that “Continuous command transmission” is disabled
When sending communications commands continuously, be sure to receive a response (e.g. ACK or NAK) to
one command and then send the next command. Although some communications commands have a slow
response as shown in the example below, always wait and receive a response to a command before sending
the next command.
Example of correct command sending
Host device
STX
ETX
STX
ETX
STX
ETX
CMD Parameter CMD Parameter CMD Parameter
This product
This product
ACK
ACK
ACK
Host device
ETX
STX
ETX
STX
ETX
CMD Parameter CMD Parameter CMD Parameter
This product
This product
ACK
ACK
Host device (1)’ (3)’
Given normally
No response
The data from the STX code, which is received between the completion of command
(1) reception (ETX reception) and the response of ACK, to the ETX code is ignored.
Therefore, this product has no received data, thus sending back no response.
Given normally
The data (3) from STX to ETX is received normally and also responded to normally.
21
Communications overview
ETX
STX
ETX
STX
ETX
CMD Parameter CMD Parameter CMD Parameter
This product
This product
ACK
ACK
ACK
Host device (1)’ (2)’ (3)’
In order to make sure that all the commands are processed, the host device is required to count the number of
responses, which should be the same with the number of commands. The sending data from the host device
must be less than the buffer size of this product (32 kbytes) .
22
1-7 Checksum form
If "Checksum" is set to YES in the Basic communications settings, it is necessary to calculate the checksum
value of the data between STX and ETX and append one byte after ETX. This applies to both transmission and
reception.
Ordinary commands
Area for checksum
Checksum
(1 byte)
STX
ETX
CMD
Parameter
(3 characters)
02H 03H ??H
NAK
STX
ETX
Error code
(4 characters)
15H 02H 03H ??H
The checksum value should be determined by the addition of all above numbers. The addition results in 2CDH,
and its low-order byte, or CDH, is adopted as the checksum value.
23
Communications overview
No
Is it “STX”?
Yes
Yes
Has the receiving time passed the setting value? Timeout: NAK is sent back
No
Yes
Has the receiving time passed the setting value?
No
No
Is it “ETX”?
Yes
24
25
Settings
2-1 Basic communications settings
Set various items on communications in advance.
Communications setting
Press the [Communication] button on the menu
screen.
Memo
This button is not displayed in the default Simple
Setting.
Select [Menu] - [Function] - [Communication] to
check the [RS232C is used] or [LAN is used]
button.
Click the setting box for each setting item, and set a
desired value in it.
[RS-232C]
Setting item Description
Baud rate [bps] Select a desired communications speed.
Character length [bit] Select "7" or "8" bits.
Parity check Select "No", "Odd" or "Even".
Stop bit [bit] Select "1" or "2" bits.
Error code Select "Use" or "Not use".
Checksum Select "Disabled" or "Enabled".
Receiving time-out [sec] Set the time-out time using the ten-key pad.
Continuous command transmission Select "Disabled" or "Enabled".
26
[LAN]
Setting item Description
Set the static IP address to be assigned to this product.
IP address Automatic assignment by DHCP etc. is unavailable.
The static IP address should be set to suit your network environment.
Set the subnet mask to be assigned to this product.
Subnet mask
The static subnet mask should be set to suit your network environment.
Set the default gateway to be assigned to this product.
Default gateway The static default gateway should be set to suit your network environ-
ment.
Set the port number to be assigned to this product.
Port
The static port number should be set to suit your network environment.
Error code Select "Use" or "Not use".
Checksum Select "Disabled" or "Enabled".
Receiving time-out [sec] Set the time-out time using the ten-key pad.
Continuous command transmission Select "Disabled" or "Enabled".
MAC address Display the MAC address that is assigned to this product.
When you let the operation with this unit as master unit link slave units,
Master Settings you set this settings.
For the details, refer to “P29: Slave control”.
27
Settings
Parity bit
Start bit D1 D2 D3 D4 Dn
Stop bit
Character bits
Character bits
28
2-2 Slave control
This is the function to let the operation of master unit link plural slave units by LAN communication.
Per one link group, one master unit links up to 16 slave units. The master unit is only one in one link group.
When there are plural master units in one link grope, the process of interlock does not work normally.
If the system software version of each unit is different, there is a risk of failing to the process of interlock.
Incommunication
each unit including the master unit, set the
settings of LAN.
Caution
Allocate an unique IP address for each unit.
Allocate a same port number for each unit.
Memo
You cannot operate these operation in the default
Simple Setting.
Select [Menu] - [Function] - [Communication] to
check the [LAN is used] and [Slave control is used]
button.
Click the setting box for each setting item, and set a
desired value in it.
29
Settings
[Master settings]
Setting item Description
Confirmation before execution
Shutdown Set whether to display the confirmation screen before shutdown.
Set whether to display the confirmation screen before setting system
System clock setting
clock.
Set whether to display the confirmation screen before changing print-
Operation control
ing head operation.
Set whether to display the confirmation screen before selecting current
Select message
message number.
Set whether to display the confirmation screen before editting mes-
Print content edt
sage data and module data.
Set whether to display the confirmation screen before editting current
Current numbering value
numbering value.
Slave controller settings Each slave unit settings are displayed.
No. The slave unit number is displayed.
Enabled Set whether to link the slave unit.
IP address Set the static IP address to be assigned to the slave unit.
Set whether to let each operation at this unit as master unit link the
Interlocking
slave unit.
Shutdown Set whether to interlock to the shutdown.
System clock setting Set whether to interlock to the setting of system clock.
Operation control Set whether to interlock to the printing head operation.
Select message Set whether to interlock to the selecting current message number.
Print content edit Set whether to interlock to the editting message data and module data.
Current numbering value Set whether to interlock to the editting current numbering value.
* Does not interlock the setting of the various printing condition,
* Does not interlock the editing of the bit image module.
* When the function "Numbering module > Extended printing : Character method" is selected, does not interlock the editing the
numbering module.
30
2-3 Procedures prior to communications
Connect a host device and this product using a communications cable specified by us.
Perform communications setting on the side of this product.
Send the data corresponding to the protocols and commands specified by us.
Example: When storing the content below in unregisterd Message 1 using Text Module 1 and 2,
(This explains what to do when the message editing mode is "CCS".)
ABCDE
Vertical dots
16
123 The font size of
both modules is 7x8.
(20, 9)
(36, 0)
After the above settings, the printing operation starts when the photo sensor is blocked.
ETX
Fixed value
1
31
Communications commands
3-1 List of commands
Setting commands
Command Function Page
S2M This command edits a 2D code module. 35
SAC This command edits the nonexistent day setting. 38
SAI This command edits the I/O input pin assignment. 40
SAO This command edits the I/O output pin and signal lamp port assignments. 41
SBM This command edits a Bar code module. 42
SCC This command edits the print control setting. 46
SCE This command edits the encoder setting. 47
SCI This command edits the output conditions of the I/O output signal. 48
SCM This command edits a Clock module. 50
SCP This command edits the printing conditions. 52
SCR This command edits the repeat printing conditions. 53
SCS This command edits the photo sensor setting. 54
This command edits the setting of connection with the UPS (uninterruptive
SCU 55
power supply).
This command edits the assignment characters of Calendar, Numbering, and
SDA 56
Distance modules.
SDB This command edits the bit image message (message No. 0). 58
SDM This command edits a Distance module. 60
This command edits the current value and current repeated value of a
SDN 62
Numbering module.
SDP This command edits the print count. 63
SIM This command edits an Interval module. 64
SLM This command edits a Limit module. 65
SMC This command edits the comment of a message. 67
SMD This command edits a message. 68
SMG This command edits a message. (however, the printing data do not change) 69
SMM This command edits a message. 70
SMN This command selects the current message No. 75
SMR This command edits a message. 76
SMU This command edits the update setting of a Calendar or Numbering module. 77
SNM This command edits a Numbering module. 78
SOC This command edits the offset of a Clock module. 81
SOL This command sets the offset of a Limit module. 82
SP2 This command edits the 2D code setting. 83
This command edits the character assignment setting of Calendar,
SPA 85
Numbering, and Distance modules.
SPB This command edits the bar code setting. 87
SPC This command edits the RS-232C communications setting. 91
SPL This command edits the calendar setting. 92
SPM This command edits a bit image module. 93
SPN This command edits the LAN communications setting. 95
SPP This command edits the reset setting of the print counter. 96
32
Command Function Page
SPT This command edits the timer start setting. 97
SPU This command edits the screen operation setting. 98
SRC This command changes the run mode of the head. 99
SRP This command inputs a print command. 100
SSC This command edits the Shift code. 101
STC This command edits the offset time of a Clock module. 102
STM This command edits a Text module. 103
STS This command edits the system clock. 105
Acquisition commands
Command Function Page
G2M This command acquires a 2D code module. 106
GAC This command acquires the nonexistent day setting. 109
GAI This command acquires the I/O input pin assignment. 111
GAO This command acquires the I/O output pin and signal lamp port assignments. 112
GBM This command acquires a Bar code module. 113
GCC This command acquires the print control setting. 118
GCE This command acquires the encoder setting. 119
GCI This command acquires the output conditions of the I/O output signal. 121
GCM This command acquires a Clock module. 123
GCP This command acquires the printing conditions. 125
GCR This command acquires the repeat printing conditions. 126
GCS This command acquires the Photo sensor setting. 127
This command acquires the setting of connection with the UPS
GCU 128
(uninterruptible power supply).
This command acquires the assignment characters of Calendar, Numbering,
GDA 129
and Distance modules.
GDE This command acquires the measurement log data. 131
GDL This command acquires the work log data. 133
GDM This command acquires a Distance module. 134
This command acquires the current value and current repeated value of a
GDN 137
Numbering module.
GDP This command acquires the print count. 138
This command acquires the current printing data of Calendar, Numbering,
GDR 139
and Distance modules.
GDV This command acquires the system state. 140
GIM This command acquires an Interval module. 141
GLM This command acquires a Limit module. 142
GMC This command acquires the comment of a message. 144
GMD This command acquires a message. 145
GMM This command acquires a message. 146
GMN This command acquires the current message No. 149
GMU This command acquires the update setting of a Calendar or Numbering module. 150
GNM This command acquires a Numbering module. 151
GOC This command acquires the offset of a Clock module. 154
GOL This command acquires the offset of a Limit module. 155
33
Communications commands
Reset commands
Command Function Page
This command initializes the assignment characters of Calendar, Numbering,
RDA 183
and Distance modules.
RDM This command initializes the print and setting data. 184
This command resets the current value and current repeated value of a
RDN 185
Numbering module.
RDP This command resets the print counter. 186
RRC This command executes the process of turning off the power. 187
RRP This command forcibly stops printing. 188
Update commands
Command Function Page
UDC This command execute the calendar update. 189
UDN This command execute the numbering update. 190
34
3-2 Setting commands
S2M (2D code Module)
Function
This command edits a 2D code module.
Memo
Related commands: “G2M” on page 106. “Table of 2D code data registration codes” on page
198.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 2 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
3 Vertical dots 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
5 2D code type 0: QR, 1: DataMatrix 1
The parameter part continues further.
For the case of QR
35
Communications commands
Field data
* If the command contains only up to No.2 parameters, the modules are deleted.
* When the function "Print > Edit message mode: CCS" is selected, Parameters 3 and 4 are not reflected on printout.
* If you want to delete any field data, set the parameter number 9 as non-input.
* When changing only the check digit of any Field No., set the parameter number 9 as ‘?’.
* The check digit is ignored even if added to a field in which no character code is registered.
* Field data should be edited in ascending order of Field No.
* 2d code data are sensitive to full-width characters and half-width characters. Therefore, when entering half-width characters in
the JIS or Shift-JIS code system, use codes from 0020 ~ 007E.
36
Example of use
Sending data→S2M: 2: 1:
Deletes the contents of Module 1.
Vertical dots 36
Font bottom position 0
2D code type QR
Version Auto
Error correction Q
Mode Compound
Cell size 1
Reverse Disabled
Front and last space 0
Character code ASCII / Shift-JIS
Check digit: Disabled
Field 1 data
2D code data: Half-width character "1234"
Check digit: Enabled
Field 2 data
2D code data: Half-width character "ABCD"
* The settings of Vertical dots and Font bottom position are invalid when the function "Print > Edit message mode: CCS" is
selected.
Sending data→S2M: 2: 1: : : : : 1: : :
Deletes the data of Field 1 of Module 1.
* Because no changes are made to the existing settings, some parameters are omitted.
Sending data→S2M: 2: 1: : : : : 1: 1: ?:
Changes the data of Field 1 of Module 1 to "Check digit: Enabled".
* Because no changes are made to the existing settings, some parameters are omitted.
37
Communications commands
Memo
Related commands: “GAC" on page 109.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Calendar type 0: Clock, 1: Limit 1
3 Module No. 1 ~ 40: No. 1 ~ 40, C: Common setting, D: Default data Variable
4 Calculation method 0: Disabled (Not use), 1: Date, 2 : Emergence order 1
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
5 Code system 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS, 1
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Assignment character 1
6 (for the 29th day Character code (for 0 ~ 4 characters) Variable
or emergence in the 1st)
Assignment character 2
7 (for the 30th day Character code (for 0 ~ 4 characters) Variable
or emergence in the 2nd)
Assignment character 3
8 (for the 31th day Character code (for 0 ~ 4 characters) Variable
or emergence in the 3rd)
* If the function "Calendar module > Calculation method: CCS" is selected, "Calendar type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types.
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
* If the parameter 4 "Use or not" is set to "Disabled", the subsequent parameters can be omitted.
* If the command contains only up to No.3 parameters, the nonexistent day setting is initialized. ("Calculation method" is Disabled,
and the assignment characters are cleared.)
38
Example of use
Sending data→SAC: 0: 1: 1: 1: 1: LEAP: : :
Sets the nonexistent day setting of Limit module 1 as follows:
Sending data→SAC: 0: 1: C: 0:
Sets the nonexistent day setting (common setting) to "Not used".
* "Sending data→SAC: 0: 0: C: 0: " also gives the same data setting. (This holds true only when the function “Calendar module
> Calculation method: CM2” is selected)
Sending data→SAC: 0: 1: C:
Initializes the nonexistent day setting (common setting).
* "SAC: 0: 0: C: " also gives the same data setting. (This holds true only when the function “Calendar module > Calculation
method: CM2” is selected)
39
Communications commands
Memo
Related commands: ”GAI" on page 111. “I/O pin assignment settings” on page 204.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Pin No.
2 (0 padding)
08 ~ 19: D08 ~ D19 pin
3 Assignment information
Function No.
2 (0 padding)
Refer to the I/O pin assignment setting.
When editing a plurality of assignment information at the same time, send the data of parameters 3 by the
number of assignment information, following the parameter 3. Up to 12 pieces of assignment information can
be edited consecutively.
* If the command contains only up to No.2 parameters, the input pins D08 ~ D19 are all set to "Not used."
Example of use
Sending data→SAI: 0: 1: 0800: 0926: 1025:
Assigns the I/O input pins as follows:
Sending data→SAI: 0: 1:
Sets the I/O input pins D08 ~ D19 all to "Not used."
40
SAO (Set Assign i/O pin)
Function
This command edits the I/O output pin and signal lamp port assignments.
Memo
Related commands: “GAO" on page 112. “I/O pin assignment settings” on page 204.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Pin No.00 ~ 13: D00 ~ D13 pin 2 (0 padding)
3 Assignment information Refer to the I/O pin assignment setting. 2 (0 padding)
Output time 0000 ~ 9999: 0 ~ 9999ms 4 (0 padding)
When editing a plurality of assignment information at the same time, send the data of parameters 3 by the
number of assignment information, following the parameter 3. Up to 14 pieces of assignment information can
be edited consecutively.
* If the function "Parallel I/O > Signal port: Enabled" is selected, the output pins D10 ~ D13 mean the signal lamp ports D00 ~ D03.
* If the command contains only up to No.2 parameters, the output pins D0 ~ D13 are all set to "Not used."
* Some functions assigned to the output pin cause the output time to be not reflected on the processing. (For details of the "alarm"
signal to be constantly output while an alarm is given and the like, refer to the I/O pin assignment setting.)
* The output time may be omitted. (The registered output time is set.)
Example of use
Sending data→SAO: 0: 1: 0000: 01030010: 02100010:
Assigns the I/O output pins as follows:
Sending data→SAO: 0: 1:
Sets the I/O output pins D00 ~ D13 all to "Not used."
41
Communications commands
Memo
Related commands: “GBM" on page113. “Table of bar code data registration codes” on page
195.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
3 Vertical dots 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots
E: 11 dots, F: 15 dots
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
0: ITF, 1: Code39, 2: NW7, 3: EAN, 4: Code128,
5 Bar code type 1
5: UPC, 6: Code93
6 Bar height 4 ~ 36: 4 ~ 36 dots Variable
Subsequent parameter 0: OCR setting, 1: Bearer bar setting, Variable
7
setting 2: Start/Stop character setting, 3: Bar setting (Max. 4)
The parameter part continues further.
* If the command contains only up to No.2 parameters, the modules are deleted.
* When the function "Print > Edit message mode: CCS" is selected, Parameters 3 and 4 are not reflected on printout.
1. "OCR setting"
42
2. "Bearer bar setting"
No. Parameter name Setting details Parameter length
Use of bearer bar
1
0: Disabled, 1: Enabled
Horizontal bearer bar size
8b Bearer bar setting 3 (0 padding)
001 ~ 016: 1 ~ 16 dots
Vertical bearer bar size
3 (0 padding)
001 ~ 099: 1 ~ 99 dots
* This setting is ignored for those other than ITF.
* It is also possible to change "Use of bearer bar" only.
* If "Use of bearer bar" is set to "Disabled", the subsequent parameters in Bearer bar setting can be omitted. (Those parameters
are ignored even if they are set.)
4. "Bar setting"
No. Parameter name Setting details Parameter length
Reverse
1
0: Disabled, 1: Enabled
Black bar 1 size
Light bar of {ITF, Code39, NW7}, 3 (0 padding)
Lightest bar of {EAN, Code128, UPC, Code93}
Black bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {EAN, Code128, UPC, Code93}
Black bar 3 size
Bold bar of {EAN, Code128, UPC, Code93} 3 (0 padding)
(This setting is ignored for the others.)
Black bar 4 size
Boldest bar of {EAN, Code128, UPC, Code93} 3 (0 padding)
(This setting is ignored for the others.)
White bar 1 size
8d Bar setting Light bar of {ITF, Code39, NW7}, 3 (0 padding)
Lightest bar of {EAN, Code128, UPC, Code93}
White bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {EAN, Code128, UPC, Code93}
White bar 3 size
Bold bar of {EAN, Code128, UPC, Code93} 3 (0 padding)
(This setting is ignored for the others.)
White bar 4 size
Boldest bar of {EAN, Code128, UPC, Code93} 3 (0 padding)
(This setting is ignored for the others.)
Gap size
(This setting is ignored for those other than Code39 3 (0 padding)
and NW7.)
Front space size 3 (0 padding)
Last space size 3 (0 padding)
43
Communications commands
* The input range of the size of {white bar, black bar, gap, front space, or last space} is from 001 ~ 099.
* It is also possible to set "Reverse" only.
Field data
No. Parameter name Setting details Parameter length
9 Field No. 1 ~ 16 Variable
0: Disabled, 1: Enabled
10 Use of check digit (This setting is ignored for those other than EAN, UPC 1
and NW7.)
11 Bar code data ASCII input Variable
When editing a plurality of field data at the same time, send the data of parameters 9 ~ 11 by the number of
field data, following the parameter 11. Up to 16 pieces of field data can be edited consecutively.
* If you want to delete any field data, set the parameter number 11 as non-input.
* When changing only the check digit of any Field No., set the parameter number 11 as ‘?’.
* The check digit is ignored even if added to a field in which no bar code data is registered.
Example of use
Sending data→SBM: 0: 1:
Deletes the contents of Module 1.
Sending data→SBM: 0: 1: : : : : :
1: : 9876: (Field 1 data)
Changes the data of Field 1 of Module 1 to "9876."
* Because no changes are made to the existing settings, some parameters are omitted.
Sending data→SBM: 0: 1: : : : : :
1: : : (Field 1 data)
Deletes the data of Field 1 of Module 1.
* Because no changes are made to the existing settings, some parameters are omitted.
Sending data→SBM: 0: 1: : : : : 1:
1: (Bearer bar setting)
Sets "Use of bearer bar" of Module 1 to "Disabled."
* Because no changes are made to the existing settings, some parameters are omitted.
44
Sending data→SBM: 0: 1: D: 0: 0: 34: 013:
10010100: (OCR setting)
1003004: (Bearer bar setting)
0002005003004002005003004003010010: (Bar setting)
1: 0: 1234: (Field 1 data)
2: 1: 567: (Field 2 data)
Sets the contents of Module 1 as follows:
Vertical dots 36
Font bottom position 0
Bar code type ITF
Bar height 34
Subsequent parameter
OCR setting, bearer bar setting, and bar setting
setting
* The settings of Vertical dots and Font bottom position are invalid when the function "Print > Edit message mode: CCS" is
selected.
Reverse Disabled
Black bar 1 size 2 (Size of light black bar when the bar code type is ITF)
Black bar 2 size 5 (Size of bold black bar when the bar code type is ITF)
Black bar 3 size 3
Black bar 4 size 4
White bar 1 size 2 (Size of light white bar when the bar code type is ITF)
White bar 2 size 5 (Size of bold white bar when the bar code type is ITF)
White bar 3 size 3
White bar 4 size 4
Gap size 3
Front space 10
Last space 10
* The settings of Black bar 3 size, Black bar 4 size, White bar 3 size, White bar 4 size, and Gap size are invalid when "Bar code
type" is set to "ITF".
45
Communications commands
Memo
Related commands: “GCC" on page 118.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Head No. 1 fixed 1
0 ~ 999: No. 0 ~ 999,
3 Message No. Variable
C: Common setting, D: Default data
4 Tracking 0: Disabled, 1: Enabled 1
5 Control during printing 0: Wait for print end, 1: Force to terminate printing 1
6 Back-aligned printing 0: Disabled, 1: Enabled 1
7 Print end signal 0: Disabled, 1: Enabled 1
8 One shot printing 0: Disabled, 1: Enabled 1
Number of ready recovery
9 1 ~ 9999: 1 ~ 9999 times Variable
processes
10 Print count 1 ~ 9999: 1 ~ 9999 times Variable
Message change after
11 0: Disabled, 1: Enabled 1
print
Message number after
12 0 ~ 999: No. 0 ~ 999 Variable
print
* If the command contains only up to No.3 parameters, the print control setting is initialized.
* When the function "Printing > Print end signal: Communication setting" is selected, the settings of parameters 7 is invalid.
* If the parameter 3 “Message No. : Common setting”, parameter 11 and 12 are ignored.
Example of use
Sending data→SCC: 1: 1: 1: 0: 1: 0: 0: 0: 1: 1: 0: 0:
Sets the print control setting of Message 1 as follows:
46
SCE (Set Condition Encoder)
Function
This command edits the encoder setting.
Memo
Related commands: “GCE" on page 119.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, C: Common setting, D: Default data Variable
4 Encoder 0: Disabled (Not use), 1: Enabled (Use) 1
5 Pulse number 1 ~ 10000: 1 ~ 10000 pulses/revolution Variable
6 Moving distance 0.1 ~ 10000.0: 0.1 ~ 1000.0mm/revolution Variable
0: Open collector (Single phase),
7 Signal type 1: Open collector (2 phases), 1
2: Differential (Single phase), 3: Differential (2 phases)
8 Pulse multiplication 0: Disabled (1 multiplication), 1: Enabled (32 multiplication) 1
9 Reverse absorption 0: Disabled, 1: Enabled 1
10 Rotation direction 0: CW, 1: CCW 1
11 Speed-following thinning 0: Disabled, 1: Enabled 1
Excessive frequency
12 0: Disabled, 1: Enabled 1
detection
13 Print position correction 0: Disabled, 1: Enabled 1
* If the command contains only up to No.3 parameters, the encoder setting is initialized.
* If the parameter 4 "Encoder" is set to "Disabled (Not use)", the subsequent parameters can be omitted.
* If the parameter 7 "Signal type" is set to Open collector (Single phase) or Differential (Single phase), the following settings are
ignored. {Rotation direction, Reverse absorption}.
Example of use
Sending data→SCE: 0: 1: 1: 0:
Sets the Encoder setting of Message 1 to Disabled (Not use).
47
Communications commands
Memo
Related commands: “GCI” on page 121.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Head No. 1 fixed 1
Under printing disabled due to
1
external I/O,
In the printing cycle (under 0: The signal is 1
printing, wait for print position), turned OFF.
3 Ready signal OFF Under preparation of the print 1: The signal is not
1
data, turned OFF.
Under one shot printing, 1
Under heating, 1
Reserved (0 fixed) 1
0: The signal is turned OFF in the state waiting for print
position.
4 Under-printing signal 1
1: The signal is kept ON even in the state waiting for
print position.
When an invalid print command
1
is input,
0: The alarm is not
When re-heating in the ready
output. 1
state,
1: The alarm is
When the “charge detection output.
time” has exceeded the 1
permissible range,
5 Alarm process
Reserved (0 fixed) 1
Reserved (0 fixed) 1
Reserved (0 fixed) 1
01 ~ 99: The alarm is output when the excessive
encoder frequency is detected 1 ~ 99 times.
2 (0 padding)
* This functions only when "Excessive frequency
detection" is set to "Enabled" in the Encoder setting.
48
Example of use
Sending data→SCI: 1: 1: 011000: 1: 10000099:
Sets the output conditions of the I/O output signal as follows:
Sending data→SCI: 1: 1: : 0: :
Turns OFF the under-printing signal in the state waiting for print position.
49
Communications commands
Memo
Related commands: “GCM" on page 123. “SLM" on page 65. “GLM" on page 142. “Table of
calendar character codes" on page 192.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots,
5: 12 dots, 6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
3 Module format 1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
4 Content 9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data
Variable
Character code
50
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot use this command because there is
not “Clock module“. When you use “Limit module“ in substitution for “Clock module“, please use “SLM“ command.
* If the command contains only up to No.2 parameters, the modules are deleted.
* When the function "Printing > Edit message mode: CCS" is selected, Parameter 3 is not reflected on printout.
* When "Code system" is set to "ASCII", no calendar characters can be registered.
* When "Code system" is set to "ASCII+Shift-JIS,+GB,+KS,+BIG5", if the character corresponding to a calendar character is input
in half-width character, the calendar character is set, and if it is input in full-width character, the character is set as input.
Example of use
Sending data→SCM: 1: 1:
Deletes the contents of Module 1.
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "Y3" and "Y4" in "Content" are replaced with the tens place and ones place of the Christian year, respectively, when printed.
51
Communications commands
Memo
Related commands: “GCP" on page 125.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, D: Default data Variable
4 Character height 1 ~ 29 Variable
5 Horizontal dot pitch 0.1 ~ 10: 0.10 ~ 10.00mm Variable
6 Density 1~4 1
7 Print position 0 ~ 9999.9: 0.0 ~ 9999.9mm Variable
8 Print direction 0: Forward, 1: Backward 1
9 Print speed 1 ~ 999.9: 1.0 ~ 999.9 m/min. Variable
10 Orientation 0: Normal, 1: Inverted 1
11 Thinning setting / way 0: Auto, 1: Manual, 2: Variable, 3: Constant 1
12 Thinning value 0 ~ 15 Variable
* If the command contains only up to No.3 parameters, the printing conditions are initialized.
* If the parameter 11 "Thinning setting / way" is set to "Auto", “Variable“ or “Constant“, the setting of parameter 12 is ignored and
characters are printed with the optimum value.
* When you don’t use “Pitch magnification” in the print message, the parameter 11 “Variable” or “Constant“ is ignored in printing.
* When you use “Pitch magnification“ in the print message, the parameter 11 “Auto“ or “Manual“ is ignored in printing.
Example of use
Sending data→SCP: 0: 1: 1: 17: 0.60: 1: 22.2: 0: 8.0: 0: 0: 0:
Sets the printing conditions of Message 1 as follows:
Character height 17
Horizontal dot pitch 0.60
Density 1
Print position 22.2
Print direction Forward
Print speed 8.0
Orientation Normal
Thinning setting / way Auto
Thinning number 0 (Ignored)
52
SCR (Set Condition Repeat print)
Function
This command edits the repeat printing conditions.
Memo
Related commands: “GCR" on page 126.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, D: Default data Variable
Use and method of repeat
4 0: Disabled, 1: During ON, 2: Trigger 1
printing
5 Total print count 0: Infinite count, 1 ~ 9999: 1 ~ 9999 times Variable
6 Interval/pitch 0: Interval, 1: Pitch 1
7 Distance 0 ~ 9999.9: 0.0 ~ 9999.9mm Variable
0: Disabled, 1: Enabled (The calendar is updated even
8 Update calendar 1
during repeat printing)
0: Disabled, 1: Enabled (The numbering is updated
9 Update numbering 1
even during repeat printing)
10 Immediate stop 0: Disabled, 1: Enabled 1
* If the command contains only up to No.3 parameters, the repeat printing conditions are initialized.
* If the parameter 4 "Repeated print" is set to "Disabled", the subsequent parameters can be omitted.
* If the parameter 4 "Repeated print" is set to "During ON", the parameter 10 "Immediate stop" can be set to "Enabled".
Example of use
Sending data→SCR: 0: 1: 1: 0:
Sets the repeat printing condition of Message 1 to "Repeat printing: Disabled."
53
Communications commands
Memo
Related commands: “GCS" on page 127.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, D: Default data Variable
4 Filter setting type 0: Time, 1: Distance 1
When "Filter setting type: Time":
0: Disabled, 1 ~ 999: Enabled (1 ~ 999 ms)
5 ON delay filter Variable
When "Filter setting type: Distance":
0: Disabled, 1 ~ 999: Enabled (1 ~ 999 mm)
6 OFF delay filter Same as the setting range for the ON delay filter. Variable
7 One-shot filter Same as the setting range for the ON delay filter. Variable
0: Disabled, 1 ~ 3600: Enabled (Monitoring time: 1 ~
8 Monitoring of turn ON time Variable
3600 seconds)
0: Disabled, 1 ~ 1000: Enabled (Monitoring width: 1 ~
9 Monitoring of case size Variable
1000 mm)
Allowable range of case
10 1 ~ 1000: 1 ~ 1000mm Variable
size monitoring
* If the command contains only up to No.3 parameters, the photo sensor setting is initialized.
* The parameter 7 functions only when the parameter 6 "OFF delay filter" is set to "Disabled."
* The parameter 10 functions only when the parameter 9 "Monitoring of case size" is set to "Enabled."
Example of use
Sending data→SCS: 0: 1: 1: 0: 100: 200: 300: 10: 123: 50:
Sets the photoelectric sensor setting of Message 1 as follows:
54
SCU (Set Condition Ups)
Function
This command edits the setting of connection with the UPS (uninterruptible power supply).
Memo
Related commands: “GCU" on page 128.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Use of UPS 0: Not use, 1: Use 1
UPS-powered operation
4 0 ~ 60: 0 ~ 60 minutes Variable
time
Use or not 1 fixed 1
Power failure (Signal from Interface 0: Negative logic, 1: Positive logic 1
5
UPS to CCS) Pin No. 1 fixed 1
Reserved 0 fixed 1
Use or not 0: Not use, 1: Use 1
Low battery level (Signal Interface 0: Negative logic, 1: Positive logic 1
6
from UPS to CCS) Pin No. 2 fixed 1
Reserved 0 fixed 1
Use or not 0: Not use, 1: Use 1
0: Negative logic, 1: Positive
UPS shutdown (Signal Interface 1
7 logic
from CCS to UPS)
Pin No. 1 fixed 1
Reserved 0 fixed 1
* If the parameter 3 "Use of UPS" is set to "Not use", the subsequent parameters can be omitted.
Example of use
Sending data→SCU: 0: 1: 0:
Changes "Use of UPS" to "Not use."
55
Communications commands
Memo
Related commands: “GDA" on page 129. “RDA” on page 183. “Assignment character-related
information” on page 201.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
0: Clock, 1: Limit,
2 Module type 1
2: Numbering, 3: Distance
1 ~ 40: No. 1 ~ 40,
3 Module No. Variable
C: Common setting, D: Default data
4 Character type Refer to assignment character-related information. 2
When "Character type: DC":
Variable
0: For AM, 1: For PM
When "Character assignment: DN":
0: For common assignment to digits
1
1 ~ 3: For individual assignment to digits (1st ~ 3rd
digits are edited.)
When "Character assignment: WN":
0: For common assignment to digits
5 Assignment unit 1
1 ~ 2: For individual assignment to digits (1st ~ 2nd
digits are edited.)
When "Character type: NO":
0: For common assignment to digits
1
1 ~ 10: For individual assignment to digits (1st ~ 10th
digits are edited.)
For other cases
1
The settings are ignored.
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
6 Code system 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS, 1
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Array No.
2 (0 padding)
01-: Array 1-
7 Assignment data Character data (0 ~ 14 characters when "Character
type" is {MA, DW, MX}, or 0 ~ 4 characters for other
Variable
cases)
Character code
Assignment data can be edited consecutively.
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
* The upper limit of the array number varies depending on the character type or assignment unit.
56
Example of use
Sending data→SDA: 0: 1: 1: Y1: 0: 3: 01: 02CD: 03EF: 04GH: 05IJ: 06KL: 07MN: 08OP: 09QR:
10ST:
Sets the assignment character Y1 (the thousands place of the Christian year) of
Limit module 1 as follows:
Array No. 1 ('0' replacement) (Not registerd) Array No. 6 ('5' replacement) KL
Array No. 2 ('1' replacement) CD Array No. 7 ('6' replacement) MN
Array No. 3 ('2' replacement) EF Array No. 8 ('7' replacement) OP
Array No. 4 ('3' replacement) GH Array No. 9 ('8' replacement) QR
Array No. 5 ('4' replacement) IJ Array No. 10 ('9' replacement) ST
57
Communications commands
Memo
Related commands: “SPM" on page 93. “Regarding Bit image" on page 208.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
2 Vertical dots of message 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
0 ~ 35: The image bottom is located at the 0th ~ 35th
3 Bottom position of image Variable
dot from the lowermost dot.
4 Vertical size of image 1 ~ 36: 1 ~ 36 dots Variable
5 Horizontal size of image 1 ~ 130172: 1 ~ 131072 dots Variable
* Regarding bit image details, Please refer to “Regarding Bit image" on page 208.
* The bit image data of bit image message is shared with the bit Image module #1.
* Upper limit value of the parameter 4 varies depending on the number of vertical dots of the image and the capacity of the
registered bit image.
* If the command contains only No.1 parameter, the bit image message is deleted.
Message No. 0
Vertical dots
of message Bit image Vertical size of image
58
Protocol
The protocol of command varies depending on the command used..
* When step 2 is NAK or if you want to delete the bit image then step 3 and 4 are not required.
* If you set the error code as “used” in the communication settings, error code will be added after the NAK of steps 2 and 4.
* If you "Enable" checksum setting in communication settings, according to the "checksum" adds checksum after each
communication content.
9: Add : Add during NAK Error Code
* Checksum of step 3 is calculated for all bit image data (binary data).
* The method of calculating the checksum of each step is the same as for normal command. Refer “Checksum form" on page 23
for more information.
Example of use
Sending data→(STX) SDB: 0: 6: 4: 12: 12: (ETX)
Receiving data←
Sending data→00h F0h 03h 0Ch 04h 02h 04h 02h 09h F9h 09h 21h 09h 21h 08h D9h 04h 02h 04h
02h 03h 0Ch 00h F0h (24 byte binary data)
Receiving data←
Sets the contents of the bit image message as follows:
Image
Receiving data←
Deletes the bit image message.
59
Communications commands
Memo
Related commands: “GDM” on page 134.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
3 Module format 1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
Field data follows below.
* If the command contains only up to No.2 parameters, the modules are deleted.
* When "Edit message mode" is set to "CCS", Parameter 3 is not reflected on printout.
60
Field data
No. Parameter name Setting details Parameter length
4 Field No. 1 ~ 10: No. 1 ~ 10 Variable
0: Disabled ('0' is printed), 1: Right-aligned,
5 Zero suppression 1
2: Left-aligned, 3: Move to front
6 Zero suppression direction 0: Higher, 1: Lower 1
7 Reserved 1 fixed 1
8 Zero setting 0: Disabled, 1: Enabled 1
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
9 Code data 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character code Variable
When editing a plurality of field data at the same time, send the data of parameters 4 ~ 9 by the number of
field data, following the parameter 9. Up to 10 pieces of field data can be edited consecutively.
* The number of characters that can be entered in fields is 32 for all fields.
* When changing the contents of parameter 5 ~ 8 without changing the contents of code data, set the parameter 9 as '?'.
* If you want to delete any field data, set the parameter number 9 as non-input.
* When "Code system" is set to "ASCII", no digit code can be registered.
* When "Code system" is set to "ASCII+Shift-JIS,+GB,+KS,+BIG5", if the character corresponding to a digit code is input in half-
width character, the digit code is set, and if it is input in full-width character, the character is set as input.
Example of use
Sending data→SDM: 1: 1:
Deletes the contents of Module 1.
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "F2", "F1" and "F0" in the Code data of the field data are replaced with the hundreds place, tens place and ones place,
respectively, when printed.
61
Communications commands
Memo
Related commands: “GDN” on page 137.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40 Variable
3 Current numbering value 0 ~ 3656158440062975 Variable
4 Current repeated value 1 ~ 9999 Variable
* When the current value of an unregistered module is edited, "ACK" is sent back.
* If the command contains only up to No.2 parameters, "ACK" is sent back.
* When the function "Numbering module > Extended printing: Character method" is selected, this command is not available.
("NAK" is sent back).
Example of use
Sending data→SDN: 0: 1: 10: 1:
Sets the current value of Module 1 as follows:
62
SDP (Set Data Printing number)
Function
This command edits the print count.
Memo
Related commands: “GDP” on page 138. “RDP” on page 186.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999 Variable
4 Print count 0 ~ 4294967295: 0 ~ 4294967295 times Variable
Example of use
Sending data→SDP: 0: 1: 1: 100:
Sets the print count of Message 1 to 100.
63
Communications commands
Memo
Related commands: “GIM” on page 141.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20 Variable
3 Vertical dots 0 fixed 1
4 Interval specified 0: Interval, 1: Pitch 1
5 Interval 0 ~ 9999.9: 0 ~ 9999.9mm Variable
* If the command contains only up to No.2 parameters, the modules are deleted.
* When "Edit message mode" is set to "CCS", Parameter 3 is not reflected on printout.
Example of use
Sending data→SIM: 0: 1:
Deletes the contents of Module 1.
64
SLM (Set Limit Module)
Function
This command edits a Limit module.
Memo
Related commands: “SCM” on page 50. “GCM” on page 123. “GLM” on page 142. “Table of
calendar character codes" on page 192.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
3 Module format 1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
4 Content 9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data
Variable
Character code
65
Communications commands
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
* If the command contains only up to No.2 parameters, the modules are deleted.
* When the function "Printing > Message edit mode: CCS" is selected, Parameter 3 is not reflected on printout.
* When "Code system" is set to "ASCII", no calendar characters can be registered.
* When "Code system" is set to "ASCII+Shift-JIS,+GB,+KS,+BIG5", if the character corresponding to a calendar character is input
in half-width character, the calendar character is set, and if it is input in full-width character, the character as input is set.
Example of use
Sending data→SLM: 1: 1:
Deletes the contents of Module 1.
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "Y3" and "Y4" in "Content" are replaced with the tens place and ones place of the Christian year, respectively, when printed.
66
SMC (Set Message Comment)
Function
This command edits the comment of a message.
Memo
Related commands: “GMC” on page 144.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
3 Comment 9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data (Up to 15 characters)
Variable
Character code
* If the command contains only up to No.2 parameters, the comment is deleted.
* Even if the message is not registered, the comment is registered.
Example of use
Sending data→SMC: 0: 1:
Deletes the contents of Message 1.
Sending data→SMC: 0: 1: 3: :
Sets the comment of Message 1 to " ".
67
Communications commands
* Case where the function "Print > Edit message mode: CM2" is selected
Memo
Related commands: “GMD” on page 145.
Example of use
Sending data→SMD: 0: 1:
Deletes Message 1.
68
SMG (Set Message reGister)
Function
This command edits a message. However, note that no change will be made for the printing data.
* Case where the function "Print > Edit message mode: CCS" is selected
Memo
Related commands: “SMM” on page 70.
Sending format
Same parameter as that for SMM command. Please refer to SMM command.
Example of use
Same as SMM command. Please refer to SMM command.
Note
No change will be made for the printing data even if the message is changed using this command. It is only
to store the data. Changing the printing data will be made by switching the message number and re-
running.
69
Communications commands
* Case where the function "Print > Edit message mode: CCS" is selected
Memo
Related commands: “GMM” on page 146.
70
Sending format (for editing)
No. Parameter name Setting details Parameter length
1 Command version 2 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
3 Module ID 1 ~ 32: No. 1 ~ 32 Variable
Module type
T: Text, C: Clock, L: Limit, N: Numbering, B: Bar code,
1
4 Module 2: 2D code, I: Interval, D: Distance, P: Bit image,
A: Anchor
Module No.1 ~ 500: No. 1 ~ 500 Variable
Layout No. 01 ~ 16: No. 1 ~ 16 2 (0 padding)
Placement in layout * X-coordinate
5 (0 padding)
00000 - : 0 -
Font bottom position * Y-coordinate
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Vertical dots * Vertical dots of Layout
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Multiple width
1
1 ~ 8: x1 ~ x8
5 Module format Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply multiplefull-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Pitch magnification
1
0 ~ 9: x1 ~ x10, A ~ F: x11 ~ x16
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
The parameter part continues further.
71
Communications commands
* When the function "Printing > Message edit mode: CM2" is selected, cannot use SMM command.
* If the command contains only up to No.2 parameters, the message is deleted.
* The upper limit of the module number varies depending on the module type.
* If "Module type" is set to "Anchor", specify 1 as the module No.
* When delete the module ID from message, “Module“ is set to “!1“, and omit “Module format“, “Text content“, “Content“.
* Do not edit the module of the same ID No. more than once in the SMM command.
* Anchor modules can be placed on the basis of one module for one layout.
(When multiple modules are placed in a layout, the modules other than the last-placed one are deleted.)
* Interval can be placed on first position (left edge) in each layout, and can be placed on the basis of one module for one layout.
(When multiple modules are placed in a layout, the modules other than the last-placed one are deleted.)
* Depending on the setting of the "placement in layout" and the "font bottom position", there is a possibility that some module
areas overlap.
* When modules with different “Vertical dots” are placed in one layout, the largest size of “Vertical dots” is adopted as the “Vertical
dots” of the layout.
* When modules with different “Pitch magnification” are placed in one layout, the largest size of “Pitch magnification” is adopted
as the “Pitch magnification” of the layout.
* Some settings of "Module format" are ignored depending on the "Module type" setting.
72
Example of use 1 (When deleting a message)
Sending data→SMM: 2: 1:
Deletes Message 1.
73
Communications commands
* If the module with ID No. 3 does not exist, the error is sent back.
74
SMN (Set Message Number)
Function
This command selects the current message No.
Memo
Related commands: “GMN” on page 149.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
0 ~ 999: No. 0 ~ 999
3 Message No. Variable
* Message No. 0 is used for printing a bit image.
* It is also possible to select an unregistered message No.
Example of use
Sending data→SMN: 0: 1: 0:
Selects Message 0 (bit image).
75
Communications commands
* Case where the function "Print > Edit message mode: CCS" is selected
Memo
Related commands: “SMM” on page 70.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
3 Module ID 1 ~ 32: No. 1 ~ 32 Variable
When deleting a plurality of modules at the same time, send the data of parameters 3 by the number of
modules, following the parameter 3. Up to 32 modules can be deleted consecutively.
* When the function "Printing > Message edit mode: CM2" is selected, cannot use SMR command.
* If the command with up to No.2 parameter is sent, the system deletes the modules of the message number with any module IDs.
* Even if the module indicated by module ID is not registered, this command is processed on the assumption that the module has
been deleted normally.
Example of use
Sending data→SMR: 0: 1: 2: 3: 4:
Deletes the modules of Message 1 with module IDs of 2, 3 or 4.
Sending data→SMR: 0: 1:
Deletes the modules of Message 1 with any module IDs .
76
SMU (Set Module Update)
Function
This command edits the update setting of a Calendar or Numbering module.
Memo
Related commands: “GMU” on page 150.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module type 0: Clock, 1: Limit, 2: Numbering 1
1 ~ 40: No. 1 ~ 40,
3 Module No. Variable
C: Common setting, D: Default data
Update mode
1
0: Auto, 1: Manual
Zero suppression
0: Disabled ('0' is printed), 1: Right-aligned, 1
4 Various switches 2: Left-aligned, 3: Move to front
Reserved
1
1 fixed
Reserved
1
0 fixed
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
* When the function "Numbering module > Extended printing: Field method" is selected, the setting of "Zero suppression" is not
reflected on printout.
Example of use
Sending data→SMU: 0: 1: 1: 0110:
Sets the update setting of Limit module 1 as follows:
77
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
3 Module format 1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
4 Radix 2 ~ 36: Binary (base 2) ~ hexatridecimal (base 36) Variable
5 Digit 1 ~ 10: 1 ~ 10 digits Variable
6 Initial value 0 ~ 3656158440062975 Variable
7 End value 0 ~ 3656158440062975 Variable
8 Increment -9999 ~ -1, +1 ~ +9999 Variable
9 Repeat 1 ~ 9999 Variable
10 Reset on updating date 0: Disabled, 1: Enabled 1
78
No. Parameter name Setting details Parameter length
0: Return to Initial value and continue printing,
Action after reaching the
11 1: Return to Initial value and continue printing + I/O 1
end value
output, 2: Stop printing, 3: Stop printing + I/O output
Update mode
1
0: Auto, 1: Manual
Zero suppression
0: Disabled ('0' is printed), 1: Right-aligned, 1
12 Various switches 2: Left-aligned, 3: Move to front
Reserved
1
1 fixed
Reserved
1
0 fixed
When setting field data, the parameter part continues further. (It may be omitted.)
* If the command contains only up to No.2 parameters, the modules are deleted.
* When the function "Printing > Message edit mode: CCS" is selected, Parameter 3 is not reflected on printout.
* When the function "Numbering module > Extended printing: Field method" is selected, the setting of "Zero suppression" in
"Various switches" is not reflected on printout.
* When the function "Numbering module > Extended printing: Character method" is selected, this command is not available.
("NAK" is sent back).
Field data
79
Communications commands
Example of use
Sending data→SNM: 1: 1:
Deletes Module 1.
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "F3", "F2", "F1" and "F0" in the Code data of the field data are replaced with the thousands place, hundreds place, tens place
and ones place, respectively, when printed.
80
SOC (Set Offset Calendar)
Function
This command edits the offset of a Clock module.
Memo
Related commands: “GOC" on page 154. “SOL” on page 82. “GOL” on page 155. “STC” on
page 102. ”GTC” on page 178.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
3 Day offset -36600 ~ 36600: -36600 ~ 36600 days Variable
4 Hour offset -22 ~ 23: -22 ~ 23 hours Variable
5 Minute offset -58 ~ 59: -58 ~ 59 minutes Variable
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot use this command because there is
not “Clock module“. When you use “Limit module“ in substitution for “Clock module“, please use “SOL“ command.
* If the command contains only up to No.2 parameters, the offset values are cleared.
* Even when the print content of a module is not registered, the offset can be edited.
* If any of parameters 3 ~ 5 is omitted, "0" is set for the corresponding offset.
* If the calculated offset is "Before January 1, 2001" or "After December 31, 2100", the error is sent back.
Example of use
Sending data→SOC: 0: 1: 365: 0: 0:
Sets the offset of Clock module 1 as follows:
81
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
3 Year offset -99 ~ 99: -99 ~ 99 years Variable
4 Month offset -11 ~ 11: -11 ~ 11 months Variable
5 Day offset -36600 ~ 36600: -36600 ~ 36600 days Variable
6 Hour offset -22 ~ 23: -22 ~ 23 hours Variable
7 Minute offset -58 ~ 59: -58 ~ 59 minutes Variable
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
* If the command contains only up to No.3 parameters, the offset values are cleared.
* Even when the print content of a module is not registered, the offset can be edited.
* If any of "offset" parameters is omitted, "0" is set for the corresponding offset.
Example of use
Sending data→SOL: 0: 1:
Clears the offset of Limit module 1.
Year offset 1
Month offset 0
Day offset -1
Hour offset 0
Minute offset 0
82
SP2 (Set Parameter 2D code)
Function
This command edits the 2D code setting.
Memo
Related commands: “GP2” on page 156.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
1 ~ 20: No. 1 ~ 20,
2 Module No. Variable
C: Common setting, D: Default data
3 2D code type 0: QR, 1: DataMatrix 1
The parameter part continues further.
* As for Parameter 3, when "Module No." is set to "Common setting", the code setting for each code type is edited. In other cases,
the code setting for the code type of a specified module is changed.
* If the command contains only up to No.3 parameters, the initial data of each code type is set.
83
Communications commands
Example of use
Sending data→SP2: 1: 1: 0:
Sets the 2D code setting of 2D code module 1 to the initial data at "2D code type:
QR".
84
SPA (Set Parameter Assign)
Function
This command edits the character assignment setting of Calendar, Numbering, and Distance modules.
Memo
Related commands: “GPA” on page 158.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module type 0: Clock, 1: Limit, 2: Numbering, 3: Distance 1
1 ~ 40: No. 1 ~ 40,
3 Module No. Variable
C: Common setting, D: Default data
4 Assignment unit 0: By character, 1: By digit 1
5 Base year 2000 ~ 2100 4
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
* Parameter 5 "Base year" is valid only when "Module type" is set to "Clock" or "Limit". (In other cases, the parameter setting is
ignored.
85
Communications commands
Example of use
Sending data→SPA: 0: 1: 1: 0: 2010:
Sets the character assignment setting of Limit module 1 as follows:
Sending data→SPA: 0: 2: 1: 2:
Sets the character assignment setting of Numbering module 1 as follows:
86
SPB (Set Parameter Barcode)
Function
This command edits the bar code setting.
Memo
Related commands: “GPB” on page 159.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
1 ~ 20: No. 1 ~ 20,
2 Module No. Variable
C: Common setting, D: Default data
0: ITF, 1: Code39, 2: NW7, 3: EAN, 4: Code128,
3 Bar code type 1
5: UPC, 6: Code93
Subsequent parameter 0: OCR setting, 1: Bearer bar setting, Variable
4
setting 2: Start/Stop character setting, 3: Bar setting (Max 4)
The parameter part continues further.
* As for Parameter 3, when "Module No." is set to "Common setting", the code setting for each bar code type is edited. In other
cases, the code setting for the bar code type of a specified module is changed.
* If the command contains only up to No.3 parameters, the initial data of each bar code type is set.
1. "OCR setting"
87
Communications commands
88
4. "Bar setting"
89
Communications commands
Example of use
Sending data→SPB: 0: 1: 0:
Sets the bar code setting of bar code module 1 to the initial data at "bar code
type: ITF".
* The setting of "Omit start/stop character" is invalid when "Bar code type" is set to ITF.
Use of bearer bar Enabled
Vertical width 3
Horizontal width 4
Reverse Disabled
Black bar 1 size 2 (Size of light black bar when the bar code type is ITF)
Black bar 2 size 5(Size of black bold bar when the bar code type is ITF)
Black bar 3 size 3
Black bar 4 size 4
White bar 1 size 2(Size of white light bar when the bar code type is ITF)
White bar 2 size 5 (Size of bold white bar when the bar code type is ITF)
White bar 3 size 3
White bar 4 size 4
Gap size 3
Front space 10
Last space 10
* The settings of Black bar 3 size, Black bar 4 size, White bar 3 size, White bar 4 size, and Gap size are invalid when "Bar code
type" is set to "ITF".
90
SPC (Set Parameter Communication)
Function
This command edits the RS-232C communications setting.
Memo
Related commands: “GPC” on page 162.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Reserved 0 fixed 1
Baud rate
0: 1200, 1: 2400, 2: 4800, 3: 9600, 4: 19200, 1
5: 38400, 6: 56000, 7: 57600, 8: 76800, 9: 115200
Character length
1
3 Communication conditions 0: 7 bits, 1: 8 bit
Parity
1
0: No, 1: Odd, 2: Even
Stop bit
1
1: 1 bit, 2: 2 bits
Error response format
1
0: NAK only, 1: NAK + Code
Checksum
1
0: Disabled, 1: Enabled
Print end signal output
1
0: Disabled, 1: Enabled
4 Extended settings
Reserved
1
0 fixed
Continuous command transmission
1
0: Disabled, 1: Enabled
Reserved
1
0 fixed
5 Reserved 0 fixed 1
6 Receiving time-out time 0 ~ 300: 0 ~ 300 seconds Variable
* When the function "Print > Print end signal: Set in the print control" is selected, "Print end signal output" in Parameter 4 is not
reflected on the function.
Example of use
Sending data→SPC: 0: 0: 3101: 100000: 0: 3:
Sets the RS-232C communication setting as follows:
91
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Calendar type 0: Clock, 1: Limit 1
1 ~ 40: No. 1 ~ 40,
3 Module No. Variable
C: Common setting, D: Default data
0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday,
4 Beginning of the week 1
4: Thursday, 5: Friday, 6: Satday
5 AM/PM change time 00 ~ 23: 0 ~ 23 hours 2 (0 padding)
6 AM/PM change time 00 ~ 59: 0 ~ 59 minutes 2 (0 padding)
0: Month End, 1: Carry-over, 2: Month Start
7 Offset calculation method 1
3: Month End 2
8 Japanese calendar offset 1988 ~ 2100 4
0: Begin with January 1,
9 First week of week number 1
1~7 : A week including first {Sunday ~ Saturday}
Update mode
1
0: Auto, 1: Manual
Zero suppression
0: Disabled ('0' is printed), 1: Right-aligned, 1
10 Various switches 2: Left-aligned, 3: Move to front
Reserved
1
1 fixed
Reserved
1
0 fixed
* If the function "Calendar module > Calculation method: CCS" is selected, "Calendar type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types.
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Example of use
Sending data→SPL: 1: 1: 1: 1: 13: 45: 1: 1988: 0: 0010:
Sets the calendar setting of Limit module 1 as follows:
Beginning of the week Monday First week of week number Begin with Jan.1st
AM/PM change time 13: 45 Update mode Auto
Use-by date calculation
Carry-over Zero suppression Disabled
method
Japanese calendar offset 1988
92
SPM (Set bit image (Picture) Module)
Function
This command edits a bit image module.
Memo
Related commands: “SDB" on page 58. “Regarding Bit image" on page 208.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: 1 ~ 20 Variable
3 Vertical size of image 1 ~ 36: 1 ~ 36 dots Variable
4 Horizontal size of image 1 ~ 130172: 1 ~ 131072 dots Variable
* Regarding bit Image details, please refer to “Regarding Bit image" on page 208.
* Upper limit value of the parameter 4 varies depending on the number of vertical dots of the image and the capacity of the
registered bit image.
* If the command contains only up to No.2 parameters, the modules are deleted.
Protocol
The protocol of command varies depending on the command used..
* When step 2 is NAK or if you want to delete the bit image then step 3 and 4 are not required.
* If you set the error code as “used” in the communication settings, error code will be added after the NAK of steps 2 and 4.
* If you "Enable" checksum setting in communication settings, according to the "checksum" adds checksum after each
communication content.
9: Add : Add during NAK Error Code
* Checksum of step 3 is calculated for all bit image data (binary data).
* The method of calculating the checksum of each step is the same as for normal command. Refer “Checksum form" on page 23
for more information.
93
Communications commands
Example of use
Sending data→(STX) SPM: 0: 1: 12: 12: (ETX)
Receiving data←
Sending data→00h F0h 03h 0Ch 04h 02h 04h 02h 09h F9h 09h 21h 09h 21h 08h D9h 04h 02h 04h
02h 03h 0Ch 00h F0h (24 byte binary data)
Receiving data←
Sets the contents of Module 1 as follows:
Image
Receiving data←
Deletes the contents of Module 1.
94
SPN (Set Parameter Network)
Function
This command edits the LAN communications setting.
Memo
Related commands: “GPN” on page 166.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Port number 0 ~ 65535 Variable
15
3 IP address [Link] ~ [Link]
(0 padding, dots included)
15
4 Subnet mask [Link] ~ [Link]
(0 padding, dots included)
15
5 Default gateway [Link] ~ [Link]
(0 padding, dots included)
Error response format
1
0: NAK only, 1: NAK + Code
Checksum
1
0: Disabled, 1: Enabled
Print end signal output
1
0: Disabled, 1: Enabled
6 Extended settings
Reserved
1
0 fixed
Continuous command transmission
1
0: Disabled, 1: Enabled
Reserved
1
0 fixed
7 Reserved 0 fixed 1
8 Receiving time-out time 0 ~ 300: 0 ~ 300 seconds Variable
* When the function "Print > Print end signal: Set in the print control" is selected, "Print end signal output" in Parameter 6 is not
reflected on the function.
Example of use
Sending data→SPN: 0: 1: (~ Port number)
[Link]: (IP address)
[Link]: (Subnet mask)
[Link]: (Default gateway)
100000: 0: 3: (Extended setting ~)
Sets the LAN communication setting as follows:
95
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
0: Auto (When the current message is changed),
3 Reset setting 1
1: Manual, 2: Upon date updated
Example of use
Sending data→SPP: 0: 1: 1:
Sets the reset setting of the print counter to "Manual".
96
SPT (Set Parameter Timer)
Function
This command edits the timer start setting.
Memo
Related commands: “GPT” on page 169.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Timer No. 1 ~ 5: no. 1 ~ 5 1
3 Timer state 0: Disabled, 1: Enabled 1
0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday,
4 Starting day of the week 1
4: Thursday, 5: friday, 6: Saturday
5 Ending day of the week Same as the setting range for Starting day of the week. 1
6 Timer ON time (Hour) 00 ~ 23: 0 ~ 23 hours 2 (0 padding)
7 Timer ON time (Minute) 00 ~ 59: 0 ~ 59 minutes 2 (0 padding)
8 Timer OFF time (Hour) 00 ~ 23: 0 ~ 23 hours 2 (0 padding)
9 Timer OFF time (Minute) 00 ~ 59: 0 ~ 59 minutes 2 (0 padding)
* When "Timer state" is set to "Disabled", Parameter 4 and the later parameters can be omitted.
Example of use
Sending data→SPT: 0: 1: 1: 1: 5: 08: 30: 17: 30:
Sets Timer 1 as follows:
Sending data→SPT: 0: 1: 0:
Disables Timer 1.
97
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Beep sound 0: Disabled, 1: Enabled 1
3 Back light OFF time 0: Back light always ON, 1 ~ 999: 1 ~ 999 minutes Variable
4 Continuous registration 0: Disabled, 1: Enabled 1
Selected number for
5 0: Unregistered number, 1: Previous number 1
registration
6 Calendar display 0: Practical data, 1: Symbol 1
7 Update data in real time 0: Disabled, 1: Enabled 1
8 Check shortcut 0: Disabled, 1: Enabled 1
Example of use
Sending data→SPU: 0: 1: 3: 0: 0: 0: 0: 0:
Sets the screen operation setting as follows:
98
SRC (Set Running Control)
Function
This command changes the run mode of the head.
Memo
Related commands: “GRC” on page 171. “RRC” on page 187.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Run mode 0: Stop, 1: Run 1
Example of use
Sending data→SRC: 0: 1: 1:
Sets the Run mode of the head to "Run".
99
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Example of use
Sending data→SRP: 0: 1:
Inputs a print command.
100
SSC (Set Shift Code)
Function
This command edits the Shift code.
Memo
Related commands: “GSC” on page 172.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Calendar type 0: Clock, 1: Limit 1
1 ~ 40: No. 1 ~ 40,
3 Module No. Variable
C: Common setting, D: Default data
4 Number of divisions 1 ~ 24 Variable
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
5 Code system 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS, 1
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Start time (Hour)
2
00 ~ 23 (Fixed to 00, for 1st Shift data only)
Start time (Minute)
6 1st Shift data 2
00 ~ 59 (Fixed to 00, for 1st Shift data only)
Assignment character (for 0 ~ 16 characters)
Variable
Character code
2nd and later Shift data are edited consecutively by the Number of divisions.
* If the function "Calendar module > Calculation method: CCS" is selected, "Calendar type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types.
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
* If the command contains only up to No.3 parameters, the Shift data is set to "Not used" (Number of divisions: 0).
* It is impossible to edit only some data of Shift code (e.g., only assignment characters of 2nd Shift data or only Start time).
Example of use
Sending data→SSC: 0: 1: 1:
Sets the Shift code of Limit module 1 to "Not used".
0: 00
Number of divisions 4
Prints 'A' from 0: 00.
Data of Division 1
(Print time zone...0: 00 ~ 5: 59) “D” “A”
No printing from 6: 00.
Data of Division 2 (Not registered) 18: 00 6: 00
(Print time zone...6: 00 ~ 11: 59) Not
“C”
Prints 'C' from 12: 00. registered
Data of Division 3
(Print time zone...12: 00 ~ 17: 59)
Prints 'D' from 18: 00.
Data of Division 4 12: 00
(Print time zone...18: 00 ~ 23: 59)
101
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
Christian year 4
Month 2 (0 padding)
3 Offset time Day 2 (0 padding)
Hour 2 (0 padding)
Minute 2 (0 padding)
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot use this command because there is
not “Clock module“. When you use “Limit module“ in substitution for “Clock module“, please use “SOL“ command.
* If the command contains only up to No.2 parameters, the system clock time is set.
* Even when the print content of a module is not registered, the offset can be edited.
* If the offset time is "Before January 1, 2001" or "After December 31, 2100", the error is sent back.
Example of use
Sending data→STC: 0: 1:
Clears the offset time of Clock module 1 (the system clock time is set).
102
STM (Set Text Module)
Function
This command edits a Text module.
Memo
Related commands: “GTM” on page 180. “Table of user font codes” on page 194.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 500: No. 1 ~ 500, D: Default data Variable
Vertical dots
1: 5dots, 2: 7dots, 3: 9dots, 4: 10dots, 5: 12dots,
6: 16dots, 7: 20dots, 8: 22dots, 9: 24dots, 1
A: 26dots, B: 28dots, C: 32dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
3 Module format 1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
4 Content 9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data
Variable
Character code
* If the command contains only up to No.2 parameters, the modules are deleted.
* When "Edit message mode" is set to "CCS", Parameter 3 is not reflected on printout.
103
Communications commands
Example of use
Sending data→STM: 1: 1:
Deletes the contents of Text module 1.
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
104
STS (Set Time System)
Function
This command edits the system clock.
Memo
Related commands: “GTS” on page 182.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
Year
4
2001 ~ 2100
Month
2 (0 padding)
01 ~ 12
Day
2 (0 padding)
01 ~ 31
Hour
2 Time 2 (0 padding)
00 ~ 23
Minute
2 (0 padding)
00 ~ 59
Minute
2 (0 padding)
00 ~ 59
Reserved
1 (Omissible)
0 ~ 6 * The setting is ignored.
Example of use
Sending data→STS: 0: 201101020800340:
Sets the system clock as follows:
105
Communications commands
Memo
Related commands: “S2M” on page 35. “Table of 2D code data registration codes” on page 198.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 2 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS,
3 Code system 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS, 1
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
1: 5dots, 2: 7dots, 3: 9dots, 4: 10dots, 5: 12dots, 6: 16dots,
7: 20dots, 8: 22dots, 9: 24dots,
3 Vertical dots 1
A: 26dots, B: 28dots, C: 32dots, D: 36 dots,
E: 11 dots, F: 15 dots
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
5 2D code type 0: QR, 1: DataMatrix 1
The parameter part continues further.
* If no module is registered, the parameters up to No. 2 are sent back.
* When the function "Print > Edit message mode: CCS" is selected, the settings of parameters 3 and 4 are invalid.
106
For the case of DataMatrix
Field data
107
Communications commands
Example of use
Sending data→G2M: 2: 1: 0:
Receiving data←2: 1:
Module 1 is not registered.
Sending data→G2M: 2: 1:
Vertical dots 36
Font bottom position 0
2D code type QR
Version Auto
Error correction Q
Mode Compound
Cell size 1
Reverse Disabled
Front and last space 0
Character code ASCII / Shift-JIS
Check digit: Disabled
Field 1 data
2D code data: Half-width character "1234"
Check digit: Enabled
Field 2 data
2D code data: Half-width character "ABCD"
Data of Field 3 ~ 16 Not registered
* The settings of Vertical dots and Font bottom position are invalid when the function "Print > Edit message mode: CCS" is
selected.
108
GAC (Get Attend Code)
Function
This command acquires the nonexistent day setting.
Memo
Related commands: “SAC” on page 38.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Calendar type 0: Clock, 1: Limit 1
3 Module No. 1 ~ 40: No. 1 ~ 40, C: Common setting, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS,
4 Code system 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS, 1
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
* If the function "Calendar module > Calculation method: CCS" is selected, "Calendar type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types.
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Calendar type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
4 Calculation method 0: Disabled (Not use), 1: Date, 2: Emergence order 1
5 Code system Refer to the sending format. 1
Assignment character 1
6 (for the 29th day Character code (for 0 ~ 4 characters) Variable
or emergence in the 1st)
Assignment character 2
7 (for the 30th day Character code (for 0 ~ 4 characters) Variable
or emergence in the 2nd)
Assignment character 3
8 (for the 31st day Character code (for 0 ~ 4 characters) Variable
or emergence in the 3rd)
109
Communications commands
Example of use
Sending data→GAC: 0: 1: 1: 3:
Sending data→GAC: 0: 1: C: 3:
Receiving data←0: 1: C: 2: 3: A: B: C:
The nonexistent day setting (common setting) is as follows:
* "Sending data→GAC: 0: 0: C: 3: " also gives the same data setting. (This holds true only when the function “Calendar module
> Calculation method: CM2” is selected)
110
GAI (Get Assign I/o pin)
Function
This command acquires the I/O input pin assignment.
Memo
Related commands: “SAI” on page 40. “I/O pin assignment settings” on page 204.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Pin No. 08 ~ 19: D08 ~ D19 pin 2 (0 padding)
* If the command contains only up to No.2 parameters, the input pins D08 ~ D19 are all set to "Not used."
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
Pin No.
2 (0 padding)
Refer to the sending format.
3 Assignment information
Function No.
2 (0 padding)
Refer to the I/O pin assignment setting.
1 or 12 pieces of assignment information are sent back consecutively.
Example of use
Sending data→GAI: 0: 1: 08:
Sending data→GAI: 0: 1:
Receiving data←0: 1: 0800: 0926: 1025: 1100: 1200: 1300: 1400: 1500: 1600: 1700: 1800: 1900:
The assignment of all of I/O input pins D08 ~ D19 is as follows:
111
Communications commands
Memo
Related commands: “SAO” on page 41. “I/O pin assignment settings” on page 204.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Pin No. 00 ~ 13: D00 ~ D13 pin 2 (0 padding)
* If the function "Parallel I/O > Signal port: Enabled" is selected, the output pins D10 ~ D13 mean the signal lamp ports D00 ~ D03.
* If the command contains only up to No.2 parameters, the assignment information on all of output pins D00 ~ D13 is acquired.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
Pin No.
2 (0 padding)
Refer to the sending format.
Function No.
3 Assignment information 2 (0 padding)
Refer to the I/O pin assignment setting.
Output time
4 (0 padding)
0000 ~ 9999: 0 ~ 9999ms
1 or 14 pieces of assignment information are sent back consecutively.
* Some functions assigned to the output pin cause the output time to be an invalid setting. (For details of the "alarm" signal to be
constantly output when not used or while an alarm is given and the like, refer to the I/O pin assignment setting.)
Example of use
Sending data→GAO: 0: 1: 00:
Receiving data←0: 1: 00000010:
The I/O output pin D0 is not used. (The output time of 10 ms is an invalid setting,
which is not reflected on the processing.)
Sending data→GAO: 0: 1:
Receiving data←0: 1: 00100010: 01000010: 02000010: 03000010: 04000010: 05000010: 06000010:
07000010: 08000010: 09000010: 10010010: 11020010: 12030010: 13000010:
The assignment of all of I/O output pins D0 ~ D9 is as follows:
112
GBM (Get Barcode Module)
Function
This command acquires a Bar code module.
Memo
Related commands: “SBM” on page 42. “Table of bar code data registration codes” on page
195.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
3 Vertical dots 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots
E: 11 dots, F: 15 dots
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
0: ITF, 1: Code39, 2: NW7, 3: EAN, 4: Code128,
5 Bar code type 1
5: UPC, 6: Code93
6 Bar height 4 ~ 36: 4 ~ 36 dots Variable
0: OCR setting, 1: Bearer bar setting,
Subsequent parameter 2: Start/Stop character setting, 3: Bar setting Variable
7
setting * The number of data varies depending on the bar code (Max 4)
type.
The parameter part continues further.
* If no module is registered, the parameters up to No. 2 are sent back.
* When the function "Print > Edit message mode: CCS" is selected, the settings of parameters 3 and 4 are invalid.
113
Communications commands
1. "OCR setting"
114
4. "Bar setting"
Field data
No. Parameter name Setting details Parameter length
9 Field No. 01 ~ 16 Variable
0: Disabled, 1: Enabled
10 Use of check digit (This setting is ignored for those other than EAN, UPC 1
and NW7.)
11 Bar code data ASCII input Variable
16 pieces of field data can be edited consecutively.
115
Communications commands
Example of use
Sending data→GBM: 0: 1:
Receiving data←0: 1:
Module 1 is not registered.
Sending data→GBM: 0: 1:
Vertical dots.. 36
Font bottom position 0
Bar code type ITF
Bar height 34
Subsequent parameter
OCR setting, bearer bar setting, and bar setting
setting
* The settings of Vertical dots and Font bottom position are invalid when the function "Print > Edit message mode: CCS" is
selected.
Use of OCR Enabled
Space between bar and
1
OCR
Omit check digit Disabled
OCR division Enabled
Omit start/stop character Disabled
* The setting of "Omit start/stop character" is invalid when "Bar code type" is set to ITF.
116
Use of bearer bar Enabled
Vertical width 3
Horizontal width 4
Reverse Disabled
Black bar 1 size 2 (Size of light black bar when the bar code type is ITF)
Black bar 2 size 5(Size of black bold bar when the bar code type is ITF)
Black bar 3 size 3
Black bar 4 size 4
White bar 1 size 2(Size of white light bar when the bar code type is ITF)
White bar 2 size 5 (Size of bold white bar when the bar code type is ITF)
White bar 3 size 3
White bar 4 size 4
Gap size 3
Front space 10
Last space 10
* The settings of Black bar 3 size, Black bar 4 size, White bar 3 size, White bar 4 size, and Gap size are invalid when "Bar code
type" is set to "ITF".
Check digit: Disabled
Field 1 data
2D code data: Half-width character "1234"
Check digit: Enabled
Field 2 data
2D code data: Half-width character "567"
117
Communications commands
Memo
Related commands: “SCC” on page 46.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Head No. 1 fixed 1
0 ~ 999: No. 0 ~ 999,
3 Message No. Variable
C: Common setting, D: Default data
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Message No. Refer to the sending format. Variable
4 Tracking 0: Disabled, 1: Enabled 1
5 Control during printing 0: Wait for print end, 1: Force to terminate printing 1
6 Back-aligned printing 0: Disabled, 1: Enabled 1
7 Print end signal 0: Disabled, 1: Enabled 1
8 One shot printing 0: Disabled, 1: Enabled 1
Number of ready recovery
9 1 ~ 9999: 1 ~ 9999 times Variable
processes
10 Print count 1 ~ 9999: 1 ~ 9999 times Variable
Message change after
11 0: Disabled, 1: Enabled 1
print
Message number after
12 0 ~ 999: No. 0 ~ 999 Variable
print
* When the function “Print > Print end signal: Communication setting” is selected, the setting of parameter 7 is invalid.
* If the parameter 8 “One shot printing” is set to “Disabled”, the setting of parameter 9 and 10 are invalid.
* If the parameter 3 “Message No.” is set to “Common setting”, the setting of parameter 11 and 12 are invalid.
Example of use
Sending data→GCC: 1: 1: 1:
Receiving data←1: 1: 1: 0: 1: 0: 0: 0: 1: 1: 0: 0:
The print control setting of Message 1 is as follows:
118
GCE (Get Condition Encoder)
Function
This command acquires the encoder setting.
Memo
Related commands: “SCE” on page 47.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
0 ~ 999: No. 0 ~ 999,
3 Message No. Variable
C: Common setting, D: Default data
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Message No. Refer to the sending format. Variable
4 Encoder 0: Disabled (Not use), 1: Enabled (Use) 1
5 Pulse number 1 ~ 10000: 1 ~ 10000 pulses/revolution Variable
6 Moving distance 0.1 ~ 10000.0: 0.1 ~ 1000.0mm/revolution Variable
0: Open collector (Single phase),
1: Open collector (2 phases),
7 Signal type 1
2: Differential (Single phase),
3: Differential (2 phases)
0: Disabled (1 multiplication), 1: Enabled (32
8 Pulse multiplication 1
multiplication)
9 Reverse absorption 0: Disabled, 1: Enabled 1
10 Rotation direction 0: CW, 1: CCW 1
11 Speed-following thinning 0: Disabled, 1: Enabled 1
Excessive frequency
12 0: Disabled, 1: Enabled 1
detection
13 Print position correction 0: Disabled, 1: Enabled 1
* If the parameter 4 "Encoder" is set to "Disabled (Not use)", the subsequent parameters are invalid settings.
* If the parameter 7 "Signal type" is set to Open collector (Single phase) or Differential (Single phase), the following settings are
invalid. {Rotation direction, Reverse absorption}
119
Communications commands
Example of use
Sending data→GCE: 0: 1:
120
GCI (Get Condition I/o)
Function
This command acquires the output conditions of the I/O output signal.
Memo
Related commands: “SCI” on page 48.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Head No. 1 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
Under printing disabled due to
1
external I/O,
In the printing cycle (under 0: The signal is 1
printing, wait for print position), turned OFF.
3 Ready signal OFF Under preparation of the print 1: The signal is not
1
data, turned OFF.
Under one shot printing, 1
Under heating, 1
Reserved (0 fixed) 1
0: The signal is turned OFF in the state waiting for print
position.
4 Under-printing signal 1
1: The signal is kept ON even in the state waiting for
print position.
When an invalid print command
1
is input,
0: The alarm is not
When re-heating in the ready
output. 1
state,
1: The alarm is
When the “charge detection output.
time” has exceeded the 1
permissible range,
5 Alarm process
Reserved (0 fixed) 1
Reserved (0 fixed) 1
Reserved (0 fixed) 1
01 ~ 99: The alarm is output when the excessive
encoder frequency is detected 1 ~ 99 times.
2 (0 padding)
* This functions only when "Excessive frequency
detection" is set to "Enabled" in the Encoder setting.
121
Communications commands
Example of use
Sending data→GCI: 1: 1:
122
GCM (Get Calendar Module)
Function
This command acquires a Clock module.
Memo
Related commands: “SCM” on page 50. “SLM” on page 65. “GLM” on page 142. “Table of
calendar character codes” on page 192.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
3 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot use this command because there is
not “Clock module“. When you use “Limit module“ in substitution for “Clock module“, please use “GLM“ command.
Receiving format
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
3 Module format Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
123
Communications commands
Example of use
Sending data→GCM: 1: 1: 3:
Receiving data←1: 1:
Module 1 is not registered.
Sending data→GCM: 1: 1: 3:
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "Y3" and "Y4" in "Content" are replaced with the tens place and ones place of the Christian year, respectively, when printed.
124
GCP (Get Condition Print)
Function
This command acquires the printing conditions.
Memo
Related commands: “SCP” on page 52.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, D: Default data Variable
Receiving format
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Message No. Refer to the sending format. Variable
4 Character height 1 ~ 29 Variable
5 Horizontal dot pitch 0.1 ~ 10: 0.10 ~ 10.00mm Variable
6 Density 1~4 1
7 Print position 0 ~ 9999.9: 0.0 ~ 9999.9mm Variable
8 Print direction 0: Forward, 1: Backward 1
9 Print speed 1 ~ 999.9: 1.0 ~ 999.9 m/min. Variable
10 Orientation 0: Normal, 1: Inverted 1
11 Thinning setting / way 0: Auto, 1: Manual, 2: Variable, 3: Constant 1
12 Thinning value 0 ~ 15 Variable
* When "Thinning setting / way" is set to "Auto", “Variable“ or “Constant“, the optimum value is sent back to “Thinning value“.
Example of use
Sending data→GCP: 0: 1: 1:
Character height 17
Horizontal dot pitch 0.60
Density 1
Print position 22.2
Print direction Forward
Print speed 8.0
Orientation Normal
Thinning setting Auto
Thinning number 7
125
Communications commands
Memo
Related commands: “SCR” on page 53.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, D: Default data Variable
Receiving format
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Message No. Refer to the sending format. Variable
Use and method of repeat
4 0: Disabled, 1: During ON, 2: Trigger 1
printing
5 Total print count 0: Infinite count, 1 ~ 9999: 1 ~ 9999 times Variable
6 Interval/pitch 0: Interval, 1: Pitch 1
7 Distance 0 ~ 9999.9: 0.0 ~ 9999.9mm Variable
0: Disabled, 1: Enabled (The calendar is updated even
8 Update calendar 1
during repeat printing)
0: Disabled, 1: Enabled (The numbering is updated
9 Update numbering 1
even during repeat printing)
10 Immediate stop 0: Disabled, 1: Enabled 1
Example of use
Sending data→GCR: 0: 1: 1:
126
GCS (Get Condition photo Sensor)
Function
This command acquires the photo sensor setting.
Memo
Related commands: "SCS” on page 54.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999, D: Default data Variable
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Message No. Refer to the sending format. Variable
4 Filter setting type 0: Hour, 1: Distance 1
When "Filter setting type: Time":
0: Disabled, 1 ~ 999: Enabled (1 ~ 999 ms)
5 ON delay filter Variable
When "Filter setting type: Distance":
0: Disabled, 1 ~ 999: Enabled (1 ~ 999 mm)
6 OFF delay filter Same as the setting range for the ON delay filter. Variable
7 One-shot filter Same as the setting range for the ON delay filter. Variable
0: Disabled, 1 ~ 3600: Enabled (Monitoring time: 1 ~
8 Monitoring of turn ON time Variable
3600 seconds)
0: Disabled, 1 ~ 1000: Enabled (Monitoring width: 1 ~
9 Monitoring of case size Variable
1000 mm)
Allowable range of case
10 1 ~ 1000: 1 ~ 1000mm Variable
size monitoring
* The setting of Parameter 7 is invalid when the parameter 6 "OFF delay filter" is set to "Enabled."
* The setting of Parameter 10 is invalid when the parameter 9 "Monitoring of case size" is set to "Disabled."
Example of use
Sending data→GCS: 0: 1: 1:
127
Communications commands
Memo
Related commands: "SCU” on page 55.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Use of UPS 0: Not use, 1: Use 1
4 UPS-powered operation time 0 ~ 60: 0 ~ 60 minutes Variable
Use or not 1 fixed 1
Power failure (Signal from Interface 0: Negative logic, 1: Positive logic 1
5
UPS to CCS) Pin No. 1 fixed 1
Reserved 0 fixed 1
Use or not 0: Not use, 1: Use 1
Low battery level (Signal Interface 0: Negative logic, 1: Positive logic 1
6
from UPS to CCS) Pin No. 2 fixed 1
Reserved 0 fixed 1
Use or not 0: Not use, 1: Use 1
UPS shutdown (Signal Interface 0: Negative logic, 1: Positive logic 1
7
from CCS to UPS) Pin No. 1 fixed 1
Reserved 0 fixed 1
* When "Use of UPS" is set to "Not use", the settings of parameters from "UPS-powered operation time" to "UPS shutdown" are
invalid.
Example of use
Sending data→GCU: 0: 1:
Receiving data←0: 1: 0: 5: 1010: 1020: 1010:
The setting of connection with UPS is as follows:
Use of UPS Not use
UPS-powered operation time 5 minutes
Use or not: Use
Power failure
Interface: Negative logic, Input pin No.: No. 1
Use or not: Use
Low battery level
Interface: Negative logic, Input pin No.: No. 2
Use or not: Use
UPS shutdown
Interface: Negative logic, Output pin No.: No. 1
128
GDA (Get Data Assign)
Function
This command acquires the assignment characters of Calendar, Numbering, and Distance modules.
Memo
Related commands: “SDA” on page 56. “RDA” on page 183. “Assignment character-related
information” on page 201.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
0: Clock, 1: Limit,
2 Module type 1
2: Numbering, 3: Distance
1 ~ 40: No. 1 ~ 40,
3 Module No. Variable
C: Common setting, D: Default data
4 Character type Refer to assignment character-related information. 2
When "Character type: DC":
Variable
0: For AM, 1: For PM
When "Character assignment: DN":
0: For common assignment to digits
1
1 ~ 3: For individual assignment to digits (1st ~ 3rd
digits are edited.)
When "Character assignment: WN":
0: For common assignment to digits
5 Assignment unit 1
1 ~ 2: For individual assignment to digits (1st ~ 2nd
digits are edited.)
When "Character type: NO":
0: For common assignment to digits
1
1 ~ 10: For individual assignment to digits (1st ~ 10th
digits are edited.)
For other cases
1
The settings are ignored.
Code system
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
6 Code system 1
6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS,
A: BIG5, B: ASCII + BIG5
Acquisition starting array
7 1 ~ : Array 1 ~ Variable
No.
Acquisition ending array
8 1 ~ : Array 1 ~ Variable
No.
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
* If Parameters 7 and 8 are omitted, all assignment characters are acquired.
* If Parameter 8 is omitted, the assignment character specified by "Acquisition starting array No." is acquired.
129
Communications commands
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
4 Character type Refer to assignment character-related information. 2
5 Assignment unit Refer to the sending format. Variable
6 Code system Refer to the sending format. 1
Array No.
2 (0 padding)
01~: Array 1~
7 Assignment data Character data (0 ~ 14 characters when "Character
type" is {MA, DW, MX}, or 0 ~ 4 characters for other
Variable
cases)
Character code
Assignment data are sent back consecutively, depending on circumstances.
Example of use
Sending data→GDA: 0: 1: 1: Y1: 0: 3:
Receiving data←0: 1: 1: Y1: 0: 3: 01: 02CD: 03EF: 04GH: 05IJ: 06KL: 07MN: 08OP: 09QR: 10ST:
The assignment character Y1( the thousands place of the Christian year) of Limit
module 1 is as follows:
Array No. 1 ('0' replacement) (Not registerd) Array No. 6 ('5' replacement) KL
Array No. 2 ('1' replacement) CD Array No. 7 ('6' replacement) MN
Array No. 3 ('2' replacement) EF Array No. 8 ('7' replacement) OP
Array No. 4 ('3' replacement) GH Array No. 9 ('8' replacement) QR
Array No. 5 ('4' replacement) IJ Array No. 10 ('9' replacement) ST
130
GDE (Get Data mEasurement log)
Function
This command acquires the measurement log data.
Memo
Related commands: "GSE” on page 174.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Record No. 1 ~ 2048: No. 1 ~ 2048 Variable
* Record No. 1 indicates the latest record.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Record No. Refer to the sending format. Variable
Year 2001 ~ 2100 4
4 Record time (Date) Month 01 ~ 12 2 (0 padding)
Day 01 ~ 31 2 (0 padding)
Hour 00 ~ 23 2 (0 padding)
5 Record time (Time) Minute 00 ~ 59 2 (0 padding)
Minute 00 ~ 59 2 (0 padding)
6 Viscosity time [Minute] 5 (0 padding)
7 Supply time [Minute] 5 (0 padding)
8 Exhaust air temperature [°C] 5 (0 padding)
9 Head temperature [°C] 5 (0 padding)
10 Gun temperature [°C] 5 (0 padding)
11 Ink chamber temperature [°C] 5 (0 padding)
Board chamber
12 [°C] 5 (0 padding)
temperature
13 Ink temperature [°C] 5 (0 padding)
14 Run mode 0: Stop, 1: Run 1
15 Piezo command value 4 (0 padding)
16 Charge detection time [μs] 3 (0 padding)
17 Number of solvent supply [Times] 2 (0 padding)
18 Pressure [MPa] 5 (0 padding)
* If no code is entered for a specified record No., the parameters up to No. 3 are sent back.
131
Communications commands
Example of use
Sending data→GDE: 0: 1: 1:
Receiving data←0: 1: 1: 20110203: 080910: 031.2: 034.0: +36.7: +34.5: +36.2: +33.1: +45.6: +37.8:
1: 1234: 456: 02: 0.321:
No. 1 record (latest record) of the measurement log is as follows:
Board chamber
Record time February 3, 2011 45.6°C
temperature
8: 09: 10 Ink temperature 37.8°C
Viscosity time 31.2°C Run mode Run
Supply time 34 seconds Piezo command value 1234
Exhaust air temperature 36.7°C Charge detection time 456μs
Head temperature 34.5°C Number of solvent supply 2 times
Gun temperature 36.2°C Pressure 0.321MPa
Ink chamber temperature 33.1°C
132
GDL (Get Data Log)
Function
This command acquires the work log data.
Memo
Related commands: “GSL” on page 175.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
0: All types, 1: Work log, 2: Ink log,
2 Log type 3: External interface log, 4: Alarm log, 1
5: Maintenance log, 6: Warning log
When "Log type" is set to "All types":
1 ~ 1536: No. 1 ~ 1536
3 Record No. Variable
When "Log type" is set to other than "All types":
1 ~ 256: No. 1 ~ 256
* Record No. 1 indicates the latest record.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Record No. Refer to the sending format. Variable
Year 00 ~ 99 2 (0 padding)
* Last two digits of the Christian year
4 Record time (Date) Month 01 ~ 12 2 (0 padding)
Day 01 ~ 31 2 (0 padding)
Hour 00 ~ 23 2 (0 padding)
5 Record time (Time) Minute 00 ~ 59 2 (0 padding)
Minute 00 ~ 59 2 (0 padding)
6 Record code 4-digit hexadecimal record code 4
* If no code is entered for a specified record No., the parameters up to No. 3 are sent back.
Example of use
Sending data→GDL: 0: 0: 1:
133
Communications commands
Memo
Related commands: “SDM” on page 60.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
3 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
3 Module format Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
134
No. Parameter name Setting details Parameter length
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
3 Module format
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
Field data follows below.
* If no module is registered, the parameters up to No. 2 are sent back.
* When "Edit message mode" is set to "CCS", the setting of Parameter 3 is invalid.
Field data
135
Communications commands
Example of use
Sending data→GDM: 1: 1: 3:
Receiving data←1: 1:
Module 1 is not registered.
Sending data→GDM: 1: 1: 3:
136
GDN (Get Data Numbering)
Function
This command acquires the current value and current repeated value of a Numbering module.
Memo
Related commands: “SDN” on page 62. “RDN” on page 185.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40 Variable
* If no module is registered, the parameters up to No. 2 are sent back.
* When the function "Numbering module > Extended printing: Character method" is selected, this command is not available.
("NAK" is sent back).
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
3 Current numbering value 0 ~ 3656158440062975 Variable
4 Current repeated value 1 ~ 9999 Variable
Example of use
Sending data→GDN: 0: 1:
Sending data→GDN: 0: 1:
Receiving data←0: 1:
Module 1 is not set.
137
Communications commands
Memo
Related commands: “SDP” on page 63. “RDP” on page 186.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999 Variable
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Message No. Refer to the sending format. Variable
4 Print count 0 ~ 4294967295: 0 ~ 4294967295 times Variable
Example of use
Sending data→GDP: 0: 1: 1:
138
GDR (Get Data Realtime)
Function
This command acquires the current printing data of Calendar, Numbering and Distance modules.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module type 0: Clock, 1: Limit, 2: Numbering, 3: Distance 1
3 Module No. 1 ~ 40: No. 1 ~ 40 Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
4 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
Code systemUpdate mode
1
4 Printing data Refer to the sending format.
Character data Variable
* The result that “character replacement“ and “zero-suppress“ were performed is returned to the character data.
* If no module or no character data is registered, the parameters up to No. 3 are sent back.
Example of use
Sending data→GDR: 0: 1: 1: 3:
Receiving data←0: 1: 1: 3 1 2 . 0 3 . 0 4 :
The current printing data of Limit module 1 is “12.03.04”.
139
Communications commands
Memo
Related commands: “Table of version information types” on page 205.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Data type Refer to "Table of version information types." Variable
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Data type Refer to the sending format. Variable
3 Version information Varies depending on data. Variable
Example of use
Sending data→GDV: 0: 000:
1 2 3 4 5 6 7 8 9 10 11 12
ON
OFF
140
GIM (Get Interval Module)
Function
This command acquires an Interval module.
Memo
Related commands: “SIM” on page 64.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20 Variable
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
3 Reserved 0 fixed 1
4 Interval specified 0: Interval, 1: Pitch 1
3 Interval 0 ~ 9999.9: 0 ~ 9999.9mm Variable
* If no module is registered, the parameters up to No. 2 are sent back.
* When "Edit message mode" is set to "CCS", the setting of Parameter 3 is invalid.
Example of use
Sending data→GIM: 0: 1:
Receiving data←0: 1:
Module 1 is not registered.
Sending data→GIM: 0: 1: 1:
141
Communications commands
Memo
Related commands: “SCM” on page 50. “GCM” on page 123. “SLM” on page 65. “Table of
calendar character codes” on page 192.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
3 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
3 Module format Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
142
No. Parameter name Setting details Parameter length
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
3 Module format
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
Code system
1
Refer to the sending format.
4 Content
Character data
Variable
Character code
* If no module is registered, the parameters up to No. 2 are sent back.
* When the function "Edit message mode: CCS" is selected, the setting of Parameter 3 is invalid.
Example of use
Sending data→GLM: 1: 1: 3:
Receiving data←1: 1:
Module 1 is not registered.
Sending data→GLM: 1: 1: 3:
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "Y3" and "Y4" in "Content" are replaced with the tens place and ones place of the Christian year, respectively, when printed.
143
Communications commands
Memo
Related commands: “SMC” on page 67.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
3 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Message No. Refer to the sending format. Variable
Code system
1
Refer to the sending format.
3 Comment
Character data (Up to 15 characters)
Variable
Character code
* If no comment is registered, the parameters up to No. 2 are sent back.
* Even if the message is not registered, the comment is registered.
Example of use
Sending data→GMC: 0: 1: 3:
Receiving data←0: 1:
The comment of Message 1 is not registered.
Sending data→GMC: 0: 1: 3:
Receiving data←0: 1: 3: :
The comment of Message 1 is " ".
144
GMD (Get Message Data)
Function
This command acquires a message.
* Case where the function "Print > Edit message mode: CM2" is selected
Memo
Related commands: “SMD” on page 68.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
* When the function "Printing > Message edit mode: CCS" is selected, cannot use GMD command.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Message No. Refer to the sending format. Variable
Module data format
Up to 32 modules are sent back consecutively in the
format of "Module type (1 digit) + Module No. (3
digits)".
Variable
3 Module data Module type (1 digit)
(Multiples of 4)
T: Text, C: Clock, L: Limit, N: Numbering, B: Bar code,
2: 2D code, I: Interval, D: Distance, A: Anchor
Module No. (3 digits)
001 ~ 500: No. 1 ~ 500
* If no message is registered, the parameters up to No. 2 are sent back.
* The upper limit of the module number varies depending on the module type.
* When the function "Print > Edit message mode: CM2" is selected, the setting of "Module type: Anchor" is invalid, which is not
reflected on printout.
Example of use
Sending data→GMD: 0: 1:
Receiving data←0: 1:
Message 1 is not registered.
Sending data→GMD: 0: 1:
145
Communications commands
* Case where the function "Print > Edit message mode: CCS" is selected
Memo
Related commands: “SMM” on page 70.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 2 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS,
3 Code system 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS, 1
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
* When the function "Printing > Message edit mode: CM2" is selected, cannot use GMM command.
* If the command contains only up to No.2 parameters, “Text contents“ are not sent back.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Message No. Refer to the sending format. Variable
3 Module ID 1 ~ 32: No. 1 ~ 32 Variable
Module type
T: Text, C: Clock, L: Limit, N: Numbering, B: Bar code,
2: 2D code, I: Interval, D: Distance, P: Bit image, 1
4 Module A: Anchor,
!: Module is not registered
Module No.1 ~ 500: No. 1 ~ 500 Variable
Layout No. 01 ~ 16: No. 1 ~ 16 2 (0 padding)
Placement in layout * X-coordinate
5 (0 padding)
00000 ~ : 0 ~
Font bottom position * Y-coordinate
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Vertical dots * Vertical dots of Layout
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
5 Module format A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Multiple width
1
1 ~ 8: x1 ~ x8
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓
146
No. Parameter name Setting details Parameter length
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply multiple-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
5 Module format
Pitch magnification
1
0 ~ 9 : x1 ~ x10, A ~ F : x11 ~ x16
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
The parameter part continues further.
Example of use
Sending data→GMM: 2: 1:
Receiving data←2: 1:
Message 1 is not registered.
147
Communications commands
Sending data→GMM: 2: 1: 3:
About the message data above, when do not send back “Text contents“.
Sending data→GMM: 2: 1:
148
GMN (Get Message Number)
Function
This command acquires the current message No.
Memo
Related commands: “SMN” on page 75.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
0 ~ 999: No. 0 ~ 999
3 Message No. Variable
* Message No. 0 is used for printing a bit image.
Example of use
Sending data→GMN: 0: 1:
149
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module type 0: Clock, 1: Limit, 2: Numbering 1
1 ~ 40: No. 1 ~ 40, C: Common setting,
3 Module No. Variable
D: Default data
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
Update mode
1
0: Auto, 1: Manual
Zero suppression
0: Disabled (’0’ is printed), 1: Right-aligned, 1
4 Various switches 2: Left-aligned, 3: Move to front
Reserved
1
1 fixed
Reserved
1
0 fixed
* When the function "Numbering module > Extended printing: Enabled" is Field method, the setting of "Zero suppression" is
invalid.
Example of use
Sending data→GMU: 0: 1: 1:
150
GNM (Get Numbering Module)
Function
This command acquires a Numbering module.
Memo
Related commands: “SNM” on page 78.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
3 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
* If the command contains only up to No.2 parameters, field data is not sent back.
* When the function "Numbering module > Extended printing: Character method" is selected, this command is not available.
("NAK" is sent back).
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
3 Module format Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
2 (0 padding)
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
151
Communications commands
Field data
152
Example of use
Sending data→GNM: 1: 1:
Receiving data←1: 1:
Module 1 is not registered.
Sending data→GNM: 1: 1: 3:
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
* "F3", "F2", "F1" and "F0" in the Code data of the field data are replaced with the thousands place, hundreds place, tens place
and ones place, respectively, when printed.
153
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot use this command because there is
not “Clock module“. When you use “Limit module“ in substitution for “Clock module“, please use “GOL“ command.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
3 Day offset -36600 ~ 36600: -36600 ~ 36600 days Variable
4 Hour offset -22 ~ 23: -22 ~ 23 hours Variable
5 Minute offset -58 ~ 59: -58 ~ 59 minutes Variable
* Even when the content of a module is not registered, the offset is sent back.
* Inside the software, the offset of "Hour" and "Minute" is managed in units of minute. Therefore, when the offset values of "Hour"
and "Minute" have different signs, the offset acquired using the GOC command may be different from the offset set using the
SOCcommand.
Example of use
Sending data→GOC: 0: 1:
154
GOL (Get Offset Limit)
Function
This command acquires the offset of a Limit module.
Memo
Related commands: “SOC” on page 81. “GOC” on page 154. “SOL” on page 82. “STC” on
page 102. “GTC” on page 155. “GTL” on page 179.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
3 Year offset -99 ~ 99: -99 ~ 99 years Variable
4 Month offset -11 ~ 11: -11 ~ 11 months Variable
5 Day offset -9999 ~ 9999: -9999 ~ 9999 days Variable
6 Hour offset -22 ~ 23: -22 ~ 23 hours Variable
7 Minute offset -58 ~ 59: -58 ~ 59 minutes Variable
* Even when the content of a module is not registered, the offset is sent back.
Example of use
Sending data→GOL: 0: 1:
Year offset 1
Month offset 0
Day offset -1
Hour offset 0
Minute offset 0
155
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
1 ~ 20: No. 1 ~ 20,
2 Module No. Variable
C: Common setting, D: Default data
3 2D code type 0: QR, 1: DataMatrix 1
* When "Module No." is set to other than "Common setting", parameter 3 is ignored.
* When "Module No." is set to other than "Common setting", it is also possible to send the parameters up to No. 2.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
3 2D code type Refer to the sending format. 1
The parameter part continues further.
For the case of QR
156
Example of use
Sending data→GP2: 1: 1:
Receiving data←1: 1:
2D code module 1 is not registered.
Sending data→GP2: 1: 1:
157
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module type 0: Clock, 1: Limit, 2: Numbering, 3: Distance 1
1 ~ 40: No. 1 ~ 40, C: Common setting,
3 Module No. Variable
D: Default data
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
4 Assignment unit 0: By character, 1: By digit 1
5 Base year 2000 ~ 2100 4
* Only when "Module type" is set to "Clock" or "Limit", the "Base year" value is sent back.
* Even when the content of a module is not registered, the character assignment setting is sent back.
Example of use
Sending data→GPA: 0: 1: 1:
Sending data→GPA: 0: 2: 1:
Receiving data←0: 2: 1: 1:
The character assignment setting of Numbering module 1 is as follows:
158
GPB (Get Parameter Barcode)
Function
This command acquires the bar code setting.
Memo
Related commands: “SPB” on page 87.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
1 ~ 20: No. 1 ~ 20, C: Common setting,
2 Module No. Variable
D: Default data
0: ITF, 1: Code39, 2: NW7, 3: EAN, 4: Code128,
3 Bar code type 1
5: UPC, 6: Code93
* When "Module No." is set to other than "Common setting", parameter 3 is ignored.
* When "Module No." is set to other than "Common setting", it is also possible to send the parameters up to No. 2.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
3 Bar code type Refer to the sending format. 1
0: OCR setting, 1: Bearer bar setting,
Subsequent parameter 2: Start/Stop character setting, 3: Bar setting Variable
4
setting * The number of data varies depending on the bar code (Max 4)
type.
1. "OCR setting"
159
Communications commands
4. "Bar setting"
160
Example of use
Sending data→GPB: 0: 1:
Reverse Disabled
Black bar 1 size 2 (Size of light black bar when the bar code type is ITF)
Black bar 2 size 5(Size of black bold bar when the bar code type is ITF)
Black bar 3 size 3
Black bar 4 size 4
White bar 1 size 2 (Size of white light bar when the bar code type is ITF)
White bar 2 size 5 (Size of bold white bar when the bar code type is ITF)
White bar 3 size 3
White bar 4 size 4
Gap size 3
Front space 10
Last space 10
* The settings of Black bar 3 size, Black bar 4 size, White bar 3 size, White bar 4 size, and Gap size are invalid when "Bar code
type" is set to "ITF".
161
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Reserved 0 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Reserved Refer to the sending format. 1
Baud rate
0: 1200, 1: 2400, 2: 4800, 3: 9600, 4: 19200, 1
5: 38400, 6: 56000, 7: 57600, 8: 76800, 9: 115200
Character length
1
3 Communication conditions 0: 7 bits, 1: 8 bit
Parity
1
0: No, 1: Odd, 2: Even
Stop bit
1
1: 1 bit, 2: 2 bits
Error response format
1
0: NAK only, 1: NAK + Code
Checksum
1
0: Disabled, 1: Enabled
Print end signal output
1
0: Disabled, 1: Enabled
4 Extended settings
Reserved
1
0 fixed
Continuous command transmission
1
0: Disabled, 1: Enabled
Reserved
1
0 fixed
5 Reserved 0 1
6 Receiving time-out time 0 ~ 300: 0 ~ 300 seconds Variable
* When the function "Print > Print end signal: Set in the print control" is selected, the setting of "Print end signal output" in
Parameter 4 is invalid.
162
Example of use
Sending data→GPC: 0: 1:
163
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Calendar type 0: Clock, 1: Limit 1
1 ~ 40: No. 1 ~ 40, C: Common setting,
3 Module No. Variable
D: Default data
* If the function "Calendar module > Calculation method: CCS" is selected, "Calendar type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types.
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Calendar type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday,
4 Beginning of the week 1
4: Thursday, 5: Friday, 6: Saturday
5 AM/PM change time 00 ~ 23: 0 ~ 23 hours 2 (0 padding)
6 AM/PM change time 00 ~ 59: 0 ~ 59 minutes 2 (0 padding)
0: Month End, 1: Carry-over, 2: Month Start
7 Offset calculation method 1
3: Month End 2
8 Japanese calendar offset 1988 ~ 2100 4
0: Begin with January 1,
9 First week of week number 1
1~7 : A week including first {Sunday ~ Saturday}
Update mode
1
0: Auto, 1: Manual
Zero suppression
0: Disabled ('0' is printed), 1: Right-aligned, 1
10 Various switches 2: Left-aligned, 3: Move to front
Reserved
1
1 fixed
Reserved
1
0 fixed
164
Example of use
Sending data→GPL: 1: 1: 1:
Beginning of the week Monday First week of week number Begin with Jan.1st
AM/PM change time 13: 45 Update mode Auto
Use-by date calculation
Carry-over Zero suppression Disabled
method
Japanese calendar offset 1988
165
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Port number 0 ~ 65535 Variable
15
3 IP address [Link] ~ [Link]
(0 padding, dots included)
15
4 Subnet mask [Link] ~ [Link]
(0 padding, dots included)
15
5 Default gateway [Link] ~ [Link]
(0 padding, dots included)
Error response format
1
0: NAK only, 1: NAK + Code
Checksum
1
0: Disabled, 1: Enabled
Print end signal output
1
0: Disabled, 1: Enabled
6 Extended settings
Reserved
1
0 fixed
Continuous command transmission
1
0: Disabled, 1: Enabled
Reserved
1
0 fixed
7 Reserved 0 fixed 1
8 Receiving time-out time 0 ~ 300: 0 ~ 300 seconds Variable
* When the function "Print > Print end signal: Set in the print control" is selected, the setting of "Print end signal output" in
Parameter 6 is invalid.
166
Example of use
Sending data→GPN: 0:
167
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
0: Auto (When the current message is changed),
3 Reset setting 1
1: Manual, 2: Upon date updated
Example of use
Sending data→GPP: 0: 1:
Receiving data←0: 1: 1:
The reset setting of the print counter is set to "Manual".
168
GPT (Get Parameter Timer)
Function
This command acquires the timer start setting.
Memo
Related commands: “SPT” on page 97.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Timer No. 1 ~ 5: no. 1 ~ 5 1
Sending format
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Timer No. Refer to the sending format. 1
3 Timer state 0: Disabled, 1: Enabled 1
0: Sunday, 1: Monday, 2: Tuesday,
4 starting day of the week 3: Wednesday, 4: Thursday, 5: friday, 1
6: Saturday
5 Ending day of the week Same as the setting range for Starting day of the week. 1
6 Timer ON time (Hour) 00 ~ 23: 0 ~ 23 hours 2 (0 padding)
7 Timer ON time (Minute) 00 ~ 59: 0 ~ 59 minutes 2 (0 padding)
8 Timer OFF time (Hour) 00 ~ 23: 0 ~ 23 hours 2 (0 padding)
9 Timer OFF time (Minute) 00 ~ 59: 0 ~ 59 minutes 2 (0 padding)
Example of use
Sending data→GPT: 0: 1:
Sending data→GPT: 0: 1:
169
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Beep sound 0: Disabled, 1: Enabled 1
3 Back light OFF time 0: Back light always ON, 1 ~ 999: 1 ~ 999 minutes Variable
4 Continuous registration 0: Disabled, 1: Enabled 1
Selected number for
5 0: Unregistered number, 1: Previous number 1
registration
6 Calendar display 0: Practical data, 1: Symbol 1
7 Update data in real time 0: Disabled, 1: Enabled 1
8 Check shortcut 0: Disabled, 1: Enabled 1
Example of use
Sending data→GPU: 0:
Receiving data←0: 1: 3: 0: 0: 0: 0: 0:
The screen operation setting is as follows:
170
GRC (Get Running Control)
Function
This command acquires the run mode of the head.
Memo
Related commands: “SRC” on page 99. “RRC” on page 187.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Run mode 0: Stop, 1: Run 1
Example of use
Sending data→GRC: 0: 1:
Receiving data←0: 1: 1:
The run mode of the head is "Run".
171
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Calendar type 0: Clock, 1: Limit 1
1 ~ 40: No. 1 ~ 40, C: Common setting,
3 Module No. Variable
D: Default data
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
4 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
* If the function "Calendar module > Calculation method: CCS" is selected, "Calendar type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types.
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Calendar type Refer to the sending format. 1
3 Module No. Refer to the sending format. Variable
4 Number of divisions 1 ~ 24 Variable
5 Code system Refer to the sending format. 1
Start time (Hour)
2
00 ~ 23 (Fixed to 00, for 1st Shift data only)
Start time (Minute)
6 1st Shift data 2
00 ~ 59 (Fixed to 00, for 1st Shift data only)
Assignment character (for 0 ~ 16 characters)
Variable
Character code
2nd and later Shift data are sent back by the Number of divisions.
172
Example of use
Sending data→GSC: 0: 1: 1: 3:
Receiving data←0: 0: 1:
The Shift code of Limit module 1 is set to "Not used".
Sending data→GSC: 0: 1: 1: 3
0: 00
Number of divisions 4
Prints 'A' from 0: 00.
Data of Division 1
(Print time zone...0: 00 ~ 5: 59) “D” “A”
No printing from 6: 00.
Data of Division 2 (Not registered) 18: 00 6: 00
(Print time zone...6: 00 ~ 11: 59) Not
“C”
Prints 'C' from 12: 00. registered
Data of Division 3
(Print time zone...12: 00 ~ 17: 59)
Prints 'D' from 18: 00.
Data of Division 4 12: 00
(Print time zone...18: 00 ~ 23: 59)
173
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No. Refer to the sending format. 1
3 Number of data registered 0 ~ 2048: 0 ~ 2048 pieces Variable
Example of use
Sending data→GSE: 0: 1:
174
GSL (Get Status Log)
Function
This command acquires the number of data registered in the work log.
Memo
Related commands: “GDL” on page 133.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
0: All types, 1: Work log, 2: Ink log,
2 Log type 3: External interface log, 4: Alarm log, 1
5: Maintenance log, 6: Warning log
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Log type Refer to the sending format. 1
When "Log type" is set to "All types":
0 ~ 1536: 0 ~ 1536 pieces
3 Number of data registered Variable
When "Log type" is set to other than "All types":
0 ~ 256: 0 ~ 256 pieces
Example of use
Sending data→GSL: 0: 1
175
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
0: Liquid quantity of ink tank,
1: Liquid quantity of solvent tank,
2: Liquid quantity of main tank,
3 Status type 3: Status of print head, Variable
4: Status of viscosity,
5: Status of print head heater,
6~9: Reserved
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Head No Refer to the sending format. 1
3 Status type Refer to the sending format Variable
The parameter part continues further.
When the parameter is "Liquid quantity of various tank"
176
Example of use
Sending data→GSS: 0: [Link]
177
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 20: No. 1 ~ 20, D: Default data Variable
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot use this command because there is
not “Clock module“. When you use “Limit module“ in substitution for “Clock module“, please use “GTL“ command.
Receiving format
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Christian year 4
Month 2 (0 padding)
3 Offset time Day 2 (0 padding)
Hour 2 (0 padding)
Minute 2 (0 padding)
* Even when the content of a module is not registered, the offset time is sent back.
Example of use
Sending data→GTC: 0: 1:
178
GTL (Get Time Limit module)
Function
This command acquires the offset time of a Limit module.
Memo
Related commands: “SOC” on page 81. “GOC” on page 154. “SOL” on page 82. “GOL” on
page 155. “STC” on page 102. “GTC” on page 178.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40, D: Default data Variable
* If the function "Calendar module > Calculation method: CM2" is selected, the upper limit of the module number is No. 20.
Receiving format
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Christian year 4
Month 2 (0 padding)
3 Offset time Day 2 (0 padding)
Hour 2 (0 padding)
Minute 2 (0 padding)
* Even when the content of a module is not registered, the offset time is sent back.
Example of use
Sending data→GTL: 0: 1:
179
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 fixed 1
2 Module No. 1 ~ 500: No. 1 ~ 500, D: Default data Variable
0: JIS, 2: Shift-JIS, 3: ASCII + Shift-JIS, 4: UNICODE,
3 Code system 6: GB, 7: ASCII + GB, 8: KS, 9: ASCII + KS, 1
A: BIG5, B: ASCII + BIG5
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
2 Module No. Refer to the sending format. Variable
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots, 1
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 dots,
E: 11 dots, F: 15 dots
Font size
0: 32x32, 1: 32x24, 2: 24x24, 3: 24x18, 4: 16x16,
1
5: 16x12, 6: 12x10, 7: 10x8, 8: 9x9, 9: 9x7,
A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Font bottom position
00 ~ 35: The font bottom is located at the 0th ~ 35th 2 (0 padding)
dot from the lowermost dot.
Multiple width
1
1 ~ 8: 1 ~ 8-fold
Character direction
3 Module format 1
0: ↑, 1: ←, 2: →, 3: ↓
Character spacing dot
1
00 ~ 31: 0 ~ 31 dots
Character spacing of final characters
1
0: Disabled, 1: Enabled
Apply full-width to character spacing dot
1
0: Disabled, 1: Enabled
Reverse
1
0: Disabled, 1: Enabled
Character inversion
0: Disabled, 1
1: Horizontal inversion, 2: Vertical inversion
Character placement
0: Places the character left to right, 1
1: Right to left, 2: Top to bottom, 3: Bottom to top
180
No. Parameter name Setting details Parameter length
Code system
1
Refer to the sending format.
4 Content
Character data
Variable
Character code
* If no module is registered, the parameters up to No. 2 are sent back.
* When "Edit message mode" is set to "CCS", the setting of Parameter 3 is invalid.
Example of use
Sending data→GTM: 1: 1: 3:
Receiving data←1: 1:
Text module 1 is not registered.
Sending data→GTM: 1: 1: 3:
* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.
181
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
Receiving data
No. Parameter name Setting details Parameter length
1 Command version Refer to the sending format. 1
Year
4
2001 ~ 2100
Month
2 (0 padding)
01 ~ 12
Day
2 (0 padding)
01 ~ 31
Hour
2 Time 2 (0 padding)
00 ~ 23
Minute
2 (0 padding)
00 ~ 59
Minute
2 (0 padding)
00 ~ 59
Day of the week
1
0 ~ 6: Sunday ~ Saturday
Example of use
Sending data→GTS: 0:
182
3-4 Reset commands
Memo
Related commands: “SDA” on page 56. “GDA” on page 129. “Assignment character-related
information” on page 201.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module type 0: Clock, 1: Limit, 2: Numbering, 3: Distance 1
1 ~ 40: No. 1 ~ 40, C: Common setting,
3 Module No. Variable
D: Default data
4 Character type Refer to assignment character-related information. 2
When "Character type: DC":
0: For AM, 1: For PM
When "Character assignment: DN":
0: For common assignment to digits
1 ~ 3: For individual assignment to digits (1st ~ 3rd
digits are edited.)
When "Character assignment: WN":
0: For common assignment to digits
5 Assignment unit Variable
1 ~ 2: For individual assignment to digits (1st ~ 2nd
digits are edited.)
When "Character type: NO":
0: For common assignment to digits
1 ~ 10: For individual assignment to digits (1st ~ 10th
digits are edited.)
For other cases
The settings are ignored.
* If the function "Calendar module > Calculation method: CCS" is selected, "Module type: Clock" cannot be selected.
* If the parameter 3 "Module No." is set to "Common setting", there is no distinction between the calendar types "Clock" and
"Limit".
* The upper limit of the module number varies depending on the parameter 2 "Module type" or the function "Calendar module >
Calculation method".
Example of use
Sending data→RDA: 0: 1: 1: Y1: 0:
Initializes the setting of the assignment character Y1( the thousands place of the
Christian year) of Limit module 1.
183
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
0: All data, 1: Print data and Setting data,
3 Data to initialize 2: Log data, 3: Print data, 4: Setting data, 1
5: Model specific data
* When the command has been executed normally, "ACK" is sent back and then the system shuts down.
Example of use
Sending data→RDM: 0: 1: 0:
Delete all data.
184
RDN (Reset Data Numbering)
Function
This command resets the current value and current repeated value of a Numbering module.
Memo
Related commands: “SDN” on page 62. “GDN” on page 137.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Module No. 1 ~ 40: No. 1 ~ 40 Variable
* When the current value of an unregistered module is reset, "ACK" is sent back.
Example of use
Sending data→RDN: 0: 1:
Resets the current value of Module 1.
185
Communications commands
Memo
Related commands: “SDP” on page 63. “GDP” on page 138.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
3 Message No. 0 ~ 999: No. 0 ~ 999 Variable
* If the command contains only up to No.2 parameters, the print counters of all messages are reset.
Example of use
Sending data→RDP: 0: 1: 1:
Resets the print counter of Message 1.
Sending data→RDP: 0: 1:
Resets the print counters of all messages.
186
RRC (Reset Running Control)
Function
This command executes the process of turning off the power.
Memo
Related commands: “SRC” on page 99. “GRC” on page 171.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Example of use
Sending data→RRC: 0: 1:
Executes the process of turning off the power.
187
Communications commands
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Example of use
Sending data→RRP: 0: 1:
Forcibly stops printing.
188
3-5 Update commands
Memo
When execute the calendar update, update the time to be printed for the calendar that included
in the current message.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Example of use
Sending data→UDC: 0: 1:
Execute the calendar update.
189
Communications commands
Memo
When execute the numbering update, increase (decrease) the numbering counter for the
numbering that included in the current message.
Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Head No. 1 fixed 1
Example of use
Sending data→UDN: 0: 1:
Execute the numbering update.
190
191
Character code
4-1 Table of calendar character codes
Code
Calendar ASCII+Shift-JIS
Meaning ASCII+GB,
character JIS, GB, KS, BIG5 Shift-JIS UNICODE
ASCII+KS,
ASCII+BIG5
Thousands place of the
Y1 7D21h EF40h Y1 F000h
Christian year
Hundreds place of the
Y2 7D22h EF41h Y2 F001h
Christian year
Tens place of the
Y3 7D23h EF42h Y3 F002h
Christian year
Ones place of the
Y4 7D24h EF43h Y4 F003h
Christian year
Tens place of the
H1 7D25h EF44h H1 F004h
Japanese calendar year
Ones place of the
H2 7D26h EF45h H2 F005h
Japanese calendar year
M1 Tens place of the month 7D27h EF46h M1 F006h
M2 Ones place of the month 7D28h EF47h M2 F007h
MA Month in 1 digit 7D29h EF48h MA F008h
D1 Tens place of the day 7D2Ah EF49h D1 F009h
D2 Ones place of the day 7D2Bh EF4Ah D2 F00Ah
Tens place of the hour
T1 7D2Ch EF4Bh T1 F00Bh
(24-hour format)
Ones place of the hour
T2 7D2Dh EF4Ch T2 F00Ch
(24-hour format)
TA Hour (24-hour format) in 1 digit 7D2Eh EF4Dh TA F00Dh
Tens place of the hour
t1 7D2Fh EF4Eh t1 F00Eh
(12-hour format)
Ones place of the hour
t2 7D30h EF4Fh t2 F00Fh
(12-hour format)
m1 Tens place of the minute 7D31h EF50h m1 F010h
m2 Ones place of the minute 7D32h EF51h m2 F011h
S1 Tens place of the second 7D33h EF52h S1 F012h
S2 Ones place of the second 7D34h EF53h S2 F013h
Hundreds, tens and ones
DN 7D35h EF54h DN F014h
places of date number
MP AM/PM character 7D36h EF55h MP F015h
DW Day of the week 7D37h EF56h DW F016h
WN Week number 7D38h EF57h WN F017h
DT Early/middle/late month 7D39h EF58h DT F018h
DC Day in 1 digit 7D3Ah EF59h DC F019h
YX Year in 2 digits 7D3Bh EF5Ah YX F01Ah
MX Month in 2 digits 7D3Ch EF5Bh MX F01Bh
DX Day in 2 digits 7D3Dh EF5Ch DX F01Ch
TX Hour in 2 digits 7D3Eh EF5Dh TX F01Dh
mX Minute in 2 digits 7D3Fh EF5Eh mX F01Eh
SX Second in 2 digits 7D40h EF5Fh SX F01Fh
192
4-2 Table of digit codes
Code
ASCII+Shift-JIS,
Digit code Meaning ASCII+GB,
JIS, GB, KS, BIG5 Shift-JIS UNICODE
ASCII+KS,
ASCII+BIG5
F0 Ones place of the counter 7E21h EF9Fh F0 F080h
F1 Tens place of the counter 7E22h EFA0h F1 F081h
Hundreds place of the
F2 7E23h EFA1h F2 F082h
counter
Thousands place of the
F3 7E24h EFA2h F3 F083h
counter
Ten thousands place of
F4 7E25h EFA3h F4 F084h
the counter
Hundred thousands place
F5 7E26h EFA4h F5 F085h
of the counter
Millions place of the
F6 7E27h EFA5h F6 F086h
counter
Ten millions place of the
F7 7E28h EFA6h F7 F087h
counter
Hundred millions place of
F8 7E29h EFA7h F8 F088h
the counter
Billions place of the
F9 7E2Ah EFA8h F9 F089h
counter
* Notice that, when the counter is used in the Distance module, the places of the counter vary depending on the unit of distance.
* F8 and F9 cannot be used in the Distance module.
193
Character code
JIS, GB, KS, BIG5 7621h ~ 767Eh, 7721h ~ 777Eh, 7821h ~ 7864h
Shift-JIS EB9Fh ~ EBFCh, EC40h ~ EC7Eh, EC80h ~ ECE2h
256 characters
UNICODE E000h ~ E0FFh
in total
* The above code table lists the codes to which user fonts are assigned by default.
If a user font is assigned to any code, use the assigned code.
If any designated user font is in unused condition (no code is assigned to it), it cannot be used.
194
4-4 Table of bar code data registration codes
The registrable ASCII code
The registrable ASCII code (00h ~ 7Fh), module, and special code are below.
+00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F
00 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
10 DLE DC1 DC2 DC3 DC4 NAK SYN ETX CAN EM SUB ESC FS GS RS US
20 SPACE ! “ # $ % & ‘ ( ) * + , - . /
30 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
40 @ A B C D E F G H I J K L M N O
50 P Q R S T U V W X Y Z [ \ ] ^ _
60 ‘ a b c d e f g h i j k l m n o
70 p q r s t u v w x y z { | } ~ DEL
* For registration / acquisition of the module, refer to "Registlation of the special character" on page 197.
+00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F
00 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
10 DLE DC1 DC2 DC3 DC4 NAK SYN ETX CAN EM SUB ESC FS GS RS US
20 SPACE ! “ # $ % & ‘ ( ) * + , - . /
30 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
40 @ A B C D E F G H I J K L M N O
50 P Q R S T U V W X Y Z [ \ ] ^ _
60 ‘ a b c d e f g h i j k l m n o
70 p q r s t u v w x y z { | } ~ DEL
* For registration / acquisition of the module, refer to "Registlation of the special character" on page 197.
+00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F
00 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
10 DLE DC1 DC2 DC3 DC4 NAK SYN ETX CAN EM SUB ESC FS GS RS US
20 SPACE ! “ # $ % & ‘ ( ) * + , - . /
30 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
40 @ A B C D E F G H I J K L M N O
50 P Q R S T U V W X Y Z [ \ ] ^ _
60 ‘ a b c d e f g h i j k l m n o
70 p q r s t u v w x y z { | } ~ DEL
* For registration / acquisition of the inverted colored ASCII codes and the module, refer to "Registlation of the special character" on
page 197.
195
Character code
+00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F
00 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
10 DLE DC1 DC2 DC3 DC4 NAK SYN ETX CAN EM SUB ESC FS GS RS US
20 SPACE ! “ # $ % & ‘ ( ) * + , - . /
30 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
40 @ A B C D E F G H I J K L M N O
50 P Q R S T U V W X Y Z [ \ ] ^ _
60 ‘ a b c d e f g h i j k l m n o
70 p q r s t u v w x y z { | } ~ DEL
* For registration / acquisition of the inverted colored ASCII codes, the module and the special codes, refer to "Registlation of the special
character" on page 197.
+00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F
00 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
10 DLE DC1 DC2 DC3 DC4 NAK SYN ETX CAN EM SUB ESC FS GS RS US
20 SPACE ! “ # $ % & ‘ ( ) * + , - . /
30 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
40 @ A B C D E F G H I J K L M N O
50 P Q R S T U V W X Y Z [ \ ] ^ _
60 ‘ a b c d e f g h i j k l m n o
70 p q r s t u v w x y z { | } ~ DEL
* For registration / acquisition of the inverted colored ASCII codes and the module, refer to "Registlation of the special character" on
page 197.
196
Registlation of the special character
ASCII code strings for the registration of special characters are below.
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot register the “clock module 1 ~ 20”
and the “limit module 21 ~ 40”.
197
Character code
* When a code is acquired in ASCII+ Shift-JIS, the half-width character '?' is sent back in '\?'.
* Only in the data-matrix, can be used FNC1 code.
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot register the “clock module 1 ~ 20”.
198
When a Limit module is entered
Code
Number of ASCII+Shift-JIS,
module JIS, GB, KS, BIG5, ASCII+GB,
UNICODE
Shift-JIS ASCII+KS,
ASCII+BIG5
1 1180h ?L1 F180h
2 1181h ?L2 F181h
3 1182h ?L3 F182h
4 1183h ?L4 F183h
5 1184h ?L5 F184h
6 1185h ?L6 F185h
7 1186h ?L7 F186h
8 1187h ?L8 F187h
9 1188h ?L9 F188h
10 1189h ?LA F189h
11 118Ah ?LB F18Ah
12 118Bh ?LC F18Bh
13 118Ch ?LD F18Ch
14 118Dh ?LE F18Dh
15 118Eh ?LF F18Eh
16 118Fh ?LG F18Fh
17 1190h ?LH F190h
18 1191h ?LI F191h
19 1192h ?LJ F192h
20 1193h ?LK F193h
21 1194h ?LL F194h
22 1195h ?LM F195h
23 1196h ?LN F196h
24 1197h ?LO F197h
25 1198h ?LP F198h
26 1199h ?LQ F199h
27 119Ah ?LR F19Ah
28 119Bh ?LS F19Bh
29 119Ch ?LT F19Ch
30 119Dh ?LU F19Dh
31 119Eh ?LV F19Eh
32 119Fh ?LW F19Fh
33 11A0h ?LX F1A0h
34 11A1h ?LY F1A1h
35 11A2h ?LZ F1A2h
36 11A3h ?La F1A3h
37 11A4h ?Lb F1A4h
38 11A5h ?Lc F1A5h
39 11A6h ?Ld F1A6h
40 11A7h ?Le F1A7h
* When the function "Calendar module > Calculation method: CCS" is selected, you cannot register the “limit module 1 ~ 20”.
199
Character code
200
4-6 Assignment character-related information
Case where the module type is "Clock" or "Limit"
Code
Character
Description Assignment Array Data corresponding to
type Remarks
unit number array number
Thousands place of * Arrays numbered 1 and higher correspond to
Y1
the Christian year
01 ~ 10 000 ~ 999 replacement data of '0' and higher.
201
Character code
Code
Character
Description Assignment Array Data corresponding to
type Remarks
unit number array number
Tens place of the * Arrays numbered 1 and higher correspond to
T1
hour (24H)
01 ~ 03 0~ 4 replacement data of ’0’ and higher.
202
Case where the module type is "Distance"
Code
Character
type Description Assignment Array Data corresponding to
unit number array number Remarks
* Arrays numbered 1 and higher correspond to
F0 Ones place 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F1 Tens place 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F2 Hundreds place 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F3 Thousands place 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F4 Ten thousands place 01 ~ 10 ~ replacement data of ’0’ and higher.
Hundred thousands * Arrays numbered 1 and higher correspond to
F5
place
01 ~ 10 ~ replacement data of ’0’ and higher.
203
Character code
Functions that can be assigned to output pins and signal lamp ports
Function No. Function Remarks
00 Not used The output time is not reflected on processing.
01 Print OK (Ready) The output time is not reflected on processing.
02 Ink Low The output time is not reflected on processing.
03 Alarm The output time is not reflected on processing.
04 Under printing The output time is not reflected on processing.
05 Ink OUT The output time is not reflected on processing.
06 BUSY
07 Heating completed The output time is not reflected on processing.
08 Under system startup The output time is not reflected on processing.
09 During operation The output time is not reflected on processing.
10 Printing completed
11 Numbering count complete
12 Specified number of one shot printing completed
13 Solvent Low The output time is not reflected on processing.
14 Out of allowable charge detection range The output time is not reflected on processing.
15 Head temperature control The output time is not reflected on processing.
16 Head cover warning The output time is not reflected on processing.
17 Warning The output time is not reflected on processing.
18 Consumables control time over The output time is not reflected on processing.
19 Ink / Solvent Low The output time is not reflected on processing.
204
4-8 Table of version information types
System version-related information
Setting Type Setting Type
100 Boot loader 106 DSP software
101 System software 107 Charge data
102 Data 108 Ink data
103 PLD (CPU) 109 Error signal output
104 PLD (DRV) 10A Consumables control
105 PLD (Print state)
Font data
Setting
Font size
Standard font User font
5x5 200 202
7x5 210 212
7x8 220 222
9x7 230 232
9x9 240 242
10x8 250 252
12x10 260 262
16x12 270 272
16x16 280 282
24x18 290 292
24x24 2A0 2A2
32x24 2B0 2B2
32x32 2C0 2C2
5xN 2F0 2F2
7xN 300 302
DIP switch
Setting Type
0 DIP switch
205
Communication error codes
5-1 List of error codes
Communication-related error codes
Each of the following error codes is a code generated when an error occurs in external communication.
206
Code Error name Cause and solution
Cannot the communicate the slave unit.
The last digit (0 ~ F) mean the unit (1~16) in which the error
occurred.
15D0H Slave controller Review the communication condition, and check the communication
~15DFH communication error cable and its connection.
Confirm that the ‘Function’ settings for the master unit and the slave
unit are same value.
When the slave unit is not busy, retry same operation.
Memo
If any error code other than the above is displayed on the screen, refer to 4-3 "Error codes and
log codes" in the separate volume "Operation and maintenance."
207
Regarding Bit image
Overview
Bit image is nothing but the graphic data created by the user. To use the bit image, SPM command or SDB
command are used to send the bit image data to this product.
Command Function
SPM To any of bit image module, it will register the bit image data.
SDB It will register the bit Image data to bit image message.
* For more information about each command, please refer to the relevant pages.
The difference between, setting a normal text via communication and setting a bit image via communication is
given below,
Command
This product
Host device
(Text module)
Char code
Command
This product
Host device
(Bit image module and bit image message)
Bit Image Data
208
Data Format of Bit Image
Bit image data is a series of the expression data that represent each column of print image.
No. of bytes per column depends on the no. of vertical dots of print image as shown below,
No. of No. of
Bytes per column Bytes per column
vertical dots vertical dots
1~8 1 Byte 25~32 4 Bytes
9~16 2 Bytes 33~36 5 Bytes
17~24 3 Bytes
For example, below given is the bit image data represents the image (vertical dots 12× 12 horizontal dots),
No. 1 2 3 4 5 6 7 8 9 10 11 12
Bit image data 00h F0h 03h 0Ch 04h 02h 04h 02h 09h F9h 09h 21h
No. 13 14 15 16 17 18 19 20 21 22 23 24
Bit image data 09h 21h 08h D9h 04h 02h 04h 02h 03h 0Ch 00h F0h
209
Kishu Giken Kogyo Co., Ltd.
466 Nunohiki, Wakayama-shi, Japan 641-0015
[Link]