0% found this document useful (0 votes)
204 views210 pages

KGK - Printer - CCS-3000 Protocol

This instruction manual provides guidelines for the KGK JET CCS3000 series continuous ink jet printer, focusing on communication with external devices. It includes safety precautions, power supply requirements, and detailed communication protocols for RS-232C and LAN interfaces. Users are advised to read this manual thoroughly to ensure proper operation and maintenance of the printer.

Uploaded by

hiflow4040
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
204 views210 pages

KGK - Printer - CCS-3000 Protocol

This instruction manual provides guidelines for the KGK JET CCS3000 series continuous ink jet printer, focusing on communication with external devices. It includes safety precautions, power supply requirements, and detailed communication protocols for RS-232C and LAN interfaces. Users are advised to read this manual thoroughly to ensure proper operation and maintenance of the printer.

Uploaded by

hiflow4040
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Continuous ink jet printer for industrial use

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.

About this manual


This manual is intended only for the KGK JET CCS3000 series.
This manual shall not be reproduced in part or in whole without our permission. Every effort has been made to
prepare this manual. However, if you have any questions or find any errors in this manual, please contact Kishu
Giken Kogyo Co. Ltd.
This manual is subject to change for improvements, etc. without notice.

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.

Description of the indication


Indicates that improper handling in disregard of this indication may result in death
Danger or severe injury.

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.

This symbol represents "prohibition", indicating what shall not be done.


Prohibit
This symbol represents "enforcement", indicating what shall be done.

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.

Handling the power cables


Do not damage, alter or heat the power cable. Do not put any heavy object on it.
Prohibit Failure to observe this may damage the cable, resulting in a fire or electric 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

Communication error codes 206


5-1 List of error codes________________________ 206

Regarding Bit image 208

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.

„ Connector pin assignment


Product-side connector fitting surface

Type1 Type2 Type3

9
Communications overview

„ Connector signal assignment


No. Name Description
1 DSR Data Set Ready input
2 RXD Receive Data input
3 RTS Request to Send output*
4 TXD Transmit Data output
5 CTS Clear to Send input
6 DTR Data Terminal Ready output*
7 SG Signal Ground
8 No use
9 No use

* This signal is normally ON while power is supplied.

Connection of RS-232C communication


The pin numbers on the host device side indicate those of general D-sub 9-pin and D-sub 25-pin connectors.
Notice that pin numbers may vary depending on your host device.

Host device CCS3000


D-SUB 25P D-SUB 9P

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.

Code systems of character registration and character


assignment commands
For the following commands, five types of code systems can be used to transmit character data (character
assignment data). For the details of each command, refer to the corresponding page.
 Character registration commands: STM, SCM, SLM, SNM, S2M, SDM, SMC
 Character assignment commands: SDA, SAC, SSC
Usable code systems
The JIS code and other code (By input environment of CCS3000, the
JIS/GB code is GB or KS or BIG5) of each character are sent in the ASCII code
converted from it.
ASCII Characters themselves are sent in ASCII code.
Shift-JIS The Shift-JIS code of each character is sent in the ASCII code
converted from it.
When ASCII and Shift-JIS Characters themselves are sent in ASCII code or in Shift-JIS binary
are mixed image.
UNICODE The UNICODE of each character is sent in the ASCII code converted
from it.
GB/JIS The GB code and JIS code of each character are sent in the ASCII
code converted from it.
When ASCII and GB are Characters themselves are sent in ASCII code or in GB binary image.
mixed
KS/JIS The KS code and JIS code of each character are sent in the ASCII
code converted from it.
When ASCII and KS are Characters themselves are sent in ASCII code or in KS binary image.
mixed
BIG5/JIS The BIG5 code and JIS code of each character are sent in the ASCII
code converted from it.
When ASCII and BIG5 are Characters themselves are sent in ASCII code or in BIG5 binary
mixed image.

11
Communications overview

„ Examples of the transmission of a character registration command


 Sending character data " " in the JIS code system
Character transmitted JIS code
A 2341
B 2342
3B7A

Transmit Data

Character data
Code system specified

Content of word data portion


2 3 4 1 2 3 4 2 3 B 7 A
32H 33H 34H 31H 32H 33H 34H 32H 33H 42H 37H 41H
A B

 Sending character data " " in the ASCII code system


Character transmitted ASCII code
A 41
B 42
*Because two-byte characters cannot be sent in the ASCII code system, " " cannot be transmitted.

Transmit Data

Character data
Code system specified

Content of word data portion


A B
41H 42H

 Sending character data " " in the Shift-JIS code system


Character transmitted Shift-JIS code
A 8260
B 8261
8E9A

Transmit Data

Character data
Code system specified

Content of word data portion


8 2 6 0 8 2 6 1 8 E 9 A
38H 32H 36H 30H 38H 32H 36H 31H 38H 45H 39H 41H
A B

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

Content of word data portion


A B
82H 60H 82H 61H 8EH 9AH

 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

Character data (" " is a two-byte code)


Code system specified

Content of word data portion


A B
41H 42H 8EH 9AH

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

 Sending character data " " in the UNICODE system


Character transmitted UNICODE
A FF21
B FF22
5B57

Transmit Data

Character data
Code system specified

Content of word data portion


F F 2 1 F F 2 2 5 B 5 7
46H 46H 32H 31H 46H 46H 32H 32H 35H 42H 35H 37H
A B

 Sending character data " " in the GB code system


Character transmitted GB code
A A3C1
B A3C2
D7D6

Transmit Data

Character data
Code system specified

Content of word data portion


A 3 C 1 A 3 C 2 D 7 D 6
41H 33H 43H 31H 41H 33H 43H 32H 44H 37H 44H 36H
A B

 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

Character data (" " is a two-byte code)


Code system specified

Content of word data portion


A B
41H 42H D7H D6H

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.

 Sending character data "A문자" in the KS code system


Character transmitted KS code
A A3C1
문 B9AE
자 C0DA

Transmit Data

Character data
Code system specified

Content of word data portion


A 3 C 1 B 9 A E C 0 D A
41H 33H 43H 31H 42H 39H 41H 45H 43H 30H 44H 41H
A 문 자

 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

Content of word data portion


A 문 자
41H B9H AEH C0H DAH

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

 Sending character data " " in the BIG5 code system


Character transmitted BIG5 code
A A2CF
B A2D0
A672

Transmit Data

Character data
Code system specified

Content of word data portion


A 2 C F A 2 D 0 A 6 7 2
41H 32H 43H 46H 41H 32H 44H 30H 41H 36H 37H 32H
A B

 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

Character data (" " is a two-byte code)


Code system specified

Content of word data portion


A B
41H 42H A6H 72H

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.

 Press the [User font edit] button on the menu screen.


Memo
This botton is not displayed in the default Simple
Setting.
Select [Menu] - [Function] - [Printing] to display the
[User font edit] and [Replace] button.

 Select a user font to replace a certain character not


stored in CCS3000 with.

 Check the “Replacement”, and input the code “FFFF“.

17
Communications overview

 When clicking the button, the dialog box saying


"Set?" is displayed. Click [Yes] to complete the setting.

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.

Protocol used to send setting commands


Setting commands refer to transmitting a command (CMD) whose first character is either S (Set), R (Reset),
or U (Update).

(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)’’

Data is sent from the host device to this product.


Data consists of the following:
"STX"
(1) "CMD" (ASCII character string: 3 characters)
"Parameters (ASCII character string: Length varies from command to command)"
"ETX"
"ACK (06H)" is sent from this product back to the host device when the sent command
(2) is received properly and its processing is completed.
"NAK (15H)" is sent from this product back to the host device when the sent command
(2)' has not been received or the data has an error.
"NAK (15H) + STX (02H) + Error code + ETX (03H)" is sent from this product back to the
(2)’’ host device when the sent command has not been received or the data has an error.

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

Protocol used to send acquisition commands


Acquisition commands refer to transmitting a command (CMD) whose first character is G (Get).

(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)’’

Data is sent from the host device to this product.


Data consists of the following:
"STX"
(1) "CMD (ASCII character string: 3 characters)"
"Parameters (ASCII character string: Length varies from command to command)"
"ETX"
"ACK (06H) + STX (02H) + Response data + ETX (03H)" is sent from this product back
(2) to the host device when the sent command is received properly.
"NAK (15H)" is sent from this product back to the host device when the sent command
(2)' has not been received or the data has an error.
"NAK (15H) + STX (02H) + Error code + ETX (03H)" is sent from this product back to the
(2)'’ host device when the sent command has not been received or the data has an error.

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

 Example of incorrect command sending


Commands (2) and (3) are sent before receiving the response (1)' to command (1) (ACK in this example).

Host device (1) (2) (3)


STX

ETX

STX

ETX

STX

ETX
CMD Parameter CMD Parameter CMD Parameter
This product

This product
ACK

ACK
Host device (1)’ (3)’

The data received during this period is ignored.


In this case, all the data is ignored because “STX” is ignored.

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

„ In the case that “Continuous command transmission” is enabled


The host device can send the next command without waiting for responses. This product buffers commands
and processes commands in sequence.

(1) (2) (3)


Host device
STX

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

Area for checksum


How to calculate the checksum
S M N : 0 : 1 : 1 2 3 : can be converted into hexadecimal notation as follows:
S M N : 0 : 1 : 1 2 3 :
53H 4DH 4EH 3AH 30H 3AH 31H 3AH 31H 32H 33H 3AH

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

1-8 Concerning time-out


Basically, this product receives data from the host device according to the flowchart below. When the period
between data receptions is longer than the setting, a time-out occurs and NAK is sent back to the host device.

One character is received

No
Is it “STX”?
Yes

Yes
Has the receiving time passed the setting value? Timeout: NAK is sent back
No

One character is received

Yes
Has the receiving time passed the setting value?
No

Load the data into the receiving signal buffer.

No
Is it “ETX”?
Yes

Process the received data.


The data sent during
this period cannot
be received.
“ACK”, “NAK”, Response to read data

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”.

 When clicking the button, the dialog box saying


"Set?" is displayed. Click [Yes] to complete the setting.

27
Settings

„ Concerning the parity check


Parity check refers to the addition of a parity bit so that the number of bits that are 1, in a bit string consisting
of character bits and the parity bit, becomes even or odd upon a check.

If the parity check is done,

Parity bit
Start bit D1 D2 D3 D4 Dn
Stop bit

Character bits

If the parity check is not done,

Start bit D1 D2 D3 D4 Dn Stop bit

Character bits

„ Notes in use during communications setting


