0% found this document useful (0 votes)
11 views33 pages

Communication Users ManualModbusG

The HITACHI Printer Model UX2 Communication User's Manual provides detailed instructions on using the Modbus communication protocol for the printer. It includes sections on usage precautions, transmission procedures, message formats, and troubleshooting. The manual emphasizes the importance of reading it thoroughly before use and keeping it for future reference.

Uploaded by

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

Communication Users ManualModbusG

The HITACHI Printer Model UX2 Communication User's Manual provides detailed instructions on using the Modbus communication protocol for the printer. It includes sections on usage precautions, transmission procedures, message formats, and troubleshooting. The manual emphasizes the importance of reading it thoroughly before use and keeping it for future reference.

Uploaded by

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

HITACHI Printer

Model UX2

Communication User's Manual


(Modbus)

● Before using the printer, thoroughly read this communication user's manual for
optimum printer use.
● After reading this communication user's manual, properly keep it for future
reference.
To export the product, check the export control-related
regulations, such as the Foreign Exchange and Foreign
Trade Law and the Export Administration Regulations, and
follow the necessary procedures.
If you have any questions, contact your Hitachi sales
representative.

February 2024 (rev. G)

● No part of this manual may be copied or reproduced without permission.


● The contents of this manual are subject to change without notice for
improvement.

All Right Reserved, Copyright © 2022, Hitachi Industrial Equipment Systems Co.,Ltd

1
Contents
1.1 Overview .................................................................................................................................................................... 3
1.2 Usage precautions ................................................................................................................................................... 3
1.3 Transmission procedure.......................................................................................................................................... 4
1.4 Message format ........................................................................................................................................................ 4
1.5 Data configuration .................................................................................................................................................. 10
1.6 Detail of Data configuration .................................................................................................................................. 26
1.7 Modbus communication rule for IJ Printer .......................................................................................................... 27
1.8 Examples of Transmission procedure................................................................................................................. 28
1.9 Troubleshooting guide ........................................................................................................................................... 32

"Ethernet" is a registered trademark of Xerox Corporation, USA.


"Windows" is registered trademarks of Microsoft Corporation, USA, in the USA and other countries.

2
1. Modbus communication
1.1 Overview
Function that supports Modbus protocol. Modbus protocol specifications have been globally
disclosed.
Modbus protocol is one of the most common types of communication protocol.
Modbus protocol does not support messages autonomously output by the IJ Printer such as status or
printing contents.

1.2 Usage precautions


(1) Modbus communication cannot be combined with the options in the table below.

List of functions which are not operational during the use of this modbus communication
No. Option
1 Soft option SOP-08 "Barcode Reader Connection"

(2) Functions listed below are not operational during the use of this modbus communication.

List of functions which are not operational during the use of this modbus communication
No. Screen Item Remark
Communication environment
1 Data exchange [Reflect at once] Fixed
set up

(3) Functions listed below are not supported by this modbus communication.

List of functions which are not supported by this modbus communication


No. Option
1 More than one of Calendar/Count blocks cannot be set in one item.

(4) Don’t write address not listed to register map (Including reserve area).

3
1.3 Transmission procedure
Request message
configuration

Transaction Protocol
Data length Data
External device identifier identifier
IJ printer Transaction Protocol
Data length Data
identifier identifier

Response message
configuration

No. Name Size Setting range Description


The IJ Printer returns the transaction identifier
Transaction 0x0000 to received from external unit as it is. You should
1 2 bytes
identifier 0xFFFF use the identifier to manage messages for
external unit.
Sets protocol identifier. Set protocol identifier to
Protocol
2 2 bytes 0x0000 0x0000. The IJ Printer returns the protocol
identifier
identifier received from external unit as it is.

0x0000 to Sets number of bytes for request data and


3 Data length 2 bytes
0x00FF response data.

Because data configuration differs according to


3 to 255
4 Data - the function code specified, data size is variable.
bytes
For data configuration, see 1.4 Message format.

1.4 Message format


(1) Function code

The IJ Printer supports the function code given in the following table.

Function code
No. Function code Function
1 0x10 Write Multiple Registers
2 0x06 Write Single Register
3 0x03 Read Holding Registers
4 0x04 Read Input Registers

4
(2) Message format for Write Multiple Registers (Function code: 0x10)
●Writes contents in the Holding Register to reflect it in the IJ Printer.
●The maximum number of bytes that can be written in the Holding Register per time is 246 bytes;
if this number is exceeded, you must divide the data into smaller segments while updating the
starting address each time.
●When the writing operation onto Holding Registers is made more than once, 0x0001 (Start) shall
be written first on the control flag which is placed in the first address 0x0000 of Holding Registers.
Then conduct writing more than once and finally write 0x0002 (Stop) onto the control flag.
When 0x0002 (Stop) is written on the control flag, the data being written on Holding Registers will
be reflected to IJ printer.
Request message configuration
No. Name Size Range Description

1 Device address 1 byte 0x01 Sets device address. Set device address to 0x01.

2 Function code 1 byte 0x10 Sets function code (Write Multiple Registers).

0x0000 to Sets writing start address. Address is set in word


3 Start address 2 bytes
0xFFFF units.
No. of words to be
4 2 bytes 1 to 123 Sets number of words to be written.
written
No. of bytes to be
5 1 byte 1 to 246 Sets number of bytes to be written.
written
Sets data to be written (variable length of 2 to 246
2 to 246 0x0000 to
6 Data to be written bytes). 0x00 is added to the end when data of
bytes 0xFFFF
uneven byte length is set.

Response message data configuration (normal)


No. Name Size Range Description

1 Device address 1 byte 0x01 Sets device address received as it is.

2 Function code 1 byte 0x10 Sets function code received as it is.

0x0000 to
3 Start address 2 bytes Sets start address received as it is.
0xFFFF
No. of words to be
4 2 bytes 1 to 123 Sets No. of words to be written received as it is.
written

Response message data configuration (abnormal)


No. Name Size Range Description

1 Device address 1 byte 0x01 Sets device address received as it is.

2 Function code 1 byte 0x90 Adds 0x80 to function code received.

0x01 to Sets error code. Error code differs according to


3 Error code 1 byte
0x03 cause.

5
(3) Message format for Write Single Register (Function code: 0x06)
●Write a content in the Holding Register to reflect it in the IJ Printer.
●The number of bytes that can be written in the Holding Register per time is fixed to 2 bytes.

Request message configuration


No. Name Size Range Description
Sets device address. Set device address to
1 Device address 1 byte 0x01
0x01.

2 Function code 1 byte 0x06 Sets function code (Write Single Register).

0x0000 to Sets writing address. Address is set in word


3 Writing address 2 bytes
0xFFFF units.
0x0000 to
4 Data to be written 2 bytes Sets data to be written.
0xFFFF

