Communications Methods 2 CompoWay/F Communications Procedures Digital Temperature Controllers Programmable Type Communications Manual E5@C-T 3 Communications Data for CompoWay/F 4 Modbus Communications Procedure 5 Communications Data for Modbus 6 Programless Communications 7 Component Communications A Appendices I Index H186-E1-01
Preface Preface This Communications Manual describes the communications capabilities supported by the E5@C-T Digital Controllers. Read and understand this manual before using communications with the E5@C-T Digital Controllers and be sure you are performing communications correctly. Keep this manual in a safe location where it will be available when needed. © OMRON, 2014 All rights reserved.
Terms and Conditions Agreement Terms and Conditions Agreement Warranty, Limitations of Liability Warranties z Exclusive Warranty Omron’s exclusive warranty is that the Products will be free from defects in materials and workmanship for a period of twelve months from the date of sale by Omron (or such other period expressed in writing by Omron). Omron disclaims all other warranties, express or implied.
Terms and Conditions Agreement Application Considerations Suitability of Use Omron Companies shall not be responsible for conformity with any standards, codes or regulations which apply to the combination of the Product in the Buyer’s application or use of the Product. At Buyer’s request, Omron will provide applicable third party certification documents identifying ratings and limitations of use which apply to the Product.
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 E5@C-T Digital Controllers. 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.
Safety Precautions z Safety Precautions CAUTION Minor injury due to electric shock may occasionally occur. Do not touch the terminals while power is being supplied. Electric shock, fire, or malfunction may occasionally occur. Do not allow metal objects, conductors, cuttings from installation work, or moisture to enter the Digital Controller or a Setup Tool port. Attach the cover to the front-panel Setup Tool port whenever you are not using it to prevent foreign objects from entering the port.
Safety Precautions CAUTION Loose screws may occasionally result in fire. Tighten the terminal screws to the specified torque of 0.43 to 0.58 N·m. 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. A malfunction in the Digital Controller may occasionally make control operations impossible or prevent alarm outputs, resulting in property damage.
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. Use the product within specifications. • The product is designed for indoor use only. Do not use or store the product in any of the following places. Places directly subject to heat radiated from heating equipment.
Precautions for Safe Use • Design the system (e.g., control panel) considering the 2 seconds of delay in setting the Digital Controller’s output after the power supply is turned ON. • The output will turn OFF when you move to the initial setting level. Take this into consideration when performing control. • The number of non-volatile memory write operations is limited. Therefore, use RAM write mode when frequently overwriting data, e.g., through communications.
Trademarks Trademarks • MELSEC and GX-Works are trademarks of the Mitsubishi Electric Corporation. Other company names and product names in this document are the trademarks or registered trademarks of their respective companies.
Versions Versions Check the version on the nameplate on the E5@C-T Controller or on the label on the packing box. If the version is not given, the version of the E5@C-T Controller is version 1.0. Product nameplate Package label The version is given here. The version is given here.
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.
Revision History 12 E5C-T Digital Controllers Programmable Type Communications Manual (H186)
Sections in This Manual Sections in This Manual How This Manual is Organized Descriptions in this manual are separated by the communications method. Read the sections that are applicable to the system being used.
CONTENTS Preface ....................................................................................................................... 1 Terms and Conditions Agreement........................................................................... 2 Warranty, Limitations of Liability ................................................................................................................. 2 Application Considerations .......................................................................................
2-3-4 2-3-5 2-3-6 2-3-7 2-3-8 2-4 Composite Write to Variable Area............................................................................................. 2-12 Read Controller Attributes ........................................................................................................ 2-13 Read Controller Status ............................................................................................................. 2-14 Echoback Test ........................................................
6-3 Controlling Programless Communications......................................................................... 6-20 6-3-1 6-3-2 6-3-3 6-3-4 6-3-5 6-3-6 6-3-7 6-4 Connecting to CP-series PLCs............................................................................................. 6-24 6-4-1 6-4-2 6-4-3 6-4-4 6-4-5 6-5 Configuration and Procedure .................................................................................................... 6-35 Switch Settings and Wiring ..................
1 Communications Methods This section briefly describes the supported communications methods and how to wire equipment. Refer to this section when setting up equipment. 1-1 Overview of Communications Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1-2 Communications Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1-3 Transmission Procedure . . . . . .
1 Communications Methods 1-1 Overview of Communications Methods 1-1-1 Introduction The program for the communications functions is created on the host (personal computer, PLC, or other type of communications master), and the E5@C-T's parameters are monitored or set from the host. Therefore, the description provided here is from the viewpoint of the host. CompoWay/F is OMRON's standard communications format for general serial communications.
1 Communications Methods Transmission Procedure When the host transmits a command frame, the E5@C-T transmits a response frame that corresponds to the command frame. A single response frame is returned for each command frame. The following diagram shows the operation of the command and response frames.
1 Communications Methods 1-1-6 Communications Parameters The E5@C-T's communications specifications are set in the communications setting level. These parameters are set on the E5@C-T's front panel. The following table shows the communications parameters and their setting ranges. Item Communications protocol setting Communications unit No.
1 Communications Methods Description of Communications Parameters When communications parameter settings have been changed, the new settings must be enabled by resetting the Controller. • Protocol Setting (psel) The communications protocol can be selected. Set CompoWay/F or Modbus. 1-1 Overview of Communications Methods 1-1-8 1 • Communications Baud Rate (bps) This parameter is for setting the baud rate for communications with the host. The communications baud rate settings are as follows: 9.
1 Communications Methods 1-6 E5C-T Digital Controllers Programmable Type Communications Manual (H186)
CompoWay/F Communications Procedures 2 Read this section if you are to communicate using the CompoWay/F format. 2-1 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 2-1-1 2-1-2 2-1-3 2-1-4 2-1-5 Command Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BCC Calculation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Response Frame . . . . . . . . . .
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.
2 CompoWay/F Communications Procedures 2-1-2 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.
2 CompoWay/F Communications Procedures 2-1-4 Communications Data Communications format CompoWay/F 2-1-5 Set (monitor) Negative values values 8-digit hexadecimal 2's complement Decimal point Decimal point is removed and the result is converted to hexadecimal. Example conversion: 105.0 → 1050 → H'0000041A End Code Example The following examples show the end code when a command did not end normally.
2 CompoWay/F Communications Procedures Example 4) No Sub-address and Illegal BCC • Command Node number ETX 2-1 Data Format STX BCC Err • Response Node number Sub-address STX 0 0 End code 1 3 BCC ETX 2 The sub-address is “00” and the end code is “13” (BCC error).
2 CompoWay/F Communications Procedures 2-2 2-2-1 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. Data is then transferred following the MRES and SRES.
2 CompoWay/F Communications Procedures Variable type Description C0/80 R/O (read only) parameter for setup area 0. C1/81 R/W parameter for setup area 0. C3/83 R/W parameter for setup area 1. C4/84 R/W parameters for setup area 0 (program setting level, currently selected number). C5/85 R/W parameter for setup area 0. DA/9A R/W parameters for setup area 0 (program setting level, all). Note: Setup area 1 has no read-only parameters, so there is no variable type “C2.
2 CompoWay/F Communications Procedures 2-3 Detailed Description of the Services 2-3-1 Read Variable Area This service reads data from the variable area.
2 CompoWay/F Communications Procedures Response code 1001 1002 1101 Error name Command too long Command too short Area type error Start address out-of-range error 1103 Response too long 110B 1100 2203 Parameter error Operation error Cause The command is too long. The command is too short. The variable type is wrong. The read start address is out of range. The number of elements exceeds the maximum. Bit position is not “00.
2 CompoWay/F Communications Procedures (4) Response Code • Normal Completion Response code 0000 Name Normal completion Description No errors were found. Error name Command too short Area type error Start address out-of-range error End address out-of-range error Cause The command is too short. The variable type is wrong. Write start address is out of range. The write end address (write start address + number of elements) exceeds the final address of the variable area.
2 CompoWay/F Communications Procedures 0 1 2 0 Response code Variable type Read data 4 2 Number of elements ×8 or 4 2-3 Detailed Description of the Services MRC SRC 4 2 Variable type Read data 2 Number of elements ×8 or 4 Note: The read data is read together with the variable type in the order specified by the command. (1) Variable Type and Read Start Address For details on variable types and read start addresses, refer to Section 3 Communications Data for CompoWay/F.
2 CompoWay/F Communications Procedures Response code 1101 Error name Area type error Response too long 110B 1100 2203 2-3-4 Cause The variable type is wrong. The number of elements exceeds the maximum. Bit position is not "00." Non-volatile memory error Parameter error Operation error Composite Write to Variable Area This service writes in order the contents of specified addresses to a variable area.
2 CompoWay/F Communications Procedures 2-3 Detailed Description of the Services Composite Write Double word (variable types C0, C1, C3, C4, C5, or DA) Composite Write Word (variable types 80, 81, 83, 84, 85, or 9A) Double word (variable types C0, C1, C3, C4, C5, or DA) Word (variable types 80, 81, 83, 84, 85, or 9A) 8 6 0 16 7 7 0 17 6 8 6 9 (4) Response Code • Normal Completion Response code 0000 Name Normal completion 2 Description No errors were found.
2 CompoWay/F Communications Procedures E 5 C C - T R X 3 A (2) Buffer Size The communications buffer size is expressed in 2-byte hexadecimal, and read after being converted to 4-byte ASCII. Buffer size: 217 bytes (= H'00D9) (3) Response Code • Normal Completion Response code 0000 Name Normal completion Description No errors were found. Error name Command too long Operation error Description The command is too long.
2 CompoWay/F Communications Procedures 2-3 Detailed Description of the Services (2) Related Information 7 6 5 4 3 2 1 Bit position 0 0 Heater overcurrent (CT1) Heater current hold (CT1) AD converter error Heater overcurrent (CT2) Heater current hold (CT2) Input error Potentiometer input error 2 Response code 0000 Name Normal completion Description No errors were found. Error name Command too long Operation error Description The command is too long.
2 CompoWay/F Communications Procedures (2) Response Code • Normal Completion Response code 0000 Name Normal completion Description No errors were found. Error name Command too long Operation error Description The command is too long.
2 CompoWay/F Communications Procedures 2-3 Detailed Description of the Services 2-3-8 Operation Command • • • • • Communications Writing Write Mode Move to Setup Area 1 Parameter Initialization Invert Direct/Reverse Operation • • • • • RUN/RESET Save RAM Data Move to Protect Level Alarm Latch Cancel Hold • • • • • AT Execute/Cancel Software Reset Auto/Manual Switch SP Mode Advance • Service Request PDU MRC SRC 0 0 5 2 2 2 2-3-8 Operation Command 3 2 Com- Related mand informacode tion 2 • S
2 CompoWay/F Communications Procedures Command code 13 14 Command content Advance Related Information 00: Clear hold 01: Hold 00 Name Normal completion Description No errors were found. Error name Command too long Command too short Parameter error Description The command is too long. The command is too short. Command code and related information are wrong. • The Communications Writing parameter is set to "OFF" (disabled).
2 CompoWay/F Communications Procedures Note: If the same type of AT execution is specified during AT execution (e.g., if 100% AT is specified during 100% AT execution), the AT will not be restarted and the operation will end in normal completion with no processing. • Write Mode Set either the backup mode or RAM write mode with the related information setting. The setting can be accepted in both setup area 0 and setup area 1. The number of non-volatile memory write operations is limited.
2 CompoWay/F Communications Procedures • 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: • When the command is executed in “setup area 1” When the Controller is switched to manual mode, the “manual manipulated variable” will be displayed.
2 CompoWay/F Communications Procedures Power ON Software reset command Setting area 0 “Move-to-setting area 1” command Control in progress Setting area 1 Control stopped. • Hold Turn the hold operation ON or OFF with the related information setting. This command can be accepted in setup area 0 only. An operation error will occur in the following situations.
2 CompoWay/F Communications Procedures 2-4 Response Code List Normal Completion Response code 0000 Name Description Normal completion No errors were found.
Communications Data for CompoWay/F 3 This section lists the details of the communications data in the CompoWay/F communications protocol. 3-1 Variable Area (Setting Range) List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 3-2 Status and Status 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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). • For example, variable type C0 is double-word data (8 digits), and variable type 80 is single-word data (4 digits).
3 Communications Data for CompoWay/F 0016 C0 (80) 0017 C0 (80) 0018 C0 (80) 0019 C0 (80) 001A C0 (80) 001B C0 (80) 001C Address Parameter name Remaining Standby Time Monitor Elapsed Program Time Monitor Remaining Program Time Monitor Elapsed Segment Time Monitor Remaining Segment Time Monitor Program Repetitions Monitor SP Mode Setting Monitor (SP Mode) Setting (monitor) value Level H'00000000 to H'00009959 (hours, minutes) H'00000000 to H'00009923 (days, hours) H'00000000 to H'00009959 O
3 Communications Data for CompoWay/F Variable type C1 (81) Address Parameter name Setting (monitor) value 0000 Operation/Adjustm ent Protect C1 (81) 0001 Initial Setting/Communic ations Protect C1 (81) 0002 Setting Change Protect C1 (81) 000D C1 (81) 0012 C1 (81) 0013 C1 (81) 0015 Heater Burnout Detection 1 Process Value Input Shift Process Value Slope Coefficient Proportional H'00000000 (0) to H'00000005 (5) 0: No control 1: Operation level (PV displayed, PV/SP allowed, others allowed
3 Communications Data for CompoWay/F Integral Time*1 C1 (81) 0017 Derivative Time*1 C1 (81) 0019 Dead Band Parameter name C1 (81) 001A Manual Reset Value Hysteresis (Heating) C1 (81) 001B C1 (81) 001C Hysteresis (Cooling) C1 (81) 001D C1 (81) C1 (81) C1 (81) 001E 001F 0021 Heater Burnout Detection 2 HS Alarm 1 HS Alarm 2 Wait Band C1 (81) C1 (81) 0022 0023 MV at Reset MV at PV Error Setting (monitor) value Level Standard, heating/cooling, or close position-proportional control: H'
3 Communications Data for CompoWay/F Variable type C1 (81) 0024 Manual MV C1 (81) 0026 MV Upper Limit*1 C1 (81) 0027 MV Lower Limit*1 C1 (81) 0028 C1 (81) 0029 Move to Protect Level Password to Move to Protect Level C1 (81) 002A C1 (81) 002B C1 (81) 002C C1 (81) 002D C1 (81) 002E C1 (81) 0031 C1 (81) 0039 Address Parameter name Parameter Mask Enable PF Key Protect MV Change Rate Limit Position Proportional Dead Band Open/Close Hysteresis Extraction of Square Root Low-cut Point
3 Communications Data for CompoWay/F 003F C1 (81) 0040 C1 (81) 0041 C1 (81) 0042 C1 (81) 0043 C1 (81) 0044 C1 (81) 0045 C1 (81) 0046 C1 (81) 0047 C1 (81) 0048 C1 (81) 0049 C1 (81) 004A C1 (81) 004B C1 (81) 004C C1 (81) C1 (81) C1 (81) 004E 004F 0050 C1 (81) 0051 Address Parameter name Work Bit 2 ON Delay Work Bit 2 OFF Delay Work Bit 3 ON Delay Work Bit 3 OFF Delay Work Bit 4 ON Delay Work Bit 4 OFF Delay Work Bit 5 ON Delay Work Bit 5 OFF Delay Work Bit 6 ON Delay Work Bit
3 Communications Data for CompoWay/F 3-8 Variable type C3 (83) 0000 C3 (83) 0001 C3 (83) 0002 C3 (83) C3 (83) 0003 0004 C3 (83) 0005 Scaling Upper Limit Scaling Lower Limit Decimal Point Temperature Unit SP Upper Limit C3 (83) 0006 SP Lower Limit Address Parameter name Input Type Setting (monitor) value H'00000000 (0): H'00000001 (1): Pt (−200 to 850°C/−300 to 1500°F) Pt (−199.9 to 500.0°C/−199.9 to 900.0°F) H'00000002 (2): Pt (0.0 to 100.0°C/0.0 to 210.0°F) H'00000003 (3): JPt (−199.
3 Communications Data for CompoWay/F 0007 C3 (83) 0008 C3 (83) 000A C3 (83) 000B Control Period (Cooling) C3 (83) 000C C3 (83) 000D Direct/Reverse Operation Alarm 1 Type C3 (83) 000E Alarm 2 Type C3 (83) 000F Alarm 3 Type Address Parameter name PID ON/OFF Standard or Heating/Cooling Control Period (Heating) Setting (monitor) value Level H'00000000 (0): ON/OFF Initial H'00000001 (1): 2 PID control setting H'00000000 (0): Standard H'00000001 (1): Heating and cooling H'FFFFFFFE (−2): 0.
3 Communications Data for CompoWay/F Variable type C3 (83) Address 0010 C3 (83) 0011 C3 (83) 0012 C3 (83) 0013 C3 (83) 0014 Parameter Setting (monitor) value name Communications H'00000000 to H'00000063 (0 to 99) Unit No.*1 Communications H'00000003 (3): 9.6 H'00000004 (4): 19.2 Baud Rate*1 H'00000005 (5): 38.4 H'00000006 (6): 57.
3 Communications Data for CompoWay/F Address 0016 Parameter name Event Input Assignment 1 C3 (83) 0017 Event Input Assignment 2 Event Input Assignment 3 Event Input Assignment 4 Standby Sequence Reset Auxiliary Output 1 Open in Alarm Alarm 1 Hysteresis C3 (83) 0018 C3 (83) 0019 C3 (83) 001D C3 (83) 001E C3 (83) 001F C3 (83) 0020 Auxiliary Output 2 Open in Alarm C3 (83) 0021 Alarm 2 Hysteresis C3 (83) 0022 Auxiliary Output 3 Open in Alarm C3 (83) 0023 Alarm 3 Hysteresis Setting (m
3 Communications Data for CompoWay/F Variable Address type C3 (83) 0024 Parameter name HB ON/OFF C3 (83) 0025 Heater Burnout Latch Heater Burnout Hysteresis α Input Digital Filter PV/SP No.
3 Communications Data for CompoWay/F Parameter name H'00000000 (0): H'00000001 (1): H'00000002 (2): H'00000003 (3): H'FFFFF831 to H'0000270F (−1999 to 9999)*1 003F C3 (83) 0040 C3 (83) 0041 C3 (83) 0045 Transfer Output Upper Limit Transfer Output Lower Limit Control Output 1 Signal RT C3 (83) 0046 HS Alarm Use C3 (83) 0047 HS Alarm Latch C3 (83) 0048 C3 (83) 0049 HS Alarm Hysteresis LBA Detection C3 (83) 004A Time LBA Level C3 (83) 004B LBA Band Level Initial OFF setting Presen
3 Communications Data for CompoWay/F Variable Address type C3 (83) 004C Protocol Setting*1 C3 (83) 004D Send Data Wait C3 (83) 004E Time*1 Control Output 1 Assignment C3 (83) 004F *1 3 - 14 Parameter name Control Output 2 Assignment Setting (monitor) value H'00000000 (0): CompoWay/F H'00000001 (1): Modbus H'00000002 (2): Component communications H'00000003 (3): Host Link (FINS) H'00000004 (4): MC protocol (Format 4) H'00000000 to H'00000063 (0 to 99) Level Communic ations setting Control ou
3 Communications Data for CompoWay/F Parameter name Auxiliary Output 1 Assignment Setting (monitor) value Level Advanced H'00000000 (0): Not assigned.
3 Communications Data for CompoWay/F Variable Address type C3 (83) 0066 3 - 16 C3 (83) 0067 C3 (83) 0068 C3 (83) 006C C3 (83) 006D C3 (83) 006E Parameter name PID Set Automatic Selection Hysteresis PV Rate of Change Calculation Period Heating/Cooling Tuning Method Extraction of Square Root Enable PF Setting Monitor/Setting Item 1 Setting (monitor) value H'0000000A to H'0000270F (0.10 to 99.
3 Communications Data for CompoWay/F C3 (83) 0070 C3 (83) 0071 C3 (83) 0072 C3 (83) 0073 C3 (83) 0076 Parameter name Monitor/Setting Item 2 Monitor/Setting Item 3 Monitor/Setting Item 4 Monitor/Setting Item 5 PV/SP No.
3 Communications Data for CompoWay/F Variable Address type C3 (83) 0089 3 - 18 Parameter name Moving Average Count C3 (83) 008A Alarm 4 Latch C3 (83) C3 (83) C3 (83) 008B 008C 008D C3 (83) 008E C3 (83) 008F Alarm 4 ON delay Alarm 4 OFF delay Control Output 2 Signal Transfer Output Signal Auxiliary Output 4 Assignment C3 (83) 0091 C3 (83) 0092 C3 (83) 0093 C3 (83) 0094 C3 (83) C3 (83) 0095 0096 Integral/Derivative Time Unit Manual Output Method Manual MV Initial Value Minimum Output
3 Communications Data for CompoWay/F C3 (83) 0098 C3 (83) 0099 C3 (83) 009A C3 (83) 009B C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) C3 (83) 009C 009D 009E 009F 00A0 00A1 00A2 00A3 00A4 00A5 00A6 00A7 00A8 00A9 C3 (83) 00AA C3 (83) 00AB Parameter name Area First Address Upper Word First Address Lower Word Receive Data Wait Time Communications Node Number Upload Setting 1 Upload Setting 2 Upload Setting 3 Upload Setting 4 Upload Sett
3 Communications Data for CompoWay/F Variable Address type C3 (83) 00AC Setting (monitor) value Download Setting 4 Download Setting 5 Download Setting 6 Download Setting 7 Download Setting 8 Download Setting 9 Download Setting 10 Download Setting 11 Download Setting 12 Download Setting 13 LCT Cooling Output Minimum ON Time Program Time Unit H'0000001E to H'000000B3 (30 to 179) C3 (83) 00AD C3 (83) 00AE C3 (83) 00AF C3 (83) 00B0 C3 (83) 00B1 C3 (83) 00B2 C3 (83) 00B3 C3 (83) 00B4 C3 (83)
3 Communications Data for CompoWay/F *1 *2 Parameter name Burnout Method Setting (monitor) value H'00000000 (0): Upscale H'00000001 (1): Downscale Level Advanced function setting Selection is not possible when ON/OFF control is set. Selection is not possible if the Reset Operation parameter is set to fixed SP operation.
3 Communications Data for CompoWay/F Variable type C4 (84) C4 (84) C4 (84) Address Parameter name Setting (monitor) value 0000 0001 Program Selection Number of H'00000000 to H'00000007 (0 to 7) H'00000001 to H'00000020 (32) 0002 Segments Used*1 Segment H'00000000 to H'0000001F (31) Selection Level Program setting *1 C4 (84) 0003 Segment Format*2 C4 (84) 0004 Segment SP*2 H'00000000 (0): Ramp H'00000001 (1): Soak H'00000002 (2): Step SP Lower Limit to SP Upper Limit C4 (84) 0005 Segmen
3 Communications Data for CompoWay/F Setting (monitor) value Level H'00000000 to H'0000270F (0 to 9999) Program setting Repetitions*1 C4 (84) 0015 Program Link No.*1 C4 (84) 0016 Destination Time Signal 1 Set H'FFFFFFFF (−1): No link H'00000000 to H'00000007 (0 to 7) Hí00000000 (0) to No.
3 Communications Data for CompoWay/F Variable Address type C5 (85) 0004 3 - 24 C5 (85) 0005 C5 (85) 0007 C5 (85) 0008 C5 (85) 0009 C5 (85) 000A C5 (85) 000B C5 (85) 000C C5 (85) 0010 C5 (85) to 001C C5 (85) 0020 C5 (85) to 002C C5 (85) 0030 C5 (85) to 003C C5 (85) 0040 C5 (85) to 004C C5 (85) 0050 C5 (85) to 005C Parameter name Setting (monitor) value Level PID Setting PID 1 MV Lower Limit Standard control or position proportional (closed): H'FFFFFFCE to MV upper limi
3 Communications Data for CompoWay/F C5 (85) to 006C C5 (85) 0070 C5 (85) to 007C C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000A 000B 000C 000D 000E 000
3 Communications Data for CompoWay/F Variable type C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) C9 (85) 3 - 26 Address 002B 002C 002D 002E 002F 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 003A 003B 003C 003D 003E 003F 0040 0041 Parameter name Download Setting 21 Download Setting 22 Download Setting 23 Download Setting 24 Download Setting 25 Download Setting 26 Download
3 Communications Data for CompoWay/F 0000 DA (9A) 0001 DA (9A) 0002 DA (9A) 0003 DA (9A) 0004 DA (9A) 0005 DA (9A) 0006 DA (9A) 0007 DA (9A) 0008 DA (9A) 0009 DA (9A) 000A DA (9A) 000B DA (9A) 000C DA (9A) 000D DA (9A) 000E DA (9A) 000F DA (9A) 0010 DA (9A) 0011 DA (9A) 0012 Program 0 Time Signal 1 OFF Time DA (9A) 0013 DA (9A) 0014 Program 0 Time Signal 2 Set Segment Program 0 Time Signal 2 ON Time Address Parameter name Program 0 No.
3 Communications Data for CompoWay/F Variable type DA (9A) 0015 Program 0 Time Signal 2 OFF Time DA (9A) 0016 Program 0 Segment 0 Type DA (9A) 0017 DA (9A) 0018 DA (9A) 0019 Program 0 Segment 0 SP Program 0 Segment 0 Slope Program 0 Segment 0 Time DA (9A) 001A DA (9A) to 001E DA (9A) to 0022 DA (9A) to 0026 DA (9A) to 002A DA (9A) to 002E DA (9A) to 0032 DA (9A) to 0036 DA (9A) to 003A DA (9A) to 003E DA (9A) to 0042 DA (9A) to 0046 DA (9A) to 004A Address to 3 - 28
3 Communications Data for CompoWay/F 004E DA (9A) to 0052 DA (9A) to 0056 DA (9A) to 005A DA (9A) to 005E DA (9A) to 0062 DA (9A) to 0066 DA (9A) to 006A DA (9A) to 006E DA (9A) to 0072 DA (9A) to 0076 DA (9A) to 007A DA (9A) to 007E DA (9A) to 0082 DA (9A) to 0086 DA (9A) to 008A DA (9A) to 008E DA (9A) to 0092 Address to Parameter name Program 0 Segment 14 Type to Program 0 Segment 15 Type to Program 0 Segment 16 Type to Program 0 Segment 17 Type to Program 0 Segment
3 Communications Data for CompoWay/F Variable type DA (9A) 0100 DA (9A) to 0200 DA (9A) to 0300 DA (9A) to 0400 DA (9A) to 0500 DA (9A) to 0600 DA (9A) to 0700 Address to 3 - 30 Parameter name Program 1 No. of Segments Used to Program 2 No. of Segments Used to Program 3 No. of Segments Used to Program 4 No. of Segments Used to Program 5 No. of Segments Used to Program 6 No. of Segments Used to Program 7 No. of Segments Used to Setting (monitor) value Same as for program 0.
3 Communications Data for CompoWay/F 3-2 Status and Status 2 The figure below shows the structure of the status data.
3 Communications Data for CompoWay/F z Status 2 Structure Spare Operating status 16 15 14 13 12 11 10 9 0 0 0 0 0 0 0 8 7 6 5 4 3 2 1 0 Bit position 0 Outputs Outputs Spare Operating status Operating status Work bit 1 Work bit 2 Work bit 3 Work bit 4 Work bit 5 Work bit 6 Work bit 7 Work bit 8 Spare Spare Event inputs 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 0 0 0 0 0 Bit position 0 Event input 5 Event input 6 Invert direct/reverse operation Time signal 1 Time si
3 Communications Data for CompoWay/F z Status Details Bit position Status (upper word) Note1 2 • • • • • • • • 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Heater overcurrent (CT1) Heater current hold (CT1)* A/D converter error HS alarm (CT1) Spare Alarm 4 Input error Potentiometer input error Control output (heating)/open output Control output (cooling)/close output HB (heater burnout) alarm (CT1) HB (heater burnout) alarm (CT2) Alarm 1 Alarm 2 Alarm 3 Program end output Event input 1 Event
3 Communications Data for CompoWay/F z Status 2 Details Bit position Status Bit Description 0 0 Work bit 1 OFF 1 Work bit 2 OFF 2 Work bit 3 OFF 3 Work bit 4 OFF 4 Work bit 5 OFF 5 Work bit 6 OFF 6 Work bit 7 OFF 7 Work bit 8 OFF 8 Spare OFF 9 Spare OFF 10 Spare OFF 11 Spare OFF 12 Spare OFF 13 Spare OFF 14 Spare OFF 15 Spare OFF 16 Event input 5 OFF Status (upper 17 Event input 6 OFF word) 18 Spare OFF 19 Spare OFF 20 Invert direct/reverse operation Not invert 21 Spare OFF 22 Spare OFF 23 Spare OFF 24
Modbus Communications Procedure Read this section if you are to communicate using the Modbus format. 4 4-1 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 4-1-1 4-1-2 4-1-3 Command Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Response Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Error Codes . . . . . . . . . . . . . . . .
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 E5@C-T 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' before the number, e.g., H'02. Numbers and alphabetic characters without the H' prefix are ASCII characters.
4 Modbus Communications Procedure z 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. (3) The MSB is packed with zeroes and the CRC register is shifted 1 bit to the right.
4 Modbus Communications Procedure 4-1-2 Response Frame z Normal Response Frame Slave address Function code 1 1 Data CRC-16 2 bytes CRC-16 calculation range z Error Response Frame Slave address Function code 1 1 Error code 1 CRC-16 2 bytes CRC-16 calculation range Slave address Function code Error code CRC-16 4-4 The number specified in the command frame is entered as-is. This is the unit number of the Unit returning the response.
4 Modbus Communications Procedure 4-1-3 Error Codes End code H'01 H'02 H'03 Operation error Description An unsupported function code was received. The specified variable area address is out-of-range. The amount of data does not match the number of elements. The byte count is not 2 times the number of elements. The response length exceeds the size of the communications buffer. The command code or related information in the operation command is wrong or the write data is not in the setting range.
4 Modbus Communications Procedure 4-2 Function List The following table lists the function codes. Function Code List Function code 03 (H'03) 16 (H'10) 4-6 Name Read variable (multiple) Write variable (multiple) 06 (H'06) Write variable (Single/operation command) 08 (H'08) Echoback Test Process This function reads from the variable area. It is possible to read two or more consecutive variables. This function writes to the variable area. It is possible to write two or more consecutive variables.
4 Modbus Communications Procedure 4-3 Variable Area The variable area is the region of memory used to exchange data with the E5@C-T 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.
4 Modbus Communications Procedure 4-4 Detailed Description of the Services 4-4-1 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 Slave address Function code Read start address Number of Elements CRC-16 H'03 1 1 Name Slave address Function code Read start address Number of elements CRC-16 4-8 2 2 2 bytes Description Specify the E5@C-T's unit number.
4 Modbus Communications Procedure Response Frame Slave address Function code Read data (for the number of elements) Byte count CRC-16 H'03 0 to 212 (2 × 106) 1 Name Slave address Function code 2 Description The value from the command frame is entered as-is. This is the received function code. When the function ended normally, the function code is left as-is. When an error occurred, the hexadecimal value of H'80 is added to the function code to indicate that the response is an error response.
4 Modbus Communications Procedure 4-4-2 Variable Write, Multiple To write data to the variable area, set the required data in the command frame, as shown in the following diagram.
4 Modbus Communications Procedure z Response Frame Slave address Function code Write start address Number of Elements CRC-16 2 2 2 bytes H’ 10 1 Name Slave address Function code 4-4 Detailed Description of the Services 1 Description The value from the command frame is entered as-is. This is the received function code. When the function ended normally, the function code is left as-is.
4 Modbus Communications Procedure Writing Undisplayed Parameters It is possible to write the parameters that are not displayed due to display settings as well as the parameters that are never displayed in the Controller. • Example Command and Response The following example shows the command/response when writing the Alarm Value Upper Limit 1 and Alarm Value Lower Limit 1 parameters. (In this case, the slave address is H'01.
4 Modbus Communications Procedure (2) Command Code and Related Information This information is the same as that for CompoWay/F. Refer to page 2-16. (3) Response Code Function code Error code H'06 --- Name Normal completion Description No errors were found. • Error Occurred Function code H'86 Error code H'02 H'03 H'04 (4) Variable address error Variable data error Operation error Description The write variable address is incorrect. The write data is incorrect.
4 Modbus Communications Procedure 4-4-4 Echoback Test Command Frame Slave address Function code H'08 CRC-16 H'00 H'00 1 1 Test data Fixed data 2 2 Fixed data Test data 2 bytes Response Frame Slave address Function code H'00 H'08 1 1 CRC-16 H'00 2 2 2 bytes Note: When the command is executed normally, the response returns the same data sent in the command. (1) Test Data Enter any 2-byte hexadecimal data.
Communications Data for Modbus This section lists the details of the communications data in the Modbus communications protocol. 5-1 Variable Area (Setting Range) List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 5-2 Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Communications Data for Modbus 5-1 Variable Area (Setting Range) List • Four-byte Mode One element uses 4 bytes of data (H'00000000 to H'FFFFFFFF), 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. • Two-byte Mode One element uses 2 bytes of data (H'0000 to H'FFFF), so specify one-element units. Reading and writing in 2-byte data units is executed by specifying 1-element units.
5 Communications Data for Modbus Address Four-byte mode Two-byte mode 0502 2501 Parameter name Initial Setting/Communications Protect Setting (monitor) value H'00000000 (0): H'00000001 (1): H'00000002 (2): Move to initial setting/communications setting level is allowed. (Move to advanced function setting level is displayed.) Move to initial setting/communications setting level is allowed. (Move to advanced function setting level is not displayed.
5 Communications Data for Modbus Address Four-byte mode Two-byte mode 0620 2610 0702 2701 Parameter name Setting (monitor) value SP Mode Setting Monitor (SP Mode) H'00000000 (0): Program SP mode H'00000001 (1): Fixed SP mode Proportional Band H'00000001 to H'0000270F (0.1 to 999.9) Level Adjustment (Cooling)*1 0704 2702 Integral Time (Cooling)*1 H'00000000 to H'0000270F (0 to 9999: Integral/derivative time unit is 1 s.) (0.0 to 999.9: Integral/derivative time unit is 0.1 s.
5 Communications Data for Modbus Address Four-byte mode Parameter name Two-byte mode Setting (monitor) value 074E 2727 HS Alarm 2 H'00000000 to H'000001F4 (0.0 to 50.0) 0754 272A Wait Band H'00000000 (0): OFF H'00000001 to H'0000270F (0.1 to 999.9 for Temperature input) (0.01 to 99.
5 Communications Data for Modbus Address Four-byte mode Two-byte mode 182C 3816 Parameter name Program 0 Time Signal 1 Setting (monitor) value Level Hí00000000 (0) to No. of segments used − 1 Set Segment*1 182E 3817 Program 0 Time Signal 1 ON Time*1 1830 1832 3818 3819 H'00000000 to H'00009959 (0.00 to 99.59) (hours, minutes) H'00000000 to H'00009959 (0.00 to 99.59) (minutes, seconds) OFF Time*1 H'00000000 to H'00009959 (0.00 to 99.59) (hours, minutes) H'00000000 to H'00009959 (0.00 to 99.
5 Communications Data for Modbus Address Parameter name Setting (monitor) value Two-byte mode 0A00 2A00 Proportional Band*1 H'00000001 to H'0000270F (0.1 to 999.9) 0A02 2A01 Integral Time*1 Standard, heating/cooling, or close position proportional control: H'00000000 to H'0000270F (0 to 9999: Integral/derivative time unit is 1 s.) (0.0 to 999.9: Integral/derivative time unit is 0.1 s.
5 Communications Data for Modbus Address Parameter name Setting (monitor) value Four-byte mode Two-byte mode 0C00 2C00 Input Type H'00000000 (0): H'00000001 (1): H'00000002 (2): H'00000003 (3): H'00000004 (4): H'00000005 (5): H'00000006 (6): H'00000007 (7): H'00000008 (8): H'00000009 (9): H'0000000A (10): H'0000000B (11): H'0000000C (12): H'0000000D (13): H'0000000E (14): H'0000000F (15): H'00000010 (16): H'00000011 (17): H'00000012 (18): H'00000013 (19): H'00000014 (20): H'00000015 (21): H'00000016
5 Communications Data for Modbus Address Two-byte mode Parameter name Setting (monitor) value 0D32 2D19 Minimum Output ON/OFF Band H'00000000 to H'000001F4 (0.0 to 50.
5 Communications Data for Modbus Address Four-byte mode Two-byte mode Parameter name 0E14 2E0A Event Input Assignment 1 Setting (monitor) value H'00000000 (0): None 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 H'00000006 (6): Hold/clear hold H'00000007 (7): Hold H'00000008 (8): Advance H'00000009 (9): Program No. switch 0 H'0000000A (10): Program No. switch 1 H'0000000B (11): Program No.
5 Communications Data for Modbus Address Parameter name Setting (monitor) value 2E14 Transfer Output Upper Limit H'FFFFF831 to H'0000270F (−1999 to 9999) *1 0E2A 2E15 Transfer Output Lower Limit H'FFFFF831 to H'0000270F (−1999 to 9999) *1 0E48 2E24 Extraction of Square Root Enable H'00000000 (0): OFF H'00000001 (1): ON Four-byte mode Two-byte mode 0E28 2E29 Travel Time H'00000001 to H'000003E7 (1 to 999) 0E54 2E2A Valve Completely Closed Position H'00000000 to H'0000270F (0 to 9999)
5 Communications Data for Modbus Address Parameter name Setting (monitor) value Level Four-byte mode Two-byte mode 0F14 2F0A Alarm 4 Latch H'00000000 (0): OFF H'00000001 (1): ON Advanced function setting 0F16 2F0B Alarm 4 Hysteresis H'00000001 to H'0000270F (0.1 to 999.9 for temperature input) (0.01 to 99.
5 Communications Data for Modbus Address Four-byte mode Two-byte mode 1100 3100 Parameter name Protocol Setting (See note.)*1 3101 1104 3102 Communications Unit No. H'00000000 to H'00000063 (0 to 99) Communications Baud H'00000003 (3): 9.6 H'00000004 (4): 19.2 H'00000005 (5): 38.4 H'00000006 (6): 57.
5 Communications Data for Modbus Address Parameter name Setting (monitor) value Four-byte mode Two-byte mode 1200 3200 PF Setting H'00000000 (0): Disabled H'00000001 (1): Run H'00000002 (2): RESET H'00000003 (3): RUN/RESET H'00000004 (4): Hold/clear hold H'00000005 (5): Advance H'00000006 (6): 100% AT execute/cancel H'00000007 (7): 40% AT execute/cancel H'00000008 (8): All PID 100% AT execute/cancel H'00000009 (9): All PID 40% AT execute/cancel H'0000000A (10): Alarm latch cancel H'0000000B (11): Au
5 Communications Data for Modbus Address Parameter name Setting (monitor) value Four-byte mode Two-byte mode 1300 3300 Startup Operation H'00000000 (0): Continue control at final SP H'00000001 (1): RESET H'00000002 (2): RUN 1302 3301 SP Tracking H'00000000 (0): OFF H'00000001 (1): ON 1304 3302 PID Set Automatic Selection Data H'00000000 (0): PV H'00000001 (1): DV H'00000002 (2): SP 1306 3303 PID Set Automatic Selection Hysteresis H'0000000A to H'0000270F (0.10 to 99.
5 Communications Data for Modbus Address Parameter name Setting (monitor) value Four-byte mode Two-byte mode 1350 3328 Alarm SP Selection H'00000000 (0): Set point during SP ramp H'00000001 (1): Set point 1356 332B Manual MV Limit Enable H'00000000 (0): OFF H'00000001 (1): ON 1358 332C Direct Setting of Position Proportional MV H'00000000 (0): OFF H'00000001 (1): ON 135A 332D PV Rate of Change Calculation Period H'00000001 to H'000003E7 (1 to 999) 135C 332E Heating/Cooling Tuning Meth
5 Communications Data for Modbus Address 4 bytes 2 bytes 1500 3500 1502 3501 Parameter name PID 1 Proportional Band PID 1 Integral Time 3502 3503 PID 1 Derivative Time PID 1 MV Upper Limit 1508 3504 PID 1 MV Lower Limit 150A 3505 150E 3507 1510 3508 1512 3509 PID 1 Automatic Selection Range Upper Limit PID 1 LBA Detection Time PID 1 Proportional Band (Cooling) PID 1 Integral Time (Cooling) 1514 350A PID 1 Derivative Time (Cooling) 1516 350B PID 1 Dead Band 1518 350C 1520 3510 PID
5 Communications Data for Modbus Address 4 bytes 2 bytes 15E0 3570 15F8 5 - 18 357C Parameter name PID 8 Proportional Band to PID 8 Manual Reset Value Setting (monitor) value Temperature input: H'00000001 to H'0000270F (0.1 to 999.9) Analog input: H'00000001 to H'0000270F (0.1 to 999.
5 Communications Data for Modbus Address 4 bytes 2 bytes 1900 3900 3901 3902 1906 3903 1908 3904 1910 to 3908 1918 to 390C 1920 to 3910 1928 to 3914 1930 to 3918 1938 to 391C 1940 to 3920 1948 to 3924 1950 to 3928 1958 to 392C 1960 to 3930 1968 to 3934 1970 to 3938 1978 to 393C 1980 to 3940 1988 to 3944 to Program 0 Segment 0 Type Program 0 Segment 0 SP Program 0 Segment 0 Slope Program 0 Segment 0 Time Program 0 Segment 1 Type to Program 0 Segment 2 Type to Program 0
5 Communications Data for Modbus Address 4 bytes 2 bytes 1990 3948 1998 to 394C 19A0 to 3950 19A8 to 3954 19B0 to 3958 19B8 to 395C 19C0 to 3960 19C8 to 3964 19D0 to 3968 19D8 to 396C 19E0 to 3970 19E8 to 3974 19F0 to 3978 19F8 to 397C to 5 - 20 Parameter name Program 0 Segment 18 Type to Program 0 Segment 19 Type to Program 0 Segment 20 Type to Program 0 Segment 21 Type to Program 0 Segment 22 Type to Program 0 Segment 23 Type to Program 0 Segment 24 Type to Program 0 Segment 2
5 Communications Data for Modbus 5-2 Status The status data for Modbus is the same as that for CompoWay/F. Refer to page 4-11.
5 Communications Data for Modbus 5 - 22 E5C-T Digital Controllers Programmable Type Communications Manual (H186)
Programless Communications This section describes programless communications for the E5@C-T. 6-1 Programless Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3 6-1-1 6-1-2 6-1-3 6-1-4 6-1-5 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operation for Programless Communications . . . .
6 Programless Communications 6-5 Connecting to CJ-series PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35 6-5-1 6-5-2 6-5-3 6-5-4 6-5-5 Configuration and Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35 Switch Settings and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-36 PLC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 Programless Communications 6-1 Programless Communications 6-1-1 Introduction With programless communications you can read and write E5@C-T parameters or start and reset the E5@C-T from a Programmable Controller (PLC). Communications with the PLC are performed automatically by the E5@C-T, so there is no need to program communications. The E5@C-T automatically reads and writes PLC memory. E5CC-T No.0 25 0 C E5CC-T No.2 C 25 E5CC-T No.n C 25 0 0 6-1 Programless Communications C E5CC-T No.
6 Programless Communications 6-1-3 Operation for Programless Communications Programless communications are performed in the following order of communications unit numbers. 0 (master) → 1 → 2 → ... → Highest communications unit number → 0 → 1... The master (the Controller with communications unit number 0) starts programless communications approximately five seconds after the power supply to it is turned ON. (Communications are not performed until the power supply to the master is turned ON.
6 Programless Communications 6-1-5 Connectable PLCs The PLCs that can be connected are given below. SYSMAC CS/CJ-series and CP-series PLCs Name Serial Communications Units CPU Units Serial Communications Option Boards * CJ1W-SCU21-V1 CJ1W-SCU22 CJ1W-SCU41-V1 CJ1W-SCU42 CS1W-SCU21-V1 CS1W-SCB21-V1 CS1W-SCB41-V1 CS1/CJ1M CPU Units CJ2 CPU Units CP-series CPU Units CP1W-CIF11 CP1W-CIF12 Communications ports Port 1 Port 2 RS-232C RS-232C RS-422A/485 (Cannot be used.
6 Programless Communications 6-2 E5@C-T Controller Setup The parameters that are used for programless communications are shown with a gray background in the following diagram. All of these parameters are displayed if you set the Protocol Setting parameter to fins or mcp4. (Some of the parameters are always displayed.) The parameters in the communications setting level are described first, followed by those in the adjustment level. Power ON Adjustment Level Press O Key for less than 1 s.
6 Programless Communications 6-2-2 Communications Unit No. and Communications Baud Rate Always assign communications unit numbers in order starting from 0. Do not skip any numbers. Communications unit number 0 is for the master. The numbers from 1 on are for the slaves. We recommend a communications baud rate setting of 57.6. Set the same communications baud rate for all of the E5@C-T Controllers and the PLC. (Setting the PLC is required only for programless communications.
6 Programless Communications Communications Setting Level Display condition: The Protocol Setting parameter must be set to fins or mcp4 The Protocol Setting parameter must be set to cmp and the Communications Unit No. parameter must be set to 0 (master). Parameter name Highest Communications Unit No. 6-2-5 Displayed characters maxu Setting range 0 to 99 Default 0 Areas and First Address of Linked Data Two areas are used in PLC memory by the E5@C-T, an upload area and a download area.
6 Programless Communications Address Data in PLC memory XXXX Each E5@C-T Controller is allocated 70 words E5@C-T Response Flag +1 Communications Status +2 Monitor Value 1 ← ··· +25 Communications Unit Number 0 Request Flag +26 Operation Command Code +27 Set Value 1 → ··· +70 +71 ··· Response Flag Communications Status ← No.1 ··· Communications Setting Level Display condition: The Protocol Setting parameter must be set to fins or mcp4.
6 Programless Communications Applicable PLC Memory Addresses Protocol setting Host Link (FINS) Area Applicable address range* 0 to 32767 DM EM0 to EM18 MC protocol (format 4) D data registers 0 to 12287 W link registers 0 to 8191 (1FFF hex) R file registers 0 to 32767 ZR file registers 0 to 999999 (F423F hex) Note: The address ranges depend on the type of PLC. Refer to the manual for your PLC and set the first address within an applicable range.
6 Programless Communications 6-2-8 Upload Settings and Download Settings There are 23 upload settings and 43 download settings. Communications Setting Level Display condition: The Protocol Setting parameter must be set to fins or mcp4.
6 Programless Communications Parameter name Download Setting 16 Download Setting 17 Download Setting 18 Download Setting 19 Download Setting 20 Download Setting 21 Download Setting 22 Download Setting 23 Download Setting 24 Download Setting 25 Download Setting 26 Download Setting 27 Download Setting 28 Download Setting 29 Download Setting 30 Download Setting 31 Download Setting 32 Download Setting 33 Download Setting 34 Download Setting 35 Download Setting 36 Download Setting 37 Download Setting 38 Downloa
6 Programless Communications Upload or Download Settings Heater Current 1 Value Monitor Heater Current 2 Value Monitor Leakage Current 1 Monitor Leakage Current 2 Monitor MV Monitor (Heating) MV Monitor (Cooling) Valve Opening Monitor PID Set No. Monitor Program No. Monitor Segment No. Monitor Remaining Standby Time Monitor Elapsed Program Time Monitor Remaining Program Time Monitor Elapsed Segment Time Monitor Remaining Segment Time Monitor Program Repetitions Monitor Nothing assigned.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 Set value Program 0 Segment 0 Type Program 0 Segment 0 SP Program 0 Segment 0 Slope Program 0 Segment 0 Time Nothing assigned. Program 0 Segment 1 Type Program 0 Segment 1 SP Program 0 Segment 1 Slope Program 0 Segment 1 Time Nothing assigned.
6 Programless Communications 6-2-9 Copying Parameter Settings You can copy the settings of all parameters except for the Communications Unit No. parameter from the master (i.e., the Controller with communications unit number 0) to one or more of the slaves (i.e., the Controllers with communications unit numbers other than 0). Copying parameters is possible only between Controllers with the same model number.
6 Programless Communications (5) copy and execute the copy operation. If you select all, the parameters settings will be copied to all of the slaves. If you select a number, the parameters settings will be copied to the slave with the selected communications unit number. Set value off (e0**) all 1 to 31 Description Copying is not in progress. The display will automatically return to off when the copy operation is completed normally. If the copy operation fails,E** will be displayed instead of off.
6 Programless Communications Troubleshooting Check the slave where the error occurred. copy displayed? YES Execute the copy again from the master using all. NO Is the model number of the slave different from the master? Copying is not possible. Copy the parameter settings to the remaining slaves by specifying their communications unit numbers individually. YES Turn OFF the power supply and correct the wiring.
6 Programless Communications Copying Procedure When Replacing a Controller z Replacing a Slave (i.e., a Controller with a Communications Unit Number Other Than 0) (1) Replace the E5@C-T, wire it, and then turn ON the power supply. (2) Change all of the E5@C-T Controllers to the initial setting level and stop programless communications. The above step is not required for component communications. (3) Set the Communications Unit No. parameter and Communications Baud Rate parameter (57.
6 Programless Communications 6-2-11 Communications Monitor Parameter This parameter displays the communications cycle time of the E5@C-T. If communications with the PLC are not possible, c.err is displayed and then the cycle time is displayed again when communications are restored. PLC E5CC-T No.0 C E5CC-T No.1 C 25 0 E5CC-T No.2 25 0 C E5CC-T No.
6 Programless Communications 6-3 Controlling Programless Communications The section describes the methods that are used to control programless communications from the PLC. 6-3-1 Controlling Programless Communications with the Request Flag There are the following three ways to control programless communications. The Request Flag in PLC memory is used to change the control method. 1. Updating Monitor Values (Disable Writing Request) The monitor values are repeatedly updated.
6 Programless Communications 6-3-2 Response Flag The Response Flag changes as shown below for the values of the Request Flag. Response Flag Request Flag Normal Error 0: Disable Writing 0* eeee 1: Enable Writing 1 e001 to e043 8000 or Operation Command Code 2: Initialize Download Areas 1 eeee Response Flag at error Cause of error eeee There was no response or a communications error occurred when reading the download area. e001 to e043 *1 • The write data is out of the setting range.
6 Programless Communications 6-3-3 Range of Operation for Programless Communications Programless communications start operating after the power supply is turned ON or after the E5@C-T is reset. They stop operating when the initial setting level is entered.
6 Programless Communications In RAM Write Mode, however, the set values will be restored to the values in non-volatile memory every time the power supply is cycled. If you need to maintain the current set values before the power supply is turned OFF, use an operation command to save them to RAM before the power supply turns OFF. 6-3-7 Troubleshooting Possible problems that can occur with programless communications and corrective actions are given in the following table.
6 Programless Communications 6-4 Connecting to CP-series PLCs 6-4-1 Configuration and Procedure The following configuration is used as an example in giving the setup and application procedures for programless communications. • All of the E5CC-T Controllers must be the same model. (Copying parameter settings is not possible if the models are different.) • D0000 to D0209 are used in the PLC memory. The default E5CC-T parameter allocations are used. • A commercially available USB2.0, A/B cable is used.
6 Programless Communications 6-4-2 Switch Settings and Wiring Before you attach the CP1W-CIF11 to the CP1E, turn OFF pin 4 on the DIP switch for operation settings on the back of the CP1W-CIF11 and turn ON the rest of the pins. Pin 1 2 3 4 5 4-wire 4-wire --RS control disabled. (Signal always received.) RS control disabled. (Signal always sent.) ON Terminating resistance on both ends 2-wire 2-wire --RS control enabled. Setting Terminating resistance selection 2-wire or 4-wire selection Same as above.
6 Programless Communications (3) Select the USB connection Check Box and click the Connect Button. (4) Select the Transfer IO table and Special Unit Setup Check Box and click the Yes Button. (5) After the data has been transferred, click the OK Button.
6 Programless Communications Communications Settings for the Serial Communications Option Board (1) The PLC operating mode must be changed to PROGRAM mode to enable changing the communications settings in the PLC Setup. Select PLC − Operating Mode − Program from the menu bar. A confirmation dialog box will be displayed. Click the Yes Button. 6-4 Connecting to CP-series PLCs (2) Double-click Settings. The PLC Setup Window will be displayed.
6 Programless Communications (4) Select Options − Transfer to PLC from the menu bar in the window that is shown above. The settings will be transferred. Close the window and cycle the power to the PLC. This completes the PLC setup procedure. You will use the CX-Programmer to check operation, so leave it online. 6-4-4 E5@C-T Controller Setup This section describes the setup for programless communications (or components communications).
6 Programless Communications (e) Programless communications should now be operating. Confirm that the COMM indicator on the CP1W-CIF11 is flashing. If you are using the CJ1W-SCU21-V1, the SD1 and RD1 indicators will flash. If you are using the QJ71C24N-R4, the SD and RD indicators for channel 1 (CH1) will flash. If you are using component communications, change the SPs in the master and confirm that the SPs of the slaves change to the same values. “ALL” flashes. copy off No.0 Press the U Key.
6 Programless Communications 6-4-5 Checking Operation The SP and RUN/RESET status of the E5@C-T Controllers will be changed to check operation. Make sure that this will not create any problems in the controlled system. z Checking E5CC-T Monitor Values (1) The PLC operating mode must be changed to PROGRAM mode to enable changing values in PLC memory. Perform step 1 in Communications Settings for the Serial Communications Option Board in 6-4-3 PLC Setup to move to PROGRAM mode. (2) Double-click Memory.
6 Programless Communications (4) We will change the values that are displayed for PLC memory to signed decimal values. Select View − Display − Signed Decimal from the menu bar. You can select View − Display − Hexadecimal to return the display to hexadecimal values. 6-4 Connecting to CP-series PLCs (5) We will check the E5CC-T monitor values. The area where monitor values are checked is called the upload area. D0000 to D0024 is the upload area for the No.
6 Programless Communications With the default settings, the following parameters are set for the upload areas. Check the values in the upload areas to see if they are the same as those that are given in the following table. (It is not necessary to check addresses for which “---” is given in the Value column.) No.0 No.1 No.2 Parameter Value D0000 D0070 D0140 Response Flag (fixed) 0 D0001 D0071 D0141 Communications Status (fixed) Alternates between 0 and 1.
6 Programless Communications With the default settings, the following parameters are set for the download areas. No.
6 Programless Communications (3) We will confirm that the download areas have been initialized. When initialization is completed, D0000 (Response Flag) will change to 1 (Normal End) and D0025 (Request Flag) will automatically change to 1 (Enable Writing). Check the download area to see if it has been initialized to the values given in the above table. Confirm this for the No. 1 and No. 2 Controllers as well. (4) We will change the fixed SP for the No. 0 Controller.
6 Programless Communications 6-5 Connecting to CJ-series PLCs 6-5-1 Configuration and Procedure The following configuration is used as an example in giving the setup and application procedures for programless communications. • All of the E5CC-T Controllers must be the same model. (Copying parameter settings is not possible if the models are different.) • D0000 to D0209 are used in the PLC memory. The default E5CC-T parameter allocations are used. • A commercially available USB2.0, A/B cable is used.
6 Programless Communications 6-5-2 Switch Settings and Wiring Before you attach the CJ1W-CIF11 to the CJ1W-SCU21-V1, turn OFF pin 4 on the DIP switch on the back of the CJ1W-CIF11 and turn ON the rest of the pins. Pin OFF No terminating resistance 1 2 3 4 5 4-wire 4-wire --RS control disabled. (Signal always received.) RS control disabled. (Signal always sent.) 6 ON Terminating resistance on both ends 2-wire 2-wire --RS control enabled.
6 Programless Communications Communications Settings in the Serial Communications Unit (SCU) (1) The PLC operating mode must be changed to PROGRAM mode to enable changing the SCU communications settings. Select PLC − Operating Mode − Program from the menu bar. A confirmation dialog box will be displayed. Click the Yes Button. 6-5 Connecting to CJ-series PLCs 6 (2) Double-click IO Table and Unit Setup. The IO Table Window will be displayed. 6-5-3 PLC Setup (3) Double-click CJ1W-SCU21-V1.
6 Programless Communications (4) We will change the communications settings for port 1. Set Port 1: Port settings to User settings, set Port 1: Baud rate to 57600 bps, and then click the Transfer [PC to Unit] Button. Use the defaults settings for the other parameters. Note: If you change the unit number, refer to 6-2-7 Communications Node Number. Click the Yes Button. The settings will be transferred. After the data has been transferred, click the OK Button.
6 Programless Communications Click the Yes Button to restart the Unit. Select All ports and then click the OK Button. A dialog box will be displayed when the Unit has been restarted. Click the OK Button. This completes the PLC setup procedure. You will use the CX-Programmer to check operation, so leave it online. E5@C-T Controller Setup Set up programless communications. Perform the procedure that is given in 6-4-4 E5@C-T Controller Setup.
6 Programless Communications 6-6 Connecting to MELSEC Q-series PLCs 6-6-1 Configuration and Procedure The following configuration is used as an example in giving the setup and application procedures for programless communications. • All of the E5CC-T Controllers must be the same model. (Copying parameter settings is not possible if the models are different.) • D0 to D209 are used in the PLC memory. The default E5CC-T parameter allocations are used. • A commercially available USB2.0, A/B cable is used.
6 Programless Communications 6-6-2 Wiring Wire the QJ71C24N-R4 to the E5CC-T Controllers as shown below. QJ71C24N-R4 QJ71C24N-R4 RUN NEU. CH1 SD RD ERR. NEU. SD CH2 RD SDA SDB RDA RDB SG Terminating resistance Shield B(+) 13 Shield B(+) 13 Shield B(+) 120 Ω (1/2 W) terminating resistance 13 14 14 14 A(−) A(−) A(−) E5CC-T No.0 E5CC-T No.1 E5CC-T No.2 (FG) Note: 1 Use a terminating resistance of at least 54 Ω. 2 The maximum transmission distance is 500 m.
6 Programless Communications (4) Click the OK Button. (5) Click the Execute Button.
6 Programless Communications (6) When the set values have been read, click the Close Button. Also close the above dialog box. 6-6 Connecting to MELSEC Q-series PLCs 6 (1) Double-click Switch Setting. The Switch Setting Dialog Box for communications will be displayed.
6 Programless Communications (2) We will change the communications settings for CH1. Change the following settings, and then click the OK Button. Use the defaults settings for the other parameters. • • • • • • • Parity Bit: Exist Even/odd parity: Even Stop bit: 2 Sum check code: Exist Online Change: Enable Setting modifications: Enable Communication rate setting: 57600 bps (This setting can be changed after you change the communication protocol setting.
6 Programless Communications (4) We will write set values to the PLC. Click the Intelligent Function Module Tab and select the check box for the Serial Communication Module in the Valid Column. Then click the PLC Module Tab, select the check box for the parameters in the Target Column, and then click the Execute Button.
6 Programless Communications (5) We will write set values to the PLC. Some dialog boxes will be displayed before and after the following dialog box. Click the Yes Button for of them, or click the Yes to All Button. When the following dialog box is displayed, click the Close Button. Also close the dialog box to write set values, and then cycle the power supply to the PLC. This completes the PLC setup procedure. You will use GX Works2 to check operation, so leave it online.
6 Programless Communications 6-6-5 Checking Operation The fixed SP and RUN/RESET status of the E5@C-T Controllers will be changed to check operation. Make sure that this will not create any problems in the controlled system. z Checking E5CC-T Monitor Values (1) We will display PLC memory in a dialog box. Select Online − Monitor − Device/Buffer Memory Batch Monitor.
6 Programless Communications (3) To make the value easier to check, we will change the values that are displayed to decimal values. Click the Display Format Button in the above dialog box, select the Word Multi-point Option in the Monitor Format Area, select the 10 Points Option in the Word Device Word Multi-point Format Area, and then click the OK Button. (4) We will check the E5CC-T monitor values. The area where monitor values are checked is called the upload area.
6 Programless Communications With the default settings, the following parameters are set for the upload areas. Check the values in the upload areas to see if they are the same as those that are given in the following table. (It is not necessary to check address for which “---” is given in the Value column.) No.0 D0000 D0001 No.1 D0070 D0071 No.2 D0140 D0141 Parameter Response Flag (fixed) Communications Status (fixed) (1) We will check the area that is used to change E5CC-T set values.
6 Programless Communications With the default settings, the following parameters are set for the download areas. No.0 D0025 D0026 D0027 D0028 D0029 D0030 D0031 D0032 D0033 D0034 D0035 D0036 D0037 D0038 D0039 D0040 D0041 D0042 D0043 D0044 D0045 D0046 D0047 D0048 D0049 D0050 D0051 D0052 D0053 D0054 D0055 D0056 D0057 D0058 D0059 D0060 D0061 ··· D0069 6 - 50 No.
6 Programless Communications (2) We will initialize the download areas with the set values from the E5CC-T Controllers. The download areas have not been initialized, so we will initialize them with the set values from the E5CC-T Controllers. Double-click D25 (Request Flag) on the Device Memory Dialog Box. The following dialog box is displayed. Enter 2 (Initialize Download Areas), click the Set Button, and then click the Close Button.
6 Programless Communications (4) We will change the set point for the No. 0 Controller. Double-click D27 (Fixed SP) in the Device Memory Dialog Box, enter 100 (64 hex) for the value, click the Set Button, and then click the Close Button. Confirm that D0 (Request Flag) remains at 1 (Enable Writing) and that the SV Display on the No. 0 Controller changes to 100. Confirm this for the No. 1 and No. 2 Controllers as well. Resetting the E5CC-T Controllers (1) We will run the No. 0 Controller.
Component Communications This section describes component communications for the E5@C-T. 7-1 Component Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 7-1-1 7-1-2 7-1-3 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3 E5@C-T Controller Setup . . . . . . . . . . . . . . .
7 Component Communications 7-1 7-1-1 Component Communications Introduction You can use component communications to connect two or more E5@C-T Controllers via RS-485 and then transfer the fixed SP or program SP or change the RUN/RESET status for all of the Controllers at the same time. If you transfer the fixed SP or program SP or change the RUN/RESET status of the master (i.e., the Controller with a communications unit number of 0), the set points or RUN/RESET status of all of the slaves (i.e.
7 Component Communications 7-1-2 Wiring Wire the E5@C-T Controllers as shown below. E5CC-T/EC-T/AC-T 120 Ω (1/2 W) terminating resistance B(+) B(+) B(+) B(+) 13 13 13 13 14 14 14 14 A(−) A(−) A(−) A(−) No.0 No.1 No.2 No.
7 Component Communications 7-1-3 E5@C-T Controller Setup The parameters that are used for component communications are shown with a gray background in the following diagram. All of these parameters are displayed if you set the Protocol Setting parameter to cmp. (Some of the parameters are always displayed.) This section describes the parameters that are used to calculate the set point. The other parameters are the same as for programless communications. Refer to 6-2 E5@C-T Controller Setup.
7 Component Communications SP Calculations (Fixed-value Controllers Only) The set point of a slave can be calculated from the fixed SP or program SP of the master as shown below. The slave performs the calculation only during operation. The value is not written to the slave if it exceeds the set point limiter.
7 Component Communications 7-2 Operation for Component Communications Only two items can be sent from the master to the slaves: the fixed SP or program SP, and the RUN/RESET status. If the set point or the RUN/RESET status is changed at the master, the new value is sent to the slaves starting with the slave with communications unit number 1 and continuing on to the slave with the highest communications unit number. The master sends values only during operation.
7 Component Communications 7-3 Troubleshooting Possible problems that can occur with component communications and corrective actions are given in the following table. Status The set point or RUN/RESET status will not change for a slave (i.e., a Controller with a communications unit number other than 0). The set point is not calculated. It is sometimes not possible to change the set points or RUN/RESET status.
7 Component Communications 7-8 E5C-T Digital Controllers Programmable Type Communications Manual (H186)
Appendices A-1 ASCII List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2 A-2 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A Appendices A-1 ASCII List b8 0 0 0 0 1 1 1 1 b6 0 0 1 1 0 0 1 1 b5 0 1 0 1 0 1 0 1 0 1 2 3 4 5 6 7 P ‘ p b8 b7 b6 b5 b4 b3 b2 b1 0 0 0 0 0 NUL DLE SPACE 0 0 0 0 1 1 SOH DC1 ! 1 A Q a q 0 0 1 0 2 STX DC2 ” 2 B R b r 0 0 1 1 3 ETX DC3 # 3 C S c s 0 1 0 0 4 E0T DC4 $ 4 D T d t 0 1 0 1 5 ENQ NAK % 5 E U e u 0 1 1 0 6 ACK SYN & 6 F V f v 0 1 1 1 7 BEL ETB ’ 7 G W g w 1 0 0 0
A Appendices A-2 Troubleshooting Before Requesting Repairs 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. Item The communications wiring is not correct. The communications line has become disconnected. The communications cable is broken.
A Appendices A-4 Item Confirmation Page The host device is detecting the absence of a response as an error after broadcasting a command or sending a software reset command. The host device sent another command before receiving a response from the Controller. The host device sent the next command too soon after receiving a response from the Controller. The communications line became unstable when the Controller’s power was turned ON or interrupted, and the host device read the unstable status as data.
Index I E5C-T Digital Controllers Programmable Type Communications Manual (H186) Index-1
Index A E addresses CompoWay/F ........................................................... 2-7 Modbus .................................................................... 4-7 area definitions .............................................................. 2-6 areas and first address of linked data ........................... 6-8 ASCII list ........................................................................A-2 B BCC ........................................................................
protocol setting ....................................................... 1-5, 6-6 R range of operation for programless communications ....................................................... 6-22 Read Controller Attributes (CompoWay/F) .......... 2-7, 2-13 Read Controller Status (CompoWay/F) ............... 2-7, 2-14 Read Variable Area (CompoWay/F) ....................... 2-7, 2-8 receive data wait time ................................................. 6-10 Request Flag .....................................
Index-4 E5C-T Digital Controllers Programmable Type Communications Manual (H186)
OMRON Corporation Industrial Automation Company Authorized Distributor: Tokyo, JAPAN Contact: www.ia.omron.com Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC One Commerce Drive Schaumburg, IL 60173-5302 U.S.A. Tel: (1) 847-843-7900/Fax: (1) 847-843-7787 OMRON ASIA PACIFIC PTE. LTD. No.