Omron E5AN Communications Manual

Digital temperature controllers
Hide thumbs Also See for E5AN:
Table of Contents

Advertisement

Digital Temperature Controllers
Communications
Cat. No. H158-E1-02
E5CN
E5CN
E5CN
E5AN
E5AN
E5AN
E5EN
E5EN
E5EN
E5GN
E5GN
E5GN
Manual
Basic Type

Advertisement

Table of Contents
loading

Summary of Contents for Omron E5AN

  • Page 1 E5CN E5CN E5CN E5AN E5AN E5AN E5EN E5EN E5EN E5GN E5GN E5GN Digital Temperature Controllers Manual Communications Basic Type Cat. No. H158-E1-02...
  • 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 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 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. (See note 3.) 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 Be sure to wire properly with correct polarity of terminals. Use the specified size of crimp terminals for the E5CN, E5AN, or E5EN (M3.5, width of 7.2 mm or less). For open-wired connections to the E5CN, E5AN, or E5EN, use stranded or solid copper wires with a gauge of AWG24 to AWG14 (equal to a cross-sectional area of 0.205 to 2.081 mm...
  • Page 10 18) Always touch a grounded piece of metal before touching the Digital Temperature Controller to discharge static electricity from your body. 19) Do not remove the terminal block from the E5CN, E5AN, or E5EN. Doing so may result in failure or malfunction.
  • 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/F SYSWAY SYSWAY Modbus Communications Data...
  • Page 13: Table Of Contents

    Table of Contents Preface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I Conventions Used in This Manual - - - - - - - - - - -IX SECTION 1 Communications Methods Overview of Communications Methods ............
  • Page 14 SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures Data Format ....................4-2 Command Frame Format ..............4-2 Response Frame ................4-3 Communications Data ................. 4-3 SYSWAY Command Lists ..............4-4 Command Descriptions ................4-5 Read Process Value ................4-5 Write Set Values .................
  • Page 15 Introduction.............. 1-2 Communications Specifications....... 1-3 Transmission Procedure.......... 1-3 Interface..............1-4 Wiring ..............1-4 RS-485 ............. 1-4 RS-232C (E5AN, E5EN, and E5GN Only)1-6 Communications Parameters ........1-7 Communications Parameter Setup ..1-7 Communications Parameters ....1-8 Setting Communications Writing ....1-9...
  • 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

    Send data wait time 0 to 99 ms, default time: 20 ms Note 1: RS-232C is supported by E5AN, E5EN, and E5GN only. Note 2: Communications baud rate, data length, stop bits and vertical parity can each be set independently in the communications setting level.
  • Page 18: Interface

    AWG24 to AWG18 (cross-sectional area of 0.205 to 0.823 mm ) twisted-pair cable for the E5GN. The stripping length is 5 to 6 mm for the E5CN, E5AN, or E5EN, and 6 to 8 mm for the E5GN. ● E5CN Communications...
  • Page 19 1.1 Overview of Communications Methods ● E5AN/EN Communications transceiver Host RS-485 E5AN/EN RS-485 Abbreviation Abbreviation − A (−) B (+) A (−) B (+) 6.8 V Shield Terminator E5AN/EN 120 Ω End node A < B: "1" Mark (1/2 W) RS-485 A >...
  • Page 20: Rs-232C (E5An, E5En, And E5Gn Only)1-6

    AWG24 to AWG18 (cross-sectional area of 0.205 to 0.823 mm ) twisted-pair cable for the E5GN. The stripping length is 5 to 6 mm for the E5CN, E5AN, or E5EN, and 6 to 8 mm for the E5GN. ● E5AN/EN Host...
  • Page 21: Communications Parameters

    For details on operations other than communications parameter setup, refer to the E5CN/E5AN/E5EN/ E5GN Digital Temperature Controllers User's Manual Basic Type (Cat. No. H156) for the devices being used.
  • Page 22: Communications Parameters

    SECTION 1 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 Send Data Wait Time...
  • Page 23: Setting Communications Writing

    1.1 Overview of 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 24 SECTION 1 Communications Methods 1-10...
  • 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 ■...
  • Page 29 2.1 Data Format 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, and adjustment 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 Read Controller Sta- This service reads the operating sta- tus. Echoback Test This service performs an echoback test. Operation Command This service performs operations such as RUN/STOP, executing/stop- ping AT (auto-tuning), and moving to Setup Area 1.
  • 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 1101 Area type error The variable type is wrong. 1103 Start address out-of- The read start address is out range error of range. 110B Response too long The number of elements exceeds the maximum.
  • 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 0001 to 0018 The write operation is performed and (variable type C0, (1 to 24)
  • Page 36: Composite Read From Variable Area

    SECTION 2 CompoWay/F Communications Procedures Note: For details on AT (auto-tuning), refer to the E5CN/E5AN/E5EN/ E5GN Digital Temperature Controllers User's Manual Basic Type (Cat. No. H156). (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 following table gives the maximum number of read data items when double-word data and word data are used together. Composite Read Composite Read Double word Word Double word Word (variable type C0, C1, or (variable type 80, 81, or (variable type C0, C1, or (variable type 80, 81, or...
  • 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 • AT (auto-tuning) was in progress. (See note.) • EEPROM error Note: For details on AT (auto-tuning), refer to the E5CN/E5AN/E5EN/ E5GN Digital Temperature Controllers User's Manual Basic Type (Cat. No. H156). 2-15...
  • Page 40: Read Controller Attributes

    TC/Pt universal input). E 5 c n - Q 2 H H O Note: A lowercase “e” is applied to the E5AN/EN/GN (eg., e5an). (2) Buffer Size The communications buffer size is expressed in 2-byte hexadecimal, and read after being converted to 4-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/STOP • Multi-SP Writing • AT Execute/Cancel • 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 Invert Direct/Reverse 00: Not invert...
  • Page 45 2.3 Detailed Description of the Services ● RUN/STOP Set control to “run” or “stop” 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 RUN/STOP is set for an event input.
  • Page 46 SECTION 2 CompoWay/F Communications Procedures Write mode Description RAM write mode The data is not written to EEPROM when the param- eters in the operation/adjustment levels (excluding read-only parameters) are written by communica- tions. Parameters can be changed by operating the keys on the front panel of the controller.
  • Page 47 2.3 Detailed Description of the Services ● Auto/Manual Switch This operation command switches the mode to manual mode or automatic mode, based on 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 48 SECTION 2 CompoWay/F Communications Procedures Related Explanation (initialization values) information Default initialization values (See SECTION 3 Communica- tions Data for CompoWay/F and SYSWAY for details.) (These settings are the same as the ones used when “FACT” is selected for the setting data’s set value initial- ization.) The applicable alarm latch can be cleared with the related information setting.
  • Page 49 2.3 Detailed Description of the Services Power ON Software reset command Setting area 0 Setting area 1 “Move-to-setting area 1” command Control in progress Control stopped. 2-25...
  • 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 And Sysway

    SECTION 3 Communications Data for CompoWay/F and SYSWAY This section lists the details of the communications data in the CompoWay/F and SYSWAY communications protocols. Variable Area (Setting Range) List ....... 3-2 Status and Status 2 ............ 3-15 Status Structure........... 3-15 Status 2 Structure..........
  • Page 52: Variable Area (Setting Range) List

    SECTION 3 Communications Data for CompoWay/F and SYSWAY 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 Parameter name Setting (monitor) value Level type dress C1 (81) 0000 Operation/Adjustment Pro- H'00000000 (0): No restrictions in operation and adjust- Protect tect ment levels H'00000001 (1): Move to adjustment level is prohibited. H'00000002 (2): Display and change of only “PV”...
  • Page 54 SECTION 3 Communications Data for CompoWay/F and SYSWAY Variable Parameter name Setting (monitor) value Level type dress C1 (81) 0015 Proportional Band H'00000001 to H'0000270F (0.1 to 999.9) Adjustment C1 (81) 0016 Integral Time H'00000000 to H'00000F9F (0 to 3999) C1 (81) 0017 Derivative Time...
  • Page 55 3.1 Variable Area (Setting Range) List Variable Parameter name Setting (monitor) value Level type dress C1 (81) 0028 Move to Protect Level H'FFFFF831 to H'0000270F (−1999 to 9999) Protect C1 (81) 0029 Password to Move to Pro- H'FFFFF831 to H'0000270F (−1999 to 9999) tect Level (Can only be set.
  • Page 56 SECTION 3 Communications Data for CompoWay/F and SYSWAY Vari- able Parameter name Setting (monitor) value Level dress type C3 (83) 0000 Input Type (analog input H'00000000 (0): 4 to 20 mA Initial set- models) (See note.) H'00000001 (1): 0 to 20 mA ting H'00000002 (2): 1 to 5 V H'00000003 (3): 0 to 5 V...
  • Page 57 3.1 Variable Area (Setting Range) List Varia- Parameter name Setting (monitor) value Level ble type dress C3 (83) 000D Alarm 1 Type H'00000000 (0): Alarm function OFF Initial set- H'00000001 (1): Upper and lower-limit alarm ting H'00000002 (2): Upper-limit alarm H'00000003 (3): Lower-limit alarm H'00000004 (4):...
  • Page 58 SECTION 3 Communications Data for CompoWay/F and SYSWAY Vari- able Parameter name Setting (monitor) value Level dress type C3 (83) 0016 Event Input Assignment 1 H'00000000 (0): None Initial set- (See note 1.) H'00000001 (1): RUN/STOP ting H'00000002 (2): Auto/manual switch H'00000003 (3): Program Start (See note 3.) H'00000004 (4):...
  • Page 59 3.1 Variable Area (Setting Range) List Variable Parameter name Setting (monitor) value Level type dress C3 (83) 0020 Auxiliary Output 2 Open in H'00000000 (0): Close in alarm Advanced Alarm H'00000001 (1): Open in alarm function setting C3 (83) 0021 Alarm 2 Hysteresis H'00000001 to H'0000270F Initial set-...
  • Page 60 Note 1: Not displayed on the Controller display when Alarm 3 is not assigned to the output. Note 2: The setting (monitor) range depends on the transfer output type setting. (Refer to Section 5 Parameters in the E5CN/E5AN/E5EN/E5GN Digital Temperature Controllers User's Manual Basic Type (Cat. No. H156).) 3-10...
  • Page 61 3.1 Variable Area (Setting Range) List Vari- able Parameter name Setting (monitor) value Level dress type C3 (83) 004C Protocol Setting (See H'00000000 (0): CompoWay/F (SYSWAY) Commu- note 1.) H'00000001 (1): Modbus nications setting C3 (83) 004D Send Data Wait Time H'00000000 to H'00000063 (0 to 99) (See note 1.) C3 (83)
  • Page 62 SECTION 3 Communications Data for CompoWay/F and SYSWAY Vari- able Parameter name Setting (monitor) value Level dress type C3 (83) 0050 Auxiliary Output 1 H'00000000 (0): Not assigned. Advanced Assignment H'00000001 (1): Control output (heating) function H'00000002 (2): Control output (cooling) setting H'00000003 (3): Alarm 1 H'00000004 (4): Alarm 2...
  • Page 63 3.1 Variable Area (Setting Range) List Vari- able Parameter name Setting (monitor) value Level dress type C3 (83) 006C Extraction of Square H'00000000 (0): OFF Initial set- Root Enable H'00000001 (1): ON ting C3 (83) 006D PF Setting H'00000000 (0): Not assigned. Advanced H'00000001 (1): Run function...
  • Page 64 SECTION 3 Communications Data for CompoWay/F and SYSWAY Vari- able Parameter name Setting (monitor) value Level dress type C3 (83) 0076 PV Status Display Func- H'00000000 (0): OFF Advanced tion H'00000001 (1): Manual function H'00000002 (2): Stop 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...
  • Page 65: Status And Status 2

    3.2 Status and Status 2 3.2 Status and Status 2 The figure below shows the structure of the status data. ■ Status Structure Outputs Input error HB error 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit position Heater overcurrent (CT1) Heater current hold (CT1) A/D converter error...
  • Page 66 SECTION 3 Communications Data for CompoWay/F and SYSWAY Operating status HB error Event inputs 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 Bit position Event input 1 Event input 2 Event input 3 Event input 4 Write mode EEPROM...
  • Page 67: Status 2 Structure

    3.2 Status and Status 2 ■ 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 Control Output 2 ON/OFF Count Alarm Output...
  • Page 68: Status Details

    SECTION 3 Communications Data for CompoWay/F and SYSWAY ■ Status Details Bit Description Bit position Status Sta- Heater overcurrent (CT1) Not generated Generated Heater current hold (CT1) (See note 1.) Update Hold (lower A/D converter error Not generated Generated word) HS alarm (CT1) Spare Display range exceeded...
  • Page 69: Status 2 Details

    3.2 Status and Status 2 ■ Status 2 Details Bit Description Bit position Status Sta- Work bit 1 Work bit 2 (lower Work bit 3 word) Work bit 4 Work bit 5 Work bit 6 Work bit 7 Work bit 8 Spare Spare OC (Heater Overcurrent) Alarm (CT1)
  • Page 70 SECTION 3 Communications Data for CompoWay/F and SYSWAY 3-20...
  • Page 71 SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures These communications procedures are supported to provide compatibility with the E5@J and E5@X Digital Temperature Controllers. When using a new system, we recommend using CompoWay/F communications. Data Format..............4-2 Command Frame Format ........4-2 FCS Calculation Example ......
  • Page 72: Data Format

    SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures 4.1 Data Format ■ Command Frame Format Communi- Header Termi- Data Text cations code nator unit num- code * CR FCS calculation range The @ character (ASCII H’40) indicates the start of block format. Communications A number within the range 0 to 99 can be set in BCD.
  • Page 73: Response Frame

    4.1 Data Format ■ Response Frame Termi- Communi- Header Text cations code nator unit num- code Name Description Priority code Parity error The sum total of bits whose received data is “1” does not match the set value of “communications parity.” Framing error Stop bit is “0.”...
  • Page 74: Sysway Command Lists

    SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures ■ SYSWAY Command Lists Header Data Data Category Command Remarks code code length Selecting Communi- Select communications writing Write cations Writing Write mode selection Select backup mode (See note 1.) Select RAM write mode Write None Save operation/...
  • Page 75: Command Descriptions

    4.2 Command Descriptions 4.2 Command Descriptions ■ Read Process Value This command reads the process value and status. Command Communi- Data Header Termi- cations code nator unit num- code R X 0 1 Response Communi- Header Termi- Status cations code nator unit num- code...
  • Page 76: Write Set Values

    SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures • Alarms 1 and 2: Cleared Note 1. Heater burnout is the status corresponding to heater burnout 1 (CT1). (3) End Code When the end code is “00,” this indicates normal completion of the command.
  • Page 77: Read Set Values And Mv Monitor

    4.2 Command Descriptions (4) Precautions ● Alarm Values 1 and 2 When the alarm 1 type is set to “upper and lower-limit alarm,” “upper and lower-limit range alarm,” or “upper and lower-limit alarm with standby sequence,” the alarm’s upper and lower limits are set indepen- dently.
  • Page 78 SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures Response Communi- Header Termi- Read value cations code nator unit num- code (1) Header Code Header code Command Read set point Read alarm values 1 and 2 Read proportional band Read integral time Read derivative time Read temperature input shift val- Read heater burnout detection...
  • Page 79: Select Communications Writing

    4.2 Command Descriptions The 2-point shift method will be used in the following cases: • The Input Type parameter is set to infrared temperature sensor. • The Input Type parameter is not set to infrared temperature sensor, but the Input Shift Type parameter is set to 2-point shift. ●...
  • Page 80 SECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures 4-10...
  • Page 81: Modbus Communications Procedure

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

    SECTION 5 Modbus Communications Procedure 5.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/GN 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 83: Calculation Example

    5.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 84: Response Frame

    SECTION 5 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 85: Error Codes

    5.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 86: Function List

    SECTION 5 Modbus Communications Procedure 5.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 87: Variable Area

    5.3 Variable Area 5.3 Variable Area The variable area is the region of memory used to exchange data with the E5CN/AN/EN/GN 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. Note: Operation commands do not use the variable area.
  • Page 88 SECTION 5 Modbus Communications Procedure Setup area 0 and setup area 1 do not correspond directly to Modbus addresses, but the following areas have a rough correspondence with one exception. Modbus addresses Setup area Area number Address range Setup area 0 00 to 0B, 20 to 2B 0000 to 0BFE, 2000 to 2B7F...
  • Page 89: Detailed Description Of The Services

    5.4 Detailed Description of the Services 5.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 90 SECTION 5 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 91: Variable Write, Multiple

    5.4 Detailed Description of the Services Process Value in 2-byte Mode • Address: H’2000; Read data: H’03E8 (100.0 °C) Command: 8FCA (CRC-16) 20 00 00 01 Response: B8FA (CRC-16) 01 03 03 E8 ■ 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 92 SECTION 5 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 93 5.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 94: Variable Write, Single/Operation Command

    SECTION 5 Modbus Communications Procedure ■ Variable Write, Single/Operation Command This function performs operations such as writing to the variable area (single) and operation commands (communications writing, RUN/STOP, multi-SP, AT execute/cancel, write mode, save RAM data, software reset, move to setup area 1, move to protect level, auto/manual switch, initialize settings, alarm latch cancel, invert direct/reverse operation, and program start.) Writing is enabled in only the 2-byte mode.
  • Page 95 5.4 Detailed Description of the Services Command Command content Related information code 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 0F: All alarm latch cancel...
  • Page 96 SECTION 5 Modbus Communications Procedure Note: For details on variable writing, refer to Variable Write, Multiple on page 5-11. For details on AT, refer to the E5CN/E5AN/E5EN/ E5GN Digital Temperature Controllers User's Manual Basic Type (Cat. No. H156). (4) Example Command and Response The following example shows the command/response for a Stop command.
  • Page 97 5.4 Detailed Description of the Services • When 40% AT is specified during 100% AT execution. • When 100% AT is specified during 40% AT execution. In addition, a parameter error will occur if 40% AT execution is specified during heating and cooling control. Note: If the same type of AT execution is specified during AT execution (e.g., if 100% AT execution is specified dur ing 100% AT...
  • Page 98 SECTION 5 Modbus Communications Procedure ● Move to Setup Area 1 This command moves to “setup area 1” and can be accepted at both setup areas 0 and 1. If the “initial setting/communications protect” is set to “2,” an “operation error” will be generated, and the move to setup area 1 will be prohibited.
  • Page 99 5.4 Detailed Description of the Services Write mode Description RAM write mode When the auto/manual mode is switched by commu- nications, the auto/manual status is not written to EEPROM. The status can be written with the Con- troller key operations. Note: When the auto/manual mode is switched with an operation command through communications and the Controller is in RAM...
  • Page 100: Echoback Test

    SECTION 5 Modbus Communications Procedure ● Program Start The simple program function can be reset/started with the related infor- mation setting. The setting can be accepted in both setup area 0 and setup area 1. An operation error will be generated if program start has been set in the event input.
  • Page 101 5.4 Detailed Description of the Services (2) Response Code Function code Error code Name Description H'88 H'03 Variable data error The data following the function code was not the fixed data (H’00, H’00). H'08 Normal completion No errors were found. (3) Example Command and Response The following example shows the command/response for an Echoback Test command.
  • Page 102 SECTION 5 Modbus Communications Procedure 5-22...
  • Page 103: Communications Data For Modbus

    SECTION 6 Communications Data for Modbus This section lists the details of the communications data in the Modbus communications protocol. Variable Area (Setting Range) List ....... 6-2 Status and status 2 ............. 6-17 Status Structure........... 6-17 Status 2 Structure..........6-19 Status Details ............
  • Page 104: Variable Area (Setting Range) List

    SECTION 6 Communications Data for Modbus 6.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 speci- fying an even address and specifying the number of elements in multiples of 2.
  • Page 105 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 010E 2107 Alarm Value 2 H'FFFFF831 to H'0000270F (−1999 to 9999) Operation 0110 2108 Alarm Value Upper Limit 2 H'FFFFF831 to H'0000270F (−1999 to 9999) 0112 2109 Alarm Value Lower Limit 2...
  • Page 106 SECTION 6 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0600 2600 Manual MV Standard: H'FFFFFFCE to H'0000041A (−5.0 to 105.0) Manual Heating and cooling: H'FFFFFBE6 to H'0000041A control (−105.0 to 105.0) 0602 2601 Set Point...
  • Page 107 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 073A 271D HS Alarm 1 H'00000000 to H'000001F4 (0.0 to 50.0) Adjustment 0746 2723 Temperature Input Shift H'FFFFF831 to H'0000270F (−199.9 to 999.9) 0748 2724 Heater Current 2 Value...
  • Page 108 SECTION 6 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0800 2800 Input Digital Filter H'00000000 to H'0000270F (0.0 to 999.9) Advanced function setting 0810 2808 Extraction of Square Root H'00000000 to H'000003E8 (0.0 to 100.0) Adjustment Low-cut Point 0900...
  • Page 109 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0C00 2C00 Input Type (TC/Pt multi- H'00000000 (0): Pt (−200 to 850°C/−300 to 1500°F) Initial input models) (See note.) H'00000001 (1): Pt (−199.9 to 500.0°C/−199.9 to 900.0°F) setting H'00000002 (2):...
  • Page 110 SECTION 6 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0D06 2D03 Linear Current Output H'00000000 (0): 4 to 20 mA Initial H'00000001 (1): 0 to 20 mA setting 0D1E 2D0F SP Upper Limit The range of values (without decimal point) is as follows: Temperature: SP lower limit + 1 to Input range upper limit...
  • Page 111 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0E0C 2E06 Control Output 1 When control output 1 is a linear output: Advanced Assignment H'00000000 (0): Not assigned. function H'00000001 (1): Control output (heating) setting H'00000002 (2): Control output (cooling) When control output 1 is an ON/OFF output:...
  • Page 112 SECTION 6 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte Two-byte mode mode 0E14 2E0A Event Input Assign- H'00000000 (0): None Advanced ment 1 (See note 1.) H'00000001 (1): RUN/STOP (Cannot be set if the “Number of function multi-SP uses”...
  • Page 113 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 0E48 2E24 Extraction of Square H'00000000 (0): OFF Initial set- H'00000001 (1): ON ting Root Enable 0F00 2F00 Alarm 1 Type H'00000000 (0): Alarm function OFF H'00000001 (1):...
  • Page 114 SECTION 6 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte 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 115 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 1006 3003 Automatic Display Return Time H'00000000 (0): OFF Advanced H'00000001 to H'00000063 (1 to 99) function setting 1008 3004 Display Refresh Period H'00000000 (0):OFF H'00000001 (1): 0.25 H'00000002 (2): 0.5...
  • Page 116 SECTION 6 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 1100 3100 Protocol Setting (See note.) H'00000000 (0): CompoWay/F (SYSWAY) Communi- H'00000001 (1): Modbus cations set- ting 1102 3101 Communications Unit No. (See H'00000000 to H'00000063 (0 to 99) note.) 1104...
  • Page 117 6.1 Variable Area (Setting Range) List Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 130A 3305 Cold Junction Compensa- H'00000000 (0): OFF Advanced tion Method H'00000001 (1): ON function setting α 1314 330A H'00000000 to H'00000064 (0.00 to 1.00) 131E 330F AT Calculated Gain...
  • Page 118 SECTION 6 Communications Data for Modbus Address Four- Two- Parameter name Setting (monitor) value Level byte byte mode mode 1356 332B Manual MV Limit Ena- H'00000000 (0): OFF Advanced H'00000001 (1): ON function setting 135A 332D PV Rate of Change H'00000001 to H'000003E7 (1 to 999) Calculation Period 135C...
  • Page 119: Status And Status 2

    6.2 Status and status 2 6.2 Status and status 2 The figure below shows the structure of the status data. ■ Status Structure Outputs Input error HB error 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit position Heater overcurrent (CT1) Heater current hold (CT1) A/D converter error...
  • Page 120 SECTION 6 Communications Data for Modbus Operating status HB error Event inputs 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 Bit position Event input 1 Event input 2 Event input 3 Event input 4 Write mode EEPROM...
  • Page 121: Status 2 Structure

    6.2 Status and status 2 ■ 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 Control Output 2 ON/OFF Count Alarm Output...
  • Page 122: Status Details

    SECTION 6 Communications Data for Modbus ■ Status Details Bit Description Bit position Status Status Heater overcurrent (CT1) Not generated Generated (lower Heater current hold (CT1) (See note 1.) Update Hold word) A/D converter error Not generated Generated HS alarm (CT1) Spare Display range exceeded Not generated...
  • Page 123: Status 2 Details

    6.2 Status and status 2 ■ Status 2 Details Bit Description Bit position Status Status Work bit 1 (lower Work bit 2 word) 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 124 SECTION 6 Communications Data for Modbus 6-22...
  • Page 125: Appendix

    Appendix ASCII List ................A-2 Troubleshooting ..............A-3...
  • Page 126 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 127: Troubleshooting

    Set or connect terminating resistance at each end of the line. end of the communications line for RS- If the E5CN, E5AN, E5EN, or E5GN is the end node, 120-Ω 485 communications. (1/2-W) terminating resistance is used. Be sure that the com- bined resistance with the host device is 54 Ω...
  • Page 128 Appendix Item Confirmation Page 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. receives the response from the Control- ler.
  • Page 129: Index

    Index addresses ................4-2 CompoWay/F FINS ........... 2-7 ............... 1-2 Modbus function code .............. 5-7 ............5-2 area definitions function list ............2-6 ............5-6 ASCII list .............. A-2 interface ..............1-4 ............1-3 Modbus ..........1-2 command descriptions ......... 4-5 command frame CompoWay/F ........... 2-2 no response Modbus ..............
  • Page 130 services details CompoWay/F ........... 2-9 list (CompoWay/F) .......... 2-7 Modbus .............. 5-9 set values Modbus .............. 5-8 ..............2-2 slave address ............5-2 status ............3-15 6-17 ................. 2-2 SYSWAY ............... 4-1 transmission procedure ........1-3 type code (variable type) ........
  • Page 131: 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. H158-E1-02 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 132 Alexandra Technopark, Singapore 119967 Tel: (65) 6835-3011/Fax: (65) 6835-2711 Regional Headquarters OMRON (CHINA) CO., LTD. © OMRON Corporation 2008 All Rights Reserved. OMRON EUROPE B.V. Room 2211, Bank of China Tower, Wegalaan 67-69-2132 JD Hoofddorp In the interest of product improvement, 200 Yin Cheng Zhong Road, specifications are subject to change without notice.

This manual is also suitable for:

E5gnE5enE5cn

Table of Contents