Omron K3HB-PPB Technical Communications User's Manual

Omron K3HB-PPB Technical Communications User's Manual

Digital indicators
Table of Contents

Advertisement

Cat. No. N129-E1-03
Note: Specifications subject to change without notice.
OMRON Corporation
Industrial Automation Company
Industrial Devices and Components Division H.Q.
Measuring Components Department
Shiokoji Horikawa, Shimogyo-ku,
Kyoto, 600-8530 Japan
Tel: (81)75-344-7080/Fax: (81)75-344-7189
Regional Headquarters
OMRON EUROPE B.V.
Wegalaan 67-69, NL-2132 JD Hoofddorp
The Netherlands
Tel: (31)2356-81-300/Fax: (31)2356-81-388
OMRON ELECTRONICS LLC
1 East Commerce Drive, Schaumburg, IL 60173
U.S.A.
Tel: (1)847-843-7900/Fax: (1)847-843-8568
OMRON ASIA PACIFIC PTE. LTD.
83 Clemenceau Avenue,
#11-01, UE Square,
239920 Singapore
Tel: (65)6835-3011/Fax: (65)6835-2711
OMRON CHINA CO., LTD. BEIJING OFFICE
Room 1028, Office Building,
Beijing Capital Times Square,
No. 88 West Chang'an Road,
Beijing, 100031 China
Tel: (86)10-8391-3005/Fax: (86)10-8391-3688
Authorized Distributor:
Printed in Japan
0305
Digital Indicators
K3HB
Communications User's Manual
Cat. No. N129-E1-03

Advertisement

Table of Contents
loading

