Vous êtes sur la page 1sur 196

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 90 to 264 VAC (47 to 63 Hz)
Do not use any power other than 90 to 264 VAC (47 to 63 Hz).
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:
C Turn OFF all equipment, including the externally connected sequencer, PC, etc.
D Unplug this product.
E Connect the cables to this product.
F Plug in all the equipment.
G Turn ON the power switches of all equipment.
When disconnecting:
C Turn OFF all equipment, including externally connected sequencer, PC, etc.
D Unplug this product.
E Disconnect all cables that have been connected to this product.

4
MEMO

5
Contents

Introduction 2
Safety precautions ____________________________ 3
Description of the indication___________________ 3
Power supply ______________________________ 4

Contents 6
Communications overview 8
1 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 ___________________________ 22
1-8 Concerning time-out _______________________ 23

Settings 26
2 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 3-1 List of commands _________________________ 32
3-2 Setting commands ________________________ 35
3-3 Acquisition commands_____________________ 99
3-4 Reset commands_________________________ 173

6
Character code 180
4 4-1 Table of calendar character codes __________ 180
4-2 Table of digit codes_______________________ 181
4-3 Table of user font codes___________________ 182
4-4 Table of bar code data registration codes ____ 183
4-5 Table of 2D code data registration codes _____ 185
4-6 Assignment character-related information____ 188
4-7 I/O pin assignment settings ________________ 191
4-8 Table of version information types __________ 192

Communication error codes 194


5 5-1 List of error codes________________________ 194

7
1 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. 15 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.

Max. cable length 15 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 1 fixed
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

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.

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 signal assignment" on page 9.
Control signal type other DTR, DSR, RTS, CTS
than data

Connector signal assignment

„ Connector type
Product side Cable side Manufacturer
SF1213/S9 SF1210/P9Ⅱ WEIPU.

„ Connector pin assignment


Product-side connector fitting surface

8 1
7 2
9
6 3
5 4

9
1 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
1 Communications overview

„ Examples of the transmission of a character registration command


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

Transmit Data
: 0 234123423B7A :
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 "AB" 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
: 1 AB :
Character data
Code system specified

Content of word data portion


A B
41H 42H

Sending character data "AB字" in the Shift-JIS code system


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

Transmit Data
: 2 826082618E9A :
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 "AB字" 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
: 3 AB 字 :
Character data
Code system specified

Content of word data portion


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

Sending character data "AB字" 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
: 3 AB 字 :
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
1 Communications overview

Sending character data "AB字" in the UNICODE system


Character transmitted UNICODE
A FF21
B FF22
字 5B57

Transmit Data
: 4 FF 21 FF 225 B 57 :
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 "AB字" in the GB code system


Character transmitted GB code
A A3C1
B A3C2
字 D7D6

Transmit Data
:6 A3C1A3C2D7D6 :
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 "AB字" 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
: 7 AB 字 :
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
: 8 A 3 C 1 B 9 AEC 0 DA :
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
: 9 A 문자 :
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
1 Communications overview

Sending character data "AB字" in the BIG5 code system


Character transmitted BIG5 code
A A2CF
B A2D0
字 A672

Transmit Data
:A A 2 CFA 2 D 0 A 672 :
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 "AB字" 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
:B AB 字 :
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.

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

D Select a user font to replace a certain character not


stored in CCS3000 with.

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

17
1 Communications overview

F 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) or R (Reset).