If these communications settings are changed during the transmission/reception of data from the host device,
the communications settings become effective immediately after the change. Therefore, notice that, if the
communications settings are changed during communication with the host device, a communication error may
occur. An example of the case where the baud rate is changed during communication is shown below:

Receiving at 19200 bps Receiving at 9600 bps


Host device to this product
19200bps

Change of 19200bps 9600bps


communications
setting

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.

 Operate the master unit as follows.


Press the [Communication] button on the menu
screen.

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 [LAN] tab button, and press the [Master


settings] button.

 Click the setting box for each setting item, and set a
desired value in it.

To select the number of slave unit, move the number


using the button.

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.

 When clicking the button, the dialog box saying


"Set?" is displayed. Click [Yes] to complete the setting.

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)

No. Communications command Description


STM:0:1:: Set “ABCDE“ to the text module
1
023412342234323442345: 1.
STM:0:2::
2 Set “123“ to the text module 2.
0233123322333:
SMM:0:1:
Set the text module 1 and 2 to
3 1:T1:0100020096A1000000:
the Message 1.
2:T2:0100036006A1000000:
SCP:0:1:1: Set the printing conditions of
4
1 8 : 0 . 6 :1 : 0 0 0 0 : 0 : 1 0 : 0 : 0 : 0 : Message 1.
Set the message number to be
5 SMN:0:1:1:
printed at “1”.
Bring into ready-to-run state
6 SR[Link]
(ready-to-print state).

After the above settings, the printing operation starts when the photo sensor is blocked.

2-4 Print end signal


If "Print end signal output" is set to YES, the message saying that the printing is complete is output in the
following format through the RS-232C port at the end of printing.

 Print end signal format


STX

ETX

Fixed value
1

02H 31H 03H

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

Command Function Page


GP2 This command acquires the 2D code setting. 156
This command acquires the character assignment setting of Calendar,
GPA 158
Numbering, and Distance modules.
GPB This command acquires the bar code setting. 159
GPC This command acquires the RS-232C communications setting. 162
GPL This command acquires the calendar setting. 164
GPN This command acquires the LAN communications setting. 166
GPP This command acquires the reset setting of the print counter. 168
GPT This command acquires the timer start setting. 169
GPU This command acquires the screen operation setting. 170
GRC This command acquires the run mode of the head. 171
GSC This command acquires the Shift code. 172
GSE This command acquires the number of data registered in the measurement log. 174
GSL This command acquires the number of data registered in the work log. 175
GSS This command acquires the status of machine. 176
GTC This command acquires the offset time of a Clock module. 178
GTL This command acquires the offset time of a Limit module. 179
GTM This command acquires a Text module. 180
GTS This command acquires the system clock. 182

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

No. Parameter name Setting details Parameter length


Version 0: Auto, 1 ~ 4: Version 1 ~ 4 1
Error correction 0: L, 1: M, 2: Q, 3: H 1
Mode 0: Compound, 1: Numeric, 2: Alphanumeric, 3: Kanji 1
Cell size (Width) 1~4 1
6a
Reverse 0: Disabled, 1: Enabled 1
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

35
Communications commands

For the case of DataMatrix

No. Parameter name Setting details Parameter length


Shape 0: Square, 1: Rectangular 1
For the case of "Shape: Square"
0: Auto, 1: 10x10, 2: 12x12, 3: 14x14, 4: 16x16,
5: 18x18, 6: 20x20, 7: 22x22, 8: 24x24, 9: 26x26,
A: 32x32, B: 36x36
Number of cells 1
For the case of "Shape: Rectangular"
0: Auto,
1: 8x18, 2: 8x32, 3: 12x26, 4: 12x36, 5: 16x36,
6b
6: 16x48
Cell size (Height) 1~4 1
Cell size (Width) 1~4 1
Reverse 0: Disabled, 1: Enabled 1
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

Field data

No. Parameter name Setting details Parameter length


7 Field No. 1 ~ 16: No. 1 ~ 16 Variable
8 Use of check digit 0: Disabled, 1: Enabled 1
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
9 2D 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 7 ~ 9 by the number of
field data, following the parameter 9. Up to 16 pieces of field data can be edited consecutively.

* 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.

Sending data→S2M: 2: 1: D: 0: 0: 02010002:


1: 0: 11234: (Field 1 data)
2: 1: 1ABCD: (Field 2 data)
Sets the contents of Module 1 as follows:

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

SAC (Set Attend Code)


„ Function
This command edits the I/O output pin and signal lamp port assignments.

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:

Calculation method Date


Code system Sets assignment characters in "ASCII" code.
The printing contents for
the 29th day "LEAP"
The printing contents for
(Not registered)
the 30th day
The printing contents for
(Not registered)
the 31th day

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

SAI (Set Assign I/o pin)


„ Function
This command edits the I/O input pin assignment.

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:

Input pin (Function No.) Function


D08 (00) Not used
D09 (26) Change to run
D010 (25) Change to stop

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:

Output pin (Function No.) Function Output time


D0 (00) Not used Omitted
10ms (Not reflected on the
D1 (03) Alarm
processing.)
D2 (10) Prn complete 10ms

Sending data→SAO: 0: 1:
Sets the I/O output pins D00 ~ D13 all to "Not used."

41
Communications commands

SBM (Set Barcode Module)


„ Function
This command edits a Bar code module.

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"

No. Parameter name Setting details Parameter length


Use of OCR
1
0: Disabled, 1: Enabled
Space between bar and OCR
3 (0 padding)
001 ~ 010: 1 ~ 10 dots
Omit check digit
(This setting is ignored for those other than ITF,
1
Code39 and NW7.)
0: Disabled, 1: Enabled (Omitted)
8a OCR setting OCR division
(This setting is ignored for those other than ITF.) 1
0: Disabled, 1: Enabled (Divided)
Omit start/stop character
(This setting is ignored for those other than Code39
1
and NW7.)
0: Disabled, 1: Enabled (Omitted)
Reserved
1
0 fixed
* It is also possible to change "Use of OCR" only.
* If "Use of OCR" is set to "Disabled", the subsequent parameters in OCR setting can be omitted.
(Those parameters are ignored even if they are set.)

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.)

3. "Start/Stop character setting"


No. Parameter name Setting details Parameter length
Start character
1
Start/Stop character A ~ D, a ~ d
8C
setting Stop character
1
A ~ D, a ~ d
* This setting is ignored for those other than NW7.

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.

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.

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 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".

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

45
Communications commands

SCC (Set Condition print Control)


„ Function
This command edits the print control setting.

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:

Number of ready recovery


Tracking Disabled 1 time
processes
Force to terminate
Control during printing Print count 1 time
printing
Back-aligned printing Disabled Message change after print Disabled
Print end signal Disabled Message number after print No. 0
One shot printing Disabled

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).

Sending data→SCE: 0: 1: 1: 1: 5000: 250.0: 3: 1: 1: 0: 1: 0: 1:


Sets the Encoder setting of Message 1 as follows:

Encoder Enabled (Use) Reverse absorption Enabled


Pulse number 5000 Rotation direction CW
Moving distance 250.0 Speed-following thinning Enabled
Differential Excessive frequency
Signal type Disabled
(2 phases) detection
Enabled
Pulse multiplication Print position correction Enabled
(32 multiplication)

47
Communications commands

SCI (Set Condition I/o)


„ Function
This command edits the output conditions of the I/O output signal.

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.

* Parameters 3, 4 and 5 can be omitted on an individual basis.

48
„ Example of use
Sending data→SCI: 1: 1: 011000: 1: 10000099:
Sets the output conditions of the I/O output signal as follows:

- During the printing cycle, the signal is not turned OFF.


Ready signal OFF
- Under preparation of the print data, the signal is not turned OFF.
Under-printing signal - The signal is kept ON even in the state waiting for print position.
- The alarm is output when an invalid print command is input.
Alarm process
- The alarm is output when the excessive frequency is detected 99 times.

Sending data→SCI: 1: 1: : 0: :
Turns OFF the under-printing signal in the state waiting for print position.

49
Communications commands

SCM (Set Calendar Module)


„ Function
This command edits a Clock module.

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.

Sending data→SCM: 1: 1: D000100001000: 3Y3Y4 :


Sets the contents of Module 1 as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
(Input in "ASCII + Shift-JIS" code)
Content
Y3Y4

* 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

SCP (Set Condition Print)


„ Function
This command edits the printing conditions.

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."

Sending data→SCR: 0: 1: 1: 1: 0: 0: 100.0: 1: 1: 1:


Sets the repeat printing condition of Message 1 as follows:

Use and method of repeat


Repeat printing is performed during power ON.
printing
Total print count Infinite count
Interval/pitch Interval
Distance 100.0mm (Repeat printing is performed at interval of 100.0 mm)
Update calendar Enabled (The calendar is updated even during repeat printing)
Update numbering Enabled (The numbering is updated even during repeat printing)
Immediate stop Enabled

53
Communications commands

SCS (Set Condition photo Sensor)


„ Function
This command edits the photo sensor setting.

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:

Filter setting type Time (Set in units of hour.)


ON delay filter 100ms
OFF delay filter 200ms
300ms (This function does not work because "OFF delay filter" is set
One-shot filter
to "Enabled.")
Monitoring of turn ON time 10 seconds
Monitoring of case size 123mm
Allowable range of case size
50mm
monitoring

Sending data→SCS: 0: 1: 1: : : : 300: : : :


Sets the photo sensor setting of Message 1 to "One-shot filter: 300 (ms or mm)".
* When the "OFF delay filter" setting is omitted, "OFF delay filter" is changed to "Disabled" if "One-shot filter" is set.

Sending data→SCS: 0: 1: 1: : : 200: : : : :


Sets the photo sensor setting of Message 1 to "OFF delay filter: 200 (ms or mm)".
* When the "One-shot filter" setting is omitted, "One-shot filter" is changed to "Disabled" if "OFF delay filter" is set.

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."

Sending data→SCU: 0: 1: 1: 5: 1010: 1020: 1010:


Sets the setting of connection with UPS as follows:

Use of UPS 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

55
Communications commands

SDA (Set Data Assign)


„ Function
This command edits the assignment characters of Calendar, Numbering, and Distance modules.

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

Sending data→SDA: 0: 1: 1: DC: 1: 3: 01AB: 02CD: 03EF: 04GH:


Sets the assignment character "For PM of DC (day)" of Limit module 1 as follows:

Array No. 1 ('1' replacement) AB Array No. 3 ('3' replacement) EF


Array No. 2 ('2' replacement) CD Array No. 4 ('4' replacement) GH

* Array numbers 5 ~ 31 (replacement of '5' ~ '31') are not changed.