Summary of Contents for Omron K3HB-PPB

  • Page 1 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square, 239920 Singapore Tel: (65)6835-3011/Fax: (65)6835-2711 OMRON CHINA CO., LTD. BEIJING OFFICE Room 1028, Office Building, Beijing Capital Times Square, No. 88 West Chang'an Road, Beijing, 100031 China Tel: (86)10-8391-3005/Fax: (86)10-8391-3688 Authorized Distributor: Cat.
  • Page 2 K3HB Digital Indicators Communications User’s Manual Revised March 2005...
  • Page 4 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 5 WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
  • Page 6 Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
  • Page 7 Safety Precautions ■ Definition of Precautionary Information The following notation is used in this manual to provide precautions required to ensure safe usage of the product. The safety precautions that are provided are extremely important to safety. Always read and heed the information provided in all safety precautions. The following notation is used.
  • Page 8 ■ Precautions WARNING Do not touch the terminals while power is being supplied. Doing so may possibly result in electric shock. Make sure that the terminal cover is installed before using the product. Always provide protective circuits in the network. Without protective circuits, malfunctions may possibly result in accidents that cause serious injury or significant property damage.
  • Page 9 CAUTION Make sure that the product will not be adversely affected if the DeviceNet cycle time is lengthened as a result of changing the program with online editing. Extending the cycle time may cause unexpected operation, occasionally resulting in minor or moderate injury, or damage to the equipment.
  • Page 10 Precautions for Safe Use (1) Do not use the product in the following locations. • Locations subject to direct radiant heat from heating equipment • Locations where the product may come into contact with water or oil • Locations subject to direct sunlight •...
  • Page 11 terminal block and connectors. (15) Use the product within the noted supply voltage and rated load. (16) Do not connect anything to unused terminals. (17) Output turns OFF when the mode is changed or settings are initialized. Take this into consideration when setting up the control system. (18) Install an external switch or circuit breaker that complies with applicable IEC60947-1 and IEC60947-3 requirements and label them clearly so that the operator can quickly turn OFF the power.
  • Page 12 Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards.
  • Page 13 Complying with Safety Standards For the DeviceNet power supply, always use a power supply with reinforced or double insulation, that complies with EN/IEC standards. Conformance to the standards is for indoor applications only.
  • Page 14 Related Manuals The following manuals are also related to the K3HB Digital Indicator. Refer to these manuals when using the K3HB. K3HB Digital Indicators (This manual) Communications User's Manual Describes the models, communications functions, specifications, and application methods of K3HB Digital Indi- cators with communications.
  • Page 16: Table Of Contents

    TABLE OF CONTENTS Part 1: CompoWay/F SECTION 1 CompoWay/F Communications ..... . 1-1 Communications Method ........... Frames (CompoWay/F Communications) .
  • Page 17 TABLE OF CONTENTS SECTION 5 Explicit Message Communications ....7-1 Overview of Explicit Message Communications ....... . . Sending CompoWay/F Commands to the Digital Indicator .
  • Page 18 About this Manual: This manual describes communications for the K3HB Digital Indicators and includes the sections described below divided into two parts according to the type of communications. Please read this manual carefully and be sure you understand the information provided before attempting to setup or operate communications for a K3HB Digital Indicator.
  • Page 20 Part 1: CompoWay/F SECTION 1 CompoWay/F Communications ..Communications Method ..........Frames (CompoWay/F Communications).
  • Page 21 Part 1: CompoWay/F...
  • Page 22: Compoway/F Communications

    SECTION 1 CompoWay/F Communications This section describes communications using CompoWay/F. Communications Method ..........1-1-1 CompoWay/F Communications Protocol .
  • Page 23: Communications Method

    CompoWay/F is OMRON's unified protocol for general purpose serial commu- nications. Featuring a unified frame format and commands that are compliant with FINS, which has a record of successful use with OMRON programmable controllers, CompoWay/F makes communications easy between multiple components and a computer.
  • Page 24 Communications Method Section 1-1 The exchange between the command frame and response frame is explained below. After a receiving a response from the Digital Indicator, have the host computer wait at least 50 ms before sending the next command. When writing multiple sets of setting data in a row, such as when writing to the variable area or performing a compound write, controllability may be affected.
  • Page 25 • Use terminals B1 through B3 to communicate with the host. • Wiring is configured 1:1. • The maximum cable length is 15 m. Use OMRON’s Z3RN RS-232C Opti- cal Interface to extend the wiring path. • Use shielded, twisted-pair wires of at least AWG28 to AWG16 for all cables.
  • Page 26: Frames (Compoway/F Communications)

    Frames (CompoWay/F Communications) Section 1-2 Frames (CompoWay/F Communications) Based on CompoWay/F protocol, commands from the host computer and responses from the K3HB take the form of frames. The data comprising command frames and response frames are explained below. In the following explanation, an “H” following a numeric value (for example 02H) indicates that the value is a hexadecimal number.
  • Page 27: Fins-Mini Text

    FINS-mini Text Section 1-3 End code Returns the result of the command executed as instructed by the command frame. FINS-mini Text of the response Response text Code that indicates the end of the text (03H) Block Check Character Stores the result of the BCC calculation from Node No. to EXT.
  • Page 28 FINS-mini Text Section 1-3 Response text FINS-mini response text consists of the MRC and SRC, followed by an MRES (main response code) and SRES (sub response code), and then the required data. Node Sub- FINS-mini address ETX BCC End code Response text "00"...
  • Page 29: Variable Areas

    Variable Areas Section 1-4 Variable Areas The area used for data exchange when communicating with the K3HB is called the “variable area.” The PV is read and various setting data are read and written using the variable area of the K3HB. Operation commands and reading of machine attributes do not use the vari- able area.
  • Page 30: Reading The Variable Area

    Reading the Variable Area Section 1-5 For example, if the PV of the K3HB is 105.0, it will be read as H'0000041A (105.0 → 1050 → H'0000041A). Reading the Variable Area The data area is read by setting the required data in the following FINS-mini command text format.
  • Page 31: Writing To The Variable Area

    Writing to the Variable Area Section 1-6 Writing to the Variable Area Write to the data area by setting the required data in the following FINS-mini command text format. Command FINS-mini Command Text Starting Variable address Number of position type of write elements Write data...
  • Page 32: Operation Commands (Compoway/F Communications)

    Operation Commands (CompoWay/F Communications) Section 1-7 Operation Commands (CompoWay/F Communications) Operation commands are sent using the following FINS-mini command text format. Command FINS-mini Command Text Instruction Related code information "30" "05" Data name Explanation MRC/SRC Specify the FINS-mini operation command. Operation code Specify an operation code.
  • Page 33: Setting Areas

    Setting Areas Section 1-8 Response Error name Explanation code “2203” Operation error Unable to execute because write via com- munications is disabled. Unable to execute operation command. For more information, see corresponding opera- tion command explanation in 1-9 Com- mands and Responses (CompoWay/F Communications).
  • Page 34: Commands And Responses (Compoway/F Communications)

    Commands and Responses (CompoWay/F Communications) Section 1-9 Commands and Responses (CompoWay/F Communications) The K3HB provides a set of applied commands that make use of variable area read/write commands, operation commands, and other services provided by the CompoWay/F communications protocol. K3HB applied commands are explained below. 1-9-1 Monitor Value Read (CompoWay/F Communications) Command...
  • Page 35: Monitor Value/Setting Data Compound Read (Compoway/F Communications)

    Commands and Responses (CompoWay/F Communications) Section 1-9 To specify the variable type or address, see SECTION 2 List of Settings (page 2-1). The upper limit of an address will vary depending on the variable type. This command can be used in both setting area 0 and setting area 1. Response Response code Data...
  • Page 36: Protect Level Setting Data Write

    Commands and Responses (CompoWay/F Communications) Section 1-9 1-9-4 Protect Level Setting Data Write Command Variable Number of type Bit position Address elements Data "01" "02" "C5" "00" "0001" Protect level setting data Address Setting data “0000” Operation adjustment protect “0001” Setting level protect “0002”...
  • Page 37: Setting Data Compound Write (Compoway/F Communications)

    Commands and Responses (CompoWay/F Communications) Section 1-9 Response Response code "01" "02" "0000" Response codes: The above indicates a normal end. For the response codes, see 1-6 Writing to the Variable Area (page 1-10). 1-9-6 Setting Data Compound Write (CompoWay/F Communications) Command Variable type...
  • Page 38: Monitor Value/Setting Data Compound Read Store Check (Read)

    Commands and Responses (CompoWay/F Communications) Section 1-9 To specify the variable type or address, see SECTION 2 List of Settings (page 2-1). The upper limit of an address will vary depending on the variable type. This command can be used in both setting area 0 and setting area 1. Response Response code "01"...
  • Page 39: 1-9-10 Write Via Communications

    Commands and Responses (CompoWay/F Communications) Section 1-9 1-9-10 Write via Communications Command Related Command code information "30" "05" "00" Related information Description “00” Write via communications disabled “01” Write via communications enabled This command is used to enable or disable “Write via communications.” When sent, it changes the set value of “Write via communications.”...
  • Page 40: 1-9-13 Zero Execute/Cancel

    Commands and Responses (CompoWay/F Communications) Section 1-9 Response Response code "30" "05" "0000" Response codes: The above indicates a normal end. For the response codes, see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11). 1-9-13 Zero Execute/Cancel Command Command Related code information "30"...
  • Page 41: Move To Setting Area 1

    Commands and Responses (CompoWay/F Communications) Section 1-9 1-9-15 Move to Setting Area 1 Command Command Related code information "30" "05" "07" "00" Use this command to move to setting area 1. The command is used in setting area 0. Nothing happens if the command is used in setting area 1.
  • Page 42: 1-9-18 Read Machine Attributes

    Commands and Responses (CompoWay/F Communications) Section 1-9 Response Response code "30" "05" "0000" Response codes: The above indicates a normal end. For the response codes, see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11). 1-9-18 Read Machine Attributes Command "05" "03" This command reads the K3HB model and communications buffer size.
  • Page 43: 1-9-20 Echo Back Test

    Commands and Responses (CompoWay/F Communications) Section 1-9 Response codes: The above indicates a normal end. For the response codes, see 1-7 Operation Commands (CompoWay/F Communications) (page 1-11). Operation State Operation state Description Operating (no errors in setting area 0, see note) Stopped (all other situations) Note Measurements outside the display range and no-measurement status do not...
  • Page 44: 1-10 Program Example

    The program was created in N88BASIC. 1000 '---------------------------------------------------- 1010 'PROGRAM: E5AR/ER Communication Sample Program(CompoWay/F) 1020 'VERSION:1.00 1030 (c)Copyright OMRON Corporation 2003 1040 All Rights Reserved 1050 '---------------------------------------------------- 1060 1070 '======Communication port (PARITY=EVEN, DATA=7, STOP=2) ======" 1080 OPEN "COM:E73" AS #1...
  • Page 45 Program Example Section 1-10 Operation Example Reading the present value of Unit No.01. SEND DATA:010000101C00002000001 RESPONSE:010000010100000000014F SEND DATA: [STX] 01 00 0 0101 C0 0002 00 0001 [ETX] [BCC] Number of elements Bit position Read start address Variable type MRC/SRC Sub-address Node No.
  • Page 46: List Of Settings

    SECTION 2 List of Settings This list of settings shows addresses for CompoWay/F communications. Refer to the address for the communications pro- tocol that is used.
  • Page 47 List of Settings Section 2 Status (K3HB) Output MAX value MIN value Present value Bit position 0 (OFF) 1 (ON) Status Error No Error No measurement status Measurement outside the No Error Error display range Input error A No Error Error No Error Error...
  • Page 48 List of Settings Section 2 Communications Monitoring Settings Variable Address Setting data Character Monitor/Setting range Character Default Decimal Unit Model type setting point 0000 Version 0001 Status 0002 Measurement H’FFFFB1E1 to value H’0001869F ( − 19,999 to 99,999) 0003 MAX value H’FFFFB1E1 to H’0001869F ( −...
  • Page 49 List of Settings Section 2 Initial Setting Level Variable Address Parameter Char- Monitor/Setting range Character Default Decimal Unit Model type name acter setting point cal H’00000000: A(0), H’00000001:B(1), 0, 1, 2, 3, 4, 0000 Calculation 5, 6, 7 H’00000002:K-A(2), H’00000003: A+B(3), H’00000004: A-B(4), H’00000005: K −...
  • Page 50 List of Settings Section 2 Variable Address Parameter Char- Monitor/Setting range Character Default Decimal Unit Model type name acter setting point inp . a2 H’FFFFB1E1 to H’0001869F ( − 19,999 :9999 to 0005 Scaling X (VD): Accord- Accord- 99999 199 . 99 input value to 99,999) ing to the...
  • Page 51 List of Settings Section 2 Input Adjustment Level Variable Address Parameter Character Monitor/Setting Character Default Decimal Unit model type name range setting point tmg-h H’00000000: nomal, s-h, nomal 0000 Timing hold p-h, b-h, Normal(0), H’00000001: sampling(1), H’00000002: peak(2), H’00000003: bottom(3), H’00000004: peak to peak(4) on-t H’00000000 to...
  • Page 52 List of Settings Section 2 Display Adjustment Level Variable Address Parameter Character Monitor/Setting range Character Default Decimal Unit Model type name setting point sv.dsp H’00000000: OFF(0), off, on 0000 Compara- tive set H’00000001: ON(1) value dis- play d.ref H’00000000: OFF(0), off, 0 .
  • Page 53 List of Settings Section 2 Variable Address Parameter Character Monitor/Setting range Character Default Decimal Unit Model type name setting point sv1.hh H’FFFFB1E1 to :9999 to 99999 0004 Compara- According to 99999 tive set H’0001869F the decimal ( − 19,999 to 99,999) value 1 HH position set- ting...
  • Page 54 List of Settings Section 2 Variable Address Parameter Character Monitor/Setting range Character Default Decimal Unit Model type name setting point sv5.l H’FFFFB1E1 to :9999 to :9999 0016 Compara- According to 99999 tive set H’0001869F the decimal ( − 19,999 to 99,999) value 5 L position set- ting...
  • Page 55 List of Settings Section 2 Communications Setting Level Variable Address Parameter Character Monitor/Setting range Character Default Decimal Unit Model type name setting point u-no H’00000000 to 0 to 99 0000 Unit No. H’00000063: (0 to 99) bps H’00000000: 9.6(0), 9 . 6, 19 . 2, 9 .
  • Page 56 List of Settings Section 2 K3HB-R/P Communications Monitoring Settings Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0000 Version 0001 Status H’FFFFB1E1 to H’0001869F: −19999 to 99999 0002 Measurement value (Time limit is OFF. Lower limit of P is 0.) H’00000000 to H’0001869F: 0 to 99999 (Time unit is min.) H’00000000 to H’000176D7: 0.00.00 to 9.59.59...
  • Page 57 List of Settings Section 2 Initial Setting Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting func f1 to 6 0010 Function H’00000000 to H’00000005: (F1 to 6) in-ta 00, 01, 10, 11 0001 Input type A H’00000000: No-contact (NO) H’00000001: No-contact (NC)
  • Page 58 List of Settings Section 2 Display Adjustment Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting s?. dsp off, on 0000 Comparative set H’00000000: OFF (0), H’00000001: ON (1) value display d. ref off, 0. 5, 1, 2, 4 0001 Display refresh H’00000000: OFF (0), H’00000001: 0.5 s (1),...
  • Page 59 List of Settings Section 2 Prescale Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting ps0. ax 0. 0000 to 9. 9999 1. 0000 0000 Prescale 0AX H’00000000 to H’0001869F: (0.0000 to 9.9999) ps0. ay 10 -9 to 10 9 10 0 0001...
  • Page 60 List of Settings Section 2 Comparative Set Value Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting H’FFFFB1E1 to H’0001869F: −19999 to 99999 0000 Comparative set s?0. hh :9999 to 99999 99999 According to the 0.
  • Page 61 List of Settings Section 2 Linear Output Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0000 Linear current lset. c H’00000000: 0-20 mA (0), H’00000001: 4-20 mA (1) 0-20, 4-20 4-20 type 0001 Linear voltage lset.
  • Page 62 List of Settings Section 2 K3HB-C Communications Monitoring Settings Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0000 Version 0001 Status 0002 Measurement H’FFFFB1E1 to H’0001869F: (−19999 to 99999) value 0003 Max. value H’FFFFB1E1 to H’0001869F: (−19999 to 99999) 0004 Min.
  • Page 63 List of Settings Section 2 Initial Setting Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0010 Function func H’00000000: Individual inputs (0), f1, f2, f3 H’00000001: Phase differential inputs (1), H’00000002: Pulse counting input (2) in-ta 00, 01, 10, 11 0001...
  • Page 64 List of Settings Section 2 Prescale Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0000 Prescale 0X ps0. ax H’00000000 to H’0001869F: (0.0000 to 9.9999) 0. 0000 to 9. 9999 1. 0000 ps0. ay 10 -9 to 10 9 10 0 0001...
  • Page 65 List of Settings Section 2 Comparative Set Value Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0000 Comparative set s?0.o5 H’FFFFB1E1 to H’0001869F (−19999 to 99999) :9999 to 99999 99999 According to the value 05 decimal position setting.
  • Page 66 List of Settings Section 2 Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting s?5.o4 :9999 to 99999 99999 0015 Comparative set H’FFFFB1E1 to H’0001869F (−19999 to 99999) According to the value 54 decimal position setting.
  • Page 67 List of Settings Section 2 Communications Setting Level Variable Address Parameter Charac- Monitor/Setting range Character Default Decimal point Unit type name setting 0000 Communications u-no H’00000000 to H’00000063: (0 to 99) 0 to 99 unit number 0001 Baud rate H’00000000: 9.6 (0), H’00000001: 19.2 (1), 9.
  • Page 68: Part 2: Devicenet

    Part 2: DeviceNet SECTION 1 Overview ......Features ............. . . Specifications .
  • Page 69 Part 2: DeviceNet...
  • Page 70: Overview

    SECTION 1 Overview This section introduces the features and specifications of K3HB-DRT Digital Indicators. Features ............. . . 1-1-1 Outline .
  • Page 71: Features

    Features Section 1-1 Features In this manual, the DeviceNet-compatible K3HB Digital Indicator is abbrevi- ated as K3HB-DRT. 1-1-1 Outline The K3HB-DRT Digital Indicators are slaves that connect to the DeviceNet open field network. DeviceNet communications enable controlling operation, collecting measurement data, and writing settings from a host computer or PLC.
  • Page 72 Features Section 1-1 1-1-3 Using DeviceNet Remote I/O The master and K3HB-DRT Digital Indicators can share I/O by using remote I/ Communications O communications. Data in the K3HB-DRT Digital Indicators, such as mea- surement values and comparative set values, can be allocated for communi- cations with the master to enable sending and receiving the allocated data via remote I/O communications without requiring special programming.
  • Page 73 Features Section 1-1 1-1-6 Remote I/O Communications Read/write table data is automatically read and written when communications start. The Communications Write setting must be set to ON to write data from the master to the K3HB-DRT. Data will not be written to the Digital Indicator if the Communications Write setting is OFF.
  • Page 74: Specifications

    Specifications Section 1-2 Specifications 1-2-1 DeviceNet Communications Specifications Item Specifications Communications protocol Conforms to DeviceNet Communica- Remote I/O • Master-slave connections (polling, bit-strobe, COS, or cyclic) tions functions communications • Conform to DeviceNet specifications. I/O allocations • Can allocate any I/O data from the Configurator. •...
  • Page 75 Specifications Section 1-2 1-2-2 DeviceNet General Specifications Item Specifications Supply voltage DeviceNet power supply: 24 VDC (internal circuit) Allowable voltage range DeviceNet power supply: 11 to 25 VDC Current consumption DeviceNet power supply: 50 mA max. (24 VDC) Vibration resistance Vibration: 10 to 55 Hz Acceleration: 50 m/s Shock resistance...
  • Page 76: Operating Procedures

    SECTION 2 Operating Procedures This section outlines the basic operating procedures for the K3HB-DRT Digital Indicators. Introduction ............2-1-1 Setup Procedure .
  • Page 77: Introduction

    Introduction Section 2-1 Introduction Use the procedures in the following sections to prepare the K3HB-DRT Digital Indicators for use. Refer to the following reference pages/sections provided for detailed information on each step. 2-1-1 Setup Procedure Step Item Details Reference Mount the Digital Indicator. Mount the Digital Indicator to the panel.
  • Page 78 Introduction Section 2-1 Step Item Details Reference Operate from the Configurator. Set from the Configurator when changing data allocated in SECTION 4 the IN and OUT Areas from the default values. Remote I/O Com- munications To split the IN Area used by the K3HB-DRT into two areas, select K3HB-DRT in the master’s Edit Device Parameters Window and set the connection in the detailed settings.
  • Page 79: Functions Supported Only By The K3Hb-Drt

    Functions Supported Only by the K3HB-DRT Section 2-2 u-no B. Press the LEVEL Key several times to move to the communications setting level. • The communications setting level is indicated by 6 being displayed in the is displayed. level/bank display. u-no C.
  • Page 80: Parts, Installation, And Wiring

    SECTION 3 Parts, Installation, and Wiring This section describes the methods used to install and wire K3HB-DRT Digital Indicators. Part Names and Functions..........3-1-1 Part Names .
  • Page 81: Part Names And Functions

    Part Names and Functions Section 3-1 Part Names and Functions 3-1-1 Part Names DeviceNet connector MS/NS indicators Top: NS Bottom: MS DeviceNet The DeviceNet communications connector is used to connect the communica- Communications tions cable to the DeviceNet network. The DeviceNet communications power is also supplied through this connector.
  • Page 82: Ms And Ns Indicators

    Part Names and Functions Section 3-1 3-1-3 MS and NS Indicators The indicators show the status of the Digital Indicator and the DeviceNet Net- work. Indicator Name Color Status Meaning (main errors) Module status Green The Digital Indicator is normal. Fatal error •...
  • Page 83: Devicenet Communications Cables Wiring

    DeviceNet Communications Cables Wiring Section 3-2 DeviceNet Communications Cables Wiring The methods used for preparing DeviceNet communications cables to be con- nected for DeviceNet communications are explained here. For details on the DeviceNet Network, such as supplying the DeviceNet com- munications power and grounding the DeviceNet Network, refer to the DeviceNet Operation Manual (W267).
  • Page 84 DeviceNet Communications Cables Wiring Section 3-2 sponding connector holes, as shown in the following diagram. 1: V− (Power line: black) 2: CAN low (Communications line: blue) 3: Shield 4: CAN high (Communications line: white) 5: V+ (Power line: red) Make sure that the connector is oriented correctly before inserting the crimp terminal into the connector, as shown in the following diagram.
  • Page 85: Attaching The Devicenet Communications Unit Connector

    DeviceNet Communications Cables Wiring Section 3-2 3-2-2 Attaching the DeviceNet Communications Unit Connector Align the DeviceNet Communications Unit connector (marked with a C) with the cable connector, and insert the cable connector fully into the DeviceNet Communications Unit connector. Tighten the set screws to a torque between 0.18 and 0.22 N·m to secure the connector.
  • Page 86: Remote I/O Communications

    SECTION 4 Remote I/O Communications This section describes the input (IN) areas and output (OUT) areas that K3HB-DRT Digital Indicators can use for remote I/O communications. The methods to allocate data for master communications are also described using sample programming. Overview .
  • Page 87: Overview

    Overview Section 4-1 Overview I/O memory in the master can be allocated to data from the K3HB-DRT Digital Indicator, such as data from the Digital Indicator’s variable area, merely by specifying what Digital Indicator data is to be transferred to where. Data is automatically exchanged between the master and Digital Indicator, allowing the Digital Indicator to be controlled and monitored from the master without requiring special communications programming.
  • Page 88: Allocation Area Sizes (In Data Size And Out Data Size)

    I/O Allocation Section 4-2 4-2-1 Allocation Area Sizes (IN Data Size and OUT Data Size) The size of allocated data in each of the IN and OUT Areas is shown in the fol- lowing table. I/O memory Words Bytes Setting Allocated data Allocated data size: 2 bytes...
  • Page 89: Allocation Default Values

    I/O Allocation Section 4-2 2. K3HB-DRT Operation Data and Setting Data Monitor values and setting data with communications addresses that be- long to the following variable types can be allocated. Duplicate settings are possible and are processed in ascending order. Variable type Operation monitor data RUN level...
  • Page 90: Input Data

    I/O Allocation Section 4-2 4-2-5 Input Data The input data specific to Digital Indicators with DeviceNet communications that is not allocated in the variable area of the K3HB-DRT is described here. General Status K3HB-DRT Unit Maintenance Flag 0: Within range (less than monitor value) 1: Outside range (monitor value or higher) Communications Power Voltage Monitor Error Flag...
  • Page 91: Operation Commands

    I/O Allocation Section 4-2 4-2-7 Operation Commands Operation commands are used to for software resetting, to move to setting area 1, and other similar operations. As shown in the following table, opera- tion commands are executed using a combination of command codes, related information, and strobes.
  • Page 92: Ladder Programming Examples

    Ladder Programming Examples Section 4-3 With the CS1W-DRM21 and CJ1W-DRM21 DeviceNet Units, operation com- mands are made ready for execution by writing to the allocated words (CIO 3202 when the default I/O allocation (fixed allocation area 1) is set.) Operation commands are executed only when the Output Enable Bit is set to 1 (ON) and the strobe is ON.
  • Page 93: Ladder Programming Examples

    Ladder Programming Examples Section 4-3 Note When using this type of ladder programming, do not use the timer method used in this example. Instead, allocate the status and confirm that the value has changed and then disable the strobe, specifically: a.
  • Page 94 Ladder Programming Examples Section 4-3 ■ Programming Example A200.11 000000 MOV (021) Moves #0300 to D1000. (000000) #0300 First scan Flag ON D1000 MOV (021) Moves #0301 to D1001. #0301 D1001 Turns ON Output Enable Bit. 3201.00 0.00 MOV (021) 000001 Copies the contents of D1000 (000004)
  • Page 95 Ladder Programming Examples Section 4-3 6-10...
  • Page 96: Explicit Message Communications

    SECTION 5 Explicit Message Communications This section describes how to send explicit messages to the K3HB-DRT Digital Indicator, including how to send CompoWay/F commands using explicit messages. Overview of Explicit Message Communications ....... 5-1-1 Explicit Message Communications .
  • Page 97: Overview Of Explicit Message Communications

    Overview of Explicit Message Communications Section 5-1 Overview of Explicit Message Communications 5-1-1 Explicit Message Communications Explicit message communications is a communications protocol for sending commands from the master as explicit messages, and receiving explicit mes- sages as responses from the nodes that receive the commands. Explicit messages can be sent from the master to the Digital Indicator to read and write the K3HB-DRT Digital Indicator variable area, send operation com- mands, and read and write various other DeviceNet functions supported by...
  • Page 98: Overview Of Explicit Message Communications

    Overview of Explicit Message Communications Section 5-1 ■ CompoWay/F Binary Commands CompoWay/F binary commands are CompoWay/F communications com- mands expressed in hexadecimal, and are easy to execute from ladder pro- grams. CompoWay/F communications commands that include ASCII data, however, cannot be sent or received. Therefore, Read Controller Attribute (05 03) and broadcasting (unit number = XX) cannot be used.
  • Page 99: Sending Compoway/F Commands To The Digital Indicator

    Sending CompoWay/F Commands to the Digital Indicator Section 5-2 The following format is used when an error response is returned for the sent explicit message. No. of bytes Source node Error code received Service code address (2 bytes, fixed) 0004 hex, fixed Number of Bytes Received The number of data bytes received from the source node address is returned as a hexadecimal.
  • Page 100: Compoway/F Binary Commands

    Way/F ASCII commands. The following restrictions apply. • Read Controller Attribute (05 03), which includes ASCII in the Compo- Way/F frame, cannot be used. The following command and response formats are used when executing CompoWay/F binary commands from an OMRON Master. Command Block Destina- Service...
  • Page 101: Explicit Messages Specific To Devicenet-Compatible Digital Indicators

    (such as Unit conduction time) for the DeviceNet-compatible Digital Indicator. For details on sending explicit messages from an OMRON Master PLC, refer to the DeviceNet Master Unit operation manual. Note The number of digits used for the Class ID, Instance ID, and Attribute ID depends on the master used.
  • Page 102: Reading General Status

    Explicit Messages Specific to DeviceNet-compatible Digital Indicators Section 5-3 5-3-1 Reading General Status Explicit Read/ Function Command Response message write Service Class Instance Attribute Data code size General Read Reads the DeviceNet-com- 0E hex 95 hex 01 hex 65 hex 1 byte Status patible Digital Indicator’s...
  • Page 103 Explicit Messages Specific to DeviceNet-compatible Digital Indicators Section 5-3...
  • Page 104: Communications Performance

    SECTION 6 Communications Performance This section provides information on the time required for a complete communications cycle, for an output response to be made to an input, to start the system, and to send messages. Remote I/O Communications Performance ........6-1-1 I/O Response Time .
  • Page 105: Remote I/O Communications Performance

    Remote I/O Communications Performance The performance of remote I/O communications between an OMRON Master Unit and OMRON Slave is described in this section. Use this information for reference with precise timing is required. The following conditions are assumed in the calculations provided in this sec- tion.
  • Page 106: Communications Cycle Time And Refresh Processing Time

    Remote I/O Communications Performance Section 6-1 Maximum I/O Response Time The maximum I/O response time occurs under the conditions shown in the following diagram. Program Program Program execution execution execution Master Unit Input Output ON/OFF delay time of the input slave (0 used as minimum value) ON/OFF delay time of the output slave (0 used as minimum value) Communications time for entire network Cycle time of PLC...
  • Page 107: Networks With More Than One Master

    Remote I/O Communications Performance Section 6-1 Refresh Processing The refresh processing time is the time required for the CPU Unit of the PLC Time and the DeviceNet Master Unit to pass I/O information back and forth. The cycle time of the PLC is affected as described below when a DeviceNet Unit is mounted.
  • Page 108 Remote I/O Communications Performance Section 6-1 Next, calculate the communications cycle time for each group referring to 6-1- 2 Communications Cycle time and Refresh Processing Time. Group A Group B Master A Master B Slave a Slave b Slave c Slave d Slave e Slave f...
  • Page 109: Message Communications Performance

    Message Communications Performance Section 6-2 Sample Program The times described above are required for the DeviceNet system to start. The sample program in this section shows how to use the Master Slave Sta- tus to skip slave I/O processing until remote I/O communications have started. Note Refer to the operation manual for the Master Unit for information on the Mas- ter Status Area.
  • Page 110: Message Communications Performance

    Message Communications Performance Section 6-2 Only Message Communications cycle time = 2 (see note) + 0.11 x TB + 0.6 ms Communications TB depends on the baud range as follows: (Remote I/O 500 KB/s: 2, 250 KB/s: 4, 125 KB/s: 8 Communications Stopped) Note...
  • Page 111 Message Communications Performance Section 6-2...
  • Page 112: Troubleshooting And Maintenance

    SECTION 7 Troubleshooting and Maintenance This section describes error processing, periodic maintenance operations, and troubleshooting procedures needed to keep the DeviceNet Network operating properly. Details on resetting replaced Digital Indicators are also provided. Read through the error processing procedures in both this manual and the operation manual for the DeviceNet master being used before operation so that operating errors can be identified and corrected more quickly.
  • Page 113: Indicators And Error Processing

    Repairs are required if this error per- occurred in the parame- sists even if the parameters are reset. NS: No change ters registered in Contact your nearest OMRON repre- EEPROM. sentative. A EEPROM hardware error has occurred. MS: ON red The Digital Indicator is Repairs are required.
  • Page 114: Maintenance

    Maintenance Section 7-2 Maintenance This section describes the routine cleaning and inspection recommended as regular maintenance. Handling methods when replacing Digital Indicators are also explained here. 7-2-1 Cleaning Clean the Digital Indicators regularly as described below in order to keep the Network in its optimal operating condition.
  • Page 115 • When a Digital Indicator is being returned for repair, attach a sheet of paper detailing the problem and return the Digital Indicator to your OMRON dealer. • If there is a faulty contact, try wiping the contact with a clean, lint-free cloth dampened with alcohol.
  • Page 116: Additional Information For Devicenet

    SECTION 8 Additional Information for DeviceNet Detailed DeviceNet Specifications ......... . 10-2 Mounted Objects .
  • Page 117: Detailed Devicenet Specifications

    If the connection type can be set when another company’s configurator is being used, select a connection sup- ported by the DeviceNet Communications Unit. The following table shows the connection types and data sizes for OMRON DeviceNet Communications Units. Model...
  • Page 118: Mounted Objects

    General data Compatible DeviceNet Specifications Volume I - Release 2.0 Volume II - Release 2.0 Vendor name OMRON Corporation Vendor ID = 47 Device profile name Slaves: Generic Device Profile number = 0 Manufacturer catalog number...
  • Page 119 Mounted Objects Section 8-2 DeviceNet Object (0x03) Object class Attribute Not supported Service Not supported Object Attribute Contents Get (read) Set (write) Value instance MAC ID Baud rate 00 (hexadecimal) Bus Off counter Allocation information Service DeviceNet service Parameter option Get_Attribute_Single None Allocate_Master/...
  • Page 120 Mounted Objects Section 8-2 Connection Object (0x05) Object class Attribute Not supported Service Not supported Maximum number of active connections Object Section Information Maximum number of instances instance 1 Instance type Explicit Message Production Cyclic trigger Transport type Server Transport class Attribute Contents...
  • Page 121 Mounted Objects Section 8-2 Object Section Information Maximum number of instances instance 2 Instance type Polled I/O Production Cyclic trigger Transport type Server Transport class Attribute Contents Get (read) Set (write) Value State Instance type 01 (hexadecimal) Transport class trigger 82 (hexadecimal) Produced connection ID Consumed connection ID Yes...
  • Page 122 DeviceNet Connection Hardware DeviceNet Communications Cables Model Specifications Manufacturer DCA1-5C10 Thin Cable: 5 wires, 100 m OMRON DVN24-10G Thin Cable: 5 wires, 10 m Nihon Wire & Cable (See note 1.) DVN24-30G Thin Cable: 5 wires, 30 m Nihon Wire & Cable (See note 1.)
  • Page 123: Devicenet Connection Hardware

    2. The cables made by Allen-Bradley are stiffer than the cables made by OMRON and Nihon Wire & Cable Company Ltd., so do not bend the Allen- Bradley cables as much as the others. Other DeviceNet communications cables are available from the following manufacturers. For details, refer to the product catalogs on the ODVA web site (http://www.odva.astem.or.jp/) or contact the manufacturer directly.
  • Page 124 Model Specifications Manufacturer DCN1-1C Includes three XW4B-05C1-H1-D parallel connectors with screws OMRON (When used on a trunk line, one branch line can be connected.) Connector insertion direction: Horizontal A Terminating Resistor (included as standard) can be connected. DCN1-2C Includes three XW4B-05C1-H1-D parallel connectors with screws OMRON (When used on a trunk line, one branch line can be connected.)
  • Page 125: Glossary

    A node can be either a master, which collects and distributes data, or a slave, which out- puts and inputs data according to the instructions received from the master. OMRON’s DeviceNet products are already provided with either master or slave functions in a pre- defined master/slave connection set.
  • Page 126: Part 3: Bcd Output

    Part 3: BCD Output SECTION 1 BCD Communications ....11-1 Features ............. . . 11-2 Specifications .
  • Page 127 Part 3: BCD Output...
  • Page 128: Bcd Communications

    SECTION 1 BCD Communications Features ............. . . 11-2 1-1-1 Overview.
  • Page 129: Features

    Features Section 1-1 Features 1-1-1 Overview Measurement values (display values) output from Digital Indicators with a BCD output can be read by devices such as a PLC, a large sized display device (e.g., the M7E), or other devices. 1-1-2 Connection Example PLC Connection Digital Indicator Programmable Controller (SYSMAC)
  • Page 130: Specifications

    Specifications Section 1-2 Specifications 1-2-1 I/O Ratings I/O signal names Item Rating Input Input signal No-voltage contact input HOLD No-voltage input current 10 mA (COMPENSATION) Signal level ON voltage 1.5 V max. OFF voltage 3 V min. RESET Output DATA Max.
  • Page 131: Pin Wiring Diagram

    (2) Pins shown as blank in the diagram (@) have been removed. (3) OUT1 to OUT3 and COMPENSATION are for the K3HB-C. • Applicable connector (sold separately): HDR-E50MAG1 (made by Honda Tsushin Kogyo Co., Ltd.) • Special cable (sold separately): K32-BCD (OMRON), (HDR-E50MAG1 and 0.3-m cable) 11-4...
  • Page 132: Timing Chart

    Specifications Section 1-2 1-2-4 Timing Chart Outputting Sampling Data Data becomes valid and the Data Valid (D.V.) signal turns ON approximately 30 ms after the rising edge of the REQ signal. Read the data while the D.V. signal is ON. The D.V.
  • Page 133: Accessories

    Accessories Section 1-3 • In Setup Mode, all BCD data turns OFF. • When the POL signal is ON, the polarity is negative. When the polarity signal is OFF, the polarity is positive. (−) ON POLARITY (+) OFF • The OVER signal is output when there is a BCD data overflow or under- flow.
  • Page 134: Precautions For Bcd Programming

    4. Data cannot be written from the PLC to the Digital Indicator. Programming Example 1: Connecting to a PLC The following programming example shows a single Digital Indicator con- nected to the SYSMAC C500 (OMRON). 1-5-1 I/O Allocations Signal name...
  • Page 135: Dm (Data Memory) Area

    Programming Example 1: Connecting to a PLC Section 1-5 Signal name Signal Meaning I/O allocation number direction Input Minimum value output request Output Unit, IR 0202* HOLD Input HOLD input Output Unit, IR 0203* RESET Input RESET input Output Unit, IR 0204* Output Data polarity signal Input Unit, IR 0107...
  • Page 136: Ladder Programming

    Programming Example 1: Connecting to a PLC Section 1-5 1-5-5 Ladder Programming 00106 00113 DIFU 00000 00500 P.V.REQ UEST 00500 KEEP 00003 00400 START DI 00501 D.V.DIF 00400 00200 00006 KEEP REL P.V.REQ 00105 DIFU 00008 00501 D.V. 00501 00010 D.V.DIF D0000 FUN83...
  • Page 137: Programming Example 2: Connecting To A Plc

    Programming Example 2: Connecting to a PLC Section 1-6 Programming Example 2: Connecting to a PLC The following programming example shows three Digital Indicators connected to the SYSMAC C500 (OMRON). 1-6-1 I/O Allocations Pin number Signal Signal Meaning I/O allocation...
  • Page 138: Programming Example 2: Connecting To A Plc

    Programming Example 2: Connecting to a PLC Section 1-6 Pin number Signal Signal Meaning I/O allocation name direction DPM-A DPM-B DPM-C HOLD Input HOLD input A Output Unit, IR 0210* HOLD Input HOLD input B Output Unit, IR 0211* HOLD Output HOLD input C RESET...
  • Page 139: Timing Chart

    Programming Example 2: Connecting to a PLC Section 1-6 1-6-4 Timing Chart START DU (START) Upward differentiation of START signal REQ-A D.V.-A DU (D.V.-A) Upward differentiation of A DATA VALID signal DD (D.V.-A) Downward differentiation of A DATA VALID signal REQ-B D.V.-B DU (D.V.-B)
  • Page 140: Ladder Programming

    Programming Example 2: Connecting to a PLC Section 1-6 1-6-5 Ladder Programming 00106 00110 00112 00113 DIFU 00000 00500 A-RUN REQUEST B-RUN C-RUN 00500 00002 #0001 START DI 0004 00502 00004 A-D.V.D 00504 B-D.V.D 00506 C-D.V.D 00400 00200 00008 DPM SELE A-PVREQ CT BIT 00105...
  • Page 141 Programming Example 2: Connecting to a PLC Section 1-6 00503 00032 B-D.V.D D0010 00002 FUN83 00004 #0000 D 0011 FUN82 00008 #0007 D 0012 00402 00202 00036 C-PVREQ DPM SELE CT BIT 00105 00109 00111 DIFU 00505 A-D.V. B-D.V. C-D.V. 00111 DIFD 00506...
  • Page 142: Index

    Index Monitor Value Read (CompoWay/F communications) 1-13 Monitor Value/Setting Data Compound Read (Compo- accessories Way/F communications) 1-14 BCD communications 11-6 Monitor Value/Setting Data Compound Read Store addresses (CompoWay/F communications) (Write) 1-16 advanced function setting level 2-10 Monitor Value/Setting Data Compound Store Read 1-17 Move to Protect Level 1-20...
  • Page 143 Index BCD communications 11-6 frame configuration (CompoWay/F communications) models 10-8 frames Controller Status Read (CompoWay/F communications) CompoWay/F communications 1-21 crimp terminals 10-8 models 10-8 current consumption general status cyclic 10-2 HOLD input data overflow BCD communications 11-5 BCD communications 11-5 DATA signal BCD communications 11-5...
  • Page 144 Index module status (MS indicator) BCD programming 11-7 definitions 1-viii Monitor Value Read (CompoWay/F communications) 1-13 replacing Digital Indicators Monitor Value/Setting Data Compound Read (Compo- Way/F communications) 1-14 programming samples Monitor Value/Setting Data Compound Read Store (Write) 1-16 protect level Monitor Value/Setting Data Compound Read Store Check Protect Level Setting Data Write 1-15...
  • Page 145 Index startup procedure startup time strobe supply voltage system startup time T-branch Taps 10-9 Terminating Resistors 10-8 test mode BCD communications 11-5 Three-branch Taps 10-9 timing charts BCD communications 11-5 11-8 11-12 transfer protocol (CompoWay/F communications) troubleshooting Unit conduction time monitor Unit Maintenance Flag variable areas wiring...
  • Page 146: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. N129-E1-03 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.

Table of Contents