(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 86 and "SPN (Set Parameter Network)" on page 88. For details of
error codes, refer to "5-1 List of error codes" on page 194.

19
1 Communications overview

Protocol used to send acquisition commands


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

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 86 and "SPN (Set Parameter Network)" on Page 88.
For details of error codes, refer to "5-1 List of error codes" on Page 194.

20
1-6 Precautions in sending commands continuously
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.

In this case,...

Response (1)’ to command (1) Given normally

Response to command (2) 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.

Response (3)’ to command (3) Given normally


The data (3) from STX to ETX is received normally and also responded to normally.

21
1 Communications overview

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.

22
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

23
1 Communications overview

MEMO

24
25
2 Settings
2-1 Basic communications settings
Set various items on communications in advance.

Communications setting
C 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.

D 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".
Flow control Select "Disabled" or "RTS•CTS".
Sending time-out [sec] Set the time-out time using the ten-key pad.
Receiving time-out [sec] Set the time-out time using the ten-key pad.

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 IP address should be set to suit your network environment.
Set the default gateway to be assigned to this product.
Default gateway
The static IP address should be set to suit your network environment.
Error code Select "Use" or "Not use".
Checksum Select "Disabled" or "Enabled".
Sending time-out [sec] Set the time-out time using the ten-key pad.
Receiving time-out [sec] Set the time-out time using the ten-key pad.
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”.

E When clicking the button, the dialog box saying


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


27
2 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.

C Incommunication
each unit including the master unit, set the
settings of LAN.

Memo
Allocate an unique IP address for each unit.

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

E Click the [LAN] tab button, and press the [Master


settings] button.

F 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
2 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.

G When clicking the button, the dialog box saying


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


30
2-3 Procedures prior to communications
C Connect a host device and this product using a communications cable specified by us.
D Perform communications setting on the side of this product.
E 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 SRC:0:1:1:
(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
3 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. 39
SAO This command edits the I/O output pin and signal lamp port assignments. 40
SBM This command edits a Bar code module. 41
SCC This command edits the print control setting. 45
SCE This command edits the encoder setting. 46
SCI This command edits the output conditions of the I/O output signal. 47
SCM This command edits a Clock module. 48
SCP This command edits the printing conditions. 50
SCR This command edits the repeat printing conditions. 51
SCS This command edits the photo sensor setting. 52
This command edits the setting of connection with the UPS (uninterruptive
SCU 53
power supply).
This command edits the assignment characters of Calendar, Numbering, and
SDA 54
Distance modules.
SDM This command edits a Distance module. 56
This command edits the current value and current repeated value of a
SDN 58
Numbering module.
SDP This command edits the print count. 59
SIM This command edits an Interval module. 60
SLM This command edits a Limit module. 61
SMC This command edits the comment of a message. 63
SMD This command edits a message. 64
SMG This command edits a message. (however, the printing data do not change) 65
SMM This command edits a message. 66
SMN This command selects the current message No. 71
SMR This command edits a message. 72
SMU This command edits the update setting of a Calendar or Numbering module. 73
SNM This command edits a Numbering module. 74
SOC This command edits the offset of a Clock module. 77
SOL This command sets the offset of a Limit module. 78
SP2 This command edits the 2D code setting. 79
This command edits the character assignment setting of Calendar,
SPA 81
Numbering, and Distance modules.
SPB This command edits the bar code setting. 83
SPC This command edits the RS-232C communications setting. 86
SPL This command edits the calendar setting. 87
SPN This command edits the LAN communications setting. 88
SPP This command edits the reset setting of the print counter. 89
SPT This command edits the timer start setting. 90
SPU This command edits the screen operation setting. 91

32
Command Function Page
SRC This command changes the run mode of the head. 92
SRP This command inputs a print command. 93
SSC This command edits the Shift code. 94
STC This command edits the offset time of a Clock module. 95
STM This command edits a Text module. 96
STS This command edits the system clock. 98

Acquisition commands
Command Function Page
G2M This command acquires a 2D code module. 99
GAC This command acquires the nonexistent day setting. 102
GAI This command acquires the I/O input pin assignment. 104
GAO This command acquires the I/O output pin and signal lamp port assignments. 105
GBM This command acquires a Bar code module. 106
GCC This command acquires the print control setting. 110
GCE This command acquires the encoder setting. 111
GCI This command acquires the output conditions of the I/O output signal. 113
GCM This command acquires a Clock module. 114
GCP This command acquires the printing conditions. 116
GCR This command acquires the repeat printing conditions. 117
GCS This command acquires the Photo sensor setting. 118
This command acquires the setting of connection with the UPS
GCU 119
(uninterruptible power supply).
This command acquires the assignment characters of Calendar, Numbering,
GDA 120
and Distance modules.
GDE This command acquires the measurement log data. 122
GDL This command acquires the work log data. 124
GDM This command acquires a Distance module. 125
This command acquires the current value and current repeated value of a
GDN 127
Numbering module.
GDP This command acquires the print count. 128
This command acquires the current printing data of Calendar, Numbering,
GDR 129
and Distance modules.
GDV This command acquires the system state. 130
GIM This command acquires an Interval module. 131
GLM This command acquires a Limit module. 132
GMC This command acquires the comment of a message. 134
GMD This command acquires a message. 135
GMM This command acquires a message. 136
GMN This command acquires the current message No. 140
GMU This command acquires the update setting of a Calendar or Numbering module. 141
GNM This command acquires a Numbering module. 142
GOC This command acquires the offset of a Clock module. 145
GOL This command acquires the offset of a Limit module. 146
GP2 This command acquires the 2D code setting. 147

33
3 Communications commands

Command Function Page


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

Reset commands
Command Function Page
This command initializes the assignment characters of Calendar, Numbering,
RDA 173
and Distance modules.
RDM This command initializes the print and setting data. 174
This command resets the current value and current repeated value of a
RDN 175
Numbering module.
RDP This command resets the print counter. 176
RRC This command executes the process of turning off the power. 177
RRP This command forcibly stops printing. 178

34
3-2 Setting commands
S2M (2D code Module)
„ Function
This command edits a 2D code module.

Memo
Related commands: “G2M” on page 99. “Table of 2D code data registration codes” on page
185.

„ 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
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
3 Vertical 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
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
5 Bar code type 0: QR, 1: DataMatrix 1
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.

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

35
3 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

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 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: 1: 1:
Deletes the contents of Module 1.

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


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: 1: 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: 1: 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
3 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 102.

„ 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

* 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. ("Use or not" is Disabled, and the
assignment characters are cleared.)

„ Example of use
Sending data→SAC: 0: 1: 1: 1: 1: LEAP: : :
Sets the nonexistent day setting of Limit module 1 as follows:

Sending data→SAC: 0: 1: C: 0:
Sets the nonexistent day setting (common setting) to "Not used".
* "Sending data→SAC: 0: 0: C: 0: " also gives the same data setting. (This holds true only when the Edit message mode is set to
"CM2.")
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 Edit message mode is set to "CM2.")

38
SAI (Set Assign I/o pin)
„ Function
This command edits the I/O input pin assignment.

Memo
Related commands: ”GAI" on page 104. “I/O pin assignment settings” on page 191.

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

39
3 Communications commands

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 105. “I/O pin assignment settings” on page 191.

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

40
SBM (Set Barcode Module)
„ Function
This command edits a Bar code module.

Memo
Related commands: “GBM" on page106. “Table of bar code data registration codes” on page
183.

„ 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,
3 Vertical 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
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
5 Bar code type 0: ITF, 1: Code39, 2: NW7, 3: JAN, 4: Code128 1
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
1
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
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.)

41
3 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
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

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 {JAN, Code128}
Black bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
Black bar 3 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
Black bar 4 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
White bar 1 size
8d Bar setting Light bar of {ITF, Code39, NW7}, 3 (0 padding)
Lightest bar of {JAN, Code128}
White bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
White bar 3 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
White bar 4 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
Gap size (This setting is ignored for those other than
3 (0 padding)
Code39 and NW7.)
Front space size 3 (0 padding)
Last space size 3 (0 padding)
* 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.

42
Field data
No. Parameter name Setting details Parameter length
9 Field No. 1 ~ 16 Variable
10 Use of check digit 0: Disabled, 1: Enabled 1
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 Field 1 of Module 1 to "Disabled."

* Because no changes are made to the existing settings, some parameters are omitted.

43
3 Communications commands

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"

44
SCC (Set Condition print Control)
„ Function
This command edits the print control setting.

Memo
Related commands: “GCC" on page 110.

„ 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
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
* 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 8 "One shot printing" is set to "Disabled", the subsequent parameters can be omitted.

„ Example of use
Sending data→SCC: 0: 1: 1: 0: 1: 0: 0: 0:
Sets the print control setting of Message 1 as follows:

Tracking Disabled
Control during printing Force to terminate printing
Back-aligned printing Disabled
Print end signal Disabled
One shot printing Disabled

45
3 Communications commands

SCE (Set Condition Encoder)


„ Function
This command edits the encoder setting.

Memo
Related commands: “GCE" on page 111.

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


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

46
SCI (Set Condition I/o)
„ Function
This command edits the output conditions of the I/O output signal.

Memo
Related commands: “GCI” on page 113.

„ Sending 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
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 is performed output.
1
after the completion of heating, 1: The alarm is
5 Alarm process When no printing is detected by output.
1
the check for unprinting,
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.

„ Example of use
Sending data→SCI: 0: 1: 011000: 1: 10099:
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: 0: 1: : 0: :
Turns OFF the under-printing signal in the state waiting for print position.

47
3 Communications commands

SCM (Set Calendar Module)


„ Function
This command edits a Clock module.

Memo
Related commands: “GCM" on page 114. “SLM" on page 61. “GLM" on page 132. “Table of
calendar character codes" on page 180.

„ 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
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots,
1
5: 12 dots, 6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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
* 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.

48
„ Example of use
Sending data→SCM: 0: 1:
Deletes the contents of Module 1.

Sending data→SCM: 0: 1: D0001000010: 3Y3Y4年:


Sets the contents of Module 1 as follows:

Vertical dots 36
Font size 32x32
Font bottom position 0
Width 1
Character direction ↑
Character spacing dot 0
Character spacing of final
Disabled
characters
Apply full-width to
Enabled
character spacing dot
Reverse Disabled
(Input in "ASCII + Shift-JIS" code)
Content
Y3Y4年
* The settings of "Vertical dots" to "Reverse" 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.

49
3 Communications commands

SCP (Set Condition Print)


„ Function
This command edits the printing conditions.

Memo
Related commands: “GCP" on page 116.

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

