Page 1
□□□-3-0010 HITACHI Printer Model UX2 Communication User's Manual (OPC-UA) ● 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.
1. Communication Specification 1.1 OPC-UA Server Function 1.1.1 OPC-UA Server Specifications The OPC-UA server becomes the following specifications. List of OPC-UA Server Item Detail Server URL opc.tcp://[IP Address]:4840 Editing of the node Disable...
1.1.2 About Nodes The Variable node requires two, "Read Service" and "Write Service". A node needs a NameSpace and ID for each function to execute. Node structure Node Type Service Notes Variable Read Service Get the value Write Service Set the value Method Call Service Perform function...
1.2 OPC-UA Function List The following is a list of functions that can be used with OPC-UA. OPC-UA Function List Function Description Index function OPC-UA communication function is management function. Message_management Register / delete print data and acquire and set the registration function information of registered print data.
1.3 Supported Services The main services supported by the OPC-UA server are shown below. List of supported main services Service Notes View Service Set Browse Service IJP Node information can be acquired Attribute Service Set Read Service IJP data acquisition is possible Write Service IJP data settings are possible Method Service Set...
1.4 Operating Conditions (1) Functional restrictions List of function restrictions Item Conditions Notes LAN function LAN communication OPC-UA Connection only. "OPC-UA communication" Disabled Special communication (SOP-04) Disabled External signal (SOP-05) Option Disabled Barcode reader connection (SOP-08) (Invalid) Disabled Special features (SOP-15-nn) Disabled User pattern 500 characters (SOP-25) When Off-line:...
1.5 IJP Object Specifications (1) Index List of Index (1/1) Node name Access Data Data type Notes (Display name) (Node Class) Range Item_No UInt32 Read / Write 1 to 100 An initial value is "1". (Variable) Column_No UInt32 Read / Write 1 to 100 An initial value is "1".
(2) Message_management List of Message_management (1/1) Node name Access Data Data type Notes (Display name) (Node Class) Range Call_Message (Method) 1 to 2000 Select Print Data. (1 to 300) Set item number in "PrintMessage_No" of index function. (300: without Upgrade key) Delete_Message (Method) 1 to 2000...
(3) Print_Format List of Print_Format (1/2) Node name Data Access Data Notes (Display name) type (Node Class) Range Message_Name String Read Get Message Name. 0 to 12 (Variable) characters (UTF-8) Item_Count UInt32 Read 1 to 100 Get number of items. (Variable) Column_Count UInt32...
Page 12
List of Print_Format (2/2) Node name Data Access Data Notes (Display name) type (Node Class) Range Barcode UInt32 Read / Write 0 to 34 Getting or Setting of bar code type. (Variable) Set item number in "Item No" of index function. Please refer to "2.2 Bar code"...
(4) Print_Specifications List of Print_Specifications (1/2) Node name Access Data Data type Notes (Display name) (Node Class) Range Character Height UInt32 Read / Write 0 to 99 Getting or Setting of character height. (Variable) Ink_Drop_Use UInt32 Read / Write 1 to 16 Getting or Setting of Ink drop use.
Page 14
List of Print_Specifications (2/2) Node name Access Data Data type Notes (Display name) (Node Class) Range Actual_Print_Width UInt32 Read / Write 0 to 9999 Getting or Setting of actual print (Variable) width. Repeat_Count UInt32 Read / Write 0 to 9999 Getting or Setting of repeat count.
(5) Calendar_Condition List of Calendar Condition (1/4) Node name Data Access Data Notes (Display name) type (Node Class) Range Block_Number_ UInt32 Read 1 to 8 Getting of the top calendar block number of the In_Item (Variable) designated item. Set item number in "Item No" of index function. Block_Count_ UInt32 Read...
Page 16
List of Calendar Condition (2/4) Node name Data Access Data Notes (Display name) type (Node Class) Range Week_Number_ UInt32 Read / Write 0 to 2 Getting or Setting of Zero-suppression value Zero_Suppression (Variable) (Weeks) Set item number in "Calendar Block No" of index function.
Page 17
List of Calendar Condition (3/4) Node name Data Access Data Notes (Display name) type (Node Class) Range Day_ UInt32 Read / Write 0 to 1 Getting or Setting of Substitution rules Susbstitution_Rule (Variable) (Day) Set item number in "Calendar Block No" of index function.
Page 18
List of Calendar Condition (4/4) Node name Data Access Data Notes (Display name) type (Node Class) Range Start_Hour_Time UInt32 Read / Write 0 to 23 Getting or Setting of start time (Hour) (Variable) Set item number in "Shift Block No" of index function.
(6) Count_Condition List of Count_Condition (1/2) Node name Data Access Data Notes (Display name) type (Node Class) Range Block_Number_In_Item UInt32 Read 1 to 8 Getting of the top count block number of the (Variable) designated item. Set item number in "Item No" of index function.
Page 20
List of Count_Condition (2/2) Node name Access Data Data type Notes (Display name) (Node Class) Range Reset_Signal UInt32 Read / Write 0 to 2 Getting or Setting of the type of reset signal (Variable) (Option). Set item number in "Count Block No" of index function.
(7) IJP_User_Pattern List of IJP_User_Pattern (1/1) Node name Data Access Data Notes (Display name) type (Node Class) Range Fixed_Or_Free UInt32 Read / Write 0 to 1 Getting or Setting of User Pattern type "Fixed" or (Variable) "Free". * User Pattern type 0 : Fixed 1 : Free Pattern_No...
(8) IJP_Substitution_Rules List of IJP_Substitution_Rules (1/2) Node name Data Access Data Notes (Display name) type (Node Class) Range Substitution_No UInt32 Read / Write 1 to 99 Getting or Setting of substitution (Variable) rules number. Set item number in "Calendar Block No" of index function. Subst_Rusle_Name String Read / Write...
Page 23
List of IJP_Substitution_Rules (2/2) Node name Data Access Data Notes (Display name) type (Node Class) Range SubstitutionRule_Week_ String Read / Write 3 digits Getting or Setting the character Number (Variable) (UTF-8) string of the substitution rules value(Week Number). Set item number in "Substitution rules Setting"...
(9) IJP_UnitInformation List of IJP_UnitInformation (1/1) Node name Data Access Data Notes (Display name) type (Node Class) Range Type_Name String Read Getting of model name information. (Variable) Serial_Number UInt32 Read 0 to Getting of serial number. (Variable) 99999999 Ink_Type String Read Getting of ink name.
(10) Various_Print_Setup List of Various_Print_Setup (1/1) Node name Data Access Data Notes (Display name) type (Node Class) Range Calendar_Offset UInt32 Read/Write 0 to 1 Getting/Setting of calendar offset setup. (Variable) 0: Offset from yesterday 1: From today DIN_Print UInt32 Read/Write 0 to 1 Getting/Setting of DIN print setup.
(11) Operation_Management List of Operation_Management (1/1) Node name Data Access Data Notes (Display name) type (Node Class) Range Ink_Operation_Time UInt32 Read / Write 0 to 9999 Getting of remote operation (Variable) information. Ink_Alarm_Time UInt32 Read / Write 0 to 9999 Getting of warning condition.
(12) Environment_Setup List of Environment_Setup (1/2) Node name Data Access Data Notes (Display name) type (Node Class) Range Current_Time UInt32 Read / Write - Year (2000 to 2037) Getting/Setting of IJP current time or (Variable) - Month (1 to 12) calendar time.
Page 28
List of Environment_Setup (2/2) Node name Data Access Data Notes (Display name) type (Node Class) Range Circulation_ UInt32 Read -Ink concentration Order of the parameters Control (Variable) control -Ink concentration control (0 to 1) 0: Disable, 1: Enable -Ink Consumption -Free space (0 to 999999) -Free space...
(13) IJP_Operation List of IJP_Operation (1/1) Node name Data Access Data Notes (Display name) type (Node Class) Range Operation_Status UInt32 Read 1 to 10 1: Stop (Variable) 2: Standby 3: Ready 4: Starting 5: Stopping 6: Drop adjust 7: Cover open 8: Service 9: Fault 10: Ink heating...
2.2 Bar code List of Bar code(1/1) Bar code No. Bar code Type Bar code Attribute None Code39 NW-7 EAN-13(JAN-13) No identification code Identification Code (5 x 5) Identification Code (5 x 7) (8x32) (16x16) (16x36) (16x48) (18x18) (20x20) (22x22) (24x24) Code128 Code setB...
2.3 Communication_Environment_Setup Table List of Communication Environment Setup Table(1/1) OPC-UA Setting Content Notes Array 0:Comm. port is OFF State at power-up 1:Comm. port is ON 2:OFF fixed 0:Warning, 1:Error Communication and signal error 1:150, 2:300, 3:600, 4:1200, [Standard port] Baud rate (bps) 5:2400, 6:4800, 7:9600, 8:19200, 9:38400, 10:57600, 11:115200...
2.4 External Communication Error The following table lists the causes of external communication errors. When an external communication error occurs, "External communication error XXX" is displayed on the screen of the IJ printer. The error codes shown in the following list are displayed in the "XXX" section. External communication error cause list(1/12) Error Function...
Page 39
External communication error cause list(2/12) Error Function Sub-item Expected error code (major item) The column number specified by "Index" exceeds the Print_Format Delete_Column maximum number of columns of the currently edited data. Print_Format Add column to end Incorrect format type. The number of columns exceeds the maximum Print_Format Add column to end...
Page 40
External communication error cause list(3/12) Error Function Sub-item Expected error code (major item) The item number specified in the index “print fields” Print_Format Bar code kinds exceeds the maximum number of items in the print data being edited. Print_Format Bar code kinds Input data "bar code number"...
Page 41
External communication error cause list(4/12) Error Function Sub-item Expected error code (major item) Print_Specification Change confirmation processing execution error. Print_Specification Character height Input data "Character height" is out of range. Input data "Character height" is smaller than user Print_Specification Character height environment setting "minimum character height".
Page 42
External communication error cause list(5/12) Error Function Sub-item Expected error code (major item) The block specified by the index "Calendar block No" is Calendar_Condition Offset(Day) larger than the number used. The block specified by the index "Calendar block No" is Calendar_Condition Offset(Day) larger than the available number...
Page 43
External communication error cause list(6/12) Error Function Sub-item Expected error code (major item) The block specified by the index "Calendar block No" is Zero-suppression Calendar_Condition out of range. (Minutes) The block specified by the index "Calendar block No" is Zero-suppression Calendar_Condition larger than the number used.
Page 44
External communication error cause list(7/12) Error Function Sub-item Expected error code (major item) Substitution rules Calendar_Condition Input data "Offset" is out of range. (Day) There is no target calendar character in the calendar Substitution rules Calendar_Condition block. (Day) Substitution rules Calendar_Condition The target item is a Bar code.
Page 45
External communication error cause list(8/12) Error Function Sub-item Expected error code (major item) Time Count No Time Count. Calendar_Condition Range end value Time Count Calendar_Condition Illegal character code of input data. Range end value Time Count Calendar_Condition The number of input data characters is out of range. Range end value Time Count Calendar_Condition...
Page 46
External communication error cause list(9/12) Error Function Sub-item Expected error code (major item) Index specification "Block No" exceeds maximum Count_Condition Initial value of count (upgrade). Index specification "Block No" is greater than or equal Count_Condition Initial value of count to the set number. Count_Condition Initial value of count Input data "Value"...
Page 47
External communication error cause list(10/12) Error Function Sub-item Expected error code (major item) Index specification "Block No" exceeds maximum Count_Condition Jump stop value (upgrade). Index specification "Block No" is greater than or equal Count_Condition Jump stop value to the set number. Count_Condition Jump stop value Input data "Stop Value"...
Page 48
External communication error cause list(11/12) Error Function Sub-item Expected error code (major item) Substitution rules target character does not exist in the IJP_SubstitutionRules Substitution rules No specified calendar block. Index specification "Substitution rules number" is out of IJP_SubstitutionRules Substitution rules name range.
Page 49
External communication error cause list(12/12) Error Function Sub-item Expected error code (major item) Cyclic Change print data word count overload. Cyclic Change print data character encoding error. Cyclic Change print data Incorrect calendar/counting block content. Cyclic Change print data Excess calendar/count blocks. Contains unsupported characters of the specified Cyclic Change print data...
2.5 Processing sequence An example of the service processing sequence is shown below. (1) Acquisition service To acquire the print content of item number 2 of current message. [Current message] ABC123 DEF456 Item number 1 Item number 2 [Communication sequence] External device OPC-UA Server Select "Item_No"...