Response message data configuration (normal)


No. Name Size Range Description
1 Device address 1 byte 0x01 Sets device address received as it is.
2 Function code 1 byte 0x06 Sets function code received as it is.
0x0000 to
3 Writing address 2 bytes Sets writing address received as it is.
0xFFFF
0x0000 to Sets data to be written received as it
4 Data to be written 2 bytes
0xFFFF is.

Response message data configuration (abnormal)


No. Name Size Range Description
1 Device address 1 byte 0x01 Sets device address received as it is.

2 Function code 1 byte 0x86 Adds 0x80 to function code received.

Sets error code. Error code differs according


3 Error code 1 byte 0x01 to 0x03
to cause.

6
(4) Message format for Read Holding Registers (Function code: 0x03)
●This function will be used to read the item data of IJ printer, which is readable and writable.
●The maximum number of bytes that can be read in the Holding Register per time is 250 bytes;
if this number is exceeded, you must divide the data into smaller segments while updating the
starting address each time.

Request message configuration


No. Name Size Range Description
Sets device address. Set device address to
1 Device address 1 byte 0x01
0x01.
Sets function code (Read Holding
2 Function code 1 byte 0x03
Registers).
0x0000 to Sets reading start address. Address is set
3 Start address 2 bytes
0xFFFF in word units.
4 No. of words to be read 2 bytes 1 to 125 Sets number of words to be read.

Response message data configuration (normal)


No. Name Size Range Description
1 Device address 1 byte 0x01 Sets device address received as it is.
2 Function code 1 byte 0x03 Sets function code received as it is.
3 No. of bytes to be read 1 byte 2 to 250 Sets number of data bytes to be read.
2 to 250 0x0000 to Sets data to be read (variable length of 2 to
4 Data to be read
bytes 0xFFFF 250 bytes).

Response message data configuration (abnormal)


No. Name Size Range Description
1 Device address 1 byte 0x01 Sets device address received as it is.
2 Function code 1 byte 0x83 Adds 0x80 to function code received.
Sets error code. Error code differs according
3 Error code 1 byte 0x01 to 0x03
to cause.

7
(5) Message format for Read Input Registers (Function code: 0x04)
●This function will be used to read the item data of IJ printer, which is read only, or used to read
the status of IJ printer.
●The maximum number of bytes that can be read in the Input Register per time is 250 bytes.
if this number is exceeded, you must divide the data into smaller segments while updating the
starting address each time.

Request message configuration


No. Name Size Range Description
Sets device address. Set device address to
1 Device address 1 byte 0x01
0x01.
2 Function code 1 byte 0x04 Sets function code (Read Input Registers).
0x0000 to Sets reading start address. Address is set in
3 Start address 2 bytes
0xFFFF word units.
4 No. of words to be read 2 bytes 1 to 125 Sets number of words to be read.

Response message data configuration (normal)


No. Name Size Range Description
1 Device address 1 byte 0x01 Sets device address received as it is.
2 Function code 1 byte 0x04 Sets function code received as it is.
3 No. of bytes to be read 1 byte 2 to 250 Sets number of data bytes to be read.
2 to 250 0x0000 to Sets data to be read (variable length of 2 to
4 Data to be read
bytes 0xFFFF 250 bytes).

Response message data configuration (abnormal)


No. Name Size Range Description
1 Device address 1 byte 0x01 Sets device address received as it is.
2 Function code 1 byte 0x84 Adds 0x80 to function code received.
Sets error code. Error code differs according
3 Error code 1 byte 0x01 to 0x03
to cause.

8
(6) Error code
Error code
No. Name Code Conditions

1 Illegal function code 0x01 Function code not yet supported is set.

2 Illegal address 0x02 Illegal address is set.


3 Illegal data 0x03 Illegal data is set.

(7) External communication error

External communication error


No. Name Conditions
Communication was conducted when the printer
is offline.
1 External communication error 042 Communication was conducted during stop
processing.
Unsupported function code was received.
An illegal address was received.
2 External communication error 043
An illegal number of words or bytes was received.

3 External communication error 044 Received data is out of specification.

9
1.5 Data configuration
Data configuration of Holding Registers and Input Registers for IJ Printer is indicated.
(1) Holding Registers
Holding Registers are the area which is written by Write Multiple Registers (0x10) or Write Single
Register (0x06) and read by Read Holding Registers (0x03).
The item data which can be set to IJ printer or can be obtained from IJ printer are all placed in
Holding Registers.
Holding Registers can be read and be written by one (1) word (2 bytes) at every address.

Holding Register data configuration(1/9)


Word
Classification Item name Setting range Contents
address
Start/Stop flag is used when Holding Register is
written more than once. First write “ 1 ” and write
Holding Registers more than once and finally write
00 00 Start/Stop control flag 1, 2
“2”. Then all the written contents will be reflected to
IJ Printer. Start/Stop flag is not used when Holding
Register is written only once. [1:Start, 2:Stop]

00 01 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
00 07 Reserve_7

00 08 Number of the printing items 1 to 100 Set the number of the printing items used.

00 09 Reserve_1
"Reserve" is not initially provided, but may be
… … -
Index added in future.
00 0F Reserve_7
Set Print message information at Input Register
address 0x0E40, which Print message
Specify Print message
00 10 0 to 2000 registration number is specified here. When “0”
registration number
is specified, the print message information of the
print message which is being edited will be set.
Specify Character position for Set Inter-character space at Input Register
00 11 the Inter-character space 1 to 1000 address 0x0EF1, which Character position is
obtained. specified here.
00 12 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
00 1F Reserve_14

00 20 Character count (Print item 1) 1 to 1000

00 21 Character count (Print item 2) 1 to 1000

… … … Sets the character count for each print item.

00 82 Character count (Print item 99) 1 to 1000

00 83 Character count (Print item 100) 1 to 1000

00 84 Attribute (1st digit) 0x0000 to 0xFFFF Set the characters of Print contents. Character codes
are the same as those which are used in Standard
00 85 Print contents Character code (1st digit) 0x0020 to 0xFFFF
communication. Please refer to Communication
… … … User's Manual(Serial).
In case of setting Calendar/Count characters, set to
08 52 Attribute (1000th digit) 0x0000 to 0xFFFF Character attribute, or if they are NOT

08 53 Character code (1000th digit) 0x0020 to 0xFFFF Calendar/Count characters, set to Character code.

08 54 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
0F FF Reserve_1964

10
Holding Register data configuration(2/9)
Word
Classification Item name Setting range Contents
address
Sets the printing item number to erase printing
10 00 Printing erase item number 1 to 100
contents.
10 01 Printings Reserve_1
erasure "Reserve" is not initially provided, but may be
… … -
added in future.
10 05 Reserve_5
Set the registered print message number to be
10 06 Print data message number 1 to 2000
recalled.
10 07 Print data recall Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
10 0B Reserve_5