50
SCR (Set Condition Repeat print)
„ Function
This command edits the repeat printing conditions.

Memo
Related commands: “GCR" on page 117.

„ 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

51
3 Communications commands

SCS (Set Condition photo Sensor)


„ Function
This command edits the photo sensor setting.

Memo
Related commands: “GCS" on page 118.

„ 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→SCR: 0: 1: 1: 0:
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.

52
SCU (Set Condition Ups)
„ Function
This command edits the setting of connection with the UPS (uninterruptible power supply).

Memo
Related commands: “GCU" 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 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→SCS: 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

53
3 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 120. “RDA” on page 173. “Assignment character-related
information” on page 188.

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

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

55
3 Communications commands

SDM (Set Distance Module)


„ Function
This command edits a Distance module.

Memo
Related commands: “GDM” on page 125.

„ 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
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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.

56
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: 0: 1:
Deletes the contents of Module 1.

Sending data→SDM: 0: 1: D0001000010:


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:

Vertical dots 36
Font size 32x32
Font bottom position 0
Width 1
Character direction ↑
Character spacing dot 0
Character spacing of final
Disabled
characters
Apply full-width to
Enabled
character spacing dot
Reverse Disabled
Zero suppression: Left zero suppression
Zero suppression direction: Higher
Field data 1
Zero setting: Disabled
Code data: "F2F1F0"
Zero suppression: Left zero suppression
Zero suppression direction: Higher
Field data 2
Zero setting: Disabled
Code data: "mm"
* The settings of "Vertical dots" to "Reverse" 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.

57
3 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 127.

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

„ 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

58
SDP (Set Data Printing number)
„ Function
This command edits the print count.

Memo
Related commands: “GDP” on page 128. “RDP” on page 176.

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

59
3 Communications commands

SIM (Set Interval Module)


„ Function
This command edits an Interval module.

Memo
Related commands: “GIM” on page 131.

„ 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

60
SLM (Set Limit Module)
„ Function
This command edits a Limit module.

Memo
Related commands: “SCM” on page 48. “GCM” on page 114. “GLM” on page 132. “Table of
calendar character codes" on page 180.

„ 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
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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 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.

61
3 Communications commands

„ Example of use
Sending data→SLM: 0: 1:
Deletes the contents of Module 1.

Sending data→SLM: 0: 1: D0001000010: 3YY3Y4年:


Sets the contents of Module 1 as follows:

Vertical dots 36
Font size 32x32
Font bottom position 0
Width 1
Character direction ↑
Character spacing dot 0
Character spacing of final
Disabled
characters
Apply full-width to
Enabled
character spacing dot
Reverse Disabled
(Input in "ASCII + Shift-JIS" code)
Content
Y3Y4年
* The settings of "Vertical dots" to "Reverse" 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.

62
SMC (Set Message Comment)
„ Function
This command edits the comment of a message.

Memo
Related commands: “GMC” on page 134.

„ 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: 製品1用データ:


Sets the comment of Message 1 to "製品1用データ".

63
3 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 135.

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

64
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 66.

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

65
3 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 136.

„ Sending format (for deleting)


No. Parameter name Setting details Parameter length
1 Command version 1 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.

66
„ Sending format (for editing)
No. Parameter name Setting details Parameter length
1 Command version 1 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, 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,
5 Module format A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Multiple width
1
1 ~ 8: x1 ~ x8
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
The parameter part continues further.

67
3 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,
Text contents 1
4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
6a 9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data (Up to 15 characters)
Error correction Variable
Character code
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.)
* 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.
* The settings “Pitch magnification“ is omissible.
* 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.
2D code Therefore, the settings from "Font size" to "Reverse" are ignored.
Bit image
* The settings from "Font size" to "Pitch magnification" are omissible.
The settings other than "Layout No." and "Placement in layout" are not reflected
on printout.
Anchor Therefore, the settings from "Font bottom position" to "Pitch magnification" are
ignored.
* The settings from "Font bottom position" to "Pitch magnification" are omissible.
The settings other than “Layout No.“ are not reflected on printout.
Therefore, the settings from “Placement in layout“ to “Pitch magnification“ are
Interval
ignored.
* The settings from "Placement in layout" to "Pitch magnification" 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“.

„ Example of use 1 (When deleting a message)


Sending data→SMM: 1: 1:
Deletes Message 1.

68
„ Example of use 2 (When newly creating a message)
Sending data→SMM: 1: 1: (1)
1: I2: 02:?: (2)
2: T1: 020003512D310010000:1T1: (3)
3: L5: 020012507D530030010:?: (4)
4: A1: 0200248:?: (5)
(1) Message 1 is selected.
(2) Interval module 1 with an ID number of 1 is created in field 2.
(3) Register the text contents “T1“ to text module 1, and text module 1 with an ID number of 2 is created in field 2.
(4) Limit module 5 with an ID number of 3 is created in field 2.
(5) The anchor module with an ID number of 4 is created in field 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 Field: 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
Width: 1 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

69
3 Communications commands

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


Example of use 2)
Sending data→SMM: 1: 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: 1: 1: 3: : 030022201D610010000:?:


Changes the module format of the module with ID number 3 as follows:

Layout No. 3 Character direction 1


Placement in layout 222 Character spacing dot 1 dot
Character spacing of final
Font bottom position 1 Disabled
characters
Apply full-width to
Vertical dots 36 dots Disabled
character spacing dot
Font size 12x10 Reverse Disabled
Width 1 Pitch magnification x1
* If the module with ID No. 3 does not exist, the error is sent back.

Sending data→SMM: 1: 1: 3: : 030022201D610010000:?:


Delete the ID number 3 from the message.

70
SMN (Set Message Number)
„ Function
This command selects the current message No.
Memo
Related commands: “GMN” on page 140.

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

71
3 Communications commands

SMR (Set Message Remove module)


„ Function
This command edits a message.

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

Memo
Related commands: “SMM” on page 66.

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

72
SMU (Set Module Update)
„ Function
This command edits the update setting of a Calendar or Numbering module.
Memo
Related commands: “GMU” on page 141.

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

73
3 Communications commands

SNM (Set Numbering Module)


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

„ 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
Vertical dots
1: 5 dots, 2: 7 dots, 3: 9 dots, 4: 10 dots, 5: 12 dots,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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
11 1: Return to Initial value and continue printing + I/O 1
end value
output, 2: Stop printing, 3: Stop printing + I/O output

74
No. Parameter name Setting details Parameter length
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: Enabled" is selected, the setting of "Zero suppression" in "Various
switches" is not reflected on printout.

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

75
3 Communications commands

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

