Omron ZEN-8E Communications Manual

Omron ZEN-8E Communications Manual

Programmable relay

Advertisement

Quick Links

Authorized Distributor:
Man. No. Z212-E1-01
Note: Specifications subject to change without notice.
Printed in Japan
0206-?M ( 0206 (?)
Man. No. Z212-E1-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZEN-8E and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron ZEN-8E

  • Page 1 Authorized Distributor: Man. No. Z212-E1-01 Note: Specifications subject to change without notice. Printed in Japan 0206-?M ( 0206 (?) Man. No. Z212-E1-01...
  • Page 2: Preface

    Preface OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The ZEN is a compact and highly functional controller that can be used to easily automate small-scale applications.
  • Page 3: Warranty And Application Considerations

    OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON. OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS.
  • Page 4 PURPOSES. Please refer to separate catalogs for OMRON's safety rated products. OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer’s application or use of the product.
  • 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 7: Precautions

    Precautions This section provides precautions for using the ZEN Programmable Relays. This information contained in this section is important for the safe and reliable application of the ZEN. You must read this section and understand the information before attempting to set up for a ZEN. Safety Precautions .
  • Page 8 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.
  • Page 9 Precautions Precautions WARNING Serious human hazard may occasionally occur due to ignition or rupture of the lithium battery used in the Battery Unit. Do not short the battery terminals or charge, disassemble, deform under pressure, or incinerate the battery. Never use any battery that has been dropped on the floor or otherwise subjected to excessive shock.
  • Page 10 Low Voltage (SELV) circuit or to accessible conductive parts. For the programming units and Personal Computers use only the ZEN-CIF01 Connecting Cable (optional accessory) manufactured by OMRON. ZEN-CIF01 provides safe (reinforced) insulation between Personal Computers and ZEN. Provide emergency stop circuits, external interlock circuits, limit circuits, and other safety circuits in addition to any provided within the ZEN control circuits to ensure safety of the overall system in the event of ZEN failure or external factors.
  • Page 11 Precautions Always use the ZEN within the rated ambient operating temperature and humidity. The rated ambient operating temperature is 0 to 55°C for LCD-type CPU Units and –25 to 55°C for LED-type CPU Units. If the ZEN is used near sources of heat, such as a power supply, the internal temperature of the ZEN may increase, lowering the durability of the ZEN.
  • Page 12 Precautions Precautions for Correct Use Installation Environment Do not install the ZEN in the following locations. • Locations subject to radical changes in temperature • Location with high humidity subject to condensation • Locations subject to excessive dust or dirt •...
  • Page 13: Conventions Used In This Manual

    Conventions Used in This Manual This user's manual describes the communications functions of CPU Units with com- munications. For information on using other functions, refer to the ZEN Programma- ble Relay Operation Manual. ■ Manual Contents Item Description SECTION 1 This section briefly describes the supported Communications Methods communications methods and how to wire...
  • Page 14: Revision History

    Revision History ■ Manual Revision Code A manual revision code appears as a suffix to the catalog number on the front and back cover of the manual. Man. No. Z212-E1-01 ■ Revision History The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 15: Table Of Contents

    Table of Contents Preface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ii Warranty and Application Considerations - - - - - iii Precautions vii Conventions Used in This Manual - - - - - - - - - - xiii Revision History - - - - - - - - - - - - - - - - - - - - - - xiv...
  • Page 17: Communications Methods

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

    Up to 32 nodes including host computers can be connected via CompoWay/F. CompoWay/F is an integrated protocol for OMRON general-purpose serial communications. Consistent frame formats and commands that are compliant with FINS (see note 2), which is widely used with OMRON Programmable Controllers (PLCs), enable easy communica- tions between a host computer and components.
  • Page 19: Transmission Procedure

    Details Interface Con- K3SC Communications between the host computer verter (OMRON) and the ZEN conform to the RS-485 interface. ■ Wiring This section explains how to perform the ZEN’s communications wiring. For details on the host computer, refer to the user documentation provided with the host computer.
  • Page 20: Communications Parameters

    SECTION 1 Communications Methods ● Wiring Diagram Host computer Example: Personal compuer ZEN-10C4AR-A-V2 Host computer: RS-485 RS-232C ZEN-10C4DR-D-V2 RS-485 Signal Signal Terminal Comm. RS-232C/RS-485 B (+) RS-485 ( Converter terminals − − − RS-485 ( Shield Terminator: 120 Ω End node (1/2 W) RS-485 Signal...
  • Page 21: Setting Communications Parameters

    1.1 Overview of Communications Methods • Communications Data Length This parameter sets the number of communications data bits. Set either 7 bits or 8 bits. • Stop Bits This parameter sets the number of communications stop bits. Set either 1 or 2. •...
  • Page 22 SECTION 1 Communications Methods Displaying the RS-485 Communications Submenu STOP Mode The screen at the left will be displayed when the ZEN is in MO13:15 STOP I:oooooo STOP mode. (See Q:[[[[ Press the OK Button to display the Menu Screen. note.) Note: This step is not required after switching from RUN Mode to STOP mode.
  • Page 23 1.1 Overview of Communications Methods ↓ Main Menu Press the ESC Button to return to the Menu Screen. SET CLOCK LANGUAGE RS485 OTHER...
  • Page 24 SECTION 1 Communications Methods...
  • Page 25 SECTION 2 CompoWay/F Communica- tions Protocol This section describes the protocol for communications using the CompoWay/F format. Data Format..............10 Command Frame............ 10 Response Frame ............ 11 Communications Data ..........12 Structure of Command Text ........... 14 PDU Structure ............14 Addresses...............
  • Page 26: Data Format

    SECTION 2 CompoWay/F Communications Protocol 2.1 Data Format For CompoWay/F, numeric values for commands are converted to ASCII and expressed as hexadecimal values. • Numbers prefixed with H’ are hexadecimal, e.g., H’02 is 02 hexadecimal. • The numbers below the various parts of a frame specify 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 H'02 0 (H'30) 0 (H'30) 0 (H'30) 0 (H'30) 0 (H'30) 0 (H'30) 5 (H'35) 0 (H'30) 3 (H'33)
  • Page 28: Communications Data

    SECTION 2 CompoWay/F Communications Protocol Frame length error The received frame exceeds the specified (supported) num- ber of bytes. • An end code is returned for each command frame received that was addressed to the local node. • No response will be returned unless the frame contained all elements up to the ETX and BCC. •...
  • Page 29 2.1 Data Format Example 3 No Node Number Provided Command The node number is missing one character. Response No response is made. Example 4 No Sub-address and Illegal BCC Command Node number Response Node number Sub-address End code The sub-address is taken as 00 and end code 13 (BCC error) is returned in the response.
  • Page 30: Structure Of Command Text

    SECTION 2 CompoWay/F Communications Protocol 2.2 Structure of Command Text ■ PDU Structure • An MRC (Main Request Code) and SRC (Sub-Request Code) followed by the various required data are transferred in the command text. Service Request PDU MRC SRC Data •...
  • Page 31: List Of Services

    2.2 Structure of Command Text ■ List of Services Name of service Processing Read Variable Area This service reads from variable areas. Write Variable Area This service writes to variable areas. Read Controller Attributes This service reads the model number and communi- cations buffer size.
  • Page 32: Detailed Description Of The Services

    SECTION 2 CompoWay/F Communications Protocol 2.3 Detailed Description of the Services ■ Read Variable Area This service reads data from a variable area. Service Request PDU Variable Read MRC SRC Number of type position start address elements 1 0 1 Service Request PDU MRC SRC Response...
  • Page 33: Reading Timers, Counters, And Comparators

    2.3 Detailed Description of the Services Response Error name Cause code 1101 Area type error The variable type is wrong. 110B Response too long The number of elements is greater than 0001. 1100 Parameter error • Bit position is not 00. •...
  • Page 34 SECTION 2 CompoWay/F Communications Protocol • Timer and Counter Number Specifications There is more than one timer and more than one counter, and so the leftmost two digits of the address are used to specify the applicable timer or counter. The timer and counter numbers and corresponding addresses are given in the following table.
  • Page 35 2.3 Detailed Description of the Services Analog comparator constant A0 to A3 0000 to 0300 Analog comparator operator 000E to 030E Comparator operator P0 to Pf 000E to 0F0E Comparator PV 0000 to 0F00 8-digit comparator operator G0 to G3 0012 to 0312 8-digit comparator constant 0000 to 0300...
  • Page 36: Reading Work Bits And Hr Bits

    SECTION 2 CompoWay/F Communications Protocol 3. Comparison Operators for 8-Digit Comparator The comparison data and operation in the variable area can be specified when reading. Read data Comparison Operator 0: ≤ (Comparator bit turns ON when 8-digit counter PV ≤ Comparison data 2.) 1: ≥...
  • Page 37: Write Variable Area

    2.3 Detailed Description of the Services ■ Write Variable Area This service writes data to a variable area. Service Request PDU Write Data Variable Number of Start MRC SRC position type (for number of elements) elements write address 1 0 2 8 or 12 (See note.) Note: The write data 12 indicates the weekly timer.
  • Page 38: Writing Timer And Counter Set Values

    SECTION 2 CompoWay/F Communications Protocol Error Occurred Response Error name Cause code 1002 Command too short The command is too short. 1101 Area type error The variable type is wrong. 1003 Number of elements/ The number of data does not data mismatch match the number of elements.
  • Page 39 2.3 Detailed Description of the Services Response [STX]00000010100000064 270F OFF time: 9999 (H'270F) ON time: 100 (H'64) ● Timer, Counter, and Comparator Number Specifications There is more than one timer and more than one counter, and so the leftmost two digits of the address are used to specify the applicable timer or counter.
  • Page 40 SECTION 2 CompoWay/F Communications Protocol Minutes 00 to 59 Example [STX]010000102C5000000001005623592359 End time: 59 minutes End time: 23 hours Start time: 59 minutes Start time: 23 hours End day: Saturday (6) Start day: Friday (5) Always 00. 3. Pulse Operation End day Start time, hour Start day...
  • Page 41 2.3 Detailed Description of the Services Example [STX]010000102C5000000001005623591520 Output time: 20 seconds Output time: 15 minutes Start time: 59 minutes Start time: 23 hours End day: Saturday (6) Start day: Friday (5) Always 00. ● Calendar Timers Calendar timers are built into the ZEN. The calendar timers turn ON between the specified start and end days of the specified months.
  • Page 42: Writing Work Bits And Hr Bits

    SECTION 2 CompoWay/F Communications Protocol ■ Writing Work Bits and HR Bits Bit positions are specified when writing Work Bits or HR Bits. Example Command [STX]000000102CA000003000100000001 The bit position is specified when writing. In this example, the bit 03 in HR Bit H2 is turned ON (1). Response [STX]0000001020000 Normal response...
  • Page 43: Read Controller Status

    2.3 Detailed Description of the Services Error Occurred Response Name Description code 1001 Command too long The command is too long. 2203 Operation error Unit error (Memory error occurred, or unused command was sent.) ■ Read Controller Status This service reads the operating status and error status. Service Request PDU MRC SRC 6 0 1...
  • Page 44: Read Time Data

    SECTION 2 CompoWay/F Communications Protocol Error Occurred Response Name Description code 1001 Command too long The command is too long. ■ Read Time Data This service reads ZEN time data. Service Request PDU MRC SRC 7 0 1 Service Response PDU MRC SRC Year Month Hour Min...
  • Page 45: Write Time Data

    2.3 Detailed Description of the Services Example Command [STX]000000701 Response [STX]00000070105112823302006 Saturday (6) 20 seconds 30 minutes 23rd hour 28th November 2005 ● Year to Seconds The time data expressed in two digits of BCD data is converted to two ASCII characters.
  • Page 46 SECTION 2 CompoWay/F Communications Protocol Service Request PDU (See MRC SRC Year Month Hour Min note 2.) 7 0 2 Note 1: Each element of the time data (year, month, day of month, hour, minutes, seconds, and day of week) is expressed as 2- digit BCD data and converted to ASCII characters.
  • Page 47: Echoback Test

    2.3 Detailed Description of the Services ● Response Code Normal Completion Response Name Description code 0000 Normal completion No errors were found. Error Occurred Response Name Description code 1001 Command too long The command is too long. 1002 Command too short The command is too short.
  • Page 48: Operation Command

    SECTION 2 CompoWay/F Communications Protocol ● Response Code Normal Completion Response Name Description code 0000 Normal completion No errors were found. Error Occurred Response Name Description code 1001 Command too long The command is too long. 2203 Operation error Unit error (Memory error occurred, or unused command was sent.) ■...
  • Page 49 2.3 Detailed Description of the Services 1100 Parameter error Command code and related infor- mation are wrong. 2203 Operation error C bus error or memory error...
  • Page 50: Response Code List

    SECTION 2 CompoWay/F Communications Protocol 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

    SECTION 3 Communications Data This section lists the portions of the variable area that can be set with CompoWay/F communications. Variable Area (Data Range) List ........36...
  • Page 52: Variable Area (Data Range) List

    SECTION 3 Communications Data 3.1 Variable Area (Data Range) List The following tables list data ranges by variable type. When there is a section reference for a setting item, refer to that reference for details. ◆ Variable TypeC0 (Read-only) Address Data name Data range (unit) Remarks...
  • Page 53 3.1 Variable Area (Data Range) List Address Data name Data range (unit) Remarks Page 0005 Holding timer bit H'00000000 to H'000000FF (-) Bit 0: #0 status Bit 1: #1 Bit 2: #2 Bit 3: #3 Bit 4: #4 Bit 5: #5 Bit 6: #6 Bit 7: #7 0006...
  • Page 54 SECTION 3 Communications Data Address Data name Data range (unit) Remarks Page 0011 Comparator bit sta- H'00000000 to H'0000FFFF (-) Bit 0: P0 Bit 8: P8 Bit 1: P1 Bit 9: P9 Bit 2: P2 Bit 10: Pa Bit 3: P3 Bit 11: Pb Bit 4: P4 Bit 12: Pc...
  • Page 55 3.1 Variable Area (Data Range) List ◆ Variable Type C2 Address Data name Data range (unit) Remarks Page 0000 Holding time SV H'00000001 to H'0000270F (S) Timer number specified by left- P.18 H'00000001 to H'000026E7 (M:S) most 2 digits of address. H'00000001 to H'000026E7 (H:M) 00.01 to 99.99 s 00 min 01 s to 99 min 59 s...
  • Page 56 SECTION 3 Communications Data ◆ Variable Type C6 Address Data name Data range Remarks Page 0000 Calendar H'01010101 to H'12311231 (-) Calendar timer number specified by P.18 timer SV leftmost 2 digits of address. P.25 Leftmost 4 Bytes: Start Month/Day January 01 to December 31 Rightmost 4 Bytes: End Month/Day January 01 to December 31...
  • Page 57: Appendix

    Appendix ASCII List ................. 42...
  • Page 58: Ascii List

    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 59 INDEX INDEX addresses ..............14 operation command ...........32 analog comparator ............ 18 ASCII list ..............42 parity ................5 PDU structure ............14 BCC ................10 pulse operation ............23 BCC calculation example ......... 11 bit position ............16, 21 read controller attributes ..........26 read controller status ..........27 calendar timer ............

This manual is also suitable for:

Zen

Table of Contents