Omron E5CN-HT Communications Manual
Omron E5CN-HT Communications Manual

Omron E5CN-HT Communications Manual

Digital
Hide thumbs Also See for E5CN-HT:
Table of Contents

Advertisement

Quick Links

Digital Controllers
Communications
Cat. No. H170-E1-01
Programmable Type
E5CN-HT
E5CN-HT
E5CN-HT
E5AN-HT
E5AN-HT
E5AN-HT
E5EN-HT
E5EN-HT
E5EN-HT
Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the E5CN-HT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron E5CN-HT

  • Page 1 E5CN-HT E5CN-HT E5CN-HT E5AN-HT E5AN-HT E5AN-HT E5EN-HT E5EN-HT E5EN-HT Digital Controllers Manual Communications Programmable Type Cat. No. H170-E1-01...
  • Page 3: Preface

    No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions.
  • Page 4: Read And Understand This Manual

    PRODUCTS, 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 5: Disclaimers

    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 6: Safety Precautions

    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 7 ■ Safety Precautions CAUTION Do not touch the terminals while power is being supplied. Doing so may occasionally result in minor injury due to electric shock. Do not allow pieces of metal, wire clippings, or fine metallic shav- ings or filings from installation to enter the product. Doing so may occasionally result in electric shock, fire, or malfunction.
  • Page 8 CAUTION Tighten the terminal screws to between 0.74 and 0.90 N·m. Loose screws may occasionally result in fire. Set the parameters of the product so that they are suitable for the system being controlled. If they are not suitable, unexpected operation may occasionally result in property damage or accidents.
  • Page 9: Precautions For Safe Use

    Precautions for Safe Use Be sure to observe the following precautions to prevent operation failure, malfunction, or adverse affects on the performance and functions of the product. Not doing so may occasionally result in unexpected events. Do not handle the Controller in ways that exceed product specifications. The product is designed for indoor use only.
  • Page 10 13) Do not use paint thinner or similar chemical to clean with. Use standard grade alcohol. 14) Design system (control panel, etc) considering the 2 second of delay that the controller’s output to be set after power ON. 15) The output may turn OFF when shifting to certain levels. Take this into consideration when performing control.
  • Page 11: Conventions Used In This Manual

    Conventions Used in This Manual ■ How This Manual is Organized Overview Descriptions in this manual are separated by the communications method. Read the sections that are application to the system being used. CompoWay/F Communications Data for CompoWay Modbus Communications Data for Modbus Appendix ■...
  • Page 13: Table Of Contents

    Table of Contents Preface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I Read and Understand this Manual - - - - - - - - - - II Warranty, Limitations of Liability - - - - - - - - - - - - II Application Considerations - - - - - - - - - - - - - - - - II Disclaimers - - - - - - - - - - - - - - - - - - - - - - - - - - - III...
  • Page 14 SECTION 3 Communications Data for CompoWay/F Variable Area (Setting Range) List ............. 3-2 Status and Status 2 .................. 3-20 Status Structure ................3-20 Status 2 Structure ................3-22 Status Details ..................3-23 Status 2 Details ................. 3-24 SECTION 4 Modbus Communications Procedure Data Format ....................
  • Page 15: Communications Methods

    SECTION 1 Communications Methods This section briefly describes the supported communications methods and how to wire equipment. Refer to this section when setting up equipment. Overview of Communications Methods ......1-2 Introduction.............. 1-2 Communications Specifications....... 1-3 Transmission Procedure.......... 1-3 Interface..............1-4 Wiring ..............
  • Page 16: Overview Of Communications Methods

    CompoWay/F is OMRON’s standard communications format for general serial communications. This format uses a standard frame format as well as the well-established FINS* commands used for OMRON’s PLCs. Therefore, it can simplify communications between components and the host. *FINS (Factory Interface Network service) The FINS protocol provides message communications between controllers in OMRON FA networks.
  • Page 17: Communications Specifications

    1.1 Overview of Communications Methods ■ Communications Specifications Transmission line con- RS-485: Multidrop nection RS-232C: Point-to-point RS-422: Multidrop Communications method RS-485 (2-wire, half-duplex)/RS-232C/ (See note 1.) RS-422 (4-wire, half-duplex) Synchronization method Start-stop synchronization Communications baud 1,200, 2,400, 4,800, 9,600, 19,200, 38,400 or 57,600 bps rate (See note 2.) Communications code ASCII (CompoWay/F)
  • Page 18: Interface

    SECTION 1 Communications Methods Allow a wait time of at least 2 ms before the next command is sent after the host receives a response from the E5CN/AN/EN-HT. ■ Interface Communications with the host are carried out through a standard RS-485 interface, RS-232C interface, or RS-422 interface (E5AN/E5EN-HT).
  • Page 19 1.1 Overview of Communications Methods ● E5CN-HT Communications transceiver Host side RS-485 E5CN-HT RS-485 Abbreviation Abbreviation − A (−) B (+) 6.8 V Shield E5CN-HT Terminator 120 Ω End node (1/2 W) RS-485 Abbreviation A (−) A < B: "1" Mark B (+) A >...
  • Page 20 SECTION 1 Communications Methods This section explains how to set the E5CN/AN/EN-HT’s communications specifications. For details on the host, refer to the User’s Manual provided with the host. RS-232C A 1:1 connection is used. The maximum cable length is 15 m. Use AWG24 (cross-sectional area: 0.205 mm ) to AWG14 (cross-sectional area: 2.081 mm...
  • Page 21 1.1 Overview of Communications Methods E5AN/EN-HT (No. 30 Host E5AN/EN-HT (No. 0) Terminator × 2 RS-422 RS-422 RS-422 (240 Ω, 1/2 W) Shield 11 RDB 11 RDB...
  • Page 22: Communications Parameters

    SECTION 1 Communications Methods ■ Communications Parameters The E5CN/AN/EN-HT’s communications specifications are set in the commu- nications setting level. These parameters are set on the E5CN/AN/EN-HT’s front panel. The following table shows the communications parameters and their setting ranges. Item Code Settings Set Values...
  • Page 23: Communications Parameters

    1.1 Overview of Communications Methods Use the D or U Keys to change the parameter set values. Protocol Setting psel Communications Unit u-no Communications Baud Rate Communications Data Length (See note.) Communications Stop 56it Bits (See note.) Communications prty Parity Note: Displayed only when the eVen Protocol Setting parameter is...
  • Page 24: Setting Communications Writing

    SECTION 1 Communications Methods • Communications Stop Bits (sbit) This parameter is for setting the number of communications stop bits. Set either “1” or “2.” • Communications Parity (prty) The communications parity can be set. Set the parity to “none,” “even,” or “odd.”...
  • Page 25: Compoway/F Communications Procedures

    SECTION 2 CompoWay/F Communica- tions Procedures Read this section if you are to communicate using the CompoWay/F format. Data Format..............2-2 Command Frame........... 2-2 BCC Calculation Example ......2-3 Response Frame ........... 2-3 Communications Data ........... 2-4 End Code Example..........2-4 Structure of Command Text ..........
  • Page 26: Data Format

    SECTION 2 CompoWay/F Communications Procedures 2.1 Data Format Hexadecimal values are expressed by adding the prefix H’ before the number, e.g., H’02. Numbers shown without the H’ prefix are ASCII characters. The number underneath each item in a frame indicates the number of bytes. ■...
  • Page 27: Response Frame

    2.1 Data Format ● BCC Calculation Example The BCC (Block Check Character) is determined by calculating the exclusive OR of the bytes from the node number up to ETX. The 8-bit result is written to the BCC byte at the end of the frame. Command text Node number Sub-address 02H 0 (30H) 0 (30H) 0 (30H) 0 (30H) 0 (30H) 0 (30H)5 (35H) 0 (30H)3 (33H)
  • Page 28: Communications Data

    SECTION 2 CompoWay/F Communications Procedures ■ Communications Data Communications Set (monitor) Negative values Decimal point format values CompoWay/F 8-digit hexa- 2’s complement Decimal point is removed and the result is converted decimal to hexadecimal. Example conversion: 105.0 → 1050 → H’0000041A However, when reading or writing time data in hh.mm, mm.ss, or dd.hh, BCD data is used (the same format as the display).
  • Page 29 2.1 Data Format Response There is no response. Example 4) No Sub-address and Illegal BCC Command Node number Response Node number Sub-address End code The sub-address is “00” and the end code is “13” (BCC error).
  • Page 30: Structure Of Command Text

    SECTION 2 CompoWay/F Communications Procedures 2.2 Structure of Command Text ■ PDU Structure An MRC (Main Request Code) and SRC (Sub-Request Code) followed by the various required data is transferred to the command text. Service Request PDU MRC SRC Data The MRES (Main Response Code) and SRES (Sub-Response Code) are transferred to the response frame following the above MRC/SRC.
  • Page 31: Addresses

    2.2 Structure of Command Text The following table summarizes setup areas 0 and 1. Area Description Setup area 0 This area groups together the protect, manual control, opera- tion, adjustment, program setting, and PID setting levels. Setup area 1 This area groups together the initial setting, communications setting, advanced function setting, and calibration levels.
  • Page 32 SECTION 2 CompoWay/F Communications Procedures Name of service Processing Composite Write to This service writes to the variable Variable Area area in the order specified by the parameters. Read Controller This service reads the model num- Attributes ber and communications buffer size. Read Controller Sta- This service reads the operating sta- tus.
  • Page 33: Detailed Description Of The Services

    2.3 Detailed Description of the Services 2.3 Detailed Description of the Services ■ Read Variable Area This service reads data from the variable area. Service Request PDU Variable Read MRC SRC Number of type position start address elements Service Request PDU Response Read data (for number MRC SRC...
  • Page 34: Write Variable Area

    SECTION 2 CompoWay/F Communications Procedures Response code Error name Cause 1001 Command too long The command is too long. 1002 Command too short The command is too short. 1101 Area type error The variable type is wrong. 1103 Start address out-of- The read start address is out range error of range.
  • Page 35 2.3 Detailed Description of the Services (3) Number of Elements Number of elements Processing 0000 The write operation is not performed (do not append write data to the service request PDU) and processing ends in “normal completion.” Double word (vari- 0001 to 0018 Up to 24 elements (H'18) are written, and able types C0,...
  • Page 36: Composite Read From Variable Area

    SECTION 2 CompoWay/F Communications Procedures Note: For details on AT (auto-tuning), refer to the separate E5CN/AN/ EN-HT Digital Controllers Program Type User’s Manual (Cat. No. H169). (5) Precautions ● Alarm Function Even though alarms are not displayed on the Controller’s display, they function normally in communications.
  • Page 37: Composite Write To Variable Area

    2.3 Detailed Description of the Services Note: The maximum number of data that can be read when double- word data and word data are mixed is given in the following table. Composite read Composite read Double word Word (variable Double word Word (variable (variable types types 80, 81, 83,...
  • Page 38 SECTION 2 CompoWay/F Communications Procedures Service Request PDU Write Variable MRC SRC Write data position address type 0 1 1 3 Number of elements ×8 or 4 Write Variable Write data address position type Number of elements ×8 or 4 Service Response PDU Response MRC SRC...
  • Page 39 2.3 Detailed Description of the Services (4) Response Code Normal Completion Response code Name Description 0000 Normal completion No errors were found. Error Occurred Response code Error name Cause 1002 Command too The command is too short. short 1101 Area type error The variable type is wrong.
  • Page 40: Read Controller Attributes

    SECTION 2 CompoWay/F Communications Procedures ■ Read Controller Attributes This service reads the model number and communications buffer size. Service Request PDU MRC SRC 0 5 0 3 Service Response PDU MRC SRC Response Model No. Buffer code size 0 5 0 3 0 0 D 9 (1) Model Number The model number is expressed in 10-byte ASCII.
  • Page 41: Read Controller Status

    2.3 Detailed Description of the Services ■ Read Controller Status This service reads the operating status and error status. Service Request PDU MRC SRC 6 0 1 Service Response PDU Operating Related Response MRC SRC status informa- code tion 6 0 1 (1) Operating Status Operating Description...
  • Page 42: Echoback Test

    SECTION 2 CompoWay/F Communications Procedures ■ Echoback Test This service performs an echoback test. Service Request PDU MRC SRC Test data 8 0 1 0 to 200 Service Response PDU Response MRC SRC Test data code 8 0 1 0 to 200 (1) Test Data Set between 0 and 200 bytes of user-defined test data.
  • Page 43: Operation Command

    2.3 Detailed Description of the Services ■ Operation Command This service performs operations such as the following: • Communications • Run/Reset • AT Execute/Cancel Writing • Write Mode • Save RAM Data • Software Reset • Move to Setup Area 1 •...
  • Page 44 SECTION 2 CompoWay/F Communications Procedures Command Command content Related Information code Alarm Latch Cancel 00: Alarm 1 latch cancel 01: Alarm 2 latch cancel 02: Alarm 3 latch cancel 03: HB alarm latch cancel 04: HS alarm latch cancel 05: OC alarm latch cancel 0F: All alarm latch cancel SP Mode 00: Program SP Mode...
  • Page 45 2.3 Detailed Description of the Services (3) Operation Commands and Precautions ● Communications Writing Set the Communications Writing parameter to “ON: enabled” or “OFF: disabled” with the related information setting. The setting can be accepted in both setup area 0 and setup area 1. An operation error will occur, however, if enabling or disabling communications writing is set for an event input.
  • Page 46 SECTION 2 CompoWay/F Communications Procedures Write mode Description Backup mode The data is written to non-volatile memory when a parameter in the operation, program setting, adjust- ment, or PID setting level (excluding read-only parameters) is written using communications. RAM write mode The data is not written to non-volatile memory when a parameter in the operation, program setting, adjustment, or PID setting level (excluding read-only...
  • Page 47 2.3 Detailed Description of the Services ● Move to Protect Level This command moves to the “protect level” and can be accepted only in setup area 0.When this command is issued in setup area 1, an “operation error” will be generated, and the move to the protect level will be prohibited.
  • Page 48 SECTION 2 CompoWay/F Communications Procedures Related Explanation (initialization values) information Default initialization values (See SECTION 3 Communica- tions Data for CompoWay/F for details.) (These settings are the same as the ones used when “FACT” is selected for the setting data’s set value initial- ization.) ●...
  • Page 49 2.3 Detailed Description of the Services • During a reset or when continuing control at the end of operation • When Hold/Clear Hold is assigned to an event input ● Advance This operation command performs the advance operation. The setting can be made only in setup area 0.
  • Page 50: Response Code List

    SECTION 2 CompoWay/F Communications Procedures 2.4 Response Code List Normal Completion Error Response Name Description detection code priority 0000 Normal completion No errors were found. None Error Occurred Error Response Name Description detection code priority 0401 Unsupported command The service function for the relevant command is not supported.
  • Page 51: Communications Data For Compoway/F

    SECTION 3 Communications Data for CompoWay/F This section gives the details of the communications data in the CompoWay/F communications protocol. Variable Area (Setting Range) List ....... 3-2 Status and Status 2 ............ 3-20 Status Structure........... 3-20 Status 2 Structure..........3-22 Status Details ............
  • Page 52: Variable Area (Setting Range) List

    SECTION 3 Communications Data for CompoWay/F 3.1 Variable Area (Setting Range) List For communications using a variable type not enclosed in parentheses in the following table, the set value is double-word data (8 digits). For communications using a variable type enclosed in parentheses, the set value is single-word data (4 digits).
  • Page 53 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C1 (81) 0000 Operation/Adjustment Protect H’00000000(0) to H’00000005(5) Protect 0: No control 1: Run level (PV allowed, PV/SP allowed, others allowed), program level allowed, adjustment level allowed, PID setting level prohib- ited 2: Run level (PV allowed, PV/SP allowed, others allowed), program level allowed, adjustment level prohibited, PID setting level pro-...
  • Page 54 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C1 (81) 0022 MV at Reset Standard: H'FFFFFFCE to H'0000041A (−5.0 to 105.0) Adjustment Heating/cooling: H'FFFFFBE6 to H'0000041A (−105.0 to 105.0) Position proportional (Floating or direct setting of position proportional MV OFF): H'FFFFFFFF to H'00000001 (−1 to 1) Position proportional (Closed and direct setting of position proportional MV ON): H'FFFFFFCE to H'0000041A (−5.0 to 105.0)
  • Page 55 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C1 (81) 0041 RSP Broken-line Correction Value 0 H’FFFFB1E1 to H’00007E90 (−19999 to 32400) Adjustment C1 (81) 0042 RSP Broken-line Correction Value 1 H’FFFFB1E1 to H’00007E90 (−19999 to 32400) C1 (81) 0043 RSP Broken-line Correction Value 2...
  • Page 56 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0000 Input Type (See note.) H'00000000 (0): Pt (−200.0 to 850.0°C/−300.0 to 1500.0°F) Initial H'00000001 (1): Pt (−199.9 to 500.0°C/−199.9 to 900.0°F) setting H'00000002 (2): Pt (0.0 to 100.0°C/0.0 to 210.0°F) H'00000003 (3):...
  • Page 57 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C3 (83) 000D Alarm 1 Type H'00000000 (0): Alarm function OFF Initial H'00000001 (1): Upper and lower limit alarm setting H'00000002 (2): Upper limit alarm H'00000003 (3): Lower limit alarm H'00000004 (4): Upper and lower limit range alarm H'00000005 (5): Upper and lower limit alarm with standby sequence...
  • Page 58 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0016 Event Input Assignment 1 H'00000000 (0): None Initial H'00000001 (1): Run (OFF)/reset (ON) setting H'00000002 (2): Run (ON)/reset (OFF) H'00000003 (3): Auto/manual switch H'00000004 (4): Reset H'00000005 (5): Run H'00000006 (6): Hold/clear hold...
  • Page 59 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0020 Auxiliary Output 2 Open in Alarm H'00000000 (0): Close in alarm Advanced H'00000001 (1): Open in alarm function setting C3 (83) 0021 Alarm 2 Hysteresis Temperature: H'00000001 to H'00007E90 (0.1 to 3240.0) Initial...
  • Page 60 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0036 PV Change Color H'00000000 (0): Orange Advanced H'00000001 (1): Red function H'00000002 (2): Green setting H'00000003 (3): Red to green: When ALM1 is ON H'00000004 (4): Green to red: When ALM1 is ON H'00000005 (5): Red to green to red: Within PV stable band: Green Outside stable band: Red...
  • Page 61 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C3 (83) 004C Communications Protocol Setting H'00000000 (0): CompoWay/F Communi- (See note 1.) H'00000001 (1): Modbus cations set- ting C3 (83) 004D Send Data Wait Time (See note 1.) H'00000000 to H'00000063 (0 to 99) C3 (83) 004E...
  • Page 62 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0050 Auxiliary Output 1 Assignment H'00000000 (0): Not assigned. Advanced H'00000001 (1): Control output (heating) function H'00000002 (2): Control output (cooling) setting H'00000003 (3): Alarm 1 H'00000004 (4): Alarm 2 H'00000005 (5): Alarm 3 H'00000006 (6): Program end output...
  • Page 63 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0066 PID Set Automatic Selection Hysteresis H'0000000A to H'0000270F (0.10 to 99.99) Advanced function C3 (83) 0067 PV Rate of Change Calculation Period H'00000001 to H'000003E7 (1 to 999) setting C3 (83)
  • Page 64 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C3 (83) 0073 PV/SP Display Screen Selection H'00000000 (0): Only PV/SP displayed (no No. 3 display). Advanced H'00000001 (1): The PV/SP/Program No. or Segment No., and the function PV/SP/MV are displayed in order.
  • Page 65 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type C4 (84) 0000 Program Selection H'00000000 to H'00000007 (0 to 7) Program setting C4 (84) 0001 No. of Segments Used (See note 1.) H'00000001 to H'00000020 (32) C4 (84) 0002 Segment Selection (See note 1.)
  • Page 66 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type C5 (85) 0000 PID 1 Proportional Band Temperature: H'00000001 to H'00007E90 (0.1 to 3240.0) PID setting Analog: H'00000001 to H'0000270F (0.1 to 999.9) C5 (85) 0001 PID 1 Integral Time Standard, heating/cooling, position proportional (closed):...
  • Page 67 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type DA (9A) 0000 Program 0 No. of Segments Used H'00000001 to H'00000020 (1 to 32) Program setting DA (9A) 0001 Program 0 PID Set No. H'00000000 to H'00000008 (0 to 8) (0): Automatic Selection DA (9A) 0002...
  • Page 68 SECTION 3 Communications Data for CompoWay/F Variable Address Parameter name Setting (monitor) value Level type DA (9A) 0043 Program 0 Segment 12 Type DA (9A) DA (9A) 0047 Program 0 Segment 13 Type DA (9A) DA (9A) 004B Program 0 Segment 14 Type DA (9A) DA (9A) 004F...
  • Page 69 3.1 Variable Area (Setting Range) List Variable Address Parameter name Setting (monitor) value Level type DA (9A) 0600 Program 6 No. of Segments Used DA (9A) DA (9A) 0700 Program 7 No. of Segments Used DA (9A) 3-19...
  • Page 70: Status And Status 2

    SECTION 3 Communications Data for CompoWay/F 3.2 Status and Status 2 The figure below shows the structure of the status data. ■ Status Structure Outputs Input error HB error Bit position 16 15 14 13 12 11 10 9 Heater overcurrent (CT1) Heater current hold (CT1) A/D converter error HS alarm (CT1)
  • Page 71 3.2 Status and Status 2 HB error Operating status Event inputs Bit position 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 Event input 1 Event input 2 Event input 3 Event input 4 Write mode Non-volatile memory Setup area...
  • Page 72: Status 2 Structure

    SECTION 3 Communications Data for CompoWay/F ■ Status 2 Structure Spare Outputs Spare Outputs Bit position Work bit 1 Work bit 2 Work bit 3 Work bit 4 Work bit 5 Work bit 6 Work bit 7 Work bit 8 OC (Heater Overcurrent) Alarm (CT1) OC (Heater Overcurrent) Alarm (CT2) Control Output 1 ON/OFF Count Alarm Output...
  • Page 73: Status Details

    3.2 Status and Status 2 ■ Status Details Bit Description Bit position Status Status Heater overcurrent (CT1) Not generated Generated (lower word) Heater current hold (CT1) (See note 1.) Update Hold A/D converter error Not generated Generated HS alarm (CT1) RSP input error Not generated Generated...
  • Page 74: Status 2 Details

    SECTION 3 Communications Data for CompoWay/F ■ Status 2 Details Bit Description Bit position Status Status Work bit 1 (lower word) Work bit 2 Work bit 3 Work bit 4 Work bit 5 Work bit 6 Work bit 7 Work bit 8 Spare Spare OC (Heater Overcurrent) Alarm (CT1)
  • Page 75: Modbus Communications Procedure

    SECTION 4 Modbus Communications Procedure Read this section if you are to communicate using the Modbus format. Data Format..............4-2 Command Frame........... 4-2 CRC-16 Calculation Example....4-3 Response Frame ........... 4-4 Normal Response Frame ......4-4 Error Response Frame......4-4 Error Codes ............
  • Page 76: Data Format

    SECTION 4 Modbus Communications Procedure 4.1 Data Format The data format complies with the Modbus (RTU) communications protocol, so commands from the host and responses from the E5CN/ AN/EN-HT are contained in data blocks called frames. The structure of the command and response frames is described below. In the following explanations, hexadecimal values are expressed by adding the prefix H’...
  • Page 77: Calculation Example

    4.1 Data Format ● CRC-16 Calculation Example Messages are processed one byte at a time in the work memory (a 16- bit register known as the CRC register). (1)The CRC register is initialized to H’FFFF. (2)An XOR operation is performed on the content of the CRC register and the first byte of the message, and the result is returned to the CRC register.
  • Page 78: Response Frame

    SECTION 4 Modbus Communications Procedure ■ Response Frame ● Normal Response Frame Slave Function CRC-16 Data address code 2 bytes CRC-16 calculation range ● Error Response Frame Slave Function Error CRC-16 address code code 2 bytes CRC-16 calculation range The number specified in the command frame is entered as-is. Slave address This is the unit number of the Unit returning the response.
  • Page 79: Error Codes

    4.1 Data Format ■ Error Codes Error Name Description detection code priority H'01 Function code error An unsupported function code was received. H'02 Variable address error The specified variable area address is out-of-range. H'03 Variable data error The amount of data does not match the number of elements. The byte count is not 2 times the number of elements.
  • Page 80: Function List

    SECTION 4 Modbus Communications Procedure 4.2 Function List The following table lists the function codes. Function Code List Function code Name Process 03 (H'03) Read variable This function reads from the variable area. (multiple) It is possible to read two or more consecutive variables. 16 (H'10) Write variable This function writes to the variable area.
  • Page 81: Variable Area

    4.3 Variable Area 4.3 Variable Area The variable area is the region of memory used to exchange data with the E5CN/AN/EN-HT through communications. Operations such as reading the process value and reading/writing parameters are performed on the variable area. On the other hand, operation commands do not use the variable area. E5CN/AN/EN-HT Operation Microcomputer...
  • Page 82 SECTION 4 Modbus Communications Procedure Modbus addresses Setup area Area number Address range Setup area 0 00 to 0B, 20 to 2B, 15, 0000 to 0BFE, 2000 to 2B7F, 18, 35, and 38 1500 to 15FE, 1800 to 1830, 3500 to 357F, and 3800 to 3818 Setup area 1 0C to 13 and 2C to 33 0C00 to 136C and 2C00 to...
  • Page 83: Detailed Description Of The Services

    4.4 Detailed Description of the Services 4.4 Detailed Description of the Services ■ Variable Read, Multiple To read from the variable area, set the required data in the command frame, as shown in the following diagram. Command Frame Number of Slave Function Read...
  • Page 84 SECTION 4 Modbus Communications Procedure Response Frame Read data (for the Slave Function Byte number of elements) CRC-16 address code count H'03 0 to 212 (2 × 106) Name Description Slave address The value from the command frame is entered as-is. Function code This is the received function code.
  • Page 85: Variable Write, Multiple

    4.4 Detailed Description of the Services Process Value in Two-byte Mode • Address: H’2000; Read data: H’03E8 (100.0 °C) Command: 00 00 00 01 8F CA (CRC-16) Response: 01 03 03 E8 B8 FA (CRC-16) ■ Variable Write, Multiple To write data to the variable area, set the required data in the command frame, as shown in the following diagram.
  • Page 86 SECTION 4 Modbus Communications Procedure Response Frame Slave Function Write Number of CRC-16 address code start address Elements H'10 2 bytes Name Description Slave address The value from the command frame is entered as-is. Function code This is the received function code. When the function ended normally, the function code is left as-is.
  • Page 87 4.4 Detailed Description of the Services Response Code Function Error Error name Cause code code H'90 H'02 Variable address error The write start variable address is incorrect. • The variable area number is incorrect. ◆ The amount of data does not match the H'03 Variable data error number of elements.
  • Page 88: Variable Write, Single/Operation Command

    SECTION 4 Modbus Communications Procedure • Address: H'380A; Write data: H' FC18 (when −1000) 38 09 00 02 03 E8 FC 18 C1 72 (CRC-16) Command: Response: 38 09 00 02 9C AA (CRC-16) ■ Variable Write, Single/Operation Command This function performs operations such as writing to the variable area (single) and operation commands (Communications Writing, Run/ Reset, AT Execute/Cancel, Write Mode, Save RAM Data, Software Reset, Move to Setup Area 1, Move to Protect Level, Auto/Manual...
  • Page 89 4.4 Detailed Description of the Services Command Command content Related information code Auto/manual switch 00: Automatic mode 01: Manual mode Parameter initialization 00: Initialize to defaults Alarm latch cancel 00: Alarm 1 latch cancel 01: Alarm 2 latch cancel 02: Alarm 3 latch cancel 03: HB alarm latch cancel 04: HS alarm latch cancel 05: OC alarm latch cancel...
  • Page 90 SECTION 4 Modbus Communications Procedure Error Occurred Function Error code Name Description code H'86 H'02 Variable address The write variable address is incorrect. error The variable area number (2-byte data) is wrong, or the address is not 0000 or FFFF. H'03 Variable data error The write data is incorrect.
  • Page 91 4.4 Detailed Description of the Services ● AT Execute/Cancel Set AT (auto-tuning) to “execute” or “cancel” with the related information setting. This command can be accepted in setup area 0 only. An “operation error” will be generated in the following instances: •...
  • Page 92 SECTION 4 Modbus Communications Procedure • RAM write mode is enabled only when communications are enabled in the Communications Writing parameter (i.e., set to ON). Therefore, if the Communications Writing parameter is changed to OFF (disabled), the parameter settings from the operation, adjustment, program setting, and PID setting levels (excluding read-only parameters) are written to non-volatile memory even if the RAM write mode is set.
  • Page 93 4.4 Detailed Description of the Services while already in manual mode, the command will be completed normally and the display will not change (the contents will not be refreshed). ◆ Switching to Manual Mode during Auto-tuning If the mode is switched during auto-tuning (AT), the AT will be cancelled and the Controller will be switched to manual mode.
  • Page 94 SECTION 4 Modbus Communications Procedure ● Infrared Communications Use Select ON or OFF to enable or disable using infrared communications with the related information setting. The setting can be accepted in both setup area 0 and setup area 1. ● Hold Turn the hold operation ON or OFF with the related information setting.
  • Page 95: Echoback Test

    4.4 Detailed Description of the Services ■ Echoback Test Command Frame Slave Function Write CRC-16 Test data address code start address H'08 H'00 H'00 2 bytes Response Frame Slave Function Write CRC-16 Test data address code start address H'08 H'00 H'00 2 bytes * When the command is executed normally, the response returns the...
  • Page 96 SECTION 4 Modbus Communications Procedure 4-22...
  • Page 97: Communications Data For Modbus

    SECTION 5 Communications Data for Modbus This section lists the details of the communications data in the Modbus communications protocol. Variable Area (Setting Range) List ....... 5-2 Status and Status 2 ............ 5-16 Status Structure........... 5-16 Status 2 Structure..........5-18 Status Details ............
  • Page 98: Variable Area (Setting Range) List

    SECTION 5 Communications Data for Modbus 5.1 Variable Area (Setting Range) List • Four-byte Mode One element uses 2 bytes of data (H'0000 to H'FFFF), so specify two-element units. Reading and writing in 4-byte units is executed by specifying an even address and specifying the number of elements in multiples of 2.
  • Page 99 5.1 Variable Area (Setting Range) List Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0500 2500 Operation/Adjustment Protect H’00000000(0) to H’00000005(5) Protect 0: No control 1: Run level (PV allowed, PV/SP allowed, others allowed), program level allowed, adjustment level allowed, PID setting level prohibited 2: Run level (PV allowed, PV/SP allowed, others allowed), program level allowed, adjustment level prohibited, PID setting level prohibited 3: Run level (PV allowed, PV/SP allowed, others allowed), program level pro-...
  • Page 100 SECTION 5 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0700 2700 Cooling Coefficient (See note 1.) H'00000001 to H'0000270F (0.01 to 99.99) Adjustment 0708 2704 Dead Band Temperature: H'FFFFB1E1 to H'00007E90 (−1999.9 to 3240.0) Analog: H'FFFFF831 to H'0000270F (−19.99 to 99.99) 070A 2705...
  • Page 101 5.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0722 2711 MV at PV Error Standard: H'FFFFFFCE to H'0000041A (−5.0 to 105.0) Adjustment Heating/cooling: H'FFFFFBE6 to H'0000041A (−105.0 to 105.0) Position proportional (Floating or direct setting of position propor- tional MV OFF): H'FFFFFFFF to H'00000001 (−1 to 1) Position proportional (Closed and direct setting of position propor-...
  • Page 102 SECTION 5 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 1802 3801 No. of Segments Used (See note 1.) H'00000001 to H'00000020 (32) Program 1804 3802 Segment Selection (See note 1.) H'00000000 to H'0000001F (31) 1806 3803...
  • Page 103 5.1 Variable Area (Setting Range) List Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode Standard: H'FFFFFFCE to MV upper limit −0.1 (−5.0 to MV upper limit −0.1) 0A0C 2A06 MV Lower Limit (See note 1.) Adjustment Heating/cooling: H'FFFFFBE6 to H'00000000 (−105.0 to 0.0) Position proportional (closed): H'FFFFFFCE to MV upper limit −0.1 (−5.0 to MV upper limit −0.1) 0C00...
  • Page 104 SECTION 5 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0D22 2D11 Standard or Heating/Cooling H'00000000 (0): Standard Initial H'00000001 (1): Heating/cooling setting 0D24 2D12 Direct/Reverse Operation H'00000000 (0): Reverse operation H'00000001 (1): Direct operation 0D26 2D13 Closed/Floating...
  • Page 105 5.1 Variable Area (Setting Range) List Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0E18 2E0C Event Input Assignment 3 H’00000000 to H’00000015 (0 to 21) Initial H'00000000 (0): None setting H'00000001 (1): Run (OFF)/reset (ON) H'00000002 (2): Run (ON)/reset (OFF) H'00000003 (3): Auto/manual switch H'00000004 (4): Reset H'00000005 (5): Run...
  • Page 106 SECTION 5 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0E48 2E24 Extraction of Square Root H'00000000 (0): OFF Initial H'00000001 (1): ON Enable setting 0E60 2E30 Travel Time H'00000001 to H'000003E7 (1 to 999) 0F00 2F00 Alarm 1 Type...
  • Page 107 5.1 Variable Area (Setting Range) List Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0F22 2F11 Alarm 1 ON delay H'00000000 to H'000003E7 (0 to 999) Advanced function 0F24 2F12 Alarm 2 ON delay H'00000000 to H'000003E7 (0 to 999) setting 0F26 2F13...
  • Page 108 SECTION 5 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 1022 3011 PV Status Display Function H'00000000 (0):OFF Advanced H'00000001 (1): Manual function H'00000002 (2): Reset setting H'00000003 (3): Alarm 1 H'00000004 (4): Alarm 2 H'00000005 (5): Alarm 3 H'00000006 (6): Alarm 1 to 3 OR status H'00000007 (7): Heater alarm...
  • Page 109 5.1 Variable Area (Setting Range) List Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 1206 3203 Monitor/Setting Item 2 H'00000000 to H'00000015 (0 to 21) Advanced * Same as for Monitor/Setting Item 1. function setting 1208 3204 Monitor/Setting Item 3 H'00000000 to H'00000015 (0 to 21) * Same as for Monitor/Setting Item 1.
  • Page 110 SECTION 5 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 1348 3324 LBA Detection Time H'00000000 to H'0000270F (0 to 9999) Advanced (See note 1.) function setting 134A 3325 LBA Level Temperature: H'00000001 to H'00007E90 (0.1 to 3240.0) Analog: H'00000001 to H'0000270F (0.01 to 99.99) 134C 3326...
  • Page 111 5.1 Variable Area (Setting Range) List Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 1500 3500 PID 1 Proportional Band Temperature: H'00000001 to H'00007E90 (0.1 to 3240.0) PID setting Analog: H'00000001 to H'0000270F (0.1 to 999.9) 1502 3501 PID 1 Integral Time Standard, heating/cooling, position proportional (closed):...
  • Page 112: Status And Status 2

    SECTION 5 Communications Data for Modbus 5.2 Status and Status 2 The figure below shows the structure of the status data. ■ Status Structure Outputs Input error HB error Bit position 16 15 14 13 12 11 10 9 Heater overcurrent (CT1) Heater current hold (CT1) A/D converter error HS alarm (CT1)
  • Page 113 5.2 Status and Status 2 HB error Operating status Event inputs Bit position 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 Event input 3 Event input 4 Write mode Non-volatile memory Setup area AT execute/cancel Run/Reset...
  • Page 114: Status 2 Structure

    SECTION 5 Communications Data for Modbus ■ Status 2 Structure Spare Outputs Spare Outputs Bit position Work bit 1 Work bit 2 Work bit 3 Work bit 4 Work bit 5 Work bit 6 Work bit 7 Work bit 8 OC (Heater Overcurrent) Alarm (CT1) OC (Heater Overcurrent) Alarm (CT2) Control Output 1 ON/OFF Count Alarm Output...
  • Page 115: Status Details

    5.2 Status and Status 2 ■ Status Details Bit Description Bit position Status Status Heater overcurrent (CT1) Not generated Generated (lower word) Heater current hold (CT1) (See note 1.) Update Hold A/D converter error Not generated Generated HS alarm (CT1) RSP input error Not generated Generated...
  • Page 116: Status 2 Details

    SECTION 5 Communications Data for Modbus ■ Status 2 Details Bit Description Bit position Status Status Work bit 1 (lower word) Work bit 2 Work bit 3 Work bit 4 Work bit 5 Work bit 6 Work bit 7 Work bit 8 Spare Spare OC (Heater Overcurrent) Alarm (CT1)
  • Page 117: Appendix

    Appendix ASCII List ................A-2 Troubleshooting ..............A-3...
  • Page 118 Appendix ASCII List b8 b7 b6 b5 NUL DLE SPACE SOH DC1 STX DC2 " ETX DC3 EOT DC4 ENQ NAK ACK SYN & BEL ETB < >...
  • Page 119: Troubleshooting

    If communications are not functioning properly, check the items in the following table before requesting repairs. If normal operation cannot be restored even after checking everything, return the product to your OMRON representative. Problem: Communications are not possible or communications errors occur.
  • Page 120 Appendix Item Confirmation Page There is a mistake in programming in the Use a line monitor to check the commands. Check operation host device. using a sample program. The host device is detecting the absence Shorten the send data wait time in the Controller or increase of a response as an error before it the response wait time in the host device.
  • Page 121: Index

    Index addresses Modbus ..........1-2 CompoWay/F ........... 2-7 Modbus .............. 4-7 area definitions ............2-6 no response ASCII list .............. A-2 Modbus ..............4-5 node number ............2-2 number of elements CompoWay/F ............1-3 ...........2-7 Modbus ..............4-8 command frame CompoWay/F Operation Command ........... 2-2 Modbus CompoWay/F ..............
  • Page 122 variable area Modbus .............. 4-7 Variable Area (setting range) list CompoWay/F ........... 3-2 Modbus .............. 5-2 variable type ..........2-6 wiring ..............1-4 Write Variable Area CompoWay/F ..........2-10...
  • Page 123: 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. H170-E1-01 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 127 Buyer indemnifies Omron against all related costs or expenses. rights of another party. 10. Force Majeure. Omron shall not be liable for any delay or failure in delivery 16. Property; Confidentiality. Any intellectual property in the Products is the exclu-...
  • Page 128 Apodaca, N.L. • 52.811.156.99.10 • 001.800.556.6766 • mela@omron.com 54.11.4783.5300 OMRON EUROpE B.V. Wegalaan 67-69, NL-2132 JD, Hoofddorp, The Netherlands. Tel: +31 (0) 23 568 13 00 Fax: +31 (0) 23 568 13 88 www.industrial.omron.eu Note: Specifications are subject to change.

This manual is also suitable for:

E5en-htE5an-ht

Table of Contents