Sending data→SNM: 0: 1: D0001000010: (- 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
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 Action after reaching the
Enabled value and
character spacing dot end value
continue
printing
Reverse Disabled Update mode Auto
Left-
Zero suppression
aligned
* The settings of "Vertical dots" to "Reverse" are invalid when the function "Print > Edit message mode: CCS" is selected.
Left zero
Zero suppression
suppression
Field data 1 Zero suppression direction Higher
Zero setting Disabled
Code data "F3F2F1"
Left zero
Zero suppression
suppression
Field data 2 Zero suppression direction Higher
Zero setting Disabled
Code data ".F0"
* "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.

76
SOC (Set Offset Calendar)
„ Function
This command edits the offset of a Clock module.
Memo
Related commands: “GOC" on page 145. “SOL” on page 78. “GOL” on page 146. “STC” on
page 95. ”GTC” on page 168.

„ 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

77
3 Communications commands

SOL (Set Offset Limit)


„ Function
This command sets the offset of a Limit module.
Memo
Related commands: “SOC” on page 77. “GOC” on pgae 145. “GOL” on page 146. “STC” on
page 95. “GTC” on page 146.

„ 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

78
SP2 (Set Parameter 2D code)
„ Function
This command edits the 2D code setting.
Memo
Related commands: “GP2” on page 147.

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

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

79
3 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

80
SPA (Set Parameter Assign)
„ Function
This command edits the character assignment setting of Calendar, Numbering, and Distance modules.
Memo
Related commands: “GPA” on page 149.

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

81
3 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

82
SPB (Set Parameter Barcode)
„ Function
This command edits the bar code setting.
Memo
Related commands: “GPB” on page 150.

„ 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
3 Bar code type 0: ITF, 1: Code39, 2: NW7, 3: JAN, 4: Code128 1
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
1
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
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.)

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