57
Communications commands

SDB (Set Data Bit image message)


„ Function
This command edits the bit image message (message No. 0).

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

Horizontal size of image

Vertical dots
of message Bit image Vertical size of image

Bottom position of image

58
„ Protocol
The protocol of command varies depending on the command used..

No. Way of communication Communication content Checksum


1 Host device→This product (STX) SDB Parameter (ETX) 9
2 This product→Host device Normal: (ACK), During error: (NAK)
3 Host device→This product Bit Image Data 9
4 This product→Host device Normal: (ACK), During error: (NAK)

* 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:

(Vertical dots 12 × 12 horizontal dots)

Image

Vertical dots of message 16


Bottom position of image 4

Sending data→(STX) SDB: 0: (ETX)

Receiving data←
Deletes the bit image message.

59
Communications commands

SDM (Set Distance Module)


„ Function
This command edits a Distance module.

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.

Sending data→SDM: 1: 1: D000100001000:


1: 3: 0: 1: 0: 3F2F1F0: (Field data 1)
2: 3: 0: 1: 0: 3mm: (Field data 2)
Sets the contents of Module 1 as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
Field data 1 Field data 2
Zero suppression Left zero suppression Left zero suppression
Zero suppression direction Higher Higher
Zero setting Disabled Disabled
Code data "F2F1F0" "mm"

* 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

SDN (Set Data Numbering)


„ Function
This command edits the current value and current repeated value of a Numbering module.

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:

Current numbering value 10


Current repeated value 1

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

SIM (Set Interval Module)


„ Function
This command edits an Interval module.

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.

Sending data→SIM: 0: 1: 0: 0: 123.4:


Sets the contents of Module 1 as follows:

Interval specified Interval


Interval 123.4mm

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.

Sending data→SLM: 1: 1: D000100001000: 3YY3Y4 :


Sets the contents of Module 1 as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
(Input in "ASCII + Shift-JIS" code)
Content
Y3Y4

* 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

SMD (Set Message Data)


„ Function
This command edits a message.

* Case where the function "Print > Edit message mode: CM2" is selected

Memo
Related commands: “GMD” on page 145.

„ Sending format (for deleting)


No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
0: Delete only message data
1: Delete message data, and initialize following data.
3 Switch {Printing conditions, Photo sensor setting,
Repeat printing conditions, Printing control setting,
Encoder setting}
* When the function "Printing > Message edit mode: CCS" is selected, cannot use SMD command.
* If the command contains only up to No.2 parameters, delete only message data.
* The upper limit of the module number varies depending on the module type.
* About the initializing {Photo sensor setting, Print control setting, Encoder setting}, when the function "Printing > each settings"
is set to "By message", can initialize each setting.

„ Sending format (for editing)


No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
Module data format
Up to 32 modules can be edited 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
Module No. (3 digits)
001 ~ 500: No. 1 ~ 500
* When the function "Printing > Message edit mode: CCS" is selected, cannot use SMD command.
* The upper limit of the module number varies depending on the module type.

„ Example of use
Sending data→SMD: 0: 1:
Deletes Message 1.

Sending data→SMD: 0: 1: T001T002N001:


Sets Message 1 as follows:

T001 (Text module 1)


Module data T002 (Text module 2)
N001 (Numbering module 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

SMM (Set Message Module)


„ Function
This command edits a message.

* Case where the function "Print > Edit message mode: CCS" is selected

Memo
Related commands: “GMM” on page 146.

„ Sending format (for deleting)


No. Parameter name Setting details Parameter length
1 Command version 2 fixed 1
2 Message No. 1 ~ 999: No. 1 ~ 999 Variable
0: Delete only message data
1: Delete message data, and initialize following data.
3 Switch {Printing conditions, Photo sensor setting,
Repeat printing conditions, Printing control setting,
Encoder setting}
* When the function "Printing > Message edit mode: CM2" is selected, cannot use SMM command.
* If the command contains only up to No.2 parameters, delete only message data.
* The upper limit of the module number varies depending on the module type.
* About the initializing {Photo sensor setting, Print control setting, Encoder setting}, when the function "Printing > each settings"
is set to "By message", can initialize each setting.

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

For the case of “Text module“


No. Parameter name Setting details Parameter length
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
6a Text contents 4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data Variable
When editing a plurality of modules at the same time, send the data of parameters 3 ~ 6a/6b by the number
of modules, following the parameter 6a/6b.

For the case of other module


No. Parameter name Setting details Parameter length
6b Contents ‘?’ fixed 1
When editing a plurality of modules at the same time, send the data of parameters 3 ~ 6a/6b by the number
of modules, following the parameter 6a/6b.

* 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.

Module type Settings ignored


The settings other than "Layout No.", "Placement in layout", "Font bottom position",
Bar code
"Vertical dots" and “Pitch magnification“ are not reflected on printout, and they are
2D code
ignored.
Bit image
* The settings from "Font size" to "Character placement" are omissible.
The settings other than "Layout No." and "Placement in layout" are not reflected
Anchor on printout, and they are ignored.
* The settings from "Font bottom position" to "Character placement" are omissible.
The settings other than “Layout No.“ are not reflected on printout, and they are
Interval ignored.
* The settings from "Placement in layout" to "Character placement" are omissible.
* When register the text module to the message without editing text contents, and when edit only the “Module format“ of text
module, specify “?“ as the “Text contents“.
* When set text contents of “Not registered“, omit “Text contents“.

72
„ Example of use 1 (When deleting a message)
Sending data→SMM: 2: 1:
Deletes Message 1.

„ Example of use 2 (When newly creating a message)


Sending data→SMM: 2: 1: (1)
1: I2: 02:?: (2)
2: T1: 020003512D31001000000:1T1: (3)
3: L5: 020012507D53003001000:?: (4)
4: A1: 0200248:?: (5)
(1) Message 1 is selected.
(2) Interval module 1 with an ID number of 1 is created in layout 2.
(3) Register the text contents “T1“ to text module 1, and text module 1 with an ID number of 2 is created in layout 2.
(4) Limit module 5 with an ID number of 3 is created in layout 2.
(5) The anchor module with an ID number of 4 is created in layout 2.

Sets Message 1 as follows:


Vertical dots of Layout: 36 dots

Module ID: No. 1 Module ID: No. 4


Interval module 2 Anchor module
Placement in layout: 248

Module ID: No. 2 Module ID: No. 3


Text module 1 Limit module 5
Placement in layout: 35 Placement in layout: 125
Font bottom position: 12 Font bottom position: 7
Font size: 24x18 Font size: 16x12
Multiple width: 1 Multiple width: 3
Character direction: Character direction:
Character spacing dot: 1 dot Character spacing dot: 3 dots
Character spacing of final characters: Disabled Character spacing of final characters: Disabled
Apply full-width to character spacing dot: Disabled Apply full-width to character spacing dot: Disabled
Reversed: Disabled Reversed: Enabled
Pitch magnification: x1 Pitch magnification: x1
Character inversion: Disabled Character inversion: Disabled
Character placement: left to right Character placement: left to right

73
Communications commands

„Example of use 3 (When changing the contents of the message in


Example of use 2)
Sending data→SMM: 2: 1: 3: T2: :?:
Changes the module with ID number 3 from Limit module 5 to Text module 2.
(Without editing text contents of the text module 2)

Sending data→SMM: 2: 1: 3: : 030022201D61001000000:?:


Changes the module format of the module with ID number 3 as follows:
Layout No. 3 Character spacing dot 1 dot
Character spacing of final
Placement in layout 222 Disabled
characters
Apply full-width to character
Font bottom position 1 Disabled
spacing dot
Vertical dots 36 Reverse Disabled
Font size 12x10 Pitch magnification x1
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right

* If the module with ID No. 3 does not exist, the error is sent back.

Sending data→SMM: 2: 1: 3: !1: : :


Delete the ID number 3 from the message.

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).

Sending data→SMN: 0: 1: 23:


Selects Message 23.

75
Communications commands

SMR (Set Message Remove module)


„ Function
This command deletes the module from a message.

* 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:

Update mode Auto


Zero suppression Right-aligned

77
Communications commands

SNM (Set Numbering Module)


„ Function
This command edits a Numbering module.
Memo
Related commands: “GNM” on page 151.

„ 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

No. Parameter name Setting details Parameter length


13 Field No. 01 ~ 10: No. 1 ~ 10 Variable
0: Disabled ('0' is printed), 1: Right-aligned,
14 Zero suppression 1
2: Left-aligned, 3: Move to front
Direction (Zero
15 0: Higher, 1: Lower 1
suppression direction)
16 Reserved 1 fixed 1
17 Zero setting 0: Disabled, 1: Enabled 1
Code system
0: JIS, 1: ASCII, 2: Shift-JIS, 3: ASCII + Shift-JIS,
1
18 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 13 ~ 18 by the number of
field data, following the parameter 18. 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 the function "Numbering module > Extended printing: No" is selected, the field data is not reflected on printout.
* When changing the contents of parameter 14 ~ 17 without changing the contents of code data, set the parameter 18 as '?'.
* If you want to delete any field data, set the parameter number 18 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.

79
Communications commands

„ Example of use
Sending data→SNM: 1: 1:
Deletes Module 1.

Sending data→SNM: 1: 1: D000100001000: ( ~ Module format)


10: 4: 0: 9999: 1: 1: 0: 0: 0210: (Radix to Various switches)
1: 3: 0: 1: 0: 3F3F2F1: (Field data 1)
2: 3: 0: 1: 0: 3. F0: (Field data 2)
Sets the contents of Module 1 as follows:

Vertical dots 36 Radix 10


Font size 32x32 Digit 4
Font bottom position 0 Initial value 0
Multiple width 1 End value 9999
Character direction ↑ Increment 1
Character spacing dot 0 Repeat 1
Character spacing of final
Disabled Reset on updating date Disabled
characters
Return to Initial
Apply full-width to character Action after reaching the
Enabled value and continue
spacing dot end value
printing
Reverse Disabled Update mode Auto
Character inversion Disabled Zero suppression Left-aligned
Character placement Left to right
Field data 1 Field data 2
Zero suppression Left zero suppression Left zero suppression
Zero suppression direction Higher Higher
Zero setting Disabled Disabled
Code data "F3F2F1" ".F0"

* 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:

Day offset 365


Hour offset 0
Minute offset 0

81
Communications commands

SOL (Set Offset Limit)


„ Function
This command sets the offset of a Limit module.
Memo
Related commands: “SOC” on page 81. “GOC” on pgae 154. “GOL” on page 155. “STC” on
page 102. “GTC” on page 155.