10 0C Group number 0 to 99

10 0D Print data message number 1 to 2000

10 0E Message name (1st digit) 0x0020 to 0xFFFF Register the being edited print message by the

10 0F Message name (2nd digit) 0x0020 to 0xFFFF specified Group number or by the registered
print message number or by the message name.
… Print data … …

10 18 registration Message name (11th digit) 0x0020 to 0xFFFF

10 19 Message name (12th digit) 0x0020 to 0xFFFF

10 1A Reserve_1
"Reserve" is not initially provided, but may be
… … …
added in future.
10 1F Reserve_6
Line count / print format Line count of all columns are made uniform
10 20 0, 1
uniformity based on the first column.
Adds a column directly before the editing
10 21 Insert column 1 to 100
objective column.
Deletes all the print items of the editing
10 22 Delete column 1 to 100
objective column.

10 23 Add column 1 to 100 Adds a column at the end.


Individual column setup
10 24 1 to 100
(Column position) Changing the number of lines of the editing
Individual column setup objective column.
10 25 1 to 6
(Line count)
10 26 Print format Reserve_1 "Reserve" is not initially provided, but may be
-
10 27 Reserve_2 added in future.

Adjust Inter-character space


10 28 1 to 1000
(Start)
Adjust Inter-character space Inter-character space can be set in character
10 29 1 to 1000
(End) units.
Adjust Inter-character space
10 2A 0 to 28
(Setting value)
10 2B Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
10 3E Reserve_20

11
Holding Register data configuration(3/9)
Word
Classification Item name Setting range Contents
address
Sets the Format Setup.
10 3F Format Setup 1, 3
1:Individual setup, 3:Free layout

10 40 Line count 1 to 6 Sets the line count of the print item 1.

10 41 Line spacing 0 to 4 Sets the line spacing of the print item 1.


Sets the character size of the print item 1.
1:4x5, 2:5x5, 3:5x7(8),
4:9x7(8), 5:7x10, 6:10x12,
10 42 Character size 1 to 15, 20 7:12x16, 8:18x24, 9:24x32,
10:11x11, 11:5x3(chimney),
12:5x5(chimney), 13:7x5(chimney), 14:30x40,
15:36x48, 20:QR33
Sets the inter-character space of the print item
10 43 Inter character space 0 to 28
1.
10 44 Bold 1 to 9 Sets the bold of the print item 1.
Sets the bar code of the print item 1.
0:none, 1:code 39, 2:ITF,
3:NW-7, 4:EAN-13, 5:DM8x32,
6:DM16x16, 7:DM16x36, 8:DM16x48,
9:DM18x18, 10:DM20x20, 11:DM22x22,
12:DM24x24, 13:code 128-B,14:code 128-C,
15:UPC-A, 16:UPC-E, 17:EAN-8,
18:QR21x21, 19:QR25x25, 20:QR29x29,
10 45 Bar code 0 to 35 21:QR33x33, 22:EAN-13add-on5,
Print format 23:μQR15x15,24:GS1-Lim, 25:GS1-Omn,
26:GS1-Sta, 27:DM14x14,
28:DotCode(vertical 7/8 dot),
29:DotCode(vertical 10 dot),
30:DotCode(vertical 12 dot),
31:DotCode(vertical 14 dotト),
32:DotCode(vertical 16 dot),
33:DM12x12, 34:ITF(2dot), 35:DM12x26
Sets the EAN readable code of the print item 1.
10 46 EAN readable code 0 to 2
0:none, 1:5x5, 2:5x7
10 47 EAN Prefix 0 to 99 Sets the EAN prefix of the print item 1.
10 48 Calendar block No. 0 to 8
When writing, setting is NOT required. When
10 49 Calendar block count 0 to 8
reading, Block information can be obtained item
10 4A Count block No. 0 to 8
by item.
10 4B Count block count 0 to 8

10 4C Horizontal (X) 0 to 31999 Valid when Free layout is set.


10 4D Vertical (Y) 0 to 29 Sets the coordinate of the print item 1.

10 4E Reserve_1
"Reserve" is not initially provided, but may be
… -
added in future.
10 57 Reserve_10
10 58 Print format (Print item 2) Item 2 through 100 will be set in the same
… … - configuration as those of Item 1 (Address: from
19 9F Print format (Print item 100) 0x1040 to 0x1057).

12
Holding Register data configuration(4/9)
Word
Classification Item name Setting range Contents
address
19 A0 Character height 0 to 99 Sets the character height.

19 A1 Ink drop use 1 to 16 Sets the ink drop use.


Nozzle diameter Sets the high-speed print.
(65μm) Nozzle diameter(65μm)
0 to 6 0:HM, 1:NM, 2:QM, 3:SM, 4:D1, 5:Reserve, 6:D3
19 A2 High-speed print (40μm) Nozzle diameter(40μm)
0 to 3 0:HM, 1:Reserve, 2:QM, 3:SM
(55μm) Nozzle diameter(55μm)
0 to 7 0:M1, 1:M2, 2:M3, 3:M4, 4:M5, 5:M6, 6:M7, 7:D1
19 A3 Character width 0 to 3999 Sets the character width.

19 A4 Character orientation 0 to 3 Sets the character orientation.


19 A5 Print start delay 0 to 9999 Sets the print start delay.

19 A6 Reverse direction 0 to 9999 Sets the reverse direction.


Sets the product speed matching.
19 A7 Product speed matching 0 to 2
0:None, 1:Encoder, 2:Auto
19 A8 Pulse rate division factor 1 to 999 Sets the pulse rate division factor.
Sets the speed compensation.
19 A9 Speed compensation 0, 1
0:Disable, 1:Enable
Sets the line speed.
Set value is multiplied by 1/10 and reflected to
19 AA Print Line speed 0 to 9999
specification IJ Printer.
(Example : 1234 = 123.4 m/min.)
Distance between print head
19 AB 0 to 99 Sets the distance between print head and work.
and work
Length of the object
19 AC 0 to 9999 Sets the length of the printed object.
to be printed
19 AD Printing length 0 to 9999 Sets the length of the print.

19 AE Repeat count 0 to 9999 Sets the repeat count.

19 AF
Repeat intervals 0 to 99999 Sets the repeat intervals.
19 B0

19 B1 Target sensor timer 0 to 999 Sets the target sensor timer.


Sets the target sensor filter.
19 B2 Target sensor filter 0, 1
0:Time setup, 1:Until end of print.
19 B3 Target sensor filter value 0 to 9999 Sets the target sensor filter value.
"Reserve" is not initially provided, but may be
19 B4 Reserve_1 -
added in future.
19 B5 Speed compensation fine control -50 to 50 Sets the speed compensation fine control.

