Omron CQM1-ARM21 Operation Manual
Omron CQM1-ARM21 Operation Manual

Omron CQM1-ARM21 Operation Manual

As-interface master unit
Table of Contents

Advertisement

Quick Links

Cat. No. W357-E1-1
CQM1-ARM21
®
AS-Interface
Master Unit
OPERATION MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1-ARM21 and is the answer not in the manual?

Questions and answers

Summary of Contents for Omron CQM1-ARM21

  • Page 1 Cat. No. W357-E1-1 CQM1-ARM21 ® AS-Interface Master Unit OPERATION MANUAL...
  • Page 3 CQM1-ARM21 ® AS-Interface Master Unit Operation Manual Produced April 1999...
  • Page 5 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 7: Table Of Contents

    AS-INTERFACE .................. 1 1-1 Introduction................................2 1-2 Master Functionality..............................7 1-3 Slave Functionality..............................8 INSTALLATION.................. 9 2-1 Physical Layout of the Unit ............................10 2-2 Mounting the CQM1-ARM21 ..........................14 2-3 AS-Interface Network Installation..........................15 SPECIFICATIONS AND PERFORMANCE........17 3-1 Overall Specifications ............................18 3-2 Dimensions................................19 3-3 Performance ................................19 PLC INTERFACE................
  • Page 8 viii...
  • Page 9 Section 1 gives a brief description of AS-Interface. Section 2 describes the installation of the CQM1-ARM21. Section 3 describes the overall specifications and the communication performance of the Unit. Section 4 describes the interface with the user.
  • Page 11: Precautions

    PRECAUTIONS This section provides general precautions for using the AS-Interface Master Units, Programmable Controllers, and related devices. The information contained in this section is important for the safe and reliable application of the AS-Interface Master Units. You must read this section and understand the information contained before attempting to set up or operate an AS-Interface Master Unit and PLC system.
  • Page 12: Intended Audience

    ! WARNING specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC system to the above mentioned applications. Safety Precautions ! WARNING Never attempt to disassemble any Units while power is being supplied.
  • Page 13: Application Precautions

    Application Precautions Section 5 • Where there is any corrosive or inflammable gas. • Where there is excessive dust, saline air, or metal powder. • Where the PLC is affected by vibration or shock. • Where any water, oil, or chemical may splash on the PLC. The operating environment of the PLC System can have a large effect on the Caution longevity and reliability of the system.
  • Page 14: Ec Directives

    Section 6 EC Directives • Be sure to tighten Backplane screws, terminal screws, and cable connector screws securely. • Do not attempt to take any Units apart, to repair any Units, or to modify any Units in any way. Caution The following precautions are necessary to ensure the general safety of the system.
  • Page 15: As-Interface

    AS-Interface This section provides a general introduction to AS-Interface 1-1 Introduction................................2 1-1-1 AS-International ...............................2 1-1-2 System Components ............................3 1-1-3 Technical Details ..............................4 1-2 Master Functionality..............................7 1-3 Slave Functionality..............................8...
  • Page 16: Introduction

    User Groups with currently some 80 members are established in eight European countries, North America and Japan. Over 200 products are now available from 30+ vendors. OMRON is a full member of the AS-International Association. Positioning AS-Interface is primarily aimed at the transfer of binary in- and output data in industrial applications.
  • Page 17: System Components

    Section 1-1 Introduction 1-1-2 System Components Master AS-Interface is a single master - multi slave system. The system requires one master unit to control all data exchanges over the bus. During normal operation, the master cyclically sends output data to all slaves, and receives the slaves’...
  • Page 18: Technical Details

    Introduction Section 1-1 No termination The network topology may be a star, a line with or without branch lines, or a full tree structure. Termination is not required. tree branch lines star line controller controller controller controller Master Master Master Master Slave Slave...
  • Page 19 Section 1-1 Introduction Power On Offline Initialisation Lists = default Phase Detection search for slaves Phase with addr. 0 - 31 Start Up Operations Activation activation of slaves Phase Normal Operation exchange data with Data Exchange each active slave Phase search for new slaves send one command Management...
  • Page 20 156 µs, but the master is allowed to lengthen the send pause up to 500 µs, as long as the total cycle time does not exceed the stated maximum. To calculate the CQM1-ARM21’s cycle time, see 3-3, Performance.
  • Page 21: Master Functionality

    The M2 or reduced master profile consists of the M0 profile plus 2 additional functions to set and store slave parameters. The CQM1-ARM21 provides M0 functionality in standard operation mode, but additional configuration functions are available in a special setup mode, in which the updating of slaves’...
  • Page 22: Slave Functionality

    Section 1-3 Slave Functionality configuration data (PCD) and independent of LPS. A full list of the CQM1-ARM21’s available functions is given in Appendix A, AS-Interface PICS. 1-3 Slave Functionality Slave Profiles To allow an uncomplicated usage in standard applications, AS-Interface defines "profiles"...
  • Page 23: Installation

    This section describes the Unit’s external features, and how to install an AS-Interface system. 2-1 Physical Layout of the Unit ............................10 2-1-1 Front Cover..............................10 2-1-2 LED Indicators ...............................11 2-1-3 Switches ................................12 2-1-4 Connector ...............................14 2-2 Mounting the CQM1-ARM21 ..........................14 2-3 AS-Interface Network Installation..........................15 2-3-1 AS-Interface Power Supply ..........................15 2-3-2 AS-Interface Cable............................15...
  • Page 24: Physical Layout Of The Unit

    CQM1 series, within the restrictions for the number of I/O channels available in that CPU. The dimensions of the CQM1-ARM21 are the same as those of comparable CQM1 I/O units. For mounting instructions, see the CQM1 Operation Manual. The front of the unit features: •...
  • Page 25: Led Indicators

    Physical Layout of the Unit Section 2-1 2-1-2 LED Indicators RUN (green) : Unit status indication. ON : Indicates that the unit is receiving power from the CQM1 power supply, and that the unit has initialised properly. Flashing : The unit is initialising. (red) : General error indication.
  • Page 26: Switches

    Physical Layout of the Unit Section 2-1 0~15 (yellow) : Slave status indicators. ON : A slave is active, i.e. exchanging I/O data with the master. Flash : A slave is in the list of projected slaves, but not ac- tive.
  • Page 27 I/O codes, ID codes, and parameter data, and is stored in non- volatile memory (EEPROM) in the CQM1-ARM21. This function is only available if the unit is not in Protected Mode, i.e. in Configuration Mode or Setup Mode (CM LED is ON).
  • Page 28: Mounting The Cqm1-Arm21

    (approx. 0.4 N). Both ASI + terminals will be connected to each other via the CQM1-ARM21, when the terminal block is attached to the unit. The same applies to the ASI - terminals.
  • Page 29: As-Interface Network Installation

    Master Unit and all AS-Interface slaves to be connected to the bus. The CQM1-ARM21 will use less than 100 mA from the AS-Interface line. If the output current of a power supply unit is insufficient to power the whole configuration, use AS-Interface repeaters and power each segment separately.
  • Page 30 Section 2-3 AS-Interface Network Installation...
  • Page 31: Specifications And Performance

    Specifications and Performance This section describes the overall specifications and the communication performance of the CQM1-ARM21. 3-1 Overall Specifications ............................18 3-2 Dimensions................................19 3-3 Performance ................................19 3-3-1 AS-Interface Cycle Time ..........................20 3-3-2 PLC Cycle Time ..............................20 3-3-3 I/O Response Time ............................21...
  • Page 32: Overall Specifications

    Section 3-1 Overall Specifications 3-1 Overall Specifications Model code CQM1-ARM21 Max. number of units per CPU Master Unit mounting position Recommended : rightmost I/O unit position of the CQM1 system Settings Switches: : IR channel allocation Operation Mode (Protected/Configuration) Store Configuration...
  • Page 33: Dimensions

    PLC cycle time. Asynchronous cycles Since in the CQM1-ARM21 the PLC cycle and the AS-Interface cycles are not synchronised, the response times are not constant values, but can be guaranteed to fall between a minimum and a maximum value.
  • Page 34: As-Interface Cycle Time

    - The number and types of I/O units in the system. - Whether or not peripherals are connected to the CPU. The CQM1-ARM21 will increase the PLC’s cycle time by 0.01 ms times the number of allocated I/O words, i.e. a maximum of 0.16 ms.
  • Page 35: I/O Response Time

    Performance Section 3-3 3-3-3 I/O Response Time The fieldbus cycle is not synchronised with the PLC cycle; fieldbus cycles are executed continuously, independent of the PLC cycle. Minimum I/O response time The figure below illustrates the minimum I/O response time. Shown are the timing at the PLC CPU, the AS-Interface bus, the Master Unit, the slave input and the slave output.
  • Page 36 Performance Section 3-3 Maximum I/O response time The figure below illustrates the maximum I/O response time. Shown are the timing at the PLC CPU, the timing at the Master Unit, the timing at the slave input and the timing at the slave output. Master Input Output...
  • Page 37 Section 3-3 Performance The processing time in the PLC can be reduced by using: Optimisation • the IORF instruction in the PLC program. • Interrupt input refresh. • Direct output refresh. See the CQM1/CPM1 Programming manual (W228-E1) for details.
  • Page 38 Performance Section 3-3...
  • Page 39: Plc Interface

    PLC Interface This section describes the interface between the AS-Interface master and the CQM1 host PLC system. 4-1 PLC Settings................................26 4-2 Internal Data Structures............................27 4-3 Master Operation Modes............................28 4-4 AS-Interface Standard Modes ..........................31 4-4-1 Status Flags ..............................31 4-4-2 Control Bits..............................32 4-4-3 I/O Data Bits..............................33 4-5 Setup Mode ................................34 4-5-1 Command Area ...............................34...
  • Page 40: Plc Settings

    CPU’s PC Setup area: DM6604 = This code will allow the CQM1-ARM21 to access 2 additional IR words, above the CPU’s normal limitation of 16. This means that apart from the built-in inputs of the CPU and a full-configuration AS-Interface master unit, one additional I/O unit can be mounted.
  • Page 41: Internal Data Structures

    The figure below shows an overview of the master’s lists, and shows how data is transferred between the CQM1 CPU, these lists, and the slaves. For normal operation of the CQM1-ARM21, knowledge of its internal data structures is not essential, but it may help to better understand specific functions.
  • Page 42: Master Operation Modes

    SET switch. This data are stored in non-volatile memory. After master power on, the master copies the PP array to the PI array. 4-3 Master Operation Modes The CQM1-ARM21 can be used in three different modes of operation. Protected Mode Configuration Mode...
  • Page 43 Section 4-3 Master Operation Modes In some cases it may not be possible to change directly from one mode to another: • Change from Configuration Mode to Protected Mode is not possible while a slave with address 0 is detected on the network. •...
  • Page 44 Setup Mode Setup mode is not defined by the AS-Interface Specification. In Setup Mode the CQM1-ARM21 does not comply with the requirements of an AS-Interface master in the sense that I/O data exchange with the Host PLC system is partially suspended. Instead, the user can issue commands via the PLC to be processed by the master, in order to build up the configuration from scratch without additional configuration tools.
  • Page 45: As-Interface Standard Modes

    Setup mode, in which the Unit acts as a configuration tool, allowing the user to modify the AS-Interface configuration. In these standard modes, the I/O words assigned to the CQM1-ARM21 will represent the I/O data of the connected AS-Interface slaves. The number of allocated I/O words depends on the setting of the CH switches 1-3 (see 2-1-3 Switches).
  • Page 46: Control Bits

    Section 4-4 AS-Interface Standard Modes IR n.02 Normal_Operation Flag Master is not in Normal Operation. The AS-Interface master is not executing cyclic data ex- changes with its slaves. Master is in Normal Operation. The master executes the AS-Interface cycle of Data Ex- change, Management and Inclusion Phases.
  • Page 47: I/O Data Bits

    PLC scan. The data in the IDI and ODI is mapped to the I/O areas assigned to the CQM1-ARM21 as shown below. Even if a slave has only outputs, its input data area will still be updated each PLC cycle.
  • Page 48: Setup Mode

    Reading of configuration and parameter data, and writing of address and parameters of any slave actually connected to the AS-Interface network. Setup Mode can only be entered if the CQM1-ARM21 is set to Configuration Mode with the MOD switch (switch 5).
  • Page 49 Section 4-5 Setup Mode IR m.01 Mode Control Bit Standard Modes Requests the master to operate in Configuration / Protected Mode, depending on the position of the MOD switch. Setup Mode To enter Setup Mode, set this bit to 1, i.e. set the least significant digit of IR m to 2.
  • Page 50: Response Area

    Section 4-5 Setup Mode IR m.08~ Command Argument 1 IR m.15 A 2-digit BCD code representing the target slave address for the command. For details, see the descriptions of the individual commands. IR m+1.00~ Command Argument 2 Depending on the type of command to be issued, a 2-digit IR m+1.07 hexadecimal code, a BCD code or binary data may need to be provided.
  • Page 51: Commands

    Section 4-5 Setup Mode 4-5-3 Commands In Setup Mode, the user can issue a range of commands as defined in the AS-Interface Specification, that provide the possibility to completely configure an AS-Interface network without the use of additional programming or addressing tools.
  • Page 52: Get_Permanent_Configuration

    Section 4-5 Setup Mode 4-5-3-2 Get_Permanent_Configuration Function Read the ID code and I/O code of a slave from the permanent configuration data in the master’s non-volatile memory. Command Code 0001 Slave address (2 digits BCD). Command Argument 1 Command Argument 2 Not required.
  • Page 53: Set_Permanent_Configuration

    Section 4-5 Setup Mode 4-5-3-3 Set_Permanent_Configuration Function Store the ID code and I/O code for a projected slave as permanent configuration data in the master’s non-volatile memory. Command Code 0011 Slave address (2 digits BCD) Command Argument 1 Command Argument 2 Permanent Configuration Data for slave [Command Argument 1].
  • Page 54: Read_Actual_Configuration

    Section 4-5 Setup Mode 4-5-3-4 Read_Actual_Configuration Function Read the ID code and I/O code of an actual slave connected to the AS- Interface line. Command Code 0101 Slave address (2 digits BCD). Command Argument 1 Command Argument 2 Not required. Command processed, and Return Value is valid.
  • Page 55: Change_Slave_Address

    Setup Mode Section 4-5 4-5-3-5 Change_Slave_Address Function Change the address of an actual slave connected to the AS-Interface line, and store the new address in the slave’s EEPROM. To change a slave’s address, the master first temporarily sets the target’s address to 0, then writes the new address.
  • Page 56 Setup Mode Section 4-5 Change the address of slave 23 to 31. Example 1 Command Response IR101 IR100 IR001 X X X D Master in Setup Mode Send ’No_Command’ (X = previous data) 0 0 0 D Master Ready Send Command 2 3 7 2 0 0 1 D OK Example 2...
  • Page 57: Get_Permanent_Parameter

    Section 4-5 Setup Mode 4-5-3-6 Get_Permanent_Parameter Function Read the Parameter Bits of a slave from the permanent configuration data in the master’s non-volatile memory. Command Code 1001 Slave address (2 digits BCD). Command Argument 1 Command Argument 2 Not required. Command processed, and Return Value is valid.
  • Page 58: Set_Permanent_Parameter

    Setup Mode Section 4-5 4-5-3-7 Set_Permanent_Parameter Function Store the Parameter Bits for a slave as permanent configuration data in the master’s non-volatile memory. Command Code 1011 Command Argument 1 Slave address (2 digits BCD). Command Argument 2 Permanent Parameter Data for slave [Command Argument 1]. 4 bits as below: 15 14 13 12 11 10 9 IR m+1...
  • Page 59: Read_Parameter

    Section 4-5 Setup Mode 4-5-3-8 Read_Parameter Function Read the Parameter Bits of an actual slave connected to the AS-Interface network. Command Code 1101 Slave address (2 digits BCD). Command Argument 1 Command Argument 2 Not required. Command processed, and Return Value is valid. Command Status Error in processing the command (invalid argument value or Slave read error).
  • Page 60: Write_Parameter

    Section 4-5 Setup Mode 4-5-3-9 Write_Parameter Function Set the Parameter Bits of an actual slave connected to the AS-Interface network. Command Code 1111 Slave address (2 digits BCD). Command Argument 1 Command Argument 2 Actual Parameter Data for slave [Command Argument 1]. 4 bits as below: 15 14 13 12 11 10 9 IR m+1...
  • Page 61: Exit Setup Mode

    Setup Mode Section 4-5 4-5-4 Exit Setup Mode To exit from Setup Mode, set the Mode Control Bit (IR m.01) to 0, while the MOD switch remains OFF. The Master will return to Configuration Mode. It is not possible to switch from Setup Mode to Protected Mode by setting the MOD switch from OFF to ON while the Mode Control Bit is ON.
  • Page 62 Section 4-5 Setup Mode...
  • Page 63: System Configuration

    System Configuration This section summarises several ways to set up a complete AS-Interface network. 5-1 AS-Interface Set-up Methods ..........................50 5-2 Bottom-up Method ..............................50 5-2-1 Bottom-up, with addressing unit ........................50 5-2-2 Bottom-up, without addressing unit........................51 5-3 Top-down Method..............................51 5-3-1 Top-down, with addressing unit........................51 5-3-2 Top-down, without addressing unit.........................52...
  • Page 64: As-Interface Set-Up Methods

    6. Toggle the SET switch (OFF→ON) to copy the actual configuration to the permanent configuration (Put the SET switch back to OFF position). 7. The CQM1-ARM21’s slave indicators for the active slaves should be ON, none should flash, and the CERR LED should go OFF.
  • Page 65: Top-Down Method

    Top-down Method 5-2-2 Bottom-up, without addressing unit If no separate addressing unit is available, the CQM1-ARM21 can perform the task of assigning addresses to blank slaves. Since all slaves are factory-set to address 0, they need to be added and re-programmed one by one.
  • Page 66: Top-Down, Without Addressing Unit

    Section 5-3 Top-down Method 4. Put the CQM1-ARM21 in Protected Mode (Mode Bit OFF, then MOD switch ON). The master will restart. 5. Prepare the AS-Interface network separately, using an addressing device to set all slaves to the projected addresses.
  • Page 67: Troubleshooting And Maintenance

    Troubleshooting and maintenance This section describes the troubleshooting procedures and maintenance operations needed to keep the AS-Interface Master Unit operating properly. 6-1 Error indicators ..............................54 6-2 Troubleshooting ..............................54 6-2-1 PLC Errors ..............................54 6-2-2 Start-up Problems ............................55 6-2-3 Configuration Problems..........................55 6-2-4 AS-Interface Communication Problems......................57 6-3 Maintenance ................................58 6-3-1 Cleaning................................58 6-3-2 Inspection................................58...
  • Page 68: Error Indicators

    Mounting the AS-Interface master unit in a CQM1 PLC system can cause the following errors to be indicated by the CQM1 CPU unit. If the CQM1 CPU fails to start up correctly after power-on, the RUN LED of the CQM1-ARM21 will blink to indicate that its initialisation could not be completed. Symptoms...
  • Page 69: Start-Up Problems

    Section 6-2 Troubleshooting 6-2-2 Start-up Problems If the CQM1-ARM21 does not appear to enter its normal mode of operation, check for the following symptoms. Symptom Possible cause Possible remedy No LEDs are ON or The PLC’s power is OFF. Apply power to the PLC’s power supply unit flashing according to its specifications.
  • Page 70 Section 6-2 Troubleshooting Configuration Problems (continued) Unrecognisable Command was not preceded by No_Command Commands See 4-5-3, , for the correct response to a Setup sequence of operation. Mode command Unit failed to enter Setup Mode because MOD Check if the Mode Bit (IR n.00) is ON. If not, switch is ON (Protected Mode).
  • Page 71: As-Interface Communication Problems

    Change of operation mode is not allowed. See Configuration Problems The CQM1-ARM21 is defective. Replace the Unit. APF LED ON The AS-Interface power supply is not Check the power supply and its connections.
  • Page 72: Maintenance

    Section 6-3 Maintenance 6-3 Maintenance This section describes the routine cleaning and inspection recommended as regular maintenance. 6-3-1 Cleaning Clean the AS-Interface Master Unit regularly as described below in order to keep it in its optimal operating condition. • Wipe the Unit with a dry, soft cloth for regular cleaning. •...
  • Page 73: Appendices

    Appendices This section contains additional information concerning AS-Interface specifications and terminology. Appendix A AS-Interface PICS............................60 Appendix B AS-Interface Slave Profiles .........................63 Appendix C AS-Interface terminology and abbreviations ....................64...
  • Page 74: Appendix A As-Interface Pics

    Appendix A AS-Interface PICS (Protocol Implementation Conformance Statement) Vendor: Omron Corporation Product name: CQM1-ARM21 Order No.: CQM1-ARM21 Release: Master Profile: M0 in Normal Operation mode, additional functions in Setup mode Date: 01/02/1999 List of implemented functions in Normal Operation mode:...
  • Page 75 List of implemented functions in Setup mode: Function or call at host interface Implementation Section Image, Status = Read_IDI () (X) Partially suspended Status = Write_OD (Image) (X) Partially suspended Status = Set_Permanent_Parameter (Addr, Param) Setup Command B 4-5-3-7 Param, Status = Get_Permanent_Parameter (Addr) Setup Command 9 4-5-3-6...
  • Page 77: Appendix Bas-Interface Slave Profiles

    Appendix B AS-Interface Slave Profiles An overview of AS-Interface slave profiles and their combinations of configuration (IO code) and profile identification (ID code) is given below. AS Interface ID code profiles 0 I,I,I,I 1 I,I,I,O 2 I,I,I,B 3 I,I,O,O 4 I,I,B,B 5 I,O,O,O 6 I,B,B,B Reserved...
  • Page 78: Appendix Cas-Interface Terminology And Abbreviations

    Appendix C AS-Interface terminology and abbreviations Symbols and abbreviations AS-Interface Power Fail Alternate Pulse Modulation AS-Interface Power On AS-Interface Actuator Sensor Interface (the term ASI is used, but not officially approved) Control Bit Configuration Data Configuration Data Image End Bit Input Data Image List of Active Slaves List of Detected Slaves...
  • Page 79 AS-Interface power A special power supply combining a DC supply and a decoupling circuit needed in an AS-Interface network. supply bit time Time to send one bit on the AS-Interface line. configuration data The value of the I/O configuration and the identification code of a specific slave. configuration data The image of the configuration data of all slaves, stored in the AS-Interface image...
  • Page 81: Index

    Index APF ...........See Indicators Control Bits............32 AS-International .............2 Auto_address_disable........32 AUP...........See Indicators Mode ..........28, 32, 35, 47 Auto-address..........29, 32 Cover, Front ............10 Auto-programming .........11, 29 Cycle time AS-Interface ......... 6, 20, 33 PLC ..............20 Bits Control ........See Control bits I/O ........
  • Page 82 Index Installation ............14 EMC ............xiv, 18 SET.............See Switches Grounding ............xii Setup Mode ..........See Mode Humidity ..........xii, 18, 58 Slave Temperature ......... xii, 14, 18, 58 Address ............3 Indicators............12 ................IO/ID codes, Profiles ......3, 8, 29, 63 LEDs ..........See Indicators I/O data............
  • Page 83: 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. W357-E1-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 85 Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69 NL-2132 JD Hoofddorp The Netherlands Tel : +31 (0)23 568 1300 Fax : +31 (0)23 568 1388...
  • Page 86 Authorized Distributor: Cat. No. W357-E1-1 Note: Specifications subject to change without notice. Printed in the Netherlands...

Table of Contents