„ 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.

Sending data→SOL: 0: 1: 1: 0: -1: 0: 0:


Sets the offset of Limit module 1 as follows:

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.

For the case of QR

No. Parameter name Setting details Parameter length


Error correction 0: L, 1: M, 2: Q, 3: H 1
0: Compound (Auto), 1: Numeric, 2: Alphanumeric,
Mode 1
3: Kanji
Cell size (Width) 1~4 1
4a
Reverse 0: Disabled, 1: Enabled 1
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

For the case of DataMatrix

No. Parameter name Setting details Parameter length


Cell size (Height) 1~4 1
Cell size (Width) 1~4 1
Reverse 0: Disabled, 1: Enabled 1
4b
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

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".

Sending data→SP2: 1: 1: 0: 2010002:


Sets the 2D code setting of 2D code module 1 as follows:

2D code type QR Reverse Disabled


Error correction Q Front and last space 0
Mode Compound Character code Shift-JIS
Cell size (Width) 1

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.

Scope of the setting


Base
Applicable data of
Module No. Module type year Remarks
assignment unit
status
Calendar character
1 ~ 20(40) 0: Clock, 1: Limit Enabled
[DN, WN]
Calendar character
D (Default) 0: Clock, 1: Limit Enabled
[DN, WN]
C (Common Calendar character Applied to both "Clock" and
0: Clock, 1: Limit Enabled
setting) [DN, WN] "Limit".
Numbering
1 ~ 40 2: Numbering Ignored
[NO]
Numbering
D (Default) 2: Numbering Ignored
[NO]
C (Common Numbering
2: Numbering Ignored
setting) [NO]
1 ~ 20(40) 3: Distance Distance[d i ] Ignored
D (Default) 3: Distance Distance[d i ] Ignored
C (Common
3: Distance Distance[d i ] Ignored
setting)
* It is impossible to change the "Assignment unit" of Calendar character, Numbering and Distance at a time by "Module No.:
Common setting".

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:

Assignment unit By character


Base year 2010

Sending data→SPA: 0: 2: 1: 2:
Sets the character assignment setting of Numbering module 1 as follows:

Assignment unit By digit

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"

No. Parameter name Setting details Parameter length


Use of OCR
1
0: Disabled, 1: Enabled
Space between bar and OCR
3 (0 padding)
001 ~ 010: 1 ~ 10 dots
Omit check digit
(This setting is ignored for those other than ITF,
1
Code39 and NW7.)
0: Disabled, 1: Enabled (Omitted)
5a OCR setting OCR division
(This setting is ignored for those other than ITF.) 1
0: Disabled, 1: Enabled (Divided)
Omit start/stop character
(This setting is ignored for those other than Code39
1
and NW7.)
0: Disabled, 1: Enabled (Omitted)
Reserved
1
0 fixed
* It is also possible to change "Use of OCR" only.
* If "Use of OCR" is set to "Disabled", the subsequent parameters in OCR setting can be omitted. (Those parameters are ignored
even if they are set.)

87
Communications commands

2. "Bearer bar setting"

No. Parameter name Setting details Parameter length


Use of bearer bar
1
0: Disabled, 1: Enabled
Horizontal bearer bar size
5b 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.)

3. "Start/Stop character setting"

No. Parameter name Setting details Parameter length


Start character
1
Start/Stop A ~ D, a ~ d
5c
character setting Stop character
1
A ~ D, a ~ d
* This setting is ignored for those other than NW7.

88
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
5d 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)
* The setting range of each black bar size, white bar size, the gap size, front space size or last space size is 001-099.
* It is also possible to set "Reverse" only.

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".

Sending data→SPB: 0: 1: 0: 013:


10010100: (OCR setting)
1003004: (Bearer bar setting)
0002005003004002005003004003010010: (Bar setting)
Sets the bar code setting of bar code module 1 as follows:

Bar code type ITF


Subsequent parameter
OCR setting, bearer bar setting, and bar setting
setting

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.
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:

Baud rate 9600 Error response format NAK + Code


Character length 8 bits Checksum Disabled
Parity No Print end signal output Disabled
Continuous command
Stop bit 1 bit Disabled
transmission
Receiving time-out time 3 seconds

91
Communications commands

SPL (Set Parameter Limit)


„ Function
This command edits the calendar setting.
Memo
Related commands: “GPL” on page 164.

„ 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..

No. Way of communication Communication content Checksum


1 Host device→This product (STX) SPM Parameter (ETX) 9
2 This product→Host device Normal: (ACK), During error: (NAK)
3 Host device→This product Bit Image Data 9
4 This product→Host device Normal: (ACK), During error: (NAK)

* 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:

(Vertical dots 12 × 12 horizontal dots)

Image

Sending data→(STX) SPM: 0: 1: (ETX)

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:

Port number 1 Error response format NAK + Code


IP address [Link] Checksum Disabled
Subnet mask [Link] Print end signal output Disabled
Continuous command
Default gateway [Link] Disabled
transmission
Receiving time-out time 3 seconds

95
Communications commands

SPP (Set Parameter Printing number)


„ Function
This command edits the reset setting of the print counter.
Memo
Related commands: “GPP” on page 168.

„ 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:

Timer state Enabled


Starting day to Ending day
Monday to Friday
of the week
Timer ON time to OFF
8: 30 to 17: 30
time

Sending data→SPT: 0: 1: 0:
Disables Timer 1.

97
Communications commands

SPU (Set Parameter User interface)


„ Function
This command edits the screen operation setting.
Memo
Related commands: “GPU” on page 170.

„ 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:

Beep sound Enabled Back light OFF time 3 minutes


Selected number for Unregistered
Continuous registration Disabled
registration number
Calendar display Practical data Update data in real time Disabled
Check shortcut Disabled

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

SRP (Set Running Print)


„ Function
This command inputs a print command.
Memo
Related commands: “RRP” on page 188.

„ 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".

Sending data→SSC: 0: 1: 1: 4: 3: 0000A: 0600: 1200C: 1800D:


Sets the Shift code of Limit module 1 as follows:

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

STC (Set Time Clock module)


„ Function
This command edits the offset time of a Clock module.
Memo
Related commands: “GOC” on page 154. “SOL” on page 82. “GOL” on page 155. “GTC” on
page 178. “GTL” on page 179.

„ 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).

Sending data→STC: 0: 1: 201101020800:


Sets the offset time of Clock module 1 as follows:

Offset time 8: 00 on January 2, 2011

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.

Sending data→STM: 1: 1: D000100001000: 3123:


Sets the contents of Text module 1 as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
(Input in "ASCII + Shift-JIS" code)
Content
123

* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.

Sending data→STM: 1: 1: 9204100100000: :


Changes the attribute of Text module 1 as follows:
(The print content is not changed.)

Character spacing of final


Vertical dots 24 Disabled
characters
Apply full-width to character
Font size 24x24 Disabled
spacing dot
Font bottom position 4 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 1
Content (Omitted)

* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.

Sending data→STM: 1: 1: : 3ABC:


Changes the print content of Text module 1 to "ABC".
(The attribute is not changed.)

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:

Offset time 8: 00: 34 on January 2, 2011

* "Sending data→STS: 0: 20110102080034: " results in the same setting.

105
Communications commands

3-3 Acquisition commands

G2M (Get 2D code Module)


„ Function
This command acquires a 2D code module.

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.

For the case of QR

No. Parameter name Setting details Parameter length


Version 0: Auto, 1 ~ 4: Version1 ~ 4 1
Error correction 0: L, 1: M, 2: Q, 3: H 1
Mode 0: Compound, 1: Numeric, 2: Alphanumeric, 3: Kanji 1
Cell size (Width) 1~4 1
6a
Reverse 0: Disabled, 1: Enabled 1
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

106
For the case of DataMatrix

No. Parameter name Setting details Parameter length


Shape 0: Square, 1: Rectangular 1
For the case of "Shape: Square"
0: Auto,
1: 10x10, 2: 12x12, 3: 14x14, 4: 16x16, 5: 18x18,
6: 20x20, 7: 22x22, 8: 24x24, 9: 26x26,
Number of cells 1
A: 32x32, B: 36x36
For the case of "Shape: Rectangular"
0: Auto, 1: 8x18, 2: 8x32, 3: 12x26, 4: 12x36, 5: 16x36,
6b
6: 16x48
Cell size (Height) 1~4 1
Cell size (Width) 1~4 1
Reverse 0: Disabled, 1: Enabled 1
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

Field data

No. Parameter name Setting details Parameter length


7 Field No. 1 ~ 16: No. 1 ~ 16 Variable
8 Use of check digit 0: Disabled, 1: Enabled 1
Code system
1
9 2D code data Refer to the sending format.
Character code Variable
Up to 16 pieces of field data are sent back consecutively.

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:

Receiving data←2: 1: D: 0: 0: 02010002:


1: 0: 00031003200330034: (Field 1 data)
2: 1: 00041004200430044: (Field 2 data)
3: 0: : (Field data 3: Not registered)

16: 0: : (Field data 16: Not registered)


The contents of Module 1 are as follows:

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:

Receiving data←0: 1: 1: 1: 3: LEAP: : :


The nonexistent day setting of Limit module 1 are as follows:

Calculation method Date


Code system Sets assignment characters in "ASCII + Shift-JIS" code.
The printing contents for
the 29th day "LEAP”
The printing contents for
(Not registered)
the 30th day
The printing contents for
(Not registered)
the 31st day

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:

Calculation method Emergence order


Code system Sets assignment characters in "ASCII + Shift-JIS" code.
The printing contents for
the emergence in the 1st "A“
The printing contents for
"B“
the emergence in the 2nd
The printing contents for
"C“
the emergence in the 3rd

* "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:

Receiving data←0: 1: 0800:


The I/O input pin D08 is not used.

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:

Input pin (Function No.) Function


D08 (00) Not used
D09 (26) Change to run
D010 (25) Change to stop
D11 ~ D19 (00) Not used

111
Communications commands

GAO (Get Assign i/O pin)


„ Function
This command acquires the I/O output pin and signal lamp port assignments.

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:

Output pin (Function No.) Function Output time


D0 (10) Prn complete 10ms
D1 ~ D9 (00) Not used 10ms (Invalid setting, which is not reflected on the processing.)
D10 (Signal lamp port D00) (01) Print OK 10ms (Invalid setting, which is not reflected on the processing.)
D11 (Signal lamp port D01) (01) Ink LOW 10ms (Invalid setting, which is not reflected on the processing.)
D12 (Signal lamp port D02) (01) Alarm 10ms (Invalid setting, which is not reflected on the processing.)
D13 (Signal lamp port D03) (00) Not used 10ms (Invalid setting, which is not reflected on the processing.)

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"