19 B6 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
19 BF Reserve_10

13
Holding Register data configuration(5/9)
Word
Classification Item name Setting range Contents
address

19 C0 Offset (Year) 0 to 99

19 C1 Offset (Month) 0 to 99
Sets the offset of the Calendar
19 C2 Offset (Day) 0 to 1999
block 1.
19 C3 Offset (Hour) -23 to 99

19 C4 Offset (Minute) -59 to 99

19 C5 Zero-suppression (Year) 0 to 2
Sets the zero-suppression of the
19 C6 Zero-suppression (Month) 0 to 2
Calendar block 1.
19 C7 Zero-suppression (Day) 0 to 2
0:Disable, 1:Enable(Space)
19 C8 Zero-suppression (Hour) 0 to 2 2:Enable(Character fill)
19 C9 Zero-suppression (Minute) 0 to 2

19 CA Substitution rules (Year) 0, 1

19 CB Substitution rules (Month) 0, 1 Sets the substitution rules of the


19 CC Substitution rules (Day) 0, 1 Calendar block 1.

19 CD Substitution rules (Hour) 0, 1 0:Disable, 1:Enable

19 CE Substitution rules (Minute) 0, 1

Sets the substitution rules No. of


19 CF Substitution rules No. 1 to 99
the Calendar block 1.
Substitution rules Sets the substitution rules of the
19 D0 Calendar 0, 1
condition
(Week number) Calendar block 1.
Zero-suppression Sets the zero-suppression of the
19 D1 0 to 2
(Week number) Calendar block 1.
Substitution rules Sets the substitution rules of the
19 D2 0, 1
(Day of week) Calendar block 1.
Zero-suppression Sets the zero-suppression of the
19 D3 0 to 2
(Day of week) Calendar block 1.
Output during calendar
19 D4 updating Trigger 0, 1 [1] Fixed
(Function item for SOP-05)
19 D5 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
19 DF Reserve_11

19 E0
Calendar condition

(Calendar block 2)
Block 2 through 8 will be set in the
19 FF
same configuration as those of
… … -
Block 1 (Address: from 0x19C0 to
1A A0
0x19DF).
Calendar condition

(Calendar block 8)
1A BF

1A C0 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
1C D3 Reserve_532

14
Holding Register data configuration(6/9)
Word
Classification Item name Setting range Contents
address

1C D4 Range (Lower limit) (1st digit) 0x0020 to 0xFFFF

1C D5 Range (Lower limit) (2nd digit) 0x0020 to 0xFFFF Sets the range (Lower limit).

1C D6 Range (Lower limit) (3rd digit) 0x0020 to 0xFFFF

1C D7 Range (Upper limit) (1st digit) 0x0020 to 0xFFFF

1C D8 Range (Upper limit) (2nd digit) 0x0020 to 0xFFFF Sets the range (Upper limit).

1C D9 Range (Upper limit) (3rd digit) 0x0020 to 0xFFFF

1C DA Time count Reset (1st digit) 0x0020 to 0xFFFF

1C DB condition Reset (2nd digit) 0x0020 to 0xFFFF Sets the reset.

1C DC Reset (3rd digit) 0x0020 to 0xFFFF

1C DD Reset time 0 to 23 Sets the reset time.


Sets the renewal period.
1C DE Renewal period 0 to 5 0:5 minutes, 1:6 minutes, 2:10 minutes
3:15 minutes, 4:20 minutes, 5:30 minutes
"Reserve" is not initially provided, but may be
1C DF Reserve_1 -
added in future.

1C E0 Start hour 0 to 23
Sets the start time of the shift code rule 1.
1C E1 Start minute 0 to 59

1C E2 End hour 0 to 23
Sets the end time of the shift code rule 1.
1C E3 End minute 0 to 59

1C E4 Shift code character (1st digit) 0x0020 to 0xFFFF


Sets the shift code character of the
… … …
shift code rule 1.
1C ED Shift code Shift code character (10th digit) 0x0020 to 0xFFFF

1C EE setup Reserve_1 "Reserve" is not initially provided, but may be


-
1C EF Reserve_2 added in future.

1C F0
Shift code rule (Rule 2)
1C FF Shift code 2 through 48 will be set in the same
… … - configuration as those of Shift code 1 (Address:
from 0x1CE0 to 0x1CEF).
1F D0
Shift code rule (Rule 48)
1F DF

15
Holding Register data configuration(7/9)
Word
Classification Item name Setting range Contents
address

1F E0 Value (1st digit) 0x0020 to 0xFFFF

… … … Sets the value of the count block 1.

1F F3 Value (20th digit) 0x0020 to 0xFFFF


Range (Lower limit)
1F F4 0x0020 to 0xFFFF
(1st digit)
Sets the range (Lower limit) of the
… … …
count block 1.
Range (Lower limit)
20 07 0x0020 to 0xFFFF
(20th digit)
Range (Upper limit)
20 08 0x0020 to 0xFFFF
(1st digit)
Sets the range (Upper limit) of the
… … …
count block 1.
Range (Upper limit)
20 1B 0x0020 to 0xFFFF
(20th digit)

20 1C Sets the update (In progress) of 20 1D the count


Update (In progress) 0 to 999998
20 1D block 1.

20 1E Sets the update (Units) of the 20 1F count


Update (Units) 1 to 999999
20 1F Count block 1.

20 20 condition Increment 1 to 99 Sets the increment of the count block 1.


Sets the direction of the count block 1.
20 21 Direction 0, 1
0:up, 1:down

20 22 Jump (from) (1st digit) 0x0020 to 0xFFFF

… … … Sets the jump (from) of the count block 1.

20 35 Jump (from) (20th digit) 0x0020 to 0xFFFF

20 36 Jump (to) (1st digit) 0x0020 to 0xFFFF

… … … Sets the jump (to) of the count block 1.

20 49 Jump (to) (20th digit) 0x0020 to 0xFFFF

20 4A Reset (1st digit) 0x0020 to 0xFFFF

… … … Sets the reset of the count block 1.

20 5D Reset (20th digit) 0x0020 to 0xFFFF


Reset signal Sets the reset signal of the count block 1.
20 5E 0 to 2
(Function item for SOP-05) 0:Disable, 1:Signal 1, 2:Signal 2
Sets the external signal count of the count
External signal count
20 5F 0, 1 block 1.
(Function item for SOP-05)
0:Disable, 1:Enable

16
Holding Register data configuration(8/9)
Word
Classification Item name Setting range Contents
address
Sets the zero-suppression of the count block 1.
20 60 Zero-suppression 0, 1
0:Disable, 1:Enable