83
3 Communications commands

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.

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 {JAN, Code128}
Black bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
Black bar 3 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
Black bar 4 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
White bar 1 size
5d Bar setting Light bar of {ITF, Code39, NW7}, 3 (0 padding)
Lightest bar of {JAN, Code128}
White bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
White bar 3 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
White bar 4 size (This setting is ignored for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
Gap size (This setting is ignored for those other than
3 (0 padding)
Code39 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.

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

85
3 Communications commands

SPC (Set Parameter Communication)


„ Function
This command edits the RS-232C communications setting.
Memo
Related commands: “GPC” on page 153.

„ 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
Flow control
1
0: Disabled, 1: Enabled
Reserved
1
0 fixed
Reserved
1
0 fixed
5 Sending time-out time 0 ~ 300: 0 ~ 300 seconds Variable
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: 3: 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
Stop bit 1 bit Flow control Disabled
Sending time-out time 3 seconds
Receiving time-out time 3 seconds

86
SPL (Set Parameter Limit)
„ Function
This command edits the calendar setting.
Memo
Related commands: “GPL” on page 155.

„ 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
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)
7 Offset calculation method 0: Month End, 1: Carry-over, 2: Month Start 1
8 Japanese calendar offset 1980 ~ 2099 4
* 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: 0: 1: 1: 1: 13: 45: 1: 1988:
Sets the calendar setting of Limit module 1 as follows:

Use-by date calculation


Beginning of the week Monday Carry-over
method
AM/PM change time 13: 45 Japanese calendar offset 1988

87
3 Communications commands

SPN (Set Parameter Network)


„ Function
This command edits the LAN communications setting.
Memo
Related commands: “GPN” on page 156.

„ Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 fixed 1
2 Reserved 0 fixed 1
3 IP address 000.000.000.000 ~ 255.255.255.255 15 (0 padding, dots included)
4 Subnet mask 000.000.000.000 ~ 255.255.255.255 15 (0 padding, dots included)
5 Default gateway 000.000.000.000 ~ 255.255.255.255 15 (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
Reserved
1
0 fixed
Reserved
1
0 fixed
7 Sending time-out time 0 ~ 300: 0 ~ 300 seconds Variable
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: 0:
000.001.002.003: (IP address)
004.005.006.007: (Subnet mask)
255.255.255.255: (Default gateway)
100000: 3: 3: (Extended setting to Receiving time-out time)
Sets the LAN communication setting as follows:

IP address 000.001.002.003
Subnet mask 004.005.006.007
Default gateway 255.255.255.255

Error response format NAK + Code


Checksum Disabled
Print end signal output Disabled
Sending time-out time 3 seconds
Receiving time-out time 3 seconds

88
SPP (Set Parameter Printing number)
„ Function
This command edits the reset setting of the print counter.
Memo
Related commands: “GPP” on page 158.

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

89
3 Communications commands

SPT (Set Parameter Timer)


„ Function
This command edits the timer start setting.
Memo
Related commands: “GPT” on page 159.

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

90
SPU (Set Parameter User interface)
„ Function
This command edits the screen operation setting.
Memo
Related commands: “GPU” on page 160.

„ 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

91
3 Communications commands

SRC (Set Running Control)


„ Function
This command changes the run mode of the head.
Memo
Related commands: “GRC” on page 161. “RRC” on page 177.

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

92
SRP (Set Running Print)
„ Function
This command inputs a print command.
Memo
Related commands: “RRP” on page 178.

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

93
3 Communications commands

SSC (Set Shift Code)


„ Function
This command edits the Shift code.
Memo
Related commands: “GSC” on page 162.

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

94
STC (Set Time Clock module)
„ Function
This command edits the offset time of a Clock module.
Memo
Related commands: “GOC” on page 145. “SOL” on page 78. “GOL” on page 146. “GTC” on
page 168. “GTL” on page 169.

„ 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

95
3 Communications commands

STM (Set Text Module)


„ Function
This command edits a Text module.
Memo
Related commands: “GTM” on page 170. “Table of user font codes” on page 182.

„ Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 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,
1
6: 16dots, 7: 20dots, 8: 22dots, 9: 24dots,
A: 26dots, B: 28dots, C: 32dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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.

96
„ Example of use
Sending data→STM: 0: 1:
Deletes the contents of Text module 1.

Sending data→STM: 0: 1: D0001000010: 3123:


Sets the contents of Text module 1 as follows:

Vertical dots 36 dots Character spacing dot 0 dot


Character spacing of final
Font size 32x32 Disabled
characters
0th dot from the Apply full-width to
Font bottom position Enabled
lowermost dot character spacing dot
Width 1 Reverse Disabled
Character direction ↑
(Input in "ASCII +
Content Shift-JIS" code)
123
* The settings of "Vertical dots" to "Reverse" are invalid when the function "Print > Edit message mode: CCS" is selected.

Sending data→STM: 0: 1: 92041001000: :


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

Vertical dots 24 dots Character spacing dot 1 dot


Character spacing of final
Font size 24x24 Disabled
characters
4th dot from the Apply full-width to
Font bottom position Disabled
lowermost dot character spacing dot
Width 1 Reverse Disabled
Character direction ↑
Content (Omitted)
* The settings of "Vertical dots" to "Reverse" are invalid when the function "Print > Edit message mode: CCS" is selected.

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


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

97
3 Communications commands

STS (Set Time System)


„ Function
This command edits the system clock.
Memo
Related commands: “GTS” on page 172.

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

98
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 185.

„ 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, 1: ASCII, 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,
3 Vertical dots 7: 20dots, 8: 22dots, 9: 24dots, 1
A: 26dots, B: 28dots, C: 32dots, D: 36 dots
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
5 Bar 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

99
3 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,
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

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.

100
„ Example of use
Sending data→G2M: 1: 1: 0:

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

Sending data→G2M: 1: 1:

Receiving data←1: 1: D: 0: 0: 02010002: 1: 0: 00031003200330034: 2: 1: 00041004200430044: 3: 0:


: 4: 0: : 5: 0: : 6: 0: : 7: 0: : 8: 0: : 9: 0: : 10: 0: : 11: 0: : 12: 0: : 13: 0: : 14: 0: : 15: 0:
: 16: 0: :
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.

101
3 Communications commands

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, 1: ASCII, 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 Use or not 0: Disabled, 1: Enabled (Use) 1
5 Code system Refer to the sending format. 1
Assignment character (for
6 Character code (for 0 ~ 4 characters) Variable
the 29th day)
Assignment character (for
7 Character code (for 0 ~ 4 characters) Variable
the 30th day)
Assignment character (for
8 Character code (for 0 ~ 4 characters) Variable
the 31st day)

102
„ Example of use
Sending data→GAC: 0: 1: 1: 1: 3

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


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

Use or not Use


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

Sending data→GAC: 0: 1: C: 0: 3:

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


The nonexistent day setting (common setting) is as follows:

Use or not Use


Code system Sets assignment characters in "ASCII + Shift-JIS" code.
Assignment character (for
the 29th day) "LEAP“
Assignment character (for
(Not registered)
the 30th day)
Assignment character (for
(Not registered)
the 31st day)

* "Sending data→SAC: 0: 0: C: 0: " also gives the same data setting. (This holds true only when the Edit message mode is set
to "CM2.")

103
3 Communications commands

GAI (Get Assign I/o pin)


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

Memo
Related commands: “SAI” on page 39. “I/O pin assignment settings” on page 191.

„ 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

104
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 40. “I/O pin assignment settings” on page 191.

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

105
3 Communications commands

GBM (Get Barcode Module)


„ Function
This command acquires a Bar code module.

Memo
Related commands: “SBM” on page 41. “Table of bar code data registration codes” on page
183.

„ 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,
3 Vertical 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
0 ~ 35: The font bottom is located at the 0th ~ 35th dot
4 Font bottom position Variable
from the lowermost dot.
5 Bar code type 0: ITF, 1: Code39, 2: NW7, 3: JAN, 4: Code128 1
6 Bar height 4 ~ 36: 4 ~ 36 dots Variable

Subsequent parameter
7

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

1. "OCR setting"

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

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 {JAN, Code128}
Black bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
Black bar 3 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
Black bar 4 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
White bar 1 size
8d Bar setting Light bar of {ITF, Code39, NW7}, 3 (0 padding)
Lightest bar of {JAN, Code128}
White bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
White bar 3 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
White bar 4 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
Gap size (This setting is invalid for other than Code39
3 (0 padding)
and NW7.)
Front space size 3 (0 padding)
Last space size 3 (0 padding)

107
3 Communications commands

Field data
No. Parameter name Setting details Parameter length
9 Field No. 01 ~ 16 Variable
10 Use of check digit 0: Disabled, 1: Enabled 1
11 Bar code data ASCII input Variable
16 pieces of field data can be edited consecutively.

„ 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: : 4: 0: : 5: 0: : 6: 0: : (Data of Field 3 ~ 16: Not set)
7: 0: : 8: 0: : 9: 0: : 10: 0: :
11: 0: : 12: 0: : 13: 0: : 14: 0: :
15: 0: : 16: 0: :
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.

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

109
3 Communications commands

GCC (Get Condition print Control)


„ Function
This command acquires the print control setting.

Memo
Related commands: “SCC” on page 45.

„ 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 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
* 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 subsequent parameters are invalid settings.

„ Example of use
Sending data→GCC: 0: 1: 1: 0: 1: 0: 0: 0:

Receiving data←0: 1: 1: 0: 1: 0: 0: 0: 1: 1:
The print control setting of Message 1 is as follows:

Tracking Disabled
Control during printing Force to terminate printing
Back-aligned printing Disabled
Print end signal Disabled
One shot printing Disabled
Number of ready recovery
1
processes
Print count 1
* Because "One shot printing" is set to "Disabled", the "Number of ready recovery processes" and "Print count" values are invalid.

110
GCE (Get Condition Encoder)
„ Function
This command acquires the encoder setting.

Memo
Related commands: “SCE” on page 46.

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

111
3 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 Disabled (Not used)


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

112
GCI (Get Condition I/o)
„ Function
This command acquires the output conditions of the I/O output signal.

Memo
Related commands: “SCI” on page 47.

„ 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
Under printing disabled due to external I/O, 1
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 data, 1: The signal is not 1
Under one shot printing, turned OFF. 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 is input, 1
0: The alarm is not
When re-heating is performed
output. 1
after the completion of heating,
1: The alarm is
When no printing is detected by output.
5 Alarm process 1
the check for unprinting,
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.

„ Example of use
Sending data→GCI: 0: 1:

Receiving data←0: 1: 011000: 1: 10099:


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.

113
3 Communications commands

GCM (Get Calendar Module)


„ Function
This command acquires a Clock module.

Memo
Related commands: “SCM” on page 48. “SLM” on page 61. “GLM” on page 132. “Table of
calendar character codes” on page 180.

„ 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
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,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
Code system
1
Refer to the sending format.
4 Content
Character data
Variable
Character code

114
* 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: 0: 1: 3:

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

Sending data→GCM: 0: 1: 3:

Receiving data←0: 1: D0001000010: 3Y3Y4年:


The contents of Module 1 are as follows:

Vertical dots 36
Font size 32x32
Font bottom position 0
Width 1
Character direction ↑
Character spacing dot 0
Character spacing of final
Disabled
characters
Apply full-width to
Enabled
character spacing dot
Reverse Disabled
(Input in "ASCII + Shift-JIS" code)
Content
Y3Y4年
* The settings of "Vertical dots" to "Reverse" 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.

115
3 Communications commands

GCP (Get Condition Print)


„ Function
This command acquires the printing conditions.

Memo
Related commands: “SCP” on page 50.

„ 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

116
GCR (Get Condition Repeat print)
„ Function
This command acquires the repeat printing conditions.

Memo
Related commands: “SCR” on page 51.

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

117
3 Communications commands

GCS (Get Condition photo Sensor)


„ Function
This command acquires the photo sensor setting.

Memo
Related commands: "SCS” 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 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

118
GCU (Get Condition Ups)
„ Function
This command acquires the setting of connection with the UPS (uninterruptible power supply).

Memo
Related commands: "SCU” on page 53.

„ 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

119
3 Communications commands

GDA (Get Data Assign)


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

Memo
Related commands: “SDA” on page 54. “RDA” on page 173. “Assignment character-related
information” on page 188.

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

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

121
3 Communications commands

GDE (Get Data mEasurement log)


„ Function
This command acquires the measurement log data.

Memo
Related commands: "GSE” on page 164.

„ 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 00 ~ 99
2 (0 padding)
* The 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 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.

122
„ Example of use
Sending data→GDE: 0: 1: 1:

Receiving data←0: 1: 1: 110203: 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

123
3 Communications commands

GDL (Get Data Log)


„ Function
This command acquires the work log data.

Memo
Related commands: “GSL” on page 165.

„ 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

124
GDM (Get Distance Module)
„ Function
This command acquires a Distance module.

Memo
Related commands: “SDM” on page 56.

„ 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
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,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Character type Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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.

125
3 Communications commands

Field data

No. Parameter name

„ Example of use
Sending data→GDM: 0: 1: 3:

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

Sending data→GDM: 0: 1: 3:

Receiving data←0: 1: D0001000010:


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:

* When the function "Print > Edit message mode: CCS" is selected, the settings of "Vertical dots" to "Reverse" 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.

126
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 58. “RDN” on page 175.

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

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

127
3 Communications commands

GDP (Get Data Printing number)


„ Function
This command acquires the print count.

Memo
Related commands: “SDP” on page 59. “RDP” on page 176.

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

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

129
3 Communications commands

GDV (Get Data Version)


„ Function
This command acquires the system state.

Memo
Related commands: “Table of version information types” on page 192.

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


The version of the boot loader is "1.0.0.0".

130
GIM (Get Interval Module)
„ Function
This command acquires an Interval module.

Memo
Related commands: “SIM” on page 60.

„ 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

131
3 Communications commands

GLM (Get Limit Module)


„ Function
This command acquires a Limit module.

Memo
Related commands: “SCM” on page 48. “GCM” on page 114. “SLM” on page 61. “Table of
calendar character codes” on page 180.

„ 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
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,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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.

132
„ Example of use
Sending data→GLM: 0: 1: 3:

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

Sending data→GLM: 0: 1: 3:

Receiving data←0: 1: D0001000010: 3Y3Y4年:


The contents of Module 1 are as follows:

Vertical dots 36
Font size 32x32
Font bottom position 0
Width 1
Character direction ↑
Character spacing dot 0
Character spacing of final
Disabled
characters
Apply full-width to
Enabled
character spacing dot
Reverse Disabled
(Input in "ASCII + Shift-JIS" code)
Content
Y3Y4年
* The settings of "Vertical dots" to "Reverse" 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.

133
3 Communications commands

GMC (Get Message Comment)


„ Function
This command acquires the comment of a message.

Memo
Related commands: “SMC” on page 63.

„ 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: 製品1用データ:


The comment of Message 1 is "製品1用データ" .

134
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 64.

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

135
3 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 66.

„ Sending format
No. Parameter name Setting details Parameter length
1 Command version 1 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,
1
4 Module 2: 2D code, I: Interval, D: Distance, A: Anchor,
!: Module is not registered
Module No.1 ~ 500: No. 1 ~ 500 Variable

136
No. Parameter name Setting details Parameter length
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,
5 Module format A: 7x8, B: 7x5, C: 5x5, D: 5xN, E: 7xN
Multiple width
1
1 ~ 8: x1 ~ x8
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
Pitch magnification
1
0 ~ 9 : x1 ~ x10, A ~ F : x11 ~ x16
The parameter part continues further.

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,
Text contents 1
4: UNICODE, 6: GB, 7: ASCII + GB, 8: KS,
6a 9: ASCII + KS, A: BIG5, B: ASCII + BIG5
Character data (Up to 15 characters)
Error correction Variable
Character code
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“.

137
3 Communications commands

* 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.
Bit image Therefore, the settings from "Font size" to "Reverse" are invalid.
The settings other than "Layout No." and "Placement in layout" are not reflected
on printout.
Anchor
Therefore, the settings from "Font bottom position" to "Pitch magnification" are
invalid.
The settings other than “Layout No.“ are not reflected on printout.
Interval Therefore, the settings from “Placement in layout“ to “Pitch magnification“ are
invalid.

„ Example of use
Sending data→GMM: 1: 1:

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

138
Sending data→GMM: 1: 1: 3:

Receiving data→1: 1: (1)


1: I2: 020000000D010000100:?: (2)
2: T1: 020003512D310010000:3T1: (3)
3: L5: 020012507D530030010:?: (4)
4: A1: 020024800D010000100:?: (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 field 2.
(3) Register the text contents “T1“ to text module 1, and text module 1 with an ID number of 2 is created in field 2.
(4) Limit module 5 with an ID number of 3 is created in field 2.
(5) The anchor module with an ID number of 4 is created in field 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 Field: 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
Width: 1 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

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

Sending data→GMM: 1: 1:

Receiving data→1: 1: (1)


1: I2: 020000000D010000100:?: (2)
2: T1: 020003512D310010000:?: (3)
3: L5: 020012507D530030010:?: (4)
4: A1: 020024800D010000100:?: (5)
5: !1: : : 6: !1: : : (omit) 32: !1: : : (6)

139
3 Communications commands

GMN (Get Message Number)


„ Function
This command acquires the current message No.
Memo
Related commands: “SMN” on page 71.

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

140
GMU (Get Module Update)
„ Function
This command acquires the update setting of a Calendar or Numbering module.
Memo
Related commands: “SMU” on page 73.

„ 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 selected, 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

141
3 Communications commands

GNM (Get Numbering Module)


„ Function
This command acquires a Numbering module.
Memo
Related commands: “SNM” on page 74.

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

„ 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,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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

142
No. Parameter name Setting details Parameter length
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: Enabled" 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: Disabled" 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.

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

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

143
3 Communications commands

Sending data→GNM: 0: 1: 3:

Receiving data←0: 1: D00010000010: ( - 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
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 Action after reaching the
Enabled value and
character spacing dot end value
continue
printing
Reverse Disabled Update mode Auto
Left-
Zero suppression
aligned
* The settings of "Vertical dots" to "Reverse" are invalid when the function "Print > Edit message mode: CCS" is selected.
Left zero
Zero suppression
suppression
Field data 1 Zero suppression direction Higher
Zero setting Disabled
Code data "F3F2F1"
Left zero
Zero suppression
suppression
Field data 2 Zero suppression direction Higher
Zero setting Disabled
Code data ". F0"
Left zero
Zero suppression
suppression
Field data 3 Zero suppression direction Higher
Zero setting Disabled
Code data Not registered
* "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.

144
GOC (Get Offset Calendar)
„ Function
This command acquires the offset of a Clock module.
Memo
Related commands: “SOC” on page 77. “SOL” on page 78. “GOL” on page 146. “STC” on page
95. “GTC” on page 168. “GTL” on page 169.

„ 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

145
3 Communications commands

GOL (Get Offset Limit)


„ Function
This command acquires the offset of a Limit module.
Memo
Related commands: “SOC” on page 77. “GOC” on page 145. “SOL” on page 78. “STC” on
page 95. “GTC” on page 146. “GTL” on page 169.

„ 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

146
GP2 (Get Parameter 2D code)
„ Function
This command acquires the 2D code setting.
Memo
Related commands: “SP2” on page 79.

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

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

147
3 Communications commands

„ 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

148
GPA (Get Parameter Assign)
„ Function
This command acquires the character assignment setting of Calendar, Numbering, and Distance modules.
Memo
Related commands: “SPA” on page 81.

„ 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

149
3 Communications commands

GPB (Get Parameter Barcode)


„ Function
This command acquires the bar code setting.
Memo
Related commands: “SPB” on page 83.

„ 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
3 Bar code type 0: ITF, 1: Code39, 2: NW7, 3: JAN, 4: Code128 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 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
1
0: Disabled, 1: Enabled (Omitted)
5a OCR setting OCR division (This setting is ignored for other than
ITF.) 1
0: Disabled, 1: Enabled (Divided)
Omit start/stop character (This setting is ignored for
other than Code39.) 1
0: Disabled, 1: Enabled (Omitted)
Reserved
1
0 fixed

150
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 {JAN, Code128}
Black bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
Black bar 3 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
Black bar 4 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
White bar 1 size
5d Bar setting Light bar of {ITF, Code39, NW7}, 3 (0 padding)
Lightest bar of {JAN, Code128}
White bar 2 size
Bold bar of {ITF, Code39, NW7}, 3 (0 padding)
Light bar of {JAN, Code128}
White bar 3 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Bold bar of {JAN, Code128}
White bar 4 size (This setting is invalid for those other
than JAN and Code128.) 3 (0 padding)
Boldest bar of {JAN, Code128}
Gap size(This setting is invalid for other than Code39
3 (0 padding)
and NW7.)
Front space size 3 (0 padding)
Last space size 3 (0 padding)

151
3 Communications commands

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

152
GPC (Get Parameter Communication)
„ Function
This command acquires the RS-232C communications setting.
Memo
Related commands: “SPC” on page 86.

„ 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
Flow control
1
0: Disabled, 1: Enabled
Reserved
1
0 fixed
Reserved
1
0 fixed
5 Sending time-out time 0 ~ 300: 0 ~ 300 seconds Variable
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.

153
3 Communications commands

„ Example of use
Sending data→GPC: 0: 1:

Receiving data←0: 0: 3101: 100000: 3: 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
Stop bit 1 bit Flow control Disabled
Sending time-out time 3 seconds
Receiving time-out time 3 seconds

154
GPL (Get Parameter Limit)
„ Function
This command acquires the calendar setting.
Memo
Related commands: “SPL” on page 87.

„ 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
* 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)
7 Offset calculation method 0: Month End, 1: Carry-over, 2: Month Start 1
8 Japanese calendar offset 1980 ~ 2099 4

„ Example of use
Sending data→GPL: 0: 1: 1:

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


The calendar setting of Limit module 1 is set as follows:

Use-by date calculation


Beginning of the week Mon. Carry-over
method
AM/PM change time 13: 45 Japanese calendar offset 1988

155
3 Communications commands

GPN (Get Parameter Network)


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

„ 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

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

156
„ Example of use
Sending data→GPN: 0:

Receiving data←0: 0:
000.001.002.003: (IP address)
004.005.006.007: (Subnet mask)
255.255.255.255: (Default gateway)
100000: 3: 3: (Extended setting to Receiving time-out time)
The LAN communication setting is as follows:

IP address 000.001.002.003
Subnet mask 004.005.006.007
Default gateway 255.255.255.255

Error response format NAK + Code


Checksum Disabled
Print end signal output Disabled
Sending time-out time 3 seconds
Receiving time-out time 3 seconds

157
3 Communications commands

GPP (Get Parameter Printing number)


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

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

158
GPT (Get Parameter Timer)
„ Function
This command acquires the timer start setting.
Memo
Related commands: “SPT” on page 90.

„ 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

159
3 Communications commands

GPU (Get Parameter User interface)


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

„ 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

160
GRC (Get Running Control)
„ Function
This command acquires the run mode of the head.
Memo
Related commands: “SRC” on page 92. “RRC” on page 177.

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

161
3 Communications commands

GSC (Get Shift Code)


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

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

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

163
3 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 122.

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

164
GSL (Get Status Log)
„ Function
This command acquires the number of data registered in the work log.
Memo
Related commands: “GDL” on page 124.

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

165
3 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

166
„ Example of use
Sending data→GSS: 0: 1:012:

Receiving data←0: 1: 012:0:2:1:


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: 1:453:

Receiving data←0: 1: 453:2:0:4:


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)

167
3 Communications commands

GTC (Get Time Clock module)


„ Function
This command acquires the offset time of a Clock module.
Memo
Related commands: “SOC” on page 77. “GOC” on page 145. “SOL” on page 78. “GOL” on
page 146. “STC” on page 95. “GTL” on page 169.

„ 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

168
GTL (Get Time Limit module)
„ Function
This command acquires the offset time of a Limit module.
Memo
Related commands: “SOC” on page 77. “GOC” on page 145. “SOL” on page 78. “GOL” on
page 146. “STC” on page 95. “GTC” on page 168.

„ 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

169
3 Communications commands

GTM (Get Text Module)


„ Function
This command acquires a Text module.
Memo
Related commands: “STM” on page 96. “Table of user font codes” on page 182.

„ Sending format
No. Parameter name Setting details Parameter length
1 Command version 0 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,
1
6: 16 dots, 7: 20 dots, 8: 22 dots, 9: 24 dots,
A: 26 dots, B: 28 dots, C: 32 dots, D: 36 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 Width
1
1 ~ 8: 1 ~ 8-fold
Character direction
1
0: ↑, 1: ←, 2: →, 3: ↓ 4: Mirror
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
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.

170
„ Example of use
Sending data→GTM: 0: 1: 3:

Receiving data←0: 1:
Text module 1 is not registered.

Sending data→GTM: 0: 1: 3:

Receiving data←0: 1: D0001000010: 5FF11FF12FF13:


Text module 1 is as follows:

Vertical dots 32 dots Character spacing dot 1 dot


Character spacing of final
Font size 32x32 Disabled
characters
0th dot from the Apply full-width to
Font bottom position Enabled
lowermost dot character spacing dot
Width 1 Reverse Disabled
Character direction ↑
(Output in UNICODE)
Content
123

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

171
3 Communications commands

GTS (Get Time System)


„ Function
This command acquires the system clock.
Memo
Related commands: “STS” 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
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)

172
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 54. “GDA” on page 120. “Assignment character-related
information” on page 188.

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

173
3 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.

174
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 58. “GDN” on page 127.

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

175
3 Communications commands

RDP (Reset Data Printing number)


„ Function
This command resets the print counter.

Memo
Related commands: “SDP” on page 59. “GDP” 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 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.

176
RRC (Reset Running Control)
„ Function
This command executes the process of turning off the power.
Memo
Related commands: “SRC” on page 92. “GRC” on page 161.

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

177
3 Communications commands

RRP (Reset Running Print)


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

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

178
MEMO

179
4 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

180
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 EF40h F0 F000h
F1 Tens place of the counter 7E22h EF41h F1 F001h
Hundreds place of the
F2 7E23h EF42h F2 F002h
counter
Thousands place of the
F3 7E24h EF43h F3 F003h
counter
Ten thousands place of
F4 7E25h EF44h F4 F004h
the counter
Hundred thousands place
F5 7E26h EF45h F5 F005h
of the counter
Millions place of the
F6 7E27h EF46h F6 F006h
counter
Ten millions place of the
F7 7E28h EF47h F7 F007h
counter
Hundred millions place of
F8 7E29h EF48h F8 F008h
the counter
Billions place of the
F9 7E2Ah EF49h F9 F009h
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.

181
4 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.

182
4-4 Table of bar code data registration codes
Bar code data should be registered/acquired in the ASCII code below.

+00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0A +0B +0C +0D +0E +0F
20 SP ! “ # $ % & ' ( ) * + , - . /
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 { | } ~
* The shaded ASCII codes (3A, 3F, 7F) are registered/acquired using the code strings in the table below.

ASCII code strings for the registration of special characters and modules

ASCII code string Description


"\\" 1 character '\' (Used to distinguish from the control character '\')
"\?" 1 character '?' (Used to distinguish from the control character '?')
"\:" 1 character ':' (Used to distinguish from the delimiter ':')
"\F1" ~ "\F4" (FNC1) ~ (FNC4)
"\H*" 1 hidden character One ASCII character is entered in '*'.
"??" 1 character '?' (Used to distinguish from the control character '?')
"?C1" ~ "?C9" "?C1" ~ "?C9": Clock module 1 ~ 9
"?CA" ~ "?CK" “?CA" ~ "?CK": Clock module 10 ~ 20
"?L1" ~ "?L9" “?L1” ~ “?L9": Limit module 1 ~ 9
"?LA" ~ "?LZ" "?LA" ~ "?LZ": Limit module 10 ~ 35
"?La" ~ "?Le" "?La" ~ "?Le": Limit module 36 ~ 40
"?N1" ~ "?N9" "?N1" ~ "?N9": Numbering module 1 ~ 9
"?NA" ~ "?NZ" "?NA" ~ "?NZ": Numbering module 10 ~ 35
"?Na" ~ "?Ne" "?Na" ~ "?Ne": Numbering module 36 ~ 40

Characters and words that can be entered in each bar code

Bar code type Characters and modules that can be registered


ASCII(0 ~ 9)
ITF
Clock, Limit, and Numbering modules
ASCII (、$、%、+、-、.、/、0 ~ 9, A ~ Z)
Code39
Clock, Limit, and Numbering modules
ASCII($、+、-、.、/、0 ~ 9, :)
NW7
Clock, Limit, and Numbering modules
ASCII(0 ~ 9)
JAN
Clock, Limit, and Numbering modules
ASCII (all characters), (FNC1) ~ (FNC4),
Code128
Hidden characters, Clock, Limit and Numbering modules

183
4 Character code

Number of characters that can be entered in each bar code

Bar code type


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

184
4-5 Table of 2D code data registration codes
Half-width and full-width characters, Clock, Limit and Numbering modules, and function code (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 '\?'.

„ 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

185
4 Character code

„ 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

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

187
4 Character code

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 ~ 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

188
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 00 ~ 24 replacement data of ’0’ and higher.

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


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

* Arrays numbered 1 and higher correspond to


TA Hour (24H), Hour 1 01 ~ 24 01 ~ 23 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 01 ~ 23 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 00 ~ 12 replacement data of ’0’ and higher.

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


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

* Arrays numbered 1 and higher correspond to


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

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


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

* Arrays numbered 1 and higher correspond to


mA Minute, Minute 1 01 ~ 60 00 ~ 60 replacement data of ’00’ and higher.
* Minute in 1 digit
* Arrays numbered 1 and higher correspond to
mX Minute, Minute 2 01 ~ 60 00 ~ 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 00 ~ 59 replacement data of ’0’ and higher.

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


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

* Arrays numbered 1 and higher correspond to


SX Second 01 ~ 60 00 ~ 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 ・0・ ~ ・F・ 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 0…0 ~ F …F
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.

189
4 Character code

„ 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 0…0 ~ 9…9 replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F1 Tens place 01 ~ 10 0…0 ~ 9…9 replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F2 Hundreds place 01 ~ 10 0…0 ~ 9…9 replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F3 Thousands place 01 ~ 10 0…0 ~ 9…9 replacement data of ’0’ and higher.
* Arrays numbered 1 and higher correspond to
F4 Ten thousands place 01 ~ 10 0…0 ~ 9…9 replacement data of ’0’ and higher.
Hundred thousands * Arrays numbered 1 and higher correspond to
F5
place
01 ~ 10 0…0 ~ 9…9 replacement data of ’0’ and higher.

* Arrays numbered 1 and higher correspond to


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

* Arrays numbered 1 and higher correspond to


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

* Concerning the assignment unit


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

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

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

191
4 Character code

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

192
MEMO

193
5 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 measures

1500H Overrun error during


communication
Framing error during A communication error occurred.
1510H Check the communication conditions, and the communication cable and its
communication
connection.
Parity error during
1520H
communication
Receiving signal buffer is full Data larger in size than the receive buffer was sent.
1530H during communication Reduce the size of the send data.

1540H Receiving signal is timeout The time interval of send data exceeded the setting.
during communication Cut down the time interval of send data.
Sending signal is timeout during The time interval of receive data exceeded the setting.
1550H
communication Cut down the time interval of receive data.
1560H Communication command error The command is incorrect. Check the command.
Communication command
1570H The format is incorrect. Check the format.
format error
Unable to print during
1580H communication
Printing is impossible because of being unable to print or currently under printing.
Unable to print during Check the run mode of the head, and enable the head to print.
1581H communication [during
operation stop/printing disabled]
Unable to print during Printing is impossible because heating is not completed.
1582H communication [during the head
heating] Wait for a while.

Unable to print during


1584H communication [during printing/ Printing is impossible because of being under printing or imaging. Wait for a while.
imaging]
Unable to print during Printing is impossible due to the setting of one shot printing.
1588H communication [Imaging not
executed] Check the setting of one shot printing.

1590H Communication message type Tried to register in different message types.


error Unify the message types.
Other error during Another communication error occurred.
15A0H
communication Contact our company.
Unable to execute
15B0H communication command Received the communication command for the boot software. Check the command.
[Command for boot]
Unable to execute
15B1H communication command Received a command that cannot be processed during operation.
Stop the operation, and then send the command again.
[during the head in operation]
Unable to execute
15B2H communication command Received a command that cannot be processed during the gutter in operation.
Stop the operation, and then send the command again.
[during the gutter in operation]
Unable to execute
15B3H communication command Received a command that can be processed only during the unit in operation.
Stop the operation, and then send the command again.
[during the unit in operation]
15B4H Communication address error The designated address is incorrect. Check the command.

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

194
MEMO

195
Kishu Giken Kogyo Co., Ltd.
466 Nunohiki, Wakayama-shi, Japan 641-0015
http://www.kishugiken.co.jp

TEC2733L (November, 2012)

Vous aimerez peut-être aussi