No. Parameter name Setting details Parameter length


Use of OCR
1
0: Disabled, 1: Enabled
Space between bar and OCR
3 (0 padding)
001 ~ 010: 1 ~ 10 dots
Omit check digit
(This setting is ignored for those other than ITF,
1
Code39 and NW7.)
0: Disabled, 1: Enabled (Omitted)
8a OCR setting OCR division
(This setting is ignored for those other than ITF.) 1
0: Disabled, 1: Enabled (Divided)
Omit start/stop character
(This setting is ignored for those other than Code39
1
and NW7.)
0: Disabled, 1: Enabled (Omitted)
Reserved
1
0 fixed

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
* Sent back only for ITF.

3. "Start/Stop character setting"

No. Parameter name Setting details Parameter length


Start character
1
Start/Stop character A ~ D, a ~ d
8C
setting Stop character
1
A ~ D, a ~ d
* Sent back only for NW7.

114
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)

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:

Receiving data←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)
3: 0: : (Field data 3: Not registered)

16: 0: : (Field data 16: Not registered)


The contents of Module 1 are 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.
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

GCC (Get Condition print Control)


„ Function
This command acquires the print control setting.

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:

Number of ready recovery


Tracking Disabled 1
processes
Force to terminate
Control during printing Print count 1
printing
Back-aligned printing Disabled Message change after print Disabled
Print end signal Disabled Message number after print No. 0
One shot printing Disabled

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:

Receiving data←0: 1: 1: 1: 5000: 250.0: 3: 1: 1: 0: 1: 0: 1:


The encoder setting of Message 1 is as follows:

Encoder Enabled (Use) Reverse absorption Enabled


Pulse number 5000 Rotation direction CW
Moving distance 250.0 Speed-following thinning Enabled
Differential Excessive frequency
Signal type Disabled
(2 phases) detection
Enabled
Pulse multiplication Print position correction Enabled
(32 multiplication)

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:

Receiving data←1: 1: 011000: 1: 10000099:


The output conditions of the I/O output signal are as follows:

- During the printing cycle, the signal is not turned OFF.


Ready signal OFF
- Under preparation of the print data, the signal is not turned OFF.
Under-printing signal - The signal is kept ON even in the state waiting for print position.
- The alarm is output when an invalid print command is input.
Alarm process - The alarm is output when the excessive frequency is detected 99
times.

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

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→GCM: 1: 1: 3:

Receiving data←1: 1:
Module 1 is not registered.

Sending data→GCM: 1: 1: 3:

Receiving data←1: 1: D000100001000: 3Y3Y4 :


The contents of Module 1 are as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
(Output in "ASCII + Shift-JIS" code)
Content
Y3Y4

* 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:

Receiving data←0: 1: 1: 17: 0.60: 1: 22.2: 0: 8.0: 0: 0: 7:


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 Auto
Thinning number 7

125
Communications commands

GCR (Get Condition Repeat print)


„ Function
This command acquires the repeat printing conditions.

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:

Receiving data←0: 1: 1: 0: 0: 0: 100.0: 1: 1: 1:


Sets the repeat printing condition of Message 1 as follows:

Use and method of repeat


Disabled
printing
Total print count Infinite count
Interval/pitch Interval
Distance 100.0mm (Repeat printing is performed at interval of 100.0 mm)
Update calendar Enabled (The calendar is updated even during repeat printing)
Update numbering Enabled (The numbering is updated even during repeat printing)
Immediate stop Enabled
* When "Use and method of repeat printing" is set to "Disabled", the settings of parameters from "Total print count" to "Immediate
stop" are invalid.

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:

Receiving data←0: 1: 1: 0: 100: 200: 0: 10: 123: 50:


The photoelectric sensor setting of Message 1 is as follows:

Filter setting type Time (Set in units of hour.)


ON delay filter 100ms
OFF delay filter 200ms
One-shot filter Disabled
Monitoring of turn ON time 10 seconds
Monitoring of case size 123mm
Allowable range of case size
50mm
monitoring

127
Communications commands

GCU (Get Condition Ups)


„ Function
This command acquires the setting of connection with the UPS (uninterruptible power supply).

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

Sending data→GDA: 0: 1: 1: DC: 1: 3: 1: 4:

Receiving data←SDA: 0: 1: 1: DC: 1: 3: 01AB: 02CD: 03EF: 04GH:


Arrays 1 ~ 4 for the assignment character "For PM of DC (day)" of Limit module
1 are as follows:

Array No. 1 ('1' replacement) AB Array No. 3 ('3' replacement) EF


Array No. 2 ('2' replacement) CD Array No. 4 ('4' replacement) GH

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:

Receiving data←0: 0: 1: 110203: 123456: 1100:


No. 1 record (latest record) among all types of logs is as follows:

Record time 12: 34: 56 on February 3, 2011


Record code 1100

133
Communications commands

GDM (Get Distance Module)


„ Function
This command acquires a Distance module.

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

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
1
9 Code data Refer to the sending format.
Character code Variable
Ten pieces of field data are sent back consecutively.

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:

Receiving data←1: 1: D000100001000:


1: 3: 0: 1: 0: 3F2F1F0: (Field data 1)
2: 3: 0: 1: 0: 3mm: (Field data 2)
3: 3: 0: 1: 0: : (Field data 3: Not registered)

10: 3: 0: 1: 0: : (Field data 10: Not registered)


The contents of Module 1 are as follows:
Character spacing of final
Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
Field data 1 Field data 2 Field data 3 ~
Zero suppression Left zero suppression Left zero suppression Left zero suppression
Zero suppression direction Higher Higher Higher
Zero setting Disabled Disabled Disabled
Code data "F2F1F0" "mm" (Not registered)
* When the function "Print > Edit message mode: CCS" is selected, the settings of "Vertical dots" to "Character placement" are
invalid.
* "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.

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:

Receiving data←0: 1: 10: 1:


The current value of Module 1 is as follows:

Current numbering value 10


Current repeated value 1

Sending data→GDN: 0: 1:

Receiving data←0: 1:
Module 1 is not set.

137
Communications commands

GDP (Get Data Printing number)


„ Function
This command acquires the print count.

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:

Receiving data←0: 1: 1: 100:


The print count of Message 1 is 100.

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

GDV (Get Data Version)


„ Function
This command acquires the system state.

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:

Receiving data←0: 0: 100000000000:


The DIP switch state is as follows:

1 2 3 4 5 6 7 8 9 10 11 12
ON
OFF

Sending data→GDV: 0: 100:

Receiving data←0: 0: 100: [Link]:


The version of the boot loader is "[Link]".

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:

Receiving data←0: 1: 0: 0: 123.4:


The contents of Module 1 are as follows:

Interval specified Interval


Interval 123.4mm

141
Communications commands

GLM (Get Limit Module)


„ Function
This command acquires a Limit module.

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:

Receiving data←1: 1: D000100001000: 3Y3Y4 :


The contents of Module 1 are as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
(Output in "ASCII + Shift-JIS" code)
Content
Y3Y4

* 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

GMC (Get Message Comment)


„ Function
This command acquires the comment of a message.

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:

Receiving data←0: 1: T001T002N001:


Message 1 is as follows:

T001 (Text module 1)


Module data T002 (Text module 2)
N001 (Numbering module 1)

145
Communications commands

GMM (Get Message Module)


„ Function
This command acquires a message.

* 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.

For the case of “Text module“


No. Parameter name Setting details Parameter length
Code system
1
6a Text contents Refer to the sending format.
Character data Variable
The data of parameters 3 ~ 6a/6b are sent back by the 32 modules, following the parameter 6a/6b.

For the case of other module


No. Parameter name Setting details Parameter length
6b Contents ‘?’ fixed 1
The data of parameters 3 ~ 6a/6b are sent back by the 32 modules, following the parameter 6a/6b.

* 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 execute this command, the ID number is allocated for the module which ID is not set.
* When send back the “Text contents“, if the text contents are not registered, omit the parameter “Text content“.
* When do not send back the “Text contents“, ‘?’ is sent back as the parameter “Text contents“.
* Some settings of "Module format" are sent back as invalid values, depending on the "Module type" setting.

Module type Settings ignored


Bar code The settings other than "Layout No.", "Placement in layout", "Font bottom position",
2D code "Vertical dots" and “Pitch magnification“ are not reflected on printout, and they are
Bit image invalid.
The settings other than "Layout No." and "Placement in layout" are not reflected
Anchor
on printout, and they are invalid.
The settings other than “Layout No.“ are not reflected on printout, and they are
Interval
invalid.

„ 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:

Receiving data→2: 1: (1)


1: I2: 020000000D01000010000:?: (2)
2: T1: 020003512D31001000000:3T1: (3)
3: L5: 020012507D53003001000:?: (4)
4: A1: 020024800D01000010000:?: (5)
5: !1: : : 6: !1: : : (omit) 32: !1: : : (6)
(1) Message 1 is selected.
(2) Interval module 1 with an ID number of 1 is created in layout 2.
(3) Register the text contents “T1“ to text module 1, and text module 1 with an ID number of 2 is created in layout 2.
(4) Limit module 5 with an ID number of 3 is created in layout 2.
(5) The anchor module with an ID number of 4 is created in layout 2.
(6) Module ID number 5 to 32 are not registered.
Sets Message 1 as follows:

Vertical dots of Layout: 36 dots

Module ID: No. 1 Module ID: No. 4


Interval module 2 Anchor module
Placement in layout: 248

Module ID: No. 2 Module ID: No. 3


Text module 1 Limit module 5
Placement in layout: 35 Placement in layout: 125
Font bottom position: 12 Font bottom position: 7
Font size: 24x18 Font size: 16x12
Multiple width: 1 Multiple width: 3
Character direction: ↑ Character direction: ↑
Character spacing dot: 1 dot Character spacing dot: 3 dots
Character spacing of final characters: Disabled Character spacing of final characters: Disabled
Apply full-width to character spacing dot: Disabled Apply full-width to character spacing dot: Disabled
Reversed: Disabled Reversed: Enabled
Pitch magnification: x1 Pitch magnification: x1
Character inversion: Disabled Character inversion: Disabled
Character placement: Left to right Character placement: Left to right

About the message data above, when do not send back “Text contents“.

Sending data→GMM: 2: 1:

Receiving data→2: 1: (1)