20 61 Multiplier (1st digit) 0x0020 to 0x0039 Sets the multiplier of the count block 1.

… … … Numeric:0x0031 to 0x0039
Decimal point:0x002E, Space:0x0020
20 6A Multiplier (10th digit) 0x0020 to 0x0039

20 6B Count skip (1st digit) 0x0020 to 0xFFFF

… … … Sets the count skip of the count block 1.

20 6F Count skip (5th digit) 0x0020 to 0xFFFF

20 70 Count Reserve_1 "Reserve" of the count block 1.


… condition … - "Reserve" is not initially provided, but may be

20 73 Reserve_4 added in future.

20 74

… Count condition (Count block 2)

21 07 Block 2 through 8 will be set in the same


… … - configuration as those of Block 1

23 EC (Address: from 0x1FE0 to 0x2073).

… Count condition (Count block 8)

24 7F
Sets the calendar offset.
24 80 Calendar offset 0, 1
0:Offset from yesterday, 1:From today
"Reserve" is not initially provided, but may be
24 81 Reserve_1 -
added in future.
Sets the EAN prefix.
24 82 EAN Prefix 0, 1
0:Edit message, 1:Print format
Adjust print Sets the barcode printing.
24 83 Barcode printing 0, 1
parameters 0:Normal, 1:Reverse
Sets the QR error correction level.
24 84 QR Error correction level 0, 1
0:M (15%), 1:Q (25%)
24 85 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
24 8F Reserve_11
Change the on-line or off-line.
24 90 On-line / Off-line 0, 1
0:Offline, 1:Online
24 91 On-line/Off-line Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
24 93 Reserve_3
Specifies remote operation to IJP.
0:Operation start
1:Operation stop
24 94 Remote operation 0 to 4
2:Deflection voltage control (ON)
Remote 3:Deflection voltage control (OFF)
operation 4:Fault clear
24 95 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
24 97 Reserve_3

17
Holding Register data configuration(9/9)
Word
Classification Item name Setting range Contents
address

24 98 Current time (year) 2000 to 2037

24 99 Current time (month) 1 to 12

24 9A Current time (day) 1 to 31


Sets the current time.
24 9B Current time (hour) 0 to 23

24 9C Current time (minute) 0 to 59

24 9D Current time (second) 0 to 59


Sets the calendar time control.
24 9E Calendar time control 0,1 0:same as current time
1:clock stop

24 9F Date / time Calendar time (year) 2000 to 2037

24 A0 setup Calendar time (month) 1 to 12

24 A1 Calendar time (day) 1 to 31 Sets the calendar time.

24 A2 Calendar time (hour) 0 to 23

24 A3 Calendar time (minute) 0 to 59

24 A4 Calendar time (second) 0 to 59


Sets the clock system.
24 A5 Clock system 0, 1
0:24-hour clock, 1:12-hour clock
24 A6 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
24 AF Reserve_10

24 B0 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
25 AF Reserve_256

25 B0 Ink operating time 0 to 9999 Sets the ink operating time.

25 B1 Ink alarm time 0 to 9999 Sets the ink alarm time.

25 B2
Operation Print count 0 to 999999999 Sets the print count.
25 B3
management
25 B4 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
25 B7 Reserve_4

25 B8 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
25 DF Reserve_40

25 E0 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
25 EF Reserve_16
Manage Number to delete the stored Deletes the stored message of the selected
25 F0 1 to 2000
messages message number.
25 F1 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
26 0F Reserve_31

26 10 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
FF FF Reserve_55792

18
(2) Input Registers
Input Registers are the area read by Read Input Registers (0x04). The item data is placed, which
can be obtained from IJ Printer. Input Registers can be read by one (1) word (2 bytes) at every
address.

Input Register data configuration (1/7)


Word
Classification Item name Setting range Contents
address
Communication connection Gets the communication connection status.
00 00 0x0030/0x0031
status 0x0030:Offline, 0x0031:Online
Gets the receive enable/disable status.
00 01 Receive enable/disable status 0x0030/0x0031 0x0030:Reception not possible
0x0031:Reception possible
Gets the operation status.
00 02 Operation status 0x0000 to 0xFFFF Status can be obtained by use of the same code

as that of the Status output of SOP-04 (Special

00 03 Warning status 0x0000 to 0xFFFF Communication Function A). Refer to Software


Option Specification SOP-04 for details.

Cause will be obtained when the external


Analysis information 1
00 04 0x0000 to 0xFFFF communication error occurred during Modbus
(Function code)
communication. Refer to 1.6 (1) Details of
Unit status Analysis information for details.
Analysis information 2 ・Analysis information 1
00 05 0x0000 to 0xFFFF
(Classification code) Function code is obtained when error is caused.
・Analysis information 2

Analysis information 3 Classification code is obtained when error is


00 06 0x0000 to 0xFFFF caused.
(Error factor)
・Analysis information 3
Error factor is obtained when error is caused.
Analysis information 4
00 07 0x0000 to 0xFFFF ・Analysis information 4
(Preparation for future)
[0x0000] Fixed

00 08 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
00 0F Reserve_8

00 10 Type name(1st digit) 0x0020 to 0x007A

00 11 Type name(2nd digit) 0x0020 to 0x007A Gets the type name.

… … … Model name UX2-D160W is obtained when it is


used.
00 1E Type name(15th digit) 0x0020 to 0x007A

00 1F Type name(16th digit) 0x0020 to 0x007A

00 20 00000000 to
Unit information Serial number Gets the serial number.
00 21 99999999

00 22 Ink name(1st digit) 0x0030 to 0x007A

00 23 Ink name(2nd digit) 0x0030 to 0x007A


Gets the ink name.
… … …
Ink type 1067K is obtained when it is used.
00 2A Ink name(9th digit) 0x0030 to 0x007A

00 2B Ink name(10th digit) 0x0030 to 0x007A

19
Input Register data configuration (2/7)
Word
Classification Item name Setting range Contents
address
Gets the input mode.
00 2C Input mode 1 to 3, 5 1:Default, 2:Kana, 3:Special Kanji, 5:Traditional
SP Kanji
Maximum message length Gets the maximum message length
00 2D 240 to 1000
(Characters) (Characters).
00 2E Maximum registers 300 to 2000 Gets the maximum registers.
Gets the 2D code print.
00 2F 2D code print 0, 1
0:NOT supported, 1:supported
Gets the Settable sizes.
Bit information is obtained for availability
00 30 Character size 0x0000 to 0x0007 of Character size of 4x5 or 18x24 or 24x32.
0x0001:4x5, 0x0002:18x24
Unit information 0x0004:24x32
Maximum calendar/count block
00 31 3, 8 Gets the maximum calendar/count block count.
count
00 32 Replacement items 48, 99 Gets the replacement items.
Gets the shift code/time count.
00 33 Shift code/Time count 0, 1
0:NOT supported, 1:supported
Gets the chimney/DIN print.
00 34 Chimney/DIN print 0, 1
0:NOT supported, 1:supported
00 35 Maximum column 2 to 6 Gets the maximum column.