1: I2: 020000000D01000010000:?: (2)
2: T1: 020003512D31001000000:?: (3)
3: L5: 020012507D53003001000:?: (4)
4: A1: 020024800D01000010000:?: (5)
5: !1: : : 6: !1: : : (omit) 32: !1: : : (6)

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:

Receiving data←0: 1: 23:


Message 23 is selected.

149
Communications commands

GMU (Get Module Update)


„ Function
This command acquires the update setting of a Calendar or Numbering module.
Memo
Related commands: “SMU” on page 77.

„ 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:

Receiving data←0: 1: 1: 0110:


The update setting of Limit module 1 is as follows:

Update mode Auto


Zero suppression Right-aligned

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

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
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
0: Return to Initial value and continue printing
Action after reaching the 1: Return to Initial value and continue printing + I/O
11 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
If any code system is specified in the sending format, field data are sent back following the above data.
* 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 setting of Parameter 3 is invalid.
* When the function "Numbering module > Extended printing: Field method" is selected, the setting of "Zero suppression" in
"Various switches" is invalid.

Field data

No. Parameter name Setting details Parameter length


13 Field No. 01 ~ 10: No. 1 ~ 10 Variable
0: Disabled (’0’ is printed), 1: Right-aligned,
14 Zero suppression 1
2: Left-aligned, 3: Move to front
15 Zero suppression direction 0: Higher, 1: Lower 1
16 Reserved 1 fixed 1
17 Zero setting 0: Disabled, 1: Enabled 1
Code system
1
18 Code data Refer to the sending format.
Character code Variable
10 pieces of field data are sent back consecutively.
* When the function "Numbering module > Extended printing: No" is selected, the field data are invalid.
* When the code data is not set, the field data is sent back with Parameter 18 being blank.

152
„ Example of use
Sending data→GNM: 1: 1:

Receiving data←1: 1:
Module 1 is not registered.

Sending data→GNM: 1: 1: 3:

Receiving data←1: 1: D0001000001000: ( ~ Module format)


10: 4: 0: 9999: 1: 1: 0: 0: 0210: (Radix to Various switches)
1: 3: 0: 1: 0: 3F3F2F1: (Field data 1)
2: 3: 0: 1: 0: 3. F0: (Field data 2)
3: 3: 0: 1: 0: : (Field data 3)

10: 3: 0: 1: 0: : (Field data 10)


The contents of Module 1 are as follows:

Vertical dots 36 Radix 10


Font size 32x32 Digit 4
Font bottom position 0 Initial value 0
Multiple width 1 End value 9999
Character direction ↑ Increment 1
Character spacing dot 0 Repeat 1
Character spacing of final
Disabled Reset on updating date Disabled
characters
Return to Initial
Apply full-width to character Action after reaching the
Enabled value and continue
spacing dot end value
printing
Reverse Disabled Update mode Auto
Character inversion Disabled Zero suppression Left-aligned
Character placement Left to right
Field data 1 Field data 2 Field data 3 ~
Zero suppression Left zero suppression Left zero suppression Left zero suppression
Zero suppression direction Higher Higher Higher
Zero setting Disabled Disabled Disabled
Code data "F3F2F1" ".F0" Not registerd

* 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

GOC (Get Offset Calendar)


„ Function
This command acquires the offset of a Clock module.
Memo
Related commands: “SOC” on page 81. “SOL” on page 82. “GOL” on page 155. “STC” on page
102. “GTC” on page 178. “GTL” on page 179.

„ 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:

Receiving data←0: 1: 365: 0: 0:


The offset of Clock module 1 is as follows:

Day offset 365


Hour offset 0
Minute offset 0

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:

Receiving data←0: 1: 1: 0: -1: 0: 0:


The offset of Limit module 1 is as follows:

Year offset 1
Month offset 0
Day offset -1
Hour offset 0
Minute offset 0

155
Communications commands

GP2 (Get Parameter 2D code)


„ Function
This command acquires the 2D code setting.
Memo
Related commands: “SP2” on page 83.

„ 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

No. Parameter name Setting details Parameter length


Error correction 0: L, 1: M, 2: Q, 3: H 1
0: Compound (Auto), 1: Numeric, 2: Alphanumeric,
Mode 1
3: Kanji
Cell size (Width) 1~4 1
4a
Reverse 0: Disabled, 1: Enabled 1
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

For the case of DataMatrix

No. Parameter name Setting details Parameter length


Cell size (Height) 1~4 1
Cell size (Width) 1~4 1
Reverse 0: Disabled, 1: Enabled 1
4b
Front and last space 00 ~ 99 2 (0 padding)
Character code 0: JIS, 2: ASCII / Shift-JIS, 4: UNICODE, 6: GB,
1
(Encoding type) 8: KS, A: BIG5, C: UTF-8

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:

Receiving data←1: 1: 0: 2010002:


The 2D code setting of 2D code module 1 is as follows:

2D code type QR Reverse Disabled


Error correction Q Front and last space 0
Mode Compound Character code Shift-JIS
Cell size (Width) 1

157
Communications commands

GPA (Get Parameter Assign)


„ Function
This command acquires the character assignment setting of Calendar, Numbering, and Distance modules.
Memo
Related commands: “SPA” on page 85.

„ 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:

Receiving data←0: 1: 1: 0: 2010:


The character assignment setting of Limit module 1 is as follows:

Assignment unit By character


Base year 2010

Sending data→GPA: 0: 2: 1:

Receiving data←0: 2: 1: 1:
The character assignment setting of Numbering module 1 is as follows:

Assignment unit By digit

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.

Concerning the subsequent parameters

1. "OCR setting"

No. Parameter name Setting details Parameter length


Use of OCR
1
0: Disabled, 1: Enabled
Space between bar and OCR
3 (0 padding)
001 ~ 010: 1 ~ 10 dots
Omit check digit
(This setting is ignored for those other than ITF,
1
Code39 and NW7.)
0: Disabled, 1: Enabled (Omitted)
5a OCR setting OCR division
(This setting is ignored for those other than ITF.) 1
0: Disabled, 1: Enabled (Divided)
Omit start/stop character
(This setting is ignored for those other than Code39
1
and NW7.)
0: Disabled, 1: Enabled (Omitted)
Reserved
1
0 fixed

159
Communications commands

2. "Bearer bar setting"

No. Parameter name Setting details Parameter length


Use of bearer bar
1
0: Disabled, 1: Enabled
Horizontal bearer bar size
5b Bearer bar setting 3 (0 padding)
001 ~ 016: 1 ~ 16 dots
Vertical bearer bar size
3 (0 padding)
001 ~ 099: 1 ~ 99 dots
* Sent back only for ITF.

3. "Start/Stop character setting"

No. Parameter name Setting details Parameter length


Start character
1
Start/Stop A ~ D, a ~ d
5c
character setting Stop character
1
A ~ D, a ~ d
* Sent back only for NW7.

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
5d 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)

160
„ Example of use
Sending data→GPB: 0: 1:

Receiving data←0: 1: 0: 013:


10010100: (OCR setting)
1003004: (Bearer bar setting)
0002005003004002005003004003010010: (Bar setting)
The bar code setting of Bar code module 1 is as follows:

Bar code type ITF


Subsequent parameter
OCR setting, bearer bar setting, and bar setting
setting

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.

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".

161
Communications commands

GPC (Get Parameter Communication)


„ Function
This command acquires the RS-232C communications setting.
Memo
Related commands: “SPC” on page 91.

„ 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:

Receiving data←0: 0: 3101: 100000: 0: 3:


Sets the RS-232C communication setting as follows:

Baud rate 9600 Error response format NAK + Code


Character length 8 bits Checksum Disabled
Parity No Print end signal output Disabled
Continuous command
Stop bit 1 bit Disabled
transmission
Receiving time-out time 3 seconds

163
Communications commands

GPL (Get Parameter Limit)


„ Function
This command acquires the calendar setting.
Memo
Related commands: “SPL” on page 92.

„ 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:

Receiving data←1: 1: 1: 1: 13: 45: 1: 1988: 0: 0010:


The calendar setting of Limit module 1 is set 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

165
Communications commands

GPN (Get Parameter Network)


„ Function
This command acquires the LAN communications setting.
Memo
Related commands: “SPN” on page 95.

„ 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:

Receiving data←0: 1: (~ Port number)


[Link]: (IP address)
[Link]: (Subnet mask)
[Link]: (Default gateway)
100000: 0: 3: (Extended setting ~)
The LAN communication setting is as follows:

Port number 1 Error response format NAK + Code


IP address [Link] Checksum Disabled
Subnet mask [Link] Print end signal output Disabled
Continuous command
Default gateway [Link] Disabled
transmission
Receiving time-out time 3 seconds

167
Communications commands

GPP (Get Parameter Printing number)


„ Function
This command acquires the reset setting of the print counter.
Memo
Related commands: “SPP” on page 96.

„ 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:

Receiving data←0: 1: 1: 1: 5: 08: 30: 17: 30:


Timer 1 is set as follows:

Timer state Enabled


Starting day to Ending day
Monday to Friday
of the week
Timer ON time to OFF
8: 30 to 17: 30
time

Sending data→GPT: 0: 1:

Receiving data←0: 1: 0: 0: 6: 00: 00: 00: 00:


Timer 1 is set as follows:

Timer state Disabled


Starting day to Ending day Sunday to
of the week Saturday
Timer ON time to OFF
0: 00 to 0: 00
time

169
Communications commands

GPU (Get Parameter User interface)


„ Function
This command acquires the screen operation setting.
Memo
Related commands: “SPU” on page 98.

„ 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:

Beep sound Enabled Calendar display Practical data


Continuous registration Disabled Update data in real time Disabled
Back light OFF time 3 minutes Check shortcut Disabled
Selected number for Unregistered
registration number

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

GSC (Get Shift Code)


„ Function
This command acquires the Shift code.
Memo
Related commands: “SSC” on page 101.

„ 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

Receiving data←0: 0: 1: 4: 3: 0000A: 0600: 1200C: 1800D:


The Shift code of Limit module 1 is as follows:

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

GSE (Get Status mEasurement log)


„ Function
This command acquires the number of data registered in the measurement log.
Memo
Related commands: “GDE” on page 131.

„ 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:

Receiving data←0: 1: 123:


123 pieces of data are registered in the measurement log.

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

Receiving data←0: 0: 234:


234 pieces of data are registered in the work log for All types.

175
Communications commands

GSS (Get Status Situation)


„ Function
This command acquires the status of machine.

„ 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"

No. Parameter name Setting details Parameter length


4a Liquid quantity 0: Low, 1: Full, 2: Empty, 3: Sensor trouble 1

When the parameter is "Status of print head"