00 36 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
00 4F Reserve_26

00 50 Ink operating time 0 to 9999 Gets the ink operating time.


00 51 Ink alarm time 0 to 9999 Gets the ink alarm time.

00 52
Print count 0 to 999999999 Gets the print count.
00 53

00 54
Cumulative operation time 0 to 999999 Gets the cumulative operation time.
00 55

00 56 Ink/makeup ink type 1 to 999 Gets the ink/makeup ink type.

00 57 Ink viscosity 0 to 999 Gets the ink viscosity.


Gets the ink pressure.
00 58 Ink pressure 0 to 999 Ink pressure multiplied by 1000 is obtained.

Operation (Example : 255 = 0.255 MPa)


00 59 management Ambient temperature -99 to 100 Gets the ambient temperature.
Gets the deflection voltage.
00 5A Deflection voltage 0 to 99 Deflection Voltage multiplied by 10 is obtained.
(Example : 57 = 5.7 kV)
00 5B Excitation V-ref. 0 to 27 Gets the excitation V-ref.
Gets the excitation frequency.
Excitation frequency multiplied by 10 is
00 5C Excitation frequency 0 to 1000
obtained.
(Example : 689 = 68.9 kHz)
00 5D Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
00 6F Reserve_19

20
Input Register data configuration (3/7)
Word
Classification Item name Setting range Contents
address
Obtain the fault/warning message count, and
updates the history data (Address: from 0x0074
to 0x0343) of up to latest 90 information.
00 70 Fault/warning message count 0 to 90
Unless this address is obtained, the history data
does not update and the latest information
cannot be obtained.
00 71 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
00 73 Reserve_3

00 74 Generation time(year) 2000 to 2037

00 75 Generation time(month) 1 to 12

00 76 View alarm Generation time(day) 1 to 31


Gets the generation time of the message 1.
00 77 history Generation time(hour) 0 to 23

00 78 Generation time(minute) 0 to 59

00 79 Generation time(second) 0 to 59

00 7A Fault/warning No. 1 to 999 Gets the fault/warning No. of the message 1.


"Reserve" is not initially provided, but may be
00 7B Reserve_1 -
added in future.
00 7C
Fault/warning message 2
00 83 Fault/warning history 02 through 90 are obtained
… … - in a same way as that of Fault warning history
01 (Address: from 0x0074 to 0x007B)
03 3C
Fault/warning message 90
03 43

03 44 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
0B BF Reserve_2172

21
Input Register data configuration (4/7)
Word
Classification Item name Setting range Contents
address
Gets the ink concentration control.
0B C0 Ink concentration control 0, 1
0:Disable, 1:Enable
0B C1 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
0B CF Reserve_15

0B D0 Ink filter use time 0 to 65099 Gets the ink filter use time.

0B D1 Makeup filter use time 0 to 65099 Gets the makeup filter use time.

0B D2 Recovery filter use time 0 to 65099 Gets the recovery filter use time.

0B D3 Air filter use time 0 to 65099 Gets the air filter use time.

0B D4 Circulation filter use time 0 to 65099 Gets the circulation filter use time.

0B D5 MGV filter use time 0 to 65099 Gets the MGV filter use time.

0B D6 Supply pump use time 0 to 65099 Gets the supply pump use time.

0B D7 Heating unit use time 0 to 65099 Gets the heating unit use time.

0B D8 MV1 use time 0 to 65099 Gets the MV1 use time.

0B D9 MV2 use time 0 to 65099 Gets the MV2 use time.

0B DA MV3 use time 0 to 65099 Gets the MV3 use time.

0B DB MV4 use time 0 to 65099 Gets the MV4 use time.

0B DC MV5 use time 0 to 65099 Gets the MV5 use time.

0B DD MV6 use time 0 to 65099 Gets the MV6 use time.

0B DE MV7 use time 0 to 65099 Gets the MV7 use time.


Circulation
0B DF control MV8 use time 0 to 65099 Gets the MV8 use time.

0B E0 MV9 use time 0 to 65099 Gets the MV9 use time.


"Reserve" is not initially provided, but may be
0B E1 Reserve_1 -
added in future.

0B E2 MV12 use time 0 to 65099 Gets the MV12 use time.

0B E3
Ink consumption 0 to 999999 Gets the ink consumption.
0B E4

0B E5
Makeup consumption 0 to 999999 Gets the makeup consumption.
0B E6

0B E7
Print count 0 to 999999999 Gets the print count.
0B E8

0B E9 R air filter use time 0 to 65099 Gets the R air filter use time.
"Reserve" is not initially provided, but may be
0B EA Reserve_1 -
added in future.
0x0E(Empty)
0B EB Ink remaining level 0x01 to 0x06 Gets the ink remaining level.
0x0F(Full)
0x0E(Empty)
0B EC Makeup remaining level 0x01 to 0x06 Gets the makeup remaining level.
0x0F(Full)
0B ED Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
0C 1F Reserve_51

22
Input Register data configuration (5/7)
Word
Classification Item name Setting range Contents
address

0C 20 Basic software(1st digit) 0x0020 to 0xFFFF

0C 21 Basic software(2nd digit) 0x0020 to 0xFFFF Gets the basic software version.

… … … When the version is V01.00, “V01.00 Basic


software” is obtained.
0C 3E Basic software(31st digit) 0x0020 to 0xFFFF

0C 3F Basic software(32nd digit) 0x0020 to 0xFFFF

0C 40 Controller software(1st digit) 0x0020 to 0xFFFF

0C 41 Controller software(2nd digit) 0x0020 to 0xFFFF Gets the controller software version.

… … … When the version is V01.00, “V01.00 Controller


software” is obtained.
0C 5E Controller software(31st digit) 0x0020 to 0xFFFF

0C 5F Controller software(32nd digit) 0x0020 to 0xFFFF


Print controller software E
0C 60 0x0020 to 0xFFFF
(1st digit)
Print controller software E
0C 61 0x0020 to 0xFFFF
(2nd digit) Gets the print controller software E version.
… … … When the version is V01.00, “V01.00 Engine

Print controller software E software E” is obtained.


0C 7E 0x0020 to 0xFFFF
(31st digit)
Print controller software E
0C 7F View software 0x0020 to 0xFFFF
(32nd digit)
version
0C 80 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
0C DF Reserve_96

0C E0 Software option01(1st digit) 0x0020 to 0xFFFF

0C E1 Software option01(2nd digit) 0x0020 to 0xFFFF