No. Parameter name Setting details Parameter length


0: Stopping,
1: Stopping and the cover opens,
2: Preparation of running,
4b Status of print head 3: Preparation of running and the cover opens, 1
4: Running,
5: Preparation of stopping,
6: While maintenance

When the parameter is "Status of viscosity"

No. Parameter name Setting details Parameter length


0: Normal, 1: Low, 2: High,
4c Status of viscosity 1
3: Unknown (Viscosity control is not performed)

When the parameter is "Status of print head heater"

No. Parameter name Setting details Parameter length


4d Status of print head heater 0: OFF, 1: ON 1

176
„ Example of use
Sending data→GSS: 0: [Link]

Receiving data←0: 1: [Link]


Liquid quantity of ink tank, solvent tank, and main tank are as follows:

Liquid quantity of ink tank (0) Low (0)


Liquid quantity of solvent tank (1) Empty (2)
Liquid quantity of main tank (2) Full (1)

Sending data→GSS: 0: [Link]

Receiving data←0: 1: [Link]


Status of viscosity, print head heater, and print head are as follows:

Status of viscosity (4) High (2)


Status of print head heater (5) OFF (0)
Status of print head (3) Running (4)

177
Communications commands

GTC (Get Time Clock module)


„ Function
This command acquires the offset time of a Clock module.
Memo
Related commands: “SOC” on page 81. “GOC” on page 154. “SOL” on page 82. “GOL” on
page 155. “STC” on page 102. “GTL” on page 179.

„ 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:

Receiving data←0: 1: 201101020800:


The offset time of Clock module 1 is as follows:

Offset time 8: 00 on January 2, 2011

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:

Receiving data←0: 1: 201101020800:


The offset time of Limit module 1 is as follows:

Offset time 8: 00 on January 2, 2011

179
Communications commands

GTM (Get Text Module)


„ Function
This command acquires a Text module.
Memo
Related commands: “STM” on page 103. “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
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:

Receiving data←1: 1: D000100001000: 5FF11FF12FF13:


Text module 1 is as follows:

Character spacing of final


Vertical dots 36 Disabled
characters
Apply full-width to character
Font size 32x32 Enabled
spacing dot
Font bottom position 0 Reverse Disabled
Multiple width 1 Character inversion Disabled
Character direction ↑ Character placement Left to right
Character spacing dot 0
(Output in "UNICODE")
Content
123

* The settings of "Vertical dots" to "Character placement" are invalid when the function "Print > Edit message mode: CCS" is
selected.

181
Communications commands

GTS (Get Time System)


„ Function
This command acquires the system clock.
Memo
Related commands: “STS” on page 105.

„ 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:

Receiving data←0: 201101020800340:


The system clock is as follows:

Offset time 8: 00: 34 on January 2, 2011 (Sunday)

182
3-4 Reset commands

RDA (Reset Data Assign)


„ Function
This command initializes the assignment characters of Calendar, Numbering, and Distance modules.

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

RDM (Reset Data Memory)


„ Function
This command initializes the print and setting data.

„ 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

RDP (Reset Data Printing number)


„ Function
This command resets the print counter.

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

RRP (Reset Running Print)


„ Function
This command forcibly stops printing.
Memo
Related commands: “SRP” on page 100.

„ 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

UDC (Update Data Calendar)


„ Function
This command execute the calendar update.

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

UDN (Update Data Numbering)


„ Function
This command execute the numbering update.

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

mA Minute in 1 digit 7D43h EF62h mA F022h


SC Shift code 7D44h EF63h SC F023h
AC Nonexistent day code 7D45h EF64h AC F024h

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

4-3 Table of user font codes


Code
No.
JIS, GB, KS, BIG5 Shift-JIS UNICODE
1 7621h EB9Fh E000h
2 7622h EBA0h E001h
3 7623h EBA1h E002h
4 7624h EBA2h E003h
5 7625h EBA3h E004h

93 767Dh EBFBh E05Ch


94 767Eh EBFCh E05Dh
95 7721h EC40h E05Eh
96 7722h EC41h E05Fh

156 775Eh EC7Dh E09Bh


157 775Fh EC7Eh E09Ch
158 7760h EC80h E09Dh
159 7761h EC81h E09Eh

187 777Dh EC9Dh E0BAh


188 777Eh EC9Eh E0BBh
189 7821h EC9Fh E0BCh
190 7822h ECA0h E0BDh

255 7863h ECE1h E0FEh


256 7864h ECE2h E0FFh

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

Module Clock, limit, numbering

* 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

Module Clock, limit, numbering

* 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

Module Clock, limit, numbering

* 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

Module Clock, limit, numbering


Special code FNC1 ~ FNC4 (function), HIDE (hide)

* 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

Module Clock, limit, numbering

* 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.

Special character ASCII code string


NUL ~ US “\00” ~ “\1F”
: “\:”
? “\?”, or “??”
\ “\\”
DEL “\7F”
Clock module “?C1” ~ “?C9” (Clock module 1 ~ 9)
“?CA” ~ “?CK” (Clock module 10 ~ 20)
Limit module “?L1” ~ “?L9” (Limit module 1 ~ 9)
“?LA” ~ “?LZ” (Limit module 10 ~ 35)
“?La” ~ “?Le” (Limit module 36 ~ 40)
Numbering module “?N1” ~ “?N9” (Numbering module 1 ~ 9)
“?NA” ~ “?NZ” (Numbering module 10 ~ 35)
“?Na” ~ “?Ne” (Numbering module 36 ~ 40)
~ “\F1” ~ “\F4” (Function 1 ~ 4)
HIDE “\H*” (Hide)
One ASCII character is entered in ‘*’.

* When the function "Calendar module > Calculation method: CCS" is selected, you cannot register the “clock module 1 ~ 20”
and the “limit module 21 ~ 40”.

„ The number of the registrable characters


Number of characters that can be entered in each bar code is below.

Bar code type Number of the characters


2~
ITF
(Only even-numbered digits are valid. CD is also counted as one digit.)
Code39 1~
NW7 1~
7 or 12
EAN (CD is automatically appended to the end of data, but the number of digits does not
include this CD.)
Code128 1~
6 or 11
UPC (CD is automatically appended to the end of data, but the number of digits does not
include this CD.)
Code93 1~

197
Character code

4-5 Table of 2D code data registration codes


Half-width and full-width characters, Clock, Limit and Numbering modules, and function 1 (FNC1) can be
entered in 2D codes, but when entering some half-width characters and each module, it is necessary to input
special codes.

„ Half-width characters that need the input of special codes,


and special characters
Half-width Code
character ASCII+Shift-JIS,
JIS, GB, KS, BIG5, ASCII+GB, UNICODE
Special Shift-JIS ASCII+KS,
character ASCII+BIG5
: 003Ah \: 003Ah
? 003Fh \? or ?? 003Fh
\ 005Ch \\ 005Ch
FNC1 12C1h \F1 F2C1h

* 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 a Clock module is entered


Code
Number of ASCII+Shift-JIS,
module JIS, GB, KS, BIG5, ASCII+GB,
UNICODE
Shift-JIS ASCII+KS,
ASCII+BIG5
1 1100h ?C1 F100h
2 1101h ?C2 F101h
3 1102h ?C3 F102h
4 1103h ?C4 F103h
5 1104h ?C5 F104h
6 1105h ?C6 F105h
7 1106h ?C7 F106h
8 1107h ?C8 F107h
9 1108h ?C9 F108h
10 1109h ?CA F109h
11 110Ah ?CB F10Ah
12 110Bh ?CC F10Bh
13 110Ch ?CD F10Ch
14 110Dh ?CE F10Dh
15 110Eh ?CF F10Eh
16 110Fh ?CG F10Fh
17 1110h ?CH F110h
18 1111h ?CI F111h
19 1112h ?CJ F112h
20 1113h ?CK F113h

* 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

„ When a Numbering module is entered


Code
Number of ASCII+Shift-JIS,
module JIS, GB, KS, BIG5, ASCII+GB,
UNICODE
Shift-JIS ASCII+KS,
ASCII+BIG5
1 1200h ?N1 F200h
2 1201h ?N2 F201h
3 1202h ?N3 F202h
4 1203h ?N4 F203h
5 1204h ?N5 F204h
6 1205h ?N6 F205h
7 1206h ?N7 F206h
8 1207h ?N8 F207h
9 1208h ?N9 F208h
10 1209h ?NA F209h
11 120Ah ?NB F20Ah
12 120Bh ?NC F20Bh
13 120Ch ?ND F20Ch
14 120Dh ?NE F20Dh
15 120Eh ?NF F20Eh
16 120Fh ?NG F20Fh
17 1210h ?NH F210h
18 1211h ?NI F211h
19 1212h ?NJ F212h
20 1213h ?NK F213h
21 1214h ?NL F214h
22 1215h ?NM F215h
23 1216h ?NN F216h
24 1217h ?NO F217h
25 1218h ?NP F218h
26 1219h ?NQ F219h
27 121Ah ?NR F21Ah
28 121Bh ?NS F21Bh
29 121Ch ?NT F21Ch
30 121Dh ?NU F21Dh
31 121Eh ?NV F21Eh
32 121Fh ?NW F21Fh
33 1220h ?NX F220h
34 1221h ?NY F221h
35 1222h ?NZ F222h
36 1223h ?Na F223h
37 1224h ?Nb F224h
38 1225h ?Nc F225h
39 1226h ?Nd F226h
40 1227h ?Ne F227h

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.

Hundreds place of * Arrays numbered 1 and higher correspond to


Y2
the Christian year
01 ~ 10 0 00 ~ 9 99 replacement data of '0' and higher.

Tens place of the * Arrays numbered 1 and higher correspond to


Y3
Christian year
01 ~ 10 00 0 ~ 99 9 replacement data of '0' and higher.

Ones place of the * Arrays numbered 1 and higher correspond to


Y4
Christian year
01 ~ 10 000 ~ 999 replacement data of '0' and higher.

Year, Base year- * Arrays numbered 1 and higher correspond to


YX
based
01 ~ 10 Base year ~ Base year+9 replacement data of 'Base year' and higher.
* 2 digits of the year
Tens place of the * Arrays numbered 1 and higher correspond to
H1 Japanese calendar 01 ~ 10 0~ 9 replacement data of '0' and higher.
year
Ones place of the * Arrays numbered 1 and higher correspond to
H2 Japanese calendar 01 ~ 10 0 ~9 replacement data of '0' and higher.
year
Tens place of the * Arrays numbered 1 and higher correspond to
M1
month
01 ~ 02 0 ~1 replacement data of '0' and higher.

Ones place of the * Arrays numbered 1 and higher correspond to


M2
month
01 ~ 10 0 ~ 0 , 1 ... replacement data of '0' and higher.

* Arrays numbered 1 and higher correspond to


MA Month, Month 1 01 ~ 12 ~ replacement data of '01' and higher.
* Month in 1 digit
* Arrays numbered 1 and higher correspond to
MX Month, Month 2 01 ~ 12 ~ replacement data of '01' and higher.
* Month in 2 digits
Tens place of the * Arrays numbered 1 and higher correspond to
D1
day
01 ~ 04 1~ 1 replacement data of '0' and higher.

Ones place of the * Arrays numbered 1 and higher correspond to


D2
day
01 ~ 10 ...1 ~ 1 ... replacement data of '0' and higher.

* Arrays numbered 1 and higher correspond to


0: For AM 01 ~ 31 ~ replacement data of '01' and higher.
* Day in 1 digit
DC Day, Day 1
* Arrays numbered 1 and higher correspond to
1: For PM 01 ~ 31 ~ replacement data of '01' and higher.
* Day in 1 digit
* Arrays numbered 1 and higher correspond to
DX Day, Day 2 01 ~ 31 ~ replacement data of ’01’ and higher.
* Day in 2 digits
* Arrays numbered 1 and higher correspond to
DT Day, Day 3 01 ~ 31 ~ replacement data of ’01’ and higher.
* Day in 1 digit (Early/middle/late month)
* Arrays numbered 1 and higher correspond to
0: All digits 01 ~ 10 ~ replacement data of ’0’ and higher.
1 : Ones place, * Arrays numbered 1 and higher correspond to
DN Date Number 2 : Tens place
01 ~ 10 ...1 ~1 ... replacement data of ’0’ and higher.

3: Hundreds * Arrays numbered 1 and higher correspond to


place
01 ~ 04 01 ~ 66 replacement data of ’0’ and higher.

Sunday * Arrays numbered 1 and higher correspond to


DW Day of the week 01 ~ 07 ~ Saturday replacement data of 'Sunday' and later.
* Arrays numbered 1 and higher correspond to
0: All digits 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
WN Week number 1: Ones place 01 ~ 10 ...1 ~ 1 ... replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
2: Tens place 01 ~ 06 1~ 4 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.

Ones place of the * Arrays numbered 1 and higher correspond to


T2
hour (24H)
01 ~ 10 0 ~ 0 ... replacement data of ’0’ and higher.

* Arrays numbered 1 and higher correspond to


TA Hour (24H), Hour 1 01 ~ 24 ~ replacement data of ’00’ and higher.
* Hour (24H) in 1 digit
* Arrays numbered 1 and higher correspond to
TX Hour (24H), Hour 2 01 ~ 24 ~ replacement data of ’00’ and higher.
* Hour (24H) in 2 digits
Tens place of the * Arrays numbered 1 and higher correspond to
t1
hour (12H)
01 ~ 02 0~ 2 replacement data of ’0’ and higher.

Ones place of the * Arrays numbered 1 and higher correspond to


t2
hour (12H)
01 ~ 10 0 ~ 0 ... replacement data of ’0’ and higher.

* Arrays numbered 1 and higher correspond to


MP AM/PM 01 ~ 02 ~ replacement data of 'AM' and later.
Tens place of the * Arrays numbered 1 and higher correspond to
m1
minute
01 ~ 06 0~ 9 replacement data of ’0’ and higher.

Ones place of the * Arrays numbered 1 and higher correspond to


m2
minute
01 ~ 10 0 ~ 0 ... replacement data of ’0’ and higher.

* Arrays numbered 1 and higher correspond to


mA Minute, Minute 1 01 ~ 60 ~ replacement data of ’00’ and higher.
* Minute in 1 digit
* Arrays numbered 1 and higher correspond to
mX Minute, Minute 2 01 ~ 60 ~ replacement data of ’00’ and higher.
* Minute in 2 digits
Tens place of the * Arrays numbered 1 and higher correspond to
S1
second
01 ~ 06 0~ 9 replacement data of ’0’ and higher.

Ones place of the * Arrays numbered 1 and higher correspond to


S2
second
01 ~ 10 0 ~ 0 ... replacement data of ’0’ and higher.

* Arrays numbered 1 and higher correspond to


SX Second 01 ~ 60 ~ replacement data of ’00’ and higher.
* Second in 2 digits

* Concerning the assignment unit


0~: Setting range
Unmarked: The setting is ignored.

„ Case where the module type is "Numbering"


Code
Character Description
type Assignment Array Data corresponding to Remarks
unit number array number
* Arrays numbered 1 and higher correspond to
0: All digits 01 ~ 36 ~ replacement data of ’0’ and higher.
1: Ones place * Arrays numbered 1 and higher correspond to
NO Numbering 2: Tens place replacement data of ’0’ and higher.
to 01 ~ 36 ~
10: Billions
place

* Concerning the array number


01~16: As for the data of binary (Base-2) ~ hexadecimal (Base-16),
“Replaces entire digit“ and “Replaces by digit“ are the separate setting values.
17~36: As for the data of Base-17 ~ hexatridecimal (Base-36),
“Replaces entire digit“ and “Replaces by digit“ are the common setting values.

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.

* Arrays numbered 1 and higher correspond to


F6 Millions place 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F7 Ten millions place 01 ~ 10 ~ replacement data of ’0’ and higher.
Hundred millions * Arrays numbered 1 and higher correspond to
F8
place
01 ~ 10 ~ replacement data of ’0’ and higher.

* Arrays numbered 1 and higher correspond to


F9 Billions place 01 ~ 10 ~ replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
Fi All digits 01 ~ 10 ~ replacement data of ’0’ and higher.

* Concerning the assignment unit


0~: Setting range
Unmarked: The setting is ignored.

203
Character code

4-7 I/O pin assignment settings


„ Functions that can be assigned to input pins
Function No. Function Remarks
00 Not used
01 ~ 15 Unusable
16 Message selection 256
17 Message selection 512
18 Message selection STB Selectable only by input pins D8 ~ D15.
19 Printing disabled Selectable only by input pins D8 ~ D15.
20 Numbering reset Selectable only by input pins D8 ~ D15.
21 Numbering update Selectable only by input pins D8 ~ D15.
22 Numbering update disabled Selectable only by input pins D8 ~ D15.
23 Calendar update disabled Selectable only by input pins D8 ~ D15.
24 System shutdown Selectable only by input pins D8 ~ D15.
25 Change to stop Selectable only by input pins D8 ~ D15.
26 Change to the run mode Selectable only by input pins D8 ~ D15.
27 Printing direction change Selectable only by input pins D8 ~ D15.
28 Encoder rotation direction change Selectable only by input pins D8 ~ D15.
29 Calendar update Selectable only by input pins D8 ~ D15.
30 Specified number of one shot printing completed cancel Selectable only by input pins D8 ~ D15.
31 Printing direction change (level) Selectable only by input pins D8 ~ D15.
32 Encoder rotation direction change (level) Selectable only by input pins D8 ~ D15.
33 Reset warning Selectable only by input pins D8 ~ D15.
34 System clock reset Selectable only by input pins D8 ~ D15.

„ 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

Font size Setting


OCR character 2D0
2E0 (For 26 vertical dots)
Test pattern
2E1 (For 36 vertical dots)

„ 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.

Code Error name Cause and solution


Overrun error during
1500H
communication
A communication error occurred.
Framing error during
1510H Review the communication condition, and check the communication
communication
cable and its connection.
Communication parity
1520H
error
Communication receiving The data larger than the receiving buffer size was sent.
1530H
buffer full Reduce the sending size.
Receiving signal is
The interval of receiving data is larger than the specified time.
1540H timeout during
Reduce the interval of receiving data.
communication
Communication
1560H The command is incorrect. Check the command.
command error
Communication
1570H command The format is incorrect. Check the format.
Format error
Printing is disabled for the following causes.
Unable to print during
When there are more than one cause, the code becomes logical
communication
disjunction of the following values.
1581H Printing is disabled, or impossible since currently under printing.
[Shutdown / Printing Check the operation mode of the head, and change the head into the
disabled] "Print OK" state.
1581H
1582H Printing is impossible, since the head heating is not completed.
~158FH
[Under the head heating] Wait for a while.
1584H
Printing is impossible since currently under printing or imaging.
[Under printing / Under
Wait for a while.
imaging]
1588H Printing is impossible due to the setting of the one shot printing.
[Imaging not performed] Check the setting of the one shot printing.
Communication message It was attempted to register with a different message type.
1590H
type error Use the same message type.
Another communication error occurred.
Other error during
15A0H In the case of RS232C, check the state of the break signal.
communication
In the case of LAN, check the setting of the IP address.
Unable to execute
A command that can be processed only during the unit shutdown
communication command
15B3H received.
[During the unit
Re-send the message after shutdown.
operation]
Communication
15B4H The checksum is incorrect. Check the checksum.
checksum error

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,

In case of normal character,

Command
This product
Host device
(Text module)
Char code

Printing data can be set through transmission of a character code.

In case of bit Image,

Command
This product
Host device
(Bit image module and bit image message)
Bit Image Data

Printing data can be set through transmission of bit image data.

Bit image module and bit image message


 Total no. of bit image module available are 20, starting from # 1 to 20.
 In those 20 modules, you can register the bit image data of a total of up to 128k bytes (131072 bytes).
 Message # 0 is only for bit image messages.
 Bit image module # 1 is the only registration that can be made in message # 0. It is not possible to register
any other module in the message # 0.
 When you register the data in the message # 0 using the SDB command, then the contents of the bit
image module # 1 will also change along with it automatically.
 Simultaneously, when you register the data in the bit Image module # 1 using the SPM command, then
the contents of the message # 0 will also changes along with it.
 The contents of the transmitted bit image module, bit image messages, as well as other modules and
messages, will be stored even if the power is turned OFF.

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),

Byte Bit Dot Bit image Remarks


b7(MSB) Will be ignored
b6 Will be ignored
b5 Will be ignored
1st b4 Will be ignored
Byte b3 11
b2 10
b1 9
b0(LSB) 8
7 7
6 6
5 5
2nd 4 4
Byte 3 3
2 2
1 1
0 0
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
00h 03h 04h 04h 09h 09h 09h 08h 04h 04h 03h 00h 1st Bytes data
F0h 0Ch 02h 02h F9h 21h 21h D9h 02h 02h 0Ch F0h 2nd Bytes data

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]

TEC2733ZAF (April, 2019)

You might also like