… … …

0C FE Software option01(31st digit) 0x0020 to 0xFFFF

0C FF Software option01(32nd digit) 0x0020 to 0xFFFF Gets the software option version and symbol.

… … … When SOP-04 is installed and its version is


V01.00, “V01.00 SOP-04” is obtained.
0E 00 Software option10(1st digit) 0x0020 to 0xFFFF

0E 01 Software option10(2nd digit) 0x0020 to 0xFFFF

… … …

0E 1E Software option10(31st digit) 0x0020 to 0xFFFF

0E 1F Software option10(32nd digit) 0x0020 to 0xFFFF

0E 20 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
0E 3F Reserve_32

23
Input Register data configuration (6/7)
Word
Classification Item name Setting range Contents
address
0E 40 Print data message number 1 to 2000
0E 41 Group number 0 to 99 When Print message registration number is
0E 42 Message name(1st digit) 0x0020 to 0xFFFF specified at Holding Register address 0x0010, its
… … … Group number and Message name are obtained.

0E 4D Message name(12th digit) 0x0020 to 0xFFFF

0E 4E Reserve_1
"Reserve" is not initially provided, but may be
… Manage … -
added in future.
0E 52 messages Reserve_5

Print message registration Status of Print message registration (Registered


0E 53 0x0000 to 0xFFFF
(001) or NOT) is obtained by bit information ON or
OFF. Print message registration (001) shows 16
… … … statuses of Print message registrations 1 through
16 starting from the upper bit. Subsequently,
Print message registration the same data structure as those of Print
0E CF 0x0000 to 0xFFFF
(125) message registration (001) will follow.
0E D0 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
0E EF Reserve_32

24
Input Register data configuration (7/7)
Word
Classification Item name Setting range Contents
address
Gets the message data length (Character
0E F0 Current message data length 0 to 2000
count x 2) of the current message.
When Character position is specified at Holding
Inter-character space
0E F1 0 to 28 Register address 0x0011, its Inter-character
(character units)
space will be obtained.
Gets the calendar block count of
0E F2 Calendar block count 0 to 8
the current message.
Calendar characters count
0E F3 0 to 20
(Calendar block 1)
Calendar characters count
0E F4 0 to 20
(Calendar block 2)
Gets the calendar characters count
… … …
for 8 blocks of the current message.
Calendar characters count
0E F9 0 to 20
(Calendar block 7)
Calendar characters count
0E FA 0 to 20
(Calendar block 8)
Gets the time count block No. of
0E FB Time count block No. 0 to 8
the current message.
Gets the shift code block No. of the
0E FC Shift code block No. 0 to 8
current message.
Gets the shift code rule count of
0E FD Shift code rule count 0 to 48
the current message.
Gets the count block count of the
0E FE Various data Count block count 0 to 8
current message.
Count characters count
0E FF 0 to 20
(Count block 1)
Count characters count
0F 00 0 to 20
(Count block 2)
Gets the count characters count
… …
for 8 blocks of the current message.
Count characters count
0F 05 0 to 20
(Count block 7)
Count characters count
0F 06 0 to 20
(Count block 8)
0F 07 Reserve_1
"Reserve" is not initially provided, but may be
… … -
added in future.
0F 0F Reserve_9
Inter-character space
0F 10 0 to 28
(1st digit)
Inter-character space
0F 11 0 to 28
(2nd digit)
Gets the inter-character space for
… … …
1000 characters of the current message.
Inter-character space
12 F6 0 to 28
(999th digit)
Inter-character space
12 F7 0 to 28
(1000th digit)
12 F8 Reserve_1
"Reserve" is not initially provided, but may be
… Reserve … -
added in future.
13 0F Reserve_24

25
1.6 Detail of Data configuration
(1) Details of Analysis information
When an error occurs in the external communication being conducted, the error cause can be
obtained from the analysis information of IJ printer status available at Input Registers.
• Analysis information 1 (Function Code): Functional code of the communication message which
resulted in error.
• Analysis information 2 (Classification code): Functional classification of the communication
message which resulted in error.
• Analysis information 3 (Error factor): Cause which resulted in error.
• Analysis information 4 (Preparation for future): Reserved area for future use. 0x0000 fixed.

Code table of Analysis information


No. Item Code Content
0x0010 Write on Holding Register
0x0006 Write one word on Holding Register
0x0003 Read Holding Register
Analysis information 1
1 0x0004 Read Input Register
(Function code)
Other
than the Function code which is NOT available
above
0x0000 No classification assigned
0x0001 Index
0x0002 Print description
0x0003 Delete of Print contents
0x0004 Print data Recall
0x0005 Print data Register
0x0006 Print format
0x0007 Print specification
0x0008 Calendar conditions
0x0009 Substitution rules.
0x000A Time count
0x000B Shift code
0x000C Count conditions
Analysis information 2
2 0x000D Various print setup
(Classification code)
0x000E Online/Offline
0x000F Remote operation
0x0010 Time control
0x0011 User environment setup (Preparation for future)
0x0012 Touch screen setup
0x0014 Operation management
0x0015 Circulation control
0x0016 Print data management
0x0017 Group control
0x0018 Editing Substitution rules
0x001A Print job control (Preparation for future)
0x001B User pattern (Fixed size)
0x001C User pattern (Free size)
0x0001 Invalid Function code
0x0002 Invalid Address
0x0003 Invalid Data size
Analysis information 3 0x0005 Invalid Offline
3
(Error factor) 0x0006 Invalid Message repeat print
Communication is NOT allowed when Ink ejection is
0x0007
stopped.
0x0010 Invalid data
Analysis information 4
4 0x0000 0x0000 fixed.
(Preparation for future)

26
1.7 Modbus communication rule for IJ Printer
The Modbus communication rule for IJ printer is described. Please read them carefully and fully
understand and use the IJ printer.

(1) When IJ Printer is Offline, Offline/Online switching and Read Input Registers are only available. In
case of Read Holding Registers or Write Multiple/Single Register(s), please place IJ Printer Online.

(2) When Holding Registers which overlap the plural functional classifications are read/written by one
communication message, it will NOT work correctly. If reading/writing operation of the Registers
overlaps their functional classification, please separate the message into plural
messages so that one message will NOT overlap plural functional classifications

(3) When IJ Printer receives Modbus communication, IJ Printer will reflect the contents of the message
each time of communication. If plural writing operations are conducted, please use Start/Stop control
flag which are placed at the leading address of Holding Registers.

(4) Start/Stop control flag will be used when the data more than 247 bytes are written on Holding
Registers or when the writing operation is made on the Registers of which addresses are NOT
consecutive. When the Start (0x0001) is written on Start/Stop control flag, the written data is held
and there will be NO writing operation onto Holding Registers. When the Stop (0x0002) is written on
Start/Stop control flag, all the data held on Holding Registers will be reflected to IJ Printer.

(5) Character codes are the same as those which are used in Standard communication.
Please refer to Communication User's Manual (Serial), for details.
In Modbus communication, Shift code characters and Time count characters can be also used
and communicated. They are shown in the table below.

Shift code character 0xF25B Time count character 0xF25C


Shift code start character 0xF26B Time count start character 0xF26C
Shift code end character 0xF27B Time count end character 0xF27C

(6) If the external signal was input for Print Data Recall, etc. when Read Holding Registers was
conducted more than once, there is a possibility that the data before external signal input and the
data after external signal input are mixed and the read result would be an unexpected data.
Therefore, when Modbus communication and the external signals are used together, it is
recommended to control the input timing of the external signal so that they will NOT overlap.

27
1.8 Examples of Transmission procedure
(1) In case of changing the character size of Item 1 to “7x10”:
Step 1. Write 7x10 on the character size of Item 1 by Holding Register writing.

External Unit IJ printer

1 Write “7x10” on the character size of Item 1 by Holding Register writing. (Function code: 0x10)
[Request message data of Holding Register writing]
0000 0000 0009 01 10 1042 0001 02 0005
[Response message data of Holding Register writing]
0000 0000 0006 01 10 1042 0001 (Hexadecimal notation)

Holding Register writing request

Reflection in process
Holding Register writing response

Contents of Request message


Request
No. Name
data
1 Transaction identifier 0x0000
2 Protocol identifier 0x0000
3 Data length 0x0009
4 Device address 0x01
5 Function code 0x10
6 Start address 0x1042
Data
7 No. of words to be written 0x0001
8 No. of bytes to be written 0x02
9 Data to be written 0x0005

Contents of Response message


Response
No. Name
data
1 Transaction identifier 0x0000
2 Protocol identifier 0x0000
3 Data length 0x0006
4 Device address 0x01
5 Function code 0x10
Data
6 Start address 0x1042
7 No. of words to be written 0x0001

28
(2) In case of setting the print contents of Item 1 to "ABC123":
Step 1. Write “Start” on Start/Stop control flag by Holding Register writing.
Step 2. Write “6” on Character count of Item 1 by Holding Register writing.
Step 3. Write “ABC123” on the print contents of Item 1 by Holding Register writing.
Step 4. Write “Stop” on Start/Stop control flag by Holding Register writing.

External Unit IJ printer

1 Write “Start” on Start/Stop control flag by Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0009 01 10 0000 0001 02 0001
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0000 0001 (Hexadecimal notation)

Holding Register writing request

Holding Register writing response

2 Write “6” on Character count of Item 1 by Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0009 01 10 0020 0001 02 0006
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0020 0001 (Hexadecimal notation)

Holding Register writing request

Holding Register writing response

3 Write “ABC123” on the print contents of Item 1 by Holding Register writing. (function code:
0x10).
[Request message data of Holding Register writing]
0000 0000 001F 01 10 0084 000C 18 0000 0041 0000 0042 0000 0043 … 0000 0033
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0084 000C (Hexadecimal notation)

Holding Register writing request

Holding Register writing response

4 Write “Stop” on Start/Stop control flag by Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0009 01 10 0000 0001 02 0002
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0000 0001 (Hexadecimal notation)

Holding Register writing request

Reflection in process
Holding Register writing response

29
(3) In case of setting “Year, month and day” of Calendar characters on the print
contents of Item1:
Step 1. Write “Start” on Start/Stop control flag by Holding Register writing.
Step 2. Write “3” on Character count of Item 1 by Holding Register writing.
Step 3. Write “Year, month and day” of Calendar characters on the print contents of Item 1 by
Holding Register writing.
Step 4. Write “Stop” on Start/Stop control flag by Holding Register writing.

External Unit IJ printer

1 Write “Start” on Start/Stop control flag by Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0009 01 10 0000 0001 02 0001
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0000 0001 (Hexadecimal notation)

Holding Register writing request

Holding Register writing response

2 Write “3” on Character count of Item 1 by Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0009 01 10 0020 0001 02 0003
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0020 0001 (Hexadecimal notation)

Holding Register writing request

Holding Register writing response

3 Write “Year, month and day” of Calendar characters on the print contents of Item 1 by
Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0013 01 10 0084 0006 0C F260 0000 F251 0000 F272 0000
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0084 0006 (Hexadecimal notation)

Holding Register writing request

Holding Register writing response

4 Write “Stop” on Start/Stop control flag by Holding Register writing. (function code: 0x10).
[Request message data of Holding Register writing]
0000 0000 0009 01 10 0000 0001 02 0002
[Response message data of Holding Register writing]
0000 0000 0006 01 10 0000 0001 (Hexadecimal notation)

Holding Register writing request

Reflection in process
Holding Register writing response

30
(4) In case of getting Unit information of IJ Printer:
Step 1. Read Unit information by Input Register reading.

External Unit IJ printer

1 Read Unit information by Input Register reading. (function code: 0x04).


[Request message data of Input Register reading]
0000 0000 0006 01 04 0000 0008
[Response message data of Input Register reading]
0000 0000 0013 01 04 10 0031 0031 0030 0030 0000 0000 0000 0000 (Hexadecimal notation)

Input Register reading request

Input Register reading response

31
1.9 Troubleshooting guide
In case IJ does not work correctly, please troubleshoot referring to the table below:

Phenomenon Check Solution


Confirm IJ Printer connection, referring
Is LAN cable properly
to “Communication User's
connected to IJ Printer?
Manual(Common)”.

Is IJ Printer’s main power Power ON IJ Printer’s main power


switch turned ON? switch.

First turn OFF the main switch.


Is IJ Printer’s plug surely
Confirm if the power outlet is
inserted into Power outlet?
activated or not. And then, insert the
Is Power outlet activated?
plug into the outlet.

Is IJ Printer connected to LAN of


Set IJ Printer to an IP address of
the same network
External device can the same network segment.
segment?
NOT communicate
to IJ Printer.
Is IP address which was set to IJ If there is a possibility of the duplicate IP
Printer the duplicate of other address, please disconnect LAN cable
device on the network? and change IP address.

Please temporarily disable Firewall


Is communication blocked by the
protection of Windows or the security
security software?
software and retry.

Is IP address or Port number


Confirm setting of external device.
properly set for external device?

When IJ Printer is IJ Printer saves the data when ink


powered ON again, ejection is stopped. Please power
the data which was Did you power OFF IJ Printer OFF IJ Printer after ink ejection
supposed to be after ink ejection was stopped? stop process is complete. Data will NOT
changed is NOT be held when data change is made via
changed. communication during stand-by.

32

You might also like