EN
Omron logo
Official user manual

Omron Motion Controller Module (FQM1-CM001)

414 pages·7 MB·Home Security System·PDF·ENDEFRITNLJA
Omron Motion Controller Module (FQM1-CM001)
Table of Contents 228 sections FQM1 Series · FQM1-CM001 FQM1-MMP21 FQM1-MMA21 · Flexible Motion Controller · PRECAUTIONS · … ShowHide
FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 1 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series FQM1-CM001 FQM1-MMP21 FQM1-MMA21 Flexible Motion Controller
Page 1 · click to enlarge
Page 1

Cat. No. O010-E1-01

FQM1 Series FQM1-CM001 FQM1-MMP21 FQM1-MMA21 Flexible Motion Controller

OPERATION MANUAL

Omron Motion Controller Module (FQM1-CM001) — FQM1 Series FQM1-CM001 FQM1-MMP21 FQM1-MMA21 Flexible Motion Controller diagram (page 1)
Fig. 1 · FQM1 Series FQM1-CM001 FQM1-MMP21 FQM1-MMA21 Flexibl…
Page 2 of the Omron Motion Controller Module (FQM1-CM001) user manual — Produced November 2004
Page 2 · click to enlarge
Page 2

FQM1 Series FQM1-CM001 FQM1-MMP21 FQM1-MMA21 Flexible Motion Controller Operation Manual

Produced November 2004

Page 3 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series
Page 3 · click to enlarge
Page 3
Page 3 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series
Page 4 of the Omron Motion Controller Module (FQM1-CM001) user manual — OMRON, 2004
Page 4 · click to enlarge
Page 4

Notice:

OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.

The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed pre- cautions can result in injury to people or damage to property.

!DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.

!WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.

!Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.

OMRON Product References

All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.

The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.

The abbreviation “CM” means Coordinator Module and the abbreviation “MM” means Motion Control Module.

Visual Aids

The following headings appear in the left column of the manual to help you locate different types of information.

tion of the product.

1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.

OMRON, 2004

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.

No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.

Page 5 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series
Page 5 · click to enlarge
Page 5
Page 5 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series
Page 6 of the Omron Motion Controller Module (FQM1-CM001) user manual — TABLE OF CONTENTS
Page 6 · click to enlarge
Page 6

TABLE OF CONTENTS

PRECAUTIONS xiii

1 Intended Audience xiv

2 General Precautions xiv

3 Safety Precautions xiv

4 Conformance to EC Directives xix

5 Data Backup xxii

SECTION 1 Features and System Configuration 1

1-1 Outline of FQM1 Flexible Motion Controller 2

1-2 FQM1 Configuration 4

1-3 Modules 6

1-4 CX-Programmer 8

1-5 Expanded System Configuration 9

1-6 Basic Operating Procedure 13

1-7 Function Tables Arranged by Purpose 19

SECTION 2 Specifications and Nomenclature 31

2-1 List of Models 32

2-2 General Specifications 32

2-3 Coordinator Module 34

2-4 Motion Control Modules 37

2-5 Dimensions 43

2-6 Module Current Consumption 45

2-7 Memory Block Diagram 47

SECTION 3 Installation and Wiring 49

3-1 Installation 50

3-2 Wiring 60

3-3 Wiring Module Connectors 67

3-4 Wiring Servo Relay Units 75

3-5 List of FQM1 Connecting Cables 83

3-6 Wiring Precautions 85

SECTION 4 Operation 91

4-1 Coordinator Module 92

4-2 Motion Control Modules 95

4-3 Operating Modes 99

Page 7 of the Omron Motion Controller Module (FQM1-CM001) user manual — TABLE OF CONTENTS
Page 7 · click to enlarge
Page 7

TABLE OF CONTENTS

4-4 Power OFF Operation 100

SECTION 5 Module Functions and Data Exchange 103

5-1 Synchronous Operation between Modules 104

5-2 Data Exchange between Modules 105

5-3 Cyclic Refresh 106

5-4 Synchronous Data Refresh 109

5-5 DM Data Transfer 112

5-6 Cycle Time Settings 114

5-7 Operation Settings at Startup and Maintenance Functions 118

5-8 Diagnostic Functions 120

SECTION 6 Coordinator Module Functions 123

6-1 Serial Communications 124

SECTION 7 Motion Control Module Functions 137

7-1 Overview 139

7-2 Interrupt Functions 140

7-3 Input Interrupts 142

7-4 Interval Timer Interrupts 146

7-5 Pulse Inputs 148

7-6 Pulse Outputs 167

7-7 Functions for Servo Drivers Compatible with Absolute Encoders 199

7-8 Virtual Pulse Output Function 212

7-9 Analog Input Functions 215

7-10 Analog Outputs 225

SECTION 8 Connecting the CX-Programmer 233

8-1 CX-Programmer 234

8-2 Connecting the CX-Programmer 235

SECTION 9 Error Processing 241

9-1 Error Log 242

9-2 Error Processing 243

9-3 Troubleshooting Problems in Modules 256

Page 8 of the Omron Motion Controller Module (FQM1-CM001) user manual — TABLE OF CONTENTS
Page 8 · click to enlarge
Page 8

TABLE OF CONTENTS

SECTION 10 Inspection and Maintenance 259

10-1 Inspections 260

Appendices Programming 263

A I/O Memory 299

B System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations 311

C Auxiliary Area Allocations 349

Index 375

Revision History 387

Page 9 of the Omron Motion Controller Module (FQM1-CM001) user manual — TABLE OF CONTENTS
Page 9 · click to enlarge
Page 9

TABLE OF CONTENTS

Page 10 of the Omron Motion Controller Module (FQM1-CM001) user manual — About this Manual:
Page 10 · click to enlarge
Page 10

About this Manual:

This manual describes the operation of the Coordinator Module and Motion Control Modules of the FQM1-series Flexible Motion Controller.

Please read this manual and all related manuals listed in the table below and be sure you understand information provided before attempting to program or use FQM1-series Flexible Motion Controllers in a control system.

NameCat. No.Contents FQM1 Series FQM1-CM001, FQM1-MMP21, FQM1-MMA21 Flexible Motion Controller Operation Manual (this manual)O010This manual provides an overview of and describes the following information for the FQM1-series Flexible Motion Controller: features, system configuration, system design, installation, wiring, maintenance, I/O memory allocation, troubleshooting, etc. FQM1 Series FQM1-CM001, FQM1-MMP21, FQM1-MMA21 Flexible Motion Controller Instructions Reference ManualO011Describes the ladder diagram programming instructions supported by FQM1-series Flexible Motion Controller. Use this manual together with the Operation Manual (Cat. No. O010). SYSMAC WS02-CXP@@-E CX-Programmer Operation Manual Version 5.@W437Provides information on how to use the CX-Programmer, a Windows-based programming and monitoring package for OMRON PLCs.

Section 1 describes the features of the FQM1 and its system configuration.

Section 2 provides the specifications of the FQM1 and describes the parts and their functions on the Coordinator Module and Motion Control Modules.

Section 3 describes how to install and wire the FQM1

Section 4 describes the operation of the FQM1.

Section 5 describes the functions common to both the Coordinator Module and Motion Control Mod- ules and the methods to transfer data between the Coordinator Module and Motion Control Modules.

Section 6 describes the serial communications functions, which are supported only by the Coordinator Module.

Section 7 describes the various functions supported by the Motion Control Module.

Section 8 explains how to connect a personal computer running the CX-Programmer to the FQM1.

Section 9 provides information on identifying and correcting errors that occur during FQM1 operation.

Section 10 provides inspection and maintenance information.

The Appendices provide information on programming, I/O Memory, System Setup, and built-in I/O allocations, and Auxiliary Area allocations.

Page 11 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series
Page 11 · click to enlarge
Page 11
Page 11 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 Series
Page 12 of the Omron Motion Controller Module (FQM1-CM001) user manual — PRECAUTIONS
Page 12 · click to enlarge
Page 12

PRECAUTIONS

This section provides general precautions for using the FQM1-series Flexible Motion Controller and related devices.

The information contained in this section is important for the safe and reliable application of the FQM1-series Flexible Motion Controller. You must read this section and understand the information contained before attempting to set up or operate a control system using the FQM1-series Flexible Motion Controller.

1 Intended Audience xiv

2 General Precautions xiv

3 Safety Precautions xiv

4 Conformance to EC Directives xix

4-1 Applicable Directives xix

4-2 Concepts xix

4-3 Conformance to EC Directives xix

4-5 Relay Output Noise Reduction Methods xx

5 Data Backup xxii

Page 13 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3 Safety Precautions
Page 13 · click to enlarge
Page 13

Intended Audience 1

1 Intended Audience

This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).

  • Personnel in charge of installing FA systems.
  • Personnel in charge of designing FA systems.
  • Personnel in charge of managing FA systems and facilities.

2 General Precautions

The user must operate the product according to the performance specifica- tions described in the operation manuals.

Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amuse- ment machines, safety equipment, petrochemical plants, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.

Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.

!WARNING It is extremely important that the FQM1 be used for the specified purpose and

under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representa- tive before applying a FQM1 System to the above-mentioned applications.

3 Safety Precautions

!WARNING Do not attempt to take any Modules apart while the power is being supplied.

Doing so may result in electric shock.

!WARNING Do not touch any of the terminals or terminal blocks while the power is being

supplied. Doing so may result in electric shock.

!WARNING Do not attempt to disassemble, repair, or modify any Modules. Any attempt to

do so may result in malfunction, fire, or electric shock.

!WARNING Provide safety measures in external circuits, i.e., not in the Flexible Motion

Controller (referred to as the “FQM1”), to ensure safety in the system if an abnormality occurs due to malfunction of the FQM1 or another external factor affecting the FQM1 operation. Not doing so may result in serious accidents.

  • Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.
  • The FQM1 will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
  • The FQM1 outputs may remain ON or OFF due to destruction of the output transistors. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
Page 14 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-1 Operating Environment Precautions
Page 14 · click to enlarge
Page 14

Safety Precautions 3

  • When the 24-VDC output (service power supply to the FQM1) is overloaded or short-circuited, the voltage may drop and result in the outputs being turned OFF. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.

!WARNING Fail-safe measures must be taken by the customer to ensure safety in the

event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes. Not doing so may result in serious accidents.

!Caution Execute online edit only after confirming that no adverse effects will be

caused by extending the cycle time. Otherwise, the input signals may not be readable.

!Caution User programs and parameters written to the Coordinator Module or Motion

Control Module will be automatically backed up in the FQM1 flash memory (flash memory function). The contents of I/O memory (including the DM Area), however, are not written to flash memory. Part of the DM Area used as a hold- ing area when recovering from a power interruption is backed up using a super capacitor, but correct values will not be maintained if an error occurs that prevents memory backup. As a countermeasure for such problems, take appropriate measures in the program using the Memory Not Held Flag (A404.14) when externally outputting the contents of the DM Area.

!Caution Confirm safety at the destination Module before transferring a program to

another Module or editing the I/O area. Doing either of these without confirm- ing safety may result in injury.

!Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the

torque specified in the operation manual. The loose screws may result in burning or malfunction.

!Caution Do not touch the Power Supply Unit while the power is ON, and immediately

after turning OFF the power. Touching hot surfaces may result in burning.

!Caution Pay careful attention to the polarities (+/-) when wiring the DC power supply.

A wrong connection may cause malfunction of the system.

3-1 Operating Environment Precautions

!Caution Do not operate the control system in the following places:

  • Locations subject to direct sunlight
  • Locations subject to temperatures or humidity outside the range specified in the specifications
  • Locations subject to condensation as the result of severe changes in temperature
  • Locations subject to corrosive or flammable gases
  • Locations subject to dust (especially iron dust) or salts
  • Locations subject to exposure to water, oil, or chemicals
  • Locations subject to shock or vibration

!Caution Take appropriate and sufficient countermeasures when installing systems in

the following locations:

Page 15 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-2 Application Precautions
Page 15 · click to enlarge
Page 15

Safety Precautions 3

  • Locations subject to static electricity or other forms of noise
  • Locations subject to strong electromagnetic fields
  • Locations subject to possible exposure to radioactivity
  • Locations close to power supplies

!Caution The operating environment of the FQM1 System can have a large effect on

the longevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the FQM1 System. Make sure that the operating environment is within the speci- fied conditions at installation and remains within the specified conditions dur- ing the life of the system.

3-2 Application Precautions

!WARNING Always heed these precautions. Failure to abide by the following precautions

could lead to serious or possibly fatal injury.

  • Always connect to a ground of 100 Ω or less when installing the FQM1. Not doing so may result in electric shock.
  • Always connect to a ground of 100 Ω or less when short-circuiting the functional ground and line ground terminals of the Power Supply Unit, in particular.
  • Always turn OFF the power supply to the FQM1 before attempting any of the following. Not turning OFF the power supply may result in malfunction or electric shock.
  • Mounting or dismounting Power Supply Unit, Coordinator Module, Motion Control Module, and End Module
  • Assembling the Modules
  • Setting DIP switches
  • Connecting or wiring the cables
  • Connecting or disconnecting the connectors

!Caution Failure to abide by the following precautions could lead to faulty operation of

the FQM1 or the system, or could damage the FQM1. Always heed these pre- cautions.

  • Always use the CX-Programmer (Programming Device for Windows) to create new cyclic tasks and interrupt tasks.
  • The user program and parameter area data in Coordinator Module and Motion Control Modules is backed up in the built-in flash memory. Do not turn OFF the power supply to the FQM1 while the user program or parameter area data is being transferred. The data will not be backed up if the power is turned OFF.
  • The FQM1 will start operating in RUN mode when the power is turned ON with the default settings (i.e., if the operating mode at power ON (startup mode) setting in the System Setup is disabled).
  • Configure the external circuits so that the control power supply turns ON after the power supply to the FQM1 turns ON. If the power is turned ON in the opposite order, the built-in outputs and other outputs may momentarily malfunction and the control outputs may temporarily not operate correctly.
Page 16 of the Omron Motion Controller Module (FQM1-CM001) user manual — Safety Precautions 3
Page 16 · click to enlarge
Page 16

Safety Precautions 3

  • Outputs may remain ON due to a malfunction in the built-in transistor outputs or other internal circuits. As a countermeasure for such problems, external safety measures must be provided to ensure the safety of the system.
  • Part of the DM Area (data memory) in the Motion Control Module is held using the super capacitor. Corrupted memory may prevent the correct values from being saved, however. Take appropriate measures in the ladder program whenever the Memory Not Held Flag (A404.14) turns ON, such as resetting the data in the DM Area.
  • Part of the DM Area in the Coordinator Module is backed up in the built-in flash memory when transferring data from the CX-Programmer. Do not turn OFF the power to the FQM1 while data is being transferred. The data will not be backed up if the power is turned OFF.
  • Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.
  • Changing the operating mode of the FQM1
  • Force-setting/force-resetting any bit in memory
  • Changing the present value of any word or any set value in memory
  • Install external breakers and take other safety measures against short-circuiting in external wiring. Insufficient safety measures against short-circuiting may result in burning.
  • Be sure that all the terminal screws and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
  • Mount the Modules only after checking the connectors and terminal blocks completely.
  • Before touching the Module, be sure to first touch a grounded metallic object in order to discharge any static built-up. Not doing so may result in malfunction or damage.
  • Be sure that the terminal blocks, connectors, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
  • Wire correctly according to the specified procedures.
  • Always use the power supply voltage specified in the operation manuals. An incorrect voltage may result in malfunction or burning.
  • Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be particularly careful in places where the power supply is unstable. An incorrect power supply may result in malfunction.
  • Leave the dust protective label attached to the Module when wiring. Removing the label may result in malfunction.
  • Remove the dust protective label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.
  • Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning.
  • Do not apply voltages to the built-in inputs in excess of the rated input voltage. Excess voltages may result in burning.
Page 17 of the Omron Motion Controller Module (FQM1-CM001) user manual — Safety Precautions 3
Page 17 · click to enlarge
Page 17

Safety Precautions 3

  • Do not apply voltages or connect loads to the built-in outputs in excess of the maximum switching capacity. Excess voltage or loads may result in burning.
  • Disconnect the functional ground terminal when performing withstand voltage tests. Not disconnecting the functional ground terminal may result in burning.
  • Wire correctly and double-check all the wiring or the setting switches before turning ON the power supply. Incorrect wiring may result in burning.
  • Check that the DIP switches and data memory (DM) are properly set before starting operation.
  • Check the user program for proper execution before actually running it on the Module. Not checking the program may result in an unexpected operation.
  • Resume operation only after transferring to the new Module the contents of the DM Areas, programs, parameters, and data required for resuming operation. Not doing so may result in an unexpected operation.
  • Do not pull on the cables or bend the cables beyond their natural limit. Doing either of these may break the cables.
  • Do not place objects on top of the cables. Doing so may break the cables.
  • Use the dedicated connecting cables specified in operation manuals to connect the Modules. Using commercially available RS-232C computer cables may cause failures in external devices or the Coordinator Module.
  • Do not connect pin 6 (+5V) on the RS-232C port on the Coordinator Module to any external device other than the NT-AL001 or CJ1W-CIF11 Conversion Adapter. Doing so may result in damage to the external device and the Coordinator Module.
  • When replacing parts, be sure to confirm that the rating of a new part is correct. Not doing so may result in malfunction or burning.
  • When transporting or storing the product, cover the PCBs with electrically conductive materials to prevent LSIs and ICs from being damaged by static electricity, and also keep the product within the specified storage temperature range.
  • Do not touch the mounted parts or the rear surface of PCBs because PCBs have sharp edges such as electrical leads.
  • When connecting the Power Supply Unit, Coordinator Module, Motion Control Module, and End Module, slide the upper and lower sliders until a click sound is heard to lock them securely. Desired functionality may not be achieved unless Modules are securely locked in place.
  • Be sure to mount the End Module supplied with the Coordinator Module to the rightmost Module. Unless the End Module is properly mounted, the FQM1 will not function properly.
  • Make sure that parameters are set correctly. Incorrect parameter settings may result in unexpected operations. Make sure that equipment will not be adversely affected by the parameter settings before starting or stopping the FQM1.
Page 18 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-4 EMC Directive Conformance Conditions
Page 18 · click to enlarge
Page 18

Conformance to EC Directives 4

4 Conformance to EC Directives

4-1 Applicable Directives

  • EMC Directives
  • Low Voltage Directive

4-2 Concepts

EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note). Whether the products conform to the standards in the system used by the customer, however, must be checked by the customer.

EMC-related performance of the OMRON devices that comply with EC Direc- tives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed. The customer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards.

EMS (Electromagnetic Susceptibility)EN61000-6-2 EMI (Electromagnetic Interference): EN61000-6-4 (Radiated emission: 10-m regulations)

Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1,000 V AC and 75 to 1,500 V DC meet the required safety standards for the Motion Controller (EN61131-2).

4-3 Conformance to EC Directives

The FQM1-series Flexible Motion Controllers comply with EC Directives. To ensure that the machine or device in which the Motion Controller is used com- plies with EC Directives, the Motion Controller must be installed as follows:

1,2,3... 1. The Motion Controller must be installed within a control panel.

2. You must use reinforced insulation or double insulation for the DC power supplies used for the communications power supply and I/O power supplies.
3. Motion Controllers complying with EC Directives also conform to the Common Emission Standard (EN61000-6-4). Radiated emission characteristics (10-m regulations) may vary depending on the configuration of the control panel used, other devices connected to the control panel, wiring, and other conditions. You must therefore confirm that the overall machine or equipment complies with EC Directives.

4-4 EMC Directive Conformance Conditions

The immunity testing condition of the Motion Control Modules is as follows:

Overall accuracy of FQM1-MMA21 analog I/O: +4%/−2%

Page 19 of the Omron Motion Controller Module (FQM1-CM001) user manual — R
Page 19 · click to enlarge
Page 19

Conformance to EC Directives 4

4-5 Relay Output Noise Reduction Methods

The FQM1-series Flexible Motion Controller conforms to the Common Emis- sion Standards (EN61000-6-4) of the EMC Directives. However, noise gener- ated by relay output switching may not satisfy these Standards. In such a case, a noise filter must be connected to the load side or other appropriate countermeasures must be provided external to the Motion Controller.

Countermeasures taken to satisfy the standards vary depending on the devices on the load side, wiring, configuration of machines, etc. Following are examples of countermeasures for reducing the generated noise.

Countermeasures

(Refer to EN61000-6-4 for more details.)

Countermeasures are not required if the frequency of load switching for the whole system with the Motion Controller included is less than 5 times per minute.

Countermeasures are required if the frequency of load switching for the whole system with the Motion Controller included is more than 5 times per minute.

Countermeasure Examples

When switching an inductive load, connect an surge protector, diodes, etc., in parallel with the load or contact as shown below.

Circuit Current Characteristic Required element AC DC

Yes Yes If the load is a relay or solenoid, there is a time lag between the moment the circuit is opened and the moment the load is reset. If the supply voltage is 24 or 48 V, insert the surge protector in parallel with the load. If the supply voltage is 100 to 200 V, insert the surge protector between the contacts.

The capacitance of the capacitor must be 1 to 0.5 µF per contact current of 1 A and resistance of the resistor must be 0.5 to 1 Ω per contact voltage of 1 V. These values, however, vary with the load and the characteristics of the relay. Decide these values from experi- ments, and take into consideration that the capacitance suppresses spark dis- charge when the contacts are sepa- rated and the resistance limits the current that flows into the load when the circuit is closed again. The dielectric strength of the capacitor must be 200 to 300 V. If the circuit is an AC circuit, use a capacitor with no polarity.

R

Show 4 more labels / short text on this page
CR method · Inductive · load · Power supply
Page 20 of the Omron Motion Controller Module (FQM1-CM001) user manual — R
Page 20 · click to enlarge
Page 20

Conformance to EC Directives 4

Circuit Current Characteristic Required element AC DC

No Yes The diode connected in parallel with the load changes energy accumulated by the coil into a current, which then flows into the coil so that the current will be converted into Joule heat by the resistance of the inductive load. This time lag, between the moment the circuit is opened and the moment the load is reset, caused by this method is longer than that caused by the CR method.

The reversed dielectric strength value of the diode must be at least 10 times as large as the circuit voltage value. The forward current of the diode must be the same as or larger than the load current. The reversed dielectric strength value of the diode may be two to three times larger than the supply voltage if the surge protector is applied to electronic circuits with low circuit voltages. Yes Yes The varistor method prevents the impo- sition of high voltage between the con- tacts by using the constant voltage characteristic of the varistor. There is time lag between the moment the cir- cuit is opened and the moment the load is reset. If the supply voltage is 24 or 48 V, insert the varistor in parallel with the load. If the supply voltage is 100 to 200 V, insert the varistor between the contacts.

When switching a load with a high inrush current such as an incandescent lamp, suppress the inrush current as shown below.

Countermeasure 2 Countermeasure 1

R

OUT

OUT

R

COM

COM

Providing a dark current of approx. one-third of the rated value through an incandescent lamp

Providing a limiting resistor

The following Unit and Cables can be used with the FQM1-series Flexible Motion Controller.

Name Model Cable length

Relay Unit XW2B-80J7-1A --- Controller Connect- ing Cables

XW2Z-050J-A28 0.5 m

XW2Z-100J-A28 1 m XW2Z-050J-A30 0.5 m

XW2Z-100J-A30 1 m XW2Z-050J-A31 0.5 m

Show 9 more labels / short text on this page
Diode method · Inductive · load · Power supply · Varistor method · Inductive · load · Power supply · XW2Z-100J-A31 1 m
Page 21 of the Omron Motion Controller Module (FQM1-CM001) user manual — Data Backup 5
Page 21 · click to enlarge
Page 21

Data Backup 5

5 Data Backup

The user programs, I/O memories, and other data in the Coordinator Module and Motion Control Modules is backed up either by a super capacitor or flash memory, as listed in the following table.

Module Data Data backup Coordinator Module Error log RAM with super capacitor Motion Control Module DM Area words D30000 to D32767 Error log

Coordinator Module User program System Setup DM Area words D30000 to D32767

Motion Control Module User program System Setup

The data backup time of the super capacitor is given in the following table and shown in the following graph.

Temperature Initial After 5 years After 10 years

Ta = 25°C 101.61 hours (4.23 days)

96.2 hours (4.01days)

90.8 hours (3.78 days)

Ta = 40°C 26.39 hours (1.09 days)

15.28 hours 4.16 hours

Super Capacitor Backup Times

25 ° C96.20 h 25 ° C: 101.61 h
25 ° C90.80 h
40 ° C26.39 h
40 ° C15.28 h

25 35 45 55 65 75 0

40 ° C4.16 h

Ambient temperature (°C)

After 5 years, After 10 years

2. The backup time of the super capacitor is reduced as the capacitor ages. It is also affected by the ambient temperature. Use portion of the DM Area backed up by the super capacitor only for data that is to be held during mo-

Flash memory · Backup time (h) · Initial value,

Page 22 of the Omron Motion Controller Module (FQM1-CM001) user manual — Backing Up DM Area Data in Flash Memory
Page 22 · click to enlarge
Page 22

Data Backup 5

mentary power interruptions. For operating parameters and other long- term data, use the portion of DM Area stored in flash memory in the Coor- dinator Module and transfer it to the Motion Control Modules before start- ing operation.

The data in the DM Area and error log will become unstable or corrupted if the power to the system is OFF for longer than the backup time.

If the power supply is to be turned OFF for an extended period of time, use D30000 to D32767 in the Coordinator Module, which is backed up in flash memory, to store data.

Otherwise, the Memory Not Held Flag (A404.14) can be used as the input condition for programming using data in areas stored for power interruptions to perform suitable processing.

A404.14: Turns ON when power is turned ON if data stored for power inter- ruptions in the DM Area or error log is corrupted.

A404.14

Processing for corruption of data backed up for power interruptions

DM Area words D30000 to D32767 in the Coordinator Module are backed up in flash memory as described in the next section.

Backing Up DM Area Data in Flash Memory

DM Area words D30000 to D32767 in the Coordinator Module is read from flash memory when the power supply is turned ON. We recommend using DM Area words D30000 to D32767 in the Coordinator Module to store operating parameters and other data required for system operation and then using the DM transfer function to transfer the data from the Coordinator Module to the Motion Control Modules at the start of operation.

Page 23 of the Omron Motion Controller Module (FQM1-CM001) user manual — Data Backup 5
Page 23 · click to enlarge
Page 23

Data Backup 5

Page 24 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 1 Features and System Configuration
Page 24 · click to enlarge
Page 24

SECTION 1 Features and System Configuration

This section describes the features of the FQM1 and its system configuration.

1-1 Outline of FQM1 Flexible Motion Controller 2

1-2 FQM1 Configuration 4

1-3 Modules 6

1-4 CX-Programmer 8

1-5 Expanded System Configuration 9

1-5-1 Serial Communications 9

1-5-2 Systems 9

1-6 Basic Operating Procedure 13

1-6-1 Examples 15

1-7 Function Tables Arranged by Purpose 19

1-7-1 Sync Cycles and Synchronized data 19

1-7-2 Position and Speed Control 21

1-7-3 Measuring Input Pulses 25

1-7-4 High-speed Analog I/O Control 26

1-7-5 Controlling Timing 28

Page 25 of the Omron Motion Controller Module (FQM1-CM001) user manual — Flexible Configurations of Up To 8 Axes
Page 25 · click to enlarge
Page 25

Outline of FQM1 Flexible Motion Controller Section 1-1

1-1 Outline of FQM1 Flexible Motion Controller

The FQM1 (Flexible Quick Motion) is a stand-alone Flexible Motion Controller that can be used to create flexible high-speed, high-precision motion control systems for 2 to 8 axes.

Omron Motion Controller Module (FQM1-CM001) — Outline of FQM1 Flexible Motion Controller Section 1-1 diagram (page 25)
Fig. 2 · Outline of FQM1 Flexible Motion Controller Section 1…

Flexible Configurations of Up To 8 Axes

An FQM1 Flexible Motion Controller System is made up of a Power Supply Unit, a Coordinator Module, one or more Motion Control Modules, and an End Module.

Motion Control Modules are available with either pulse I/O or analog I/O, and a mixture of up to four Motion Control Modules can be included in one system (up to three if only analog I/O Motion Control Modules are used.) A flexible system ideal for the application can be created because each Motion Control Module controls two axes, giving total motion control of eight axes when four Motion Control Modules are connected.

High-speed Processing Each Motion Control Module and Coordinator Module has independent ladder programming, allowing high-speed independent control of pulse and analog I/O. Data can be shared between all Modules. The Coordinator Module per- forms general-purpose I/O control and manages overall system operation.

Page 26 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Input Sampling Function
Page 26 · click to enlarge
Page 26

Outline of FQM1 Flexible Motion Controller Section 1-1

Motion Control Module #1

Motion Control Module #4 Motion Control Module #3 Motion Control Module #2

Ladder program Ladder program Ladder program Ladder program

RS-232C

PT, host computer, etc.

RS-422A

Special I/O (pulse or analog I/O) Basic I/O

Special I/O (pulse or analog I/O) Basic I/O

Special I/O (pulse or analog I/O) Basic I/O

Special I/O (pulse or analog I/O) Basic I/O

Built-in RS-232C Port in Coordinator Module

A Programmable Terminal (PT) can be connected to the Coordinator Module to monitor present values on the PT or make parameter settings for Servomo- tors from the PT.

The RS-232C port is useful for a variety of applications. It can be used, for example, to connect to a host computer or for a Serial PLC Link connection to a SYSMAC CJ1M Programmable Controller.

Built-in RS-422A Port in Coordinator Module

A PT can be connected to the Coordinator Module so that Servo parameters can be read from and written to Servomotors/Servo Drivers using a Serial Gateway Function.

Commands can also be sent from the Coordinator Module ladder program to Servomotors/Servo Drivers.

Motion Control with Familiar Ladder Programming

The Coordinator Module and Motion Control Modules each have their own ladder program, which perform basic I/O and special I/O (pulse I/O and ana- log I/O).

Built-in General-purpose I/O in Coordinator Module

The Coordinator Module has 24 built-in I/O (16 inputs and 8 outputs) for com- munications with host controllers and 12 inputs and 8 outputs for Motion Con- trol Modules.

Built-in General-purpose I/O in Motion Control Modules

Motion Control Modules have 12 contact inputs and 8 contact outputs for I/O with peripheral devices.

Connections for Absolute Servomotors

Motion Control Modules can read absolute position data from W-series Abso- lute Servomotors/Servo Drivers.

High-speed Counter Latch Function

The high-speed counter latch function latches the high-speed counter's PV using 2 external signals. Ladder programs can then be used to read the latched values.

Pulse Input Sampling Function

The number of pulse inputs within a specified time can be measured.

Show 6 more labels / short text on this page
Coordinator Module · CX- Programmer · Periph- eral port · Ladder program · Normal I/O · Servo Driver
Page 27 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1-2 FQM1 Configuration
Page 27 · click to enlarge
Page 27

FQM1 Configuration Section 1-2

Pulse Input Frequency Measurement Function

The speed of pulse inputs can be measured at the same time as the number of pulse inputs is counted.

Wide Variety of Interrupt Functions

The FQM1 can provide high-speed I/O responses because it has a wide vari- ety of functions for starting interrupt tasks, in addition to input interrupts, inter- val timer interrupts, high-speed counter interrupts, and pulse output interrupts.

High-speed Analog I/O Supported

Motion Control Modules with analog I/O support linear (displacement/length measurement) sensor input, inverter control, and control of Servomotors with analog-input Servo Drivers. This gives flexibility for a great variety of motion applications.

Writing and Monitoring Ladder Programs

The ladder program for each Module is written using CX-Programmer Ver. 5.01 or later (see note) and then written to each Module via the peripheral port on the Coordinator Module.The ladder program is saved in each Module and operation of the program can be monitored from the CX-Programmer.

1-2 FQM1 Configuration

Omron Motion Controller Module (FQM1-CM001) — 1-2 FQM1 Configuration diagram (page 27)
Fig. 3 · 1-2 FQM1 Configuration

The FQM1 consists of a Power Supply Unit, a Coordinator Module, one or more Motion Control Modules, and an End Module. Motion Control Modules are available with either pulse I/O or analog I/O and up to four Motion Control Modules can be connected in one system. (See note.)

Page 28 of the Omron Motion Controller Module (FQM1-CM001) user manual — CJ1W-PA202/PA205R Power Supply Units
Page 28 · click to enlarge
Page 28

FQM1 Configuration Section 1-2

FQM1-CM001 Coordinator Module

One Coordinator Module is required in an FQM1. The Coordinator Module provides the following:

I/O16 inputs, 8 outputs Program capacity: 5 Ksteps DM Area capacity:32 Kwords (DM)
  • The CX-Programmer (Ver. 5.01 or later) is connected to the peripheral port on the Coordinator Module, and a PT (Programmable Terminal) or other device is connected to the RS-232C port.
  • The Coordinator Module has its own ladder program, which is used to coordinate Motion Control Module data.
  • The Coordinator Module has 24 general-purpose I/O (16 inputs and 8 outputs).
  • The Coordinator Module has a Cyclic Refresh Bit Area, in which 10 words are allocated for cyclic refreshing with each Motion Control Module. This area is refreshed each Coordinator Module cycle.
  • The Coordinator Module has a Synchronous Data Link Bit Area, in which 4 words are allocated for sharing with the Synchronous Data Link Bit Area of each Motion Control Module.

FQM1-MMP21/MMA21 Motion Control Modules

Each Motion Control Module provides the following:

Pulse I/O Motion Control Module

FQM1-MMP21 Program capacity5 Ksteps Pulse inputs: 2 Pulse outputs: 2 General-purpose inputs: 12 General-purpose outputs:8

Analog I/O Motion Control Module

FQM1-MMA21 Program capacity: 5 Ksteps Pulse inputs: 2 Analog inputs: 1 Analog outputs: 2 General-purpose inputs: 12 General-purpose outputs: 8

  • Rotary Encoders, Linear Sensors, Servos, Inverters, etc., can be connected to the special I/O.
  • Each Motion Control Module has a ladder program for executing motion control and other functions.
  • Each Motion Control Module has 20 general-purpose I/O (12 inputs and 8 outputs).
  • Each Motion Control Module has 10 words allocated in the Coordinator Module's Cyclic Refresh Bit Area that is refreshed every Coordinator Module cycle.
  • Each Module cycle, 4 words of Motion Control Module Synchronous Data Link Bit Area data is shared with the Coordinator Module's Synchronous Data Link Bit Area.

CJ1W-PA202/PA205R Power Supply Units

SYSMAC CJ-series Power Supply Units are used.

CJ1W-PA202 100 to 240 V AC, output capacity: 5 V DC, 2.8 A, 24 V DC, 0.4 A, up to 14 W total. CJ1W-PA205R 100 to 240 V AC, output capacity: 5 V DC, 5.0 A, 24 V DC, 0.8 A, up to 25 W total.

Select a Power Supply Unit with a capacity greater than the total current con- sumption of the connected Modules.

Page 29 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1-3 Modules
Page 29 · click to enlarge
Page 29

Modules Section 1-3

FQM1-TER01 End Module One End Module is supplied with the Coordinator Module. Always attach the End Module because it acts as a terminator for the system. A fatal error will occur if no End Module is attached.

Other Peripheral Devices Special Servo Relay Units are available for connecting the FQM1 Flexible Motion Control system to OMRON W-series and SMARTSTEP Servo Drivers. Specific cables suitable for the connected Servomotor/Servo Driver models and the FQM1 Motion Control Module models are also available.

1-3 Modules

The Coordinator Module acts as the interface between the FQM1 system and peripheral devices, shares data with each Motion Control Module, and syn- chronizes specific data (e.g., virtual axis data) between Modules.

Connection with the CX-Programmer (peripheral port) Connection with PT for monitoring and parameter settings (RS-232C port) Connections with Servo Drivers (RS-422A port)

Sharing data with each Motion Control Module (each Coordina- tor Module cycle)

  • The 10 words are allocated for each Motion Control Module in the Cyclic Refresh Bit Area of the Coordinator Module (CIO 0100 to CIO 0139), based on the Motion Control Module slot number. These words correspond to CIO 0100 to CIO 0109 in the Cyclic Refresh Bit Area of each Motion Control Module.
  • Coordinator Module to Motion Control Module: 5 words (General-purpose output)
  • Motion Control Module to Coordinator Module: 5 words (General-purpose input: 4 words, program RUN, fatal errors, non-fatal errors) This cyclic refresh data is refreshed every Coordinator Module cycle.

Synchronized sharing of special data between Modules (broad- cast at specified sync cycle)

  • User-specified synchronous data (see following list) can be allocated to CIO 0200 to CIO 0219 in the Synchronous Data Link Bit Area of the Coordinator Module and each Motion Control Module, 4 words at a time (2 types of data × 2 words). The allocations are fixed, starting with the Coordinator Module and followed by Motion Control Modules in order of slot number.
  • Any ladder program data
  • High-speed counter PV
  • Pulse output PV
  • Analog input PV
  • Analog output PV
  • Built-in I/O input values The synchronous data is broadcast each specified sync cycle and all other Modules receive this data in essentially real-time. DM data transfer with specific Motion Control Modules (as required)

DM data (499 words max.) can be transferred in the specified direction between the speci- fied words in the DM Area in the specified Motion Control Module and the specified DM Area words in the Coordinator Module when the DM Write Request Bit (A530.00) or DM Read Request Bit (A530.01) in the Auxiliary Area of the Coordinator Module turns ON.

  • Peripheral port: Peripheral bus (for CX-Programmer)
  • One RS-232C port: NT Link (for OMRON PTs), Host Link (for host computers), or no protocol (for PLCs)
  • One RS-422A port (Same connector as general-purpose I/O): 1:N communications with Servo Drivers (for transferring parameters to Servo Drivers) General-purpose I/O
General-purpose inputs16 General-purpose outputs: 8

40-pin connector (including RS-422A)

Programs Program capacity 5 Ksteps (for data exchange with host computer, coordination of Motion Control Modules,

and other peripheral programming)

Show 4 more labels / short text on this page
Item Details · Functions Interfaces for · peripheral devices · I/O Serial communi- cations
Page 30 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-422A
Page 30 · click to enlarge
Page 30

Modules Section 1-3

Outline of Internal Data Exchange and I/O

Motion Control Module #1

Motion Control Module #2

Motion Control Module #3

Motion Control Module #4

Ladder program Ladder program Ladder program Ladder program Ladder program

Cyclic Refresh Bit Area (refreshed each Coordinator Module cycle)

Sync Data Link Bit Area (Broadcast each Motion Control Module cycle)

DM DM

DM data transfer (as required)

RS-232C

PT

16 inputs 8 outputs 12 inputs 8 outputs Special I/O 12 inputs 8 outputs Special I/O 12 inputs 8 outputs Special I/O 12 inputs 8 outputs Special I/O

RS-422A

PLC

W-series/ SMART STEP Servo Driver

W-series/ SMART STEP Servo Driver

  • Peripheral port for connecting CX-Programmer and RS-232C port for connecting PTs and other devices
  • Ladder program for coordinating Motion Control Module data and other functions
  • 24 general-purpose I/O
  • 10 words of cyclic refresh data for each Motion Control Module allocated in Cyclic Refresh Bit Area, which is refreshed each Coordinator Module cycle
  • 4 synchronous data link words allocated for each Motion Control Module in Coordinator Module's Synchronous Data Link Bit Area, which is shared each Module cycle Motion Control Modules
  • Linear Sensors, Servo Drivers, Inverters, etc., connected to special I/O
  • Ladder program for executing motion control and other functions
  • 20 general-purpose I/O
  • 10 words of cyclic refresh data for each Motion Control Module allocated in its Cyclic Refresh Bit Area, which is refreshed each Coordinator Module cycle
  • 4 synchronous data link words allocated for each Motion Control Module in Coordinator Module's Synchronous Data Link Bit Area, which is shared each Module cycle
Show 5 more labels / short text on this page
Coordinator Module · CX-Programmer · Peripheral port · (for parameter settings) · Coordinator Module
Page 31 of the Omron Motion Controller Module (FQM1-CM001) user manual — CX-Programmer
Page 31 · click to enlarge
Page 31

CX-Programmer Section 1-4

1-4 CX-Programmer

The CX-Programmer provides software functions for programming and debugging.

FQM1 Patch Software must be installed for the CX-Programmer Ver. 5.0 (Model: WS02-CXPC1-E-V50) to use it to create ladder programs, make set- tings in the System Setup, and monitor operation. The FQM1 Patch Software can be installed for CX-Programmer Ver. 5.0 or later, but not to Ver. 4.0 or ear- lier versions. Refer to 8-1 CX-Programmer.

CX-Programmer

Item Details Applicable Motion Controllers

series PLCs.

OS Microsoft Windows 95, 98, or NT4.0 Service Pack 6

Microsoft Windows 2000 or Me Microsoft Windows XP

Personal computers IBM PC/AT or com- patible

IBM PC/AT or com- patible Connection method Peripheral port or built-in RS-232C port on the Coordinator Module

IBM PC/AT or com- patible

Communications protocol with FQM1

Peripheral Bus or Host Link

Offline functions Programming, editing of I/O memory, System Setup, printing Online functions Transferring comparing data, monitoring, System Setup

Main functions 1. Programming functions: Creating and editing of applicable FQM1 ladder or mnemonic programs. 2. Changing operating modes for each Module. 3. Transfer functions: Transferring programs, I/O memory data, and System Setup between computer and Modules. 4. Monitoring program execution status: Monitoring I/O bit sta- tus and PV using ladder display, monitoring I/O bit status and PV using mnemonic display, and monitoring PV using I/O memory display.

FQM1 Series

Page 32 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1-5-2 Systems
Page 32 · click to enlarge
Page 32

Expanded System Configuration Section 1-5

1-5 Expanded System Configuration

1-5-1 Serial Communications

The FQM1 system can be expanded using the two serial ports built into the Coordinator Module: Peripheral port and RS-232C port.

System Configuration

Automatic detection of communications parameters Peripheral port

Omron Motion Controller Module (FQM1-CM001) — System Configuration diagram (page 32)
Fig. 4 · System Configuration

1-5-2 Systems

The serial communications port mode (protocol) can be switched in the Coor- dinator Module’s System Setup. Depending on the protocol selected, the fol- lowing systems can be configured.

Protocols The following protocols support serial communications.

Protocol Main connection Use Applicable commands and

instructions Host Link (SYS- MAC WAY)

Personal computer OMRON Programmable Termi- nals (PTs)

Communications between the host computer and the Module

Host Link commands/ FINS commands

General-purpose external devices Servo Drivers Host controllers

No-protocol communications with general-purpose devices, host controllers, and Servo Drivers

TXD(236) instruction and RXD(235) instruction

NT Links (1N) OMRON Programmable Terminals (PTs)

High-speed communications with Programmable Terminals via direct access

CX-Programmer Communications between the CX-Programmer running on a computer and the FQM1

Serial PLC Link Slave

OMRON PLC Communications between OMRON PLC and the FQM1

Serial Gateway OMRON Programmable Termi- nals (PTs) Servo Drivers

Communications between a PT and W-series or SMARTSTEP Servo Drivers via the FQM1

Show 11 more labels / short text on this page
CX-Programmer Host computer · Host Link · RS-232C port · Coordinator Module · communications · No-protocol (cus- tom) communica- tions · None · Peripheral Bus (Toolbus) · None · None · FINS commands
Page 33 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-232C
Page 33 · click to enlarge
Page 33

Expanded System Configuration Section 1-5

Host Link System The Host Link System allows the I/O memory of the Modules to be read/writ- ten and the operating mode to be changed from a host computer (personal computer or Programmable Terminal (PT)) by executing Host Link commands or FINS commands that are preceded by a Host Link header and followed by a terminator. A Host Link System is possible for either the peripheral port or the RS-232C port on the Coordinator Module.

RS-232C

Peripheral port Yes (See note.)

Host link commands or FINS commands embedded in Host Link commands

Coordinator Module and set the serial communications mode in the System Setup to "Host Link."

No-protocol (Custom) Communications System via RS-232C Port

No-protocol communications allow simple data transmissions, such as input- ting bar code data and outputting printer data using communications port I/O instructions TXD(236) and RXD(235). The start and end codes can be set and, RS and CS signal control is also possible with no-protocol communica- tions.

Omron Motion Controller Module (FQM1-CM001) — No-protocol (Custom) Communications System via RS-232C Port diagram (page 33)
Fig. 5 · No-protocol (Custom) Communications System via RS-23…

RS-232C

RS-422A

mode in the System Setup to "non-procedural."

RS-232C

NT Link System (1:N Mode, Standard)

If the FQM1 and a Programmable Terminal (PT) are connected together using the RS-232C port, the allocations for the PT’s status control area, status notify area, objects such as touch switches, indicators, and memory maps can be allocated in the I/O memory of the FQM1.

The NT Link System allows the PT to be controlled by the FQM1, and the PT can periodically read data from the status control area of the FQM1, and per- form necessary operations if there are any changes in the area. The PT can communicate with the FQM1 by writing data to the status notify area of the FQM1 from the PT. The NT Link System allows the PT status to be controlled and monitored without using FQM1 ladder programming. The ratio of FQM1 Controllers to PTs is 1: n (n ≥ 1).

Show 13 more labels / short text on this page
Host computer · Applicable Ports · Coordinator Module · RS-232C port Yes · Coordinator Module · Applicable Ports · Coordinator Module · Peripheral · No · Yes · Yes · RXD(235) instruction · TXD(236) instruction
Page 34 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-422A/485
Page 34 · click to enlarge
Page 34

Expanded System Configuration Section 1-5

Set the PT communications settings for a 1:N or Standard NT Link. An NT Link System is possible for either the peripheral port or the RS-232C port.

NT Link 1:N Mode

RS-232C

PT

NT Link 1:N Mode

RS-232C

Yes (See note.)

RS-232C to RS-422A/485 Conversion Adapter

switch on the front of the Coordinator Module and set the serial communications mode in the System Setup to an NT Link.

RS-422A/485

PT

PT PT

It cannot be connected to the RS-232C ports on the NT30 or NT30C, be- cause these ports support only 1:1 NT Links.

(2) The Programming Console functionality of a PT (Expansion Function)

cannot be used.

(3) When more than one PT is connected to the same FQM1, be sure that

each PT is assigned a unique unit number. Malfunctions will occur if the same unit number is set on more than one PT.

(4) The NT Link System includes 1:1 and 1:N modes. These two modes are

not compatible as serial communications modes.

Serial PLC Link Slave The FQM1 can be connected to a Serial PLC Link by linking to a Serial PLC Master. (It cannot be connected by the Complete Link Method.) Program-free data exchange can be achieved between the master and slave by connecting a CJ1M CPU Unit as the master and the FQM1 as the slave. The FQM1 con- nection is made to the RS-232C port on the Coordinator Module.

CIO 0080 to CIO 0099 in the Serial PLC Link Bit Area in the Coordinator Mod- ule are shared with the CJ1M master as shown below

Show 5 more labels / short text on this page
Applicable Ports · Coordinator Module · Peripheral port · RS-232C port · Yes
Page 35 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Configuration Example
Page 35 · click to enlarge
Page 35

Expanded System Configuration Section 1-5

1:N Connection between CJ1M and FQM1 Controllers

CJ1M CPU Unit (master)

CJ1W-CIF11 RS-232C to RS-422A/485 Conversion Adapter connected to RS-232C port

RS-422A/485

Coordinator Module Data sharing

FQM1 (slave) FQM1 (slave)

CJ1W-CIF11 RS-232C to RS-422A/485 Conversion Adapters connected to RS-232C ports

8 nodes max.

1:1 Connection between CJ1M and FQM1 Controller

CJ1M CPU Unit (master)

RS-232C

Coordinator Module Data sharing

Serial Gateway Reading/writing Servo Parameters and other data in Servo Drivers connected via RS-422A can be performed through the FQM1 Coordinator Module from an NS-series PT or computer application running on CX-Server. The serial communications mode for the RS-422A port on the FQM1 Coordinator Mod- ule is set to Serial Gateway to achieve this.

Servo Drivers Connectable to RS-422A

OMRON’s W-series or SMARTSTEP Servo Drivers can be connected.

System Configuration Example

Smart Active Parts on an NS-series PT connected via an NT Link can be used to access W-series or SMARTSTEP Servo Drivers.

FQM1 (slave) · FQM1 (slave)

Page 36 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1-6 Basic Operating Procedure
Page 36 · click to enlarge
Page 36

Basic Operating Procedure Section 1-6

Omron Motion Controller Module (FQM1-CM001) — Basic Operating Procedure Section 1-6 diagram (page 36)
Fig. 6 · Basic Operating Procedure Section 1-6

No-protocol (Custom) Communications System via RS-422A Port

No-protocol communications allow simple data transmissions, such as input- ting bar code data and outputting printer data using communications port I/O instructions TXD(236) and RXD(235). The start and end codes can be set with no-protocol communications.

Omron Motion Controller Module (FQM1-CM001) — No-protocol (Custom) Communications System via RS-422A Port diagram (page 36)
Fig. 7 · No-protocol (Custom) Communications System via RS-42…

1-6 Basic Operating Procedure

The following procedure outlines the normal steps to operate the FQM1.

1,2,3... 1. Installation

Connect the Power Supply Unit, Coordinator Module, Motion Control Mod- ules, and End Module. Refer to 3-1-4 Connecting FQM1 Components for details.

Mount the FQM1. Refer to 3-1-5 DIN Track Installation for details

2. Wiring

Connect the power supply wiring and ground. Refer to 3-2-1 Wiring Power Supply Units for details.

Page 37 of the Omron Motion Controller Module (FQM1-CM001) user manual — Basic Operating Procedure Section 1-6
Page 37 · click to enlarge
Page 37

Basic Operating Procedure Section 1-6

Wiring I/O terminals and connectors. Refer to 3-3 Wiring Module Connec- tors for details.

3. Initial Hardware Settings

Set the DIP switch on the front of the Coordinator Module as required. Re- fer to 2-3 Coordinator Module for details.

4. Turning ON Power and Checking Initial Operation

Connect the CX-Programmer (using CX-Programmer Ver. 5.0 with the FQM1 Patch Software installed). Refer to 3-1-4 Connecting FQM1 Com- ponents for details.

Check the power supply wiring and voltage and then turn ON the power supply. Check the RDY indicator and CX-Prorammer display. Refer to 8-2 Connecting the CX-Programmer for details.

5. System Setup Settings Using the CX-Programmer

With the FQM1 in PROGRAM mode, change the settings in the System Setup as necessary from the CX-Programmer online. (Another method is to change the System Setup in CX-Programmer offline and transfer it to the Coordinator Module and Motion Control Modules.) Set the Sync Mode un- der Synchronization between Modules to ASync Mode to make debugging easier. Refer to System Setup in the Coordinator Module on page 311 in Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Al- locations for details.

6. Writing the Programs

Write the programs for the Coordinator Module and Motion Control Mod- ules with the CX-Programmer. Refer to Appendix A Programming and to the FQM1 Instructions Reference Manual (Cat. No. O011) for details.

7. Transferring the Programs

Transfer the programs from CX-Programmer to the Coordinator Module and Motion Control Modules.

8. Testing Operation

a. Checking I/O Wiring

Output wiring With the FQM1 in PROGRAM mode, force-set output bits and check the status of the corresponding outputs. Input wiring Activate sensors and switches and either check the status of the input indicators or check the status of the corre- sponding input bits with the CX-Programmer’s Bit/Word Monitor operation.

b. Trial Operation Test operation after switching the FQM1 to MONITOR mode.

c. Monitoring and Debugging Monitor operation from the CX-Programmer. Use functions such as force-setting/force-resetting bits, tracing, and online editing to debug the program.

9. Saving and Printing the Programs

Save the debugged ladder programs and System Setup.

10. Running the Programs

Switch the FQM1 to RUN mode to run the programs.

Page 38 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3. Initial Hardware Settings
Page 38 · click to enlarge
Page 38

Basic Operating Procedure Section 1-6

1-6-1 Examples

1. Installation Connect the Power Supply Unit, Coordinator Module, Motion Control Modules, and End Module to assemble the FQM1.
Omron Motion Controller Module (FQM1-CM001) — Basic Operating Procedure Section 1-6 diagram (page 38)
Fig. 8 · Basic Operating Procedure Section 1-6

Make sure that the total power consumption of the Modules is less than the maximum capacity of the Power Supply Unit.

Use DIN Track to mount the FQM1 to the control panel.

Omron Motion Controller Module (FQM1-CM001) — Basic Operating Procedure Section 1-6 diagram (page 38)
Fig. 9 · Basic Operating Procedure Section 1-6

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

2. Wiring Connect the power supply, ground, and I/O wiring.

3. Initial Hardware Settings

Set the DIP switch on the Coordinator Module. In particular, be sure that the settings for the peripheral port are correct.

Example: When connecting the CX-Programmer to the peripheral port, turn OFF pin 2.

Omron Motion Controller Module (FQM1-CM001) — 3. Initial Hardware Settings diagram (page 38)
Fig. 10 · 3. Initial Hardware Settings
Page 39 of the Omron Motion Controller Module (FQM1-CM001) user manual — 6. Writing the Programs
Page 39 · click to enlarge
Page 39

Basic Operating Procedure Section 1-6

4. Turning ON Power and Checking Initial Operation

5. System Setup Settings

These settings determine the Modules’ software configuration. Refer to Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Alloca- tions for details.

Note The FQM1 is set to the Sync Mode by default. This mode must be changed on the Coordinator Module when programming Motion Control Modules, transfer- ring programs, or debugging. Set the mode to ASync Mode in the System Setup of the Coordinator Module to enable changing the operating modes of the Motion Control Modules and creating programs directly from the CX-Pro- grammer.

6. Writing the Programs

Write each program with the CX-Programmer, including one cyclic task and the required number of interrupt tasks.

1,2,3... 1. Add Motion Control Modules to the tree by executing Insert - PC once for each Motion Control Module connected to the Coordinator Module.

Omron Motion Controller Module (FQM1-CM001) — 6. Writing the Programs diagram (page 39)
Fig. 11 · 6. Writing the Programs
2. When going online to Motion Control Modules through the Coordinator Module, the node set for the FINS destination address in the network settings on the Change PC Type Window determines the Motion Control Module that is connected. Normally the node number is automatically allocated for the Motion Control Module when Insert - PC is executed.
Page 40 of the Omron Motion Controller Module (FQM1-CM001) user manual — Differentiation Monitor
Page 40 · click to enlarge
Page 40

Basic Operating Procedure Section 1-6

Omron Motion Controller Module (FQM1-CM001) — Basic Operating Procedure Section 1-6 diagram (page 40)
Fig. 12 · Basic Operating Procedure Section 1-6

7. Transferring the Programs

When the programs has been created in the CX-Programmer, they must be transferred to the Motion Control Modules through the Coordinator Module.

8. Testing Operation

8-a) I/O Wiring Checks Check Output Wiring

With the FQM1 in PROGRAM mode, force-set and force-reset output bits from the CX-Programmer and verify that the corresponding outputs operate properly.

Check Input Wiring

Activate input devices, such as sensors and switches, and verify that the cor- responding input indicators light. Also, use the Bit/Word Monitor operation from the CX-Programmer to verify the operation of the corresponding input bits.

8-b) Trial Operation Use the CX-Programmer to switch each Module to MONITOR mode.

Using the CX-Programmer

Omron Motion Controller Module (FQM1-CM001) — Using the CX-Programmer diagram (page 40)
Fig. 13 · Using the CX-Programmer

Select PC - Mode - MONITOR.

Select PC - Mode - RUN.

FQM1

8-c) Monitoring and Debugging

There are several ways to monitor and debug FQM1 operation, including the force-set and force-reset operations, differentiation monitoring, time chart monitoring, data tracing, and online editing.

Force-Set and Force-Reset

When necessary, the force-set and force-reset operations can be used to force the status of bits and check program execution.

From the CX-Programmer, select the bit to be force-set or force-reset and then select Force On or Off from the PLC menu.

Differentiation Monitor

The differentiation monitor operation can be used to monitor the up or down differentiation of particular bits. Use the following procedure from the CX-Pro- grammer.

Show 5 more labels / short text on this page
Coordinator Module · Trial Operation · Peripheral port · Actual operation · CX-Programmer
Page 41 of the Omron Motion Controller Module (FQM1-CM001) user manual — 9. Save and Print the Programs
Page 41 · click to enlarge
Page 41

Basic Operating Procedure Section 1-6

1,2,3... 1. Select the bit for differential monitoring.

2. Select Differential Monitor from the PLC Menu. The Differential Monitor Dialog Box will be displayed.
3. Select Rising or Falling.
4. Click the Start Button. The buzzer will sound when the specified change is detected and the count will be incremented.
5. Click the Stop Button. Differential monitoring will stop.

Time Chart Monitoring

The CX-Programmer’s time chart monitor operation can be used to check and debug program execution.

Data Tracing

The CX-Programmer’s data trace operation can be used to check and debug program execution.

Online Editing

When a few lines of the program in a Module have to be modified, they can be edited online with the FQM1 in MONITOR mode or PROGRAM mode from the CX-Programmer. When more extensive modifications are needed, upload the program from the Module to the CX-Programmer, make the necessary changes, and transfer the edited program back to the Module.

9. Save and Print the Programs

To save a program, select File and then Save (or Save As) from the CX-Pro- grammer menus.

To print a program, select File and then Print from the CX-Programmer menus.

10. Run the Programs Switch the FQM1 to RUN mode to run the programs.
Page 42 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 42 · click to enlarge
Page 42

Function Tables Arranged by Purpose Section 1-7

1-7 Function Tables Arranged by Purpose

1-7-1 Sync Cycles and Synchronized data

Purpose Operation Function used Details Synchronizing 3 or more axes

Simple control of all axes oper- ations from the Coordinator Module

Synchronizing all Motion Con- trol Modules to Coordinator Module cycle

Sync Mode, Sync Cycle Time

5-1 Synchronous Operation between Modules Set Sync Mode to Sync and Sync Cycle Time to 0 ms. Executes Motion Control Module ladder programs at the same time as Coordinator Mod- ule ladder program, which makes it easy to con- trol Motion Control Module program execution from the Coordinator Module ladder program.

Synchronous Data Link Bit Area

5-2 Data Exchange between Modules If information to be shared between Modules every cycle is placed in the Synchronous Data Link Bit Area, it is automatically shared between Modules every cycle. Synchronous operation is also possible because programs can handle the same data between different Modules. Example: Sending position data for VIRTUAL AXIS (AXIS) instruction from a Module; sending high-speed counter PVs from pulse inputs, etc.

Constant Cycle Time (Coordina- tor Module) Sync Cycle Time (matches cycle time)

5-1 Synchronous Operation between Modules The cycle time of the Coordinator Module can be made constant using the Constant Cycle Time function. This constant cycle time is set as the Sync Cycle Time in the FQM1.

Cycle Time (Motion Control Modules)

5-1 Synchronous Operation between Modules The Coordinator Module's constant cycle time is set as the FQM1 Sync Cycle Time (as above). The I/O refresh interval for the Motion Control Module within that Sync Cycle Time is made constant, and the I/O cycle with external inter- faces is also made constant. Prohibit System Interruption of the Sync Mode

5-4-4 Settings Used to synchronize, as much as possible, the start of processing between Modules. When system interrupts are prohibited, the vari- ation in the start of processing between Modules is approx. 2 µs.

Page 43 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 43 · click to enlarge
Page 43

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Function used Details

Synchronizing 3 or more axes

Make control cycle as short as possible with Modules syn- chronized

Synchronizing Motion Control Modules only

Sync Mode, Sync Cycle Time

5-1 Synchronous Operation between Modules Set Sync Mode to Sync and Sync Cycle Time to between 0.1 and 10.0 ms. If the Coordinator Module cycle varies or gets too long after connecting the FQM1 to peripheral devices, Motion Control Module operation can be synchronized to have short control cycles for Motion Control Modules only. The Sync Cycle Time can be set to any value. Synchronous Data Link Bit Area

Same as “Synchronous Data Link Bit Area,” above.

Cycle Time (Motion Control Modules)

5-1 Synchronous Operation between Modules The Coordinator Module's constant cycle time is set as the FQM1 Sync Cycle Time (as above). The I/O refresh interval for the Motion Control Module in that Sync Cycle Time is made con- stant and the I/O cycle with external interfaces is also made constant.

Prohibit System Interruption of the Sync Mode

Same as “Prohibit System Interruption of the Sync Mode” above.

  • 5-4 Synchronous Data Refresh Information for I/O from different Motion Control Modules can be stored within Modules and a control loop created. Select the type of synchronous data.
  • Ladder execution results
  • High-speed counter PV
  • Pulse output PV
  • Analog input values
  • Analog output values
  • Built-in I/O inputs Fast control loops

Control opera- tion using pulse and analog data simultaneously

Synchronizing Motion Control Modules to Coordinator Module cycle or synchronizing between Motion Control Mod- ules only

Changing to Async Mode

Sync Mode 5-1 Synchronous Operation between Modules Set the Sync Mode to Async. Each Module will no longer be synchronized, bus refreshing will stop, and the Motion Control Module overhead time will be minimized. The minimum overhead time for FQM1-MMP21 is 0.19 ms.

Synchronous Data Selection

Page 44 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 44 · click to enlarge
Page 44

Function Tables Arranged by Purpose Section 1-7

1-7-2 Position and Speed Control

Purpose Operation Main functions

PTP positioning using pulse I/O

Using Servo Driver compati- ble with an incremental encoder or step- ping Servomo- tor/Servo Driver

  • 7-6-6 Pulse Output Function Details Set operating mode to Relative Pulse Output. The number of pulses is determined from the current position. Instructions to control pulses and speed can be used, depending on what is to be controlled. Speed can be controlled between 20 Hz and 1 MHz.
  • Basic I/O can be used for origin signal and other I/O, and pulse inputs can be used for encoder inputs, for Servomotors/Servo Drivers
  • For stepping motors, combination with basic I/O and pulse (CW) + direction control is possible. Controlling trapezoidal positioning speed control
  • Relative pulse output functions
  • Pulse output instructions (SPED(885)(8 85), ACC(888), PULS(886), and PLS2(887))
  • PLS2(887) instruction

7-6-12 PLS2(887) Pulse Output Direction Prior- ity Mode Trapezoidal positioning at any accelera- tion/deceleration ratio. The system will automatically switch to triangle control (trapezoidal control without constant speed interval) when acceleration/deceleration conditions with specified total output pulses do not lead to trapezoidal control. Speed Change Cycle Selection (2 ms/1 ms)

7-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructions The speed change cycle of ACC(888) and PLS2(887) instructions can be selected. This is useful for fine control of time taken to reach target speed or to reduce positioning time.

Pulse Output PV Reset

7-5-8 Pulse Input Function Description Turn ON the Pulse Output PV Reset Bit at the origin. A626.00 (pulse output 1)/A627.00 (pulse output 2) turn ON.

Using Servo Drivers compati- ble with an Absolute Encoder

  • Absolute Pulse Output
  • Pulse output instructions (SPED(885)(8 85), ACC(888), PULS(886), and PLS2(887))

7-6-6 Pulse Output Function Details Change operating mode to Absolute Pulse Out- put. The number of pulses in the command is han- dled as an absolute position. Everything else is the same as relative pulse output.

Controlling trap- ezoidal position- ing speed

Same as for Servo Drivers compatible with an incremental encoder, outlined above. Pulse Output Direction/Abso- lute Position Pri- ority Mode Setting

7-6-12 PLS2(887) Pulse Output Direction Prior- ity Mode Can switch between giving priority to CW/CCW output direction specification for PLS2(887) instructions or absolute position specification to determine output direction.

Show 6 more labels / short text on this page
Details · used · Controlling posi- tioning speed · Defining the ori- gin · Controlling posi- tioning speed · PLS2(887) instruction
Page 45 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 45 · click to enlarge
Page 45

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

PTP positioning using pulse I/O

Using Servo Drivers compati- ble with an Absolute Encoder

Reading PV from Servo Driver

  • Absolute counter operation (absolute linear/circular)
  • High-speed counter absolute encoder read

7-7 Functions for Servo Drivers Compatible with Absolute Encoders Set counter operation to Absolute Linear (CW−), Absolute Circular, or Absolute Linear (CW+). Uses OMRON W-series Servo Drivers and reads the absolute position from the Servo Driver before operation starts. Once the origin has been set, it is easier to find the origin by reading the absolute position before operation starts.

7-6-6 Pulse Output Function Details Reflects in the pulse output instruction the abso- lute value read using the absolute encoder read instruction outlined above. PTP positioning using analog I/O

Presetting the absolute posi- tion to the pulse output counter.

Pulse output counter PV con- vert (INI(880) instruction)

Using Servo Driver compati- ble with an incremental encoder

Position control in semi-closed loop using vir- tual pulse output function

  • Virtual axis (AXIS instruction)
  • High-speed counter (FB pulse)
  • Analog output instructions with position deviation using virtual axis and high-speed counter

7-8 Virtual Pulse Output Function Uses virtual axis (AXIS instruction) in relative mode. The current position output for the AXIS instruc- tion is used as the command pulse to create a position loop with the high-speed counter PV (the feedback pulse from the Servo Driver). A control loop for the analog output instruction is generated according to this deviation and used.

Use Servo Driv- ers compatible with Absolute Encoder

Position control in semi-closed loop using vir- tual pulse output function

As above 7-8 Virtual Pulse Output Function Uses virtual axis (AXIS instruction) in absolute mode. Everything else is the same as above.

Reading current position from Servo Driver

  • Absolute counter mode (absolute linear/circular)
  • High-speed counter absolute encoder read

Same as PTP positioning with pulse I/O when Servo Drivers compatible with Absolute Encoder used.

Presets abso- lute position in AXIS instruction

  • High-speed counter PV
  • MOVL instruction

7-8 Virtual Pulse Output Function Presets the high-speed counter PV read using the high-speed counter absolute encoder read instruction outlined above, and presets and uses this PV as the current position output in the AXIS instruction. The PV is preset before executing AXIS instruc- tion.

Details · used

Page 46 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 46 · click to enlarge
Page 46

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

PTP positioning using analog I/O

Simple position- ing using invert- ers

Stepped or sloped analog output corre- sponding to the high-speed counter PV

  • Target value match instruction (CTBL(882) instruction) for high-speed counter
  • Analog output instruction (SPED(885) instruction) or analog output slope variation (ACC(888) instruction) in interrupt tasks

7-10 Analog Outputs Used when positioning only using speed com- mand according to analog output. Applicable when speed patterns have been determined based on specified positions. An instruction to change the output variable every time instructions are executed (SPED(885) instruction) and an instruction to change analog outputs at a specified rate of change every 2 ms (ACC(888) instruction) are available for analog outputs. Fine speed control loops can be included using the FQM1 high-speed cycle time and analog output conversion functions (approx. 40 µs).

Path control Drawing path with linear inter- polation

Executing elec- tronic cam con- trol for 2 axes synchronized to virtual axis

  • Virtual axis (AXIS instruction)
  • Create path tables using ladder program (APR instruction)
  • Electronic cam pulse output (PULS(886) instruction)

7-8 Virtual Pulse Output Function Pulse output operation mode set to electronic cam control mode (linear). Virtual axis used as basic axis. Path can be drawn by synchronizing 2 pulse output axes (controlled as slave axes) with the basic axis. Set the desired path pattern to the broken-line approximation instruction (APR instruction) table data, and execute pulse output control based on the APR instruction calculation result for the basic axis. The maximum number of line points for one APR instruction is 256, but multiple APR instructions can be used in ladder programs so the number of curve points can be increased by setting the table data across multiple APR instructions.

Drawing path with circular interpolation

As above As above

Drawing ellipti- cal and other special locus

As above As above

Slave axis con- trol synchro- nized to real axis.

Electronic cam: Changing target position and speed every cycle based on input pulse (position or angle for one rotation, etc.) to execute posi- tioning.

  • High-speed counter PV
  • Cam curve generation or cam curve table every cycle based on ladder programming (APR instruction)
  • Pulse output with specified target position and frequency (PULS(886) instruction)
  • Constant cycle time

7-6-14 Pulse Output Function Examples Set pulse output operation mode to electronic cam control mode (linear) or electronic cam con- trol mode (circular). Makes Motion Control Module cycle times con- stant, specifies target position and speed, and executes pulse outputs to Servo Driver for the slave axis according to high-speed counter PV. If cam curves are generated using ladder pro- gramming, the cam curves can be changed dur- ing operation. High-precision, synchronized control with exter- nal axes is possible with FQM1 high-speed cycle.

Details · used · Synchronous control

Page 47 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 47 · click to enlarge
Page 47

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

Slave axis con- trol synchro- nized to virtual axis.

Electronic cam: Changing target position and speed every cycle based on virtual pulse out- put (position or speed) to exe- cute positioning.

  • Virtual axis (AXIS instruction)
  • Cam curve generation or cam curve table every cycle based on ladder programming (APR instruction)
  • Pulse output with specified target position and frequency (PULS(886) instruction)
  • Constant cycle time

7-8 Virtual Pulse Output Function Execute pulse output control of slave axis based on virtual axis position and speed using AXIS instruction, instead of high-speed counter PV for real axis outlined above. Instead of the slave axis operation reflecting the real machinery operation outlined above, this method is used to operate position control for multiple axes using the same timing.

Control of a par- ticular axis oper- ation at a speed with a uniform ratio applied

Electronic gear operation: Pulse outputs based on input pulses multiplied by a set factor.

  • High-speed counter PV
  • Straight-line table (APR instruction)
  • Pulse outputs with specified target position and frequency (PULS(886) instruction)
  • Constant cycle time

7-6-13 Pulse Output Function Procedures Set pulse output operating mode to electronic cam control (circular). Prepare a straight line table whose slope becomes the multiplier for APR instruction and use APR instructions to calculate the pulse out- put target position for slave axis corresponding to high-speed counter PV and executes pulse output control. Speed is set and controlled to enable distribution of specified number of pulses within FQM1 con- trol cycle.

Speed control Creating any trapezoidal speed control pattern (e.g., S- curve accelera- tion/decelera- tion) (fine control of accel- eration/deceler- ation using time)

Electronic cam operation: Changing target position and speed every cycle according to time axis and perform posi- tioning.

  • Cam curve generation or cam curve table every cycle based on ladder programming (APR instruction)
  • Pulse output with specified target position and frequency (PULS(886) instruction)
  • Constant cycle time

7-6-13 Pulse Output Function Procedures Set pulse output operation mode to electronic cam control mode (linear) or electronic cam con- trol mode (circular). Used for applications such as creating ideal Ser- vomotor control patterns. Makes the Motion Control Module cycle time constant, generates a time axis using ladder programming, specifies the target position and speed for the Servo Driver of the slave axis based on that time axis and gives pulse outputs. The time unit can be set to milliseconds, allow- ing fine control in FQM1 high-speed cycles.

Details · used · Synchronous control

Page 48 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1-7-3 Measuring Input Pulses
Page 48 · click to enlarge
Page 48

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

Speed control Torque control (position + torque control) Individual axis control for mold- ing equipment and similar applications

7-9 Analog Input Functions 7-10 Analog Outputs Uses 2 analog outputs for speed and torque commands for Servo Driver. Can switch freely between position and torque control modes in ladder program, allowing for operations such as position control → torque control → position control. Speed and torque commands to Servo Drivers can be freely controlled during torque control based on feedback from torque sensors via ana- log inputs. Fine speed control is possible in FQM1 high- speed cycle. Line control (winding/feed- ing control) Tension control, etc.

Switching between posi- tion and torque control modes. During torque control, perform- ing speed con- trol using high- speed control loops based on feedback from torque sensors.

  • Analog input
  • Pulse input (for Servo Drivers compatible with Absolute Encoders)
  • Analog output
  • Feedback calculations using ladder programs

7-9 Analog Input Functions 7-10 Analog Outputs Performs speed control of winding and feeding motors while executing feedback calculations in ladder programs based on analog input informa- tion from dancer rollers or tension detectors. High-speed feedback loops can be created using FQM1 high-speed cycles and analog I/O conversion (approx. 40 µs). Simple speed control corre- sponding to time axis using inverter

Performing ana- log output con- trol based on feedback using analog inputs

  • Analog input
  • Analog output
  • Feedback calculations using ladder programs

Controlling stepped or trap- ezoidal analog outputs based on time

  • Timer instructions
  • Analog output instructions (SPED(885) and ACC(888) instructions)

7-10 Analog Outputs Used to create any speed change pattern using an inverter. The speed pattern is based on the time axis, and the speed can be changed to any value once a set time has passed.

1-7-3 Measuring Input Pulses

Purpose Operation Main functions

Detecting posi- tion and length using rotary encoder inputs

Counts high- speed encoder output using high-speed counter

Counting at 2 MHz (phase differential × 4)

7-5-8 Pulse Input Function Description Set counter operation to phase differential × 4 and counting speed to 500 kHz. Can be used when high-speed pulse inputs need to be counted using high-speed counter for positioning in µm-units.

Reading high- speed counter PV when mark has gone past mark sensor

Latching high- speed counter PV when sen- sor turns ON for latch input

High-speed counter PV latch

7-5-8 Pulse Input Function Description High-speed counter PV captured to latch regis- ter when external latch inputs change from OFF to ON. The values can be read using the PRV(881) instruction. Can be quickly read using hardware latch cir- cuits.

Show 5 more labels / short text on this page
Details · used · Details · used · High-precision positioning
Page 49 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1-7-4 High-speed Analog I/O Control
Page 49 · click to enlarge
Page 49

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

Detecting speed using rotary encoder inputs

Detecting speed and use in out- put control while managing posi- tion using encoder inputs

Measuring dis- placement of workpiece per unit time

Monitoring High- speed Counter Movement (cycle time)

7-5-8 Pulse Input Function Description Outputs the change in the high-speed counter PV each cycle, while outputting number of input pulses as high-speed counter PV. Used for applications such as detecting speed of external master axis during synchronous con- trol.

Monitoring High- speed Counter Movement (sampling time specified)

7-5-8 Pulse Input Function Description Outputs the change in the high-speed counter PV each sampling cycle (1 to 9,999 ms) speci- fied asynchronously to Motion Control Module cycle. Used for applications such as detecting external device speed or number of pulses within a spec- ified time (not used for output control).

Monitoring speed while managing work- piece position using encoder input

Measure input pulse cycle

Counter fre- quency mea- surement (pulse input 1 only)

7-5-8 Pulse Input Function Description Number of input pulses can be monitored simul- taneously as high-speed counter PV and pulse frequency.

1-7-4 High-speed Analog I/O Control

Purpose Operation Main functions

Measuring undulation, dis- tortion, thick- ness, height, or diameter, etc., of an object

High-speed tracing of analog data when external signal turns ON

7-9-3 Analog Input Function Specifications Can perform analog sampling at a constant cycle, using scheduled interrupt processing in analog input immediate refresh mode. Sampling can be executed at small time inter- vals using analog input conversion (40 µs). Data stored in memory can also be displayed on PT and other display devices, e.g., to show trends. High-speed tracing of analog data synchro- nized with tar- get object position

Storing analog input value in memory at specified time (constant cycle)

  • Interval timer interrupts
  • PRV(881) instruction

Storing analog inputs to DM Area synchro- nous with posi- tion (pulse input)

High-speed analog sam- pling function

7-9-7 High-speed Analog Sampling (FQM1- MMA21 Only) Sampling of target measurement object position as compared to the sampling based on time. Interrupt tasks, as outlined above, are not used, so even more detailed sampling is possible. Used for applications such as generating dis- placement data for the measurement object from one position to another position.

Show 4 more labels / short text on this page
Details · used · Details · used
Page 50 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 50 · click to enlarge
Page 50

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

Control using measurement results for undu- lation, distortion, thickness, height, diame- ter, etc., of an object

Judgment pro- cessing based on measure- ment results

Reading analog input values in high-speed cycles and per- forming judg- ment processing using ladder program

Analog input + ladder program- ming

7-9 Analog Input Functions Uses analog sensors to detect objects that can't be detected with ON/OFF sensors and performs judgment by comparing the analog input value and internally held threshold values. Processing with faster tact time is possible using high-speed analog input conversion (40 µs) and high-speed cycle times (approximately 2 µs min- imum when only analog inputs are enabled). Also, analog sampling at 50-µs intervals (min.) is possible if analog inputs are set to immediate refresh and PRV(881) instructions are used in parallel processing in the ladder program.

7-6 Pulse Outputs 7-9 Analog Input Functions Can perform synchronous control while perform- ing position control on slave axis synchronized with position based on pulse input or synchro- nous control while adding analog value from dis- placement sensor as position control compensation. MMP21 and MMA21 used together for this appli- cation. Responding quickly to exter- nal signals with analog control

Position control using measure- ment results

Performing sync control using high-speed counter PV posi- tion information and analog input information simultaneously

Synchronous Data Link Bit Area

Changing ana- log output amount as soon as signal turns ON

Immediate refresh of ana- log output

  • Settings for immediate refresh
  • SPED(885)/AC C(888) instructions

7-10 Analog Outputs SPED(885) or ACC(888) instructions can be used to directly refresh analog outputs. Used to change output amount immediately after external signal triggers.

7-9 Analog Input Functions PRV(881) instructions can be used to directly refresh analog inputs. Used to read input values immediately after external signal triggers. Holding analog output at the maximum value or at the value at that time when set conditions or errors occur.

Reading analog input value as soon as signal turns ON

Immediate refresh of ana- log input

  • Settings for immediate refresh
  • PRV(881) instructions

--- Determining analog output value at output enable OFF or error

Analog output hold function

7-10 Analog Outputs The analog output status can be held at the maximum value, cleared, or held at the current value at output enable OFF or system errors.

Details · used

Page 51 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 51 · click to enlarge
Page 51

Function Tables Arranged by Purpose Section 1-7

1-7-5 Controlling Timing

Purpose Operation Main functions

Responding quickly to exter- nal signals and operate

Executing pro- cessing as soon as change in external input signal detected

7-3 Input Interrupts - Input Interrupt Mode Set input function to Interrupt inputs. Executes interrupt tasks when Motion Control Module built-in input bits (input No. 0.00 to 0.03) turn ON and/or OFF. Executing pro- cessing after set amount of exter- nal signal changes counted

Starting inter- rupt processing when an input bit turns ON and/or OFF.

  • Input function settings
  • Interrupt inputs (MSKS(690) instructions)

Starting inter- rupt processing once the speci- fied number of input bit rising edges, falling edges, or both have been counted

  • Input function settings
  • Counting interrupts in counter mode (MSKS(690) instruction)

7-3 Input Interrupts - Counter Mode Set input function to Interrupt input and counter mode using MSKS(690) instructions. Decrements the PV each time the Motion Con- trol Module built-in input bit (input numbers 0000.00 to 0000.03) turns ON and/or OFF and executes interrupt tasks when the PV reaches 0.

Repeating pro- cesses each time specified period passes

Starting inter- rupt processing at scheduled time

  • Interval timer interrupt (scheduled interrupt: STIM(980) instruction)

7-4 Interval Timer Interrupts - 7-4-3 Interval Timer Interrupt Modes Repeats interrupt task execution at scheduled intervals. Can be used within interrupt tasks because spe- cial timer used.

Executing pro- cessing once specified timer interval passes after startup sig- nal input

Starting inter- rupt processing once only, after specified inter- val has elapsed

  • Interval timer interrupt (oneshot interrupt: STIM(980) instruction)

7-4 Interval Timer Interrupts - 7-4-3 Interval Timer Interrupt Modes Executes interrupt task once only after specified period elapses. Can be used within interrupt tasks because spe- cial timer used.

Starting inter- rupt processing once periods of any set time have elapsed from timer start

  • Pulse output
  • Target value comparison interrupt (CTBL(882) instruction)

7-6-9 Target-value Comparison Interrupts from Pulse Output PVs Executes specified interrupt task when target value in registered table matches the pulse out- put counter PV.

Starting pro- cessing when high-speed counter PV reaches set value

Starting inter- rupt processing when high- speed counter PV reaches specified value

  • High-speed counter target value comparison interrupt (CTBL(882) instruction)

7-5 Pulse Inputs Executes specified interrupt task when target value in registered table matches high-speed counter PV.

Details · used

Page 52 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 52 · click to enlarge
Page 52

Function Tables Arranged by Purpose Section 1-7

Purpose Operation Main functions

Operation with highly precise timing

Increasing accu- racy of external output ON time. (Feeding, hole opening, tape winding, gluing, and other appli- cations)

High-precision ON outputs, with minimum unit of 0.01 ms

  • One-shot pulse outputs (STIM(980) instruction)

7-5 Pulse Inputs Set pulse output operation mode to one-shot output. Specified outputs turn ON during specified inter- val (0.01 ms to 9,999 ms). Output OFF after specified time elapses is per- formed by hardware, which gives accurate ON time with no fluctuation. Can be used within interrupt tasks because uses special timer.

Highly accurate measurement of external input signal ON/OFF time

Starting/stop- ping high-preci- sion timer at 0.001-ms unit min.

  • Pulse output counter measurement mode (time measurement) (Unit: 0.001 ms min.)

7-6-8 Time Measurement with the Pulse Counter Time measurement starts/stops with input inter- rupt (MSKS(690) instruction) + STIM(980) instruction within interrupt tasks. The elapsed time is stored in Motion Control Module Auxiliary Area. This data can be read using the PRV instruction.

set to pulse counter time measurement in System Setup. Various pro- cessing (instruc- tion execution) at each one of multiple time intervals, using high-precision timer

Outputting ON/OFF pat- tern when pulse output counter PV is within set value range.

  • Pulse output counter measurement mode (time measurement)
  • Range comparison bit pattern output

7-6-8 Time Measurement with the Pulse Counter Can be used to obtain output pattern each time interval elapsed after timer start. Timer accuracy can be selected from as low as 0.001 ms.

Timing output according to workpiece posi- tion

Timing output using high- speed counter PV

Outputting ON/OFF pat- tern when high- speed counter PV within cer- tain range

  • High-speed counter range comparison bit pattern output (Executes comparison at execution of CTBL(882) instructions)

7-5-8 Pulse Input Function Description Outputs set bit pattern when high-speed counter PV enters the range between set upper and lower limits.

Details · used

Page 53 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Tables Arranged by Purpose Section 1-7
Page 53 · click to enlarge
Page 53

Function Tables Arranged by Purpose Section 1-7

Page 54 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 2 Specifications and Nomenclature
Page 54 · click to enlarge
Page 54

SECTION 2 Specifications and Nomenclature

This section provides the specifications of the FQM1 and describes the parts and their functions on the Coordinator Module and Motion Control Modules.

2-1 List of Models 32

2-2 General Specifications 32

2-3 Coordinator Module 34

2-4 Motion Control Modules 37

2-5 Dimensions 43

2-6 Module Current Consumption 45

2-7 Memory Block Diagram 47

Page 55 of the Omron Motion Controller Module (FQM1-CM001) user manual — General Specifications
Page 55 · click to enlarge
Page 55

List of Models Section 2-1

2-1 List of Models

Name Type Model Specifications Coordinator Mod- ule

Standard (with built-in I/O)

FQM1-CM001 Program capacity5 Ksteps 16 general-purpose inputs, 8 general-purpose outputs Peripheral port, RS-232C port, RS-422A port
Pulse I/O FQM1-MMP21 Program capacity5 Ksteps 2 pulse inputs, 2 pulse outputs, 12 general-purpose inputs, 8 general-purpose outputs

Analog I/O FQM1-MMA21 Program capacity: 5 Ksteps 2 pulse inputs, 1 analog input, 2 analog outputs, 12 general-purpose inputs, 8 general-purpose outputs

End Module Standard FQM1-TER01 Connects to the right end of the FQM1. Servo Relay Units --- XW2B-80J7-1A Simplifies wiring from the Motion Control Module to two Servo Drivers, wiring for all switches, sensors, and other general-purpose I/O, and wiring the RS-422A line.

FQM1 Flexible Motion Controller Set

Set for pulse I/O FQM1S-MC231 A set including the CJ1W-PA202, FQM1-CM001, FQM1- MMP21, and FQM1-TER01 Set for analog I/O FQM1S-MC222 A set including the CJ1W-PA205R, FQM1-CM001, FQM1-MMA21, and FQM1-TER01 Programming Device

CX-Programmer Ver. 5.0 or later

WS02-CXPC1-E-V5@ (See note.)

Used for System Setup setting, programming, and moni- toring for Coordinator Modules and Motion Control Mod- ules. The FQM1 patch file is used with CX-Programmer Ver. 5.0.

2-2 General Specifications

General Specifications

Insulation resistance 20 MΩ min. (at 500 VDC) between AC external and GR terminals (See note 1.) Dielectric strength 2,300 V AC 50/60 Hz for 1 min between AC external and GR terminals (See notes 1 and 2.) Leakage current: 10 mA max.

720 V AC 50/60 Hz for 1 min between DC external and GR terminals (See note 1.) Leakage current: 10 mA max.

Noise immunity 2 kV on power supply line (conforming to IEC61000-4-4) Vibration resistance 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 in X, Y, and Z direc- tions for 80 minutes total (Time coefficient: 8 minutes × coefficient factor 10 = total time 80 min.) (conforming to JIS C0040) Shock resistance 147 m/s2 3 times each in X, Y, and Z directions (conforming to JIS C0041)

0 to 55°C

10% to 90% (with no condensation)

Atmosphere Must be free from corrosive gases Ambient storage temper- ature

−20 to 75°C

Grounding Less than 100 Ω Enclosure Mounted in a panel.

Dimensions 49 × 90 × 80 mm (W × H × D) (not including cables) Weight All models are each 5 kg max.

Safety measures Conforms to EC directives, C-Tick, and cULus.

Show 4 more labels / short text on this page
Motion Control Modules · Item Specifications · Ambient operating tem- perature · Ambient operating humidity
Page 56 of the Omron Motion Controller Module (FQM1-CM001) user manual — Power Supply Unit Specifications
Page 56 · click to enlarge
Page 56

General Specifications Section 2-2

when testing insulation and dielectric strength. Testing the insulation and dielectric strength with the LG and GR terminals connected will damage internal circuits.

(2) Do not apply more than 600 V when testing the dielectric strength of an-

alog I/O terminals. Applying more than 600 V may damage the internal elements.

Power Supply Unit Specifications

Item Specifications Power Supply Unit CJ1W-PA205R CJ1W-PA202

Supply voltage 100 to 240 V AC (wide-range), 50/60 Hz Operating voltage and frequency ranges

85 to 264 V AC, 47 to 63 Hz

Power consumption 100 VA max. 50 VA max.

Inrush current (See note 1.)

At 100 to 120 V AC: 20 A/8 ms max. for cold start at room temperature At 200 to 240 V AC: 40 A/8 ms max. for cold start at room temperature Output capacity 5.0 A, 5 VDC (including supply to Modules) 2.8 A, 5 VDC (including supply to Modules)

At 100 to 120 V AC: 15 A/8 ms max. for cold start at room temperature At 200 to 240 V AC: 30 A/8 ms max. for cold start at room temperature

0.8 A, 24 VDC 0.4 A, 24 VDC Total 25 W max. Total 14 W max.

Output terminal Not provided. RUN output Contact configuration: SPST-NO Switching capacity: 250 V AC, 2 A (resistive load) 120 V AC, 0.5 A (inductive load) 24 VDC, 2 A (resistive load) 24 VDC, 2 A (inductive load)

Not provided.

20 MΩ min. (at 500 VDC) between AC external and GR terminals (See note 2.)

Dielectric strength 2,300 V AC 50/60 Hz for 1 min between AC external and GR terminals (See note 2.) Leakage current: 10 mA max. 1,000 V AC 50/60 Hz for 1 min between DC external and GR terminals (See note 1.) Leakage current: 10 mA max. Noise immunity 2 kV on power supply line (conforming to IEC61000-4-4)

Vibration resistance 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 in X, Y, and Z directions for 80

minutes total (Time coefficient: 8 minutes × coefficient factor 10 = total time 80 min.) (conforming to JIS C0040)

Shock resistance 147 m/s2 3 times each in X, Y, and Z directions (conforming to JIS C0041) Ambient operating temperature

0 to 55°C

10% to 90% (with no condensation)

Atmosphere Must be free from corrosive gases. Ambient storage temperature

−20 to 75°C

Grounding Less than 100 Ω

Enclosure Mounted in a panel. Weight 5 kg. total max.

Dimensions 80 × 90 × 65 mm (W × H × D) 45 × 90 × 65 mm (W × H × D) Safety measures Conforms to cULus and EC Directives.

Insulation resis- tance · Ambient operating humidity

Page 57 of the Omron Motion Controller Module (FQM1-CM001) user manual — Indicators
Page 57 · click to enlarge
Page 57

Coordinator Module Section 2-3

AC power supply. The AC inrush control circuit uses a thermistor element with a low-temperature current control characteristic. If the ambient tem- perature is high or the FQM1 is hot-started, the thermistor will not be suf- ficiently cool, and the inrush currents given in the table may be exceeded by up to twice the given values. When selecting fuses or breakers for ex- ternal circuits, allow sufficient margin in shut-off performance. If the FQM1 is hot-started, the capacitor will not be discharged, and the inrush currents given in the table may be exceeded by up to twice the given val- ues.

(2) Disconnect the Power Supply Unit's LG terminal from the GR terminal

when testing insulation and dielectric strength. Testing the insulation and dielectric strength with the LG terminal and the GR terminals connected will damage internal circuits.

2-3 Coordinator Module

Nomenclature

CM001

FLEXIBLE MOTION CONTROLLER

RDY RUN ERR PRPHL COMM1 COMM2

CM001

Peripheral port baud rate detection/System Setup switch

࡮

ON OFF

FLEXIBLE MOTION CONTROLLER

RDY RUN ERR PRPHL COMM1 COMM2

PERIPHERAL

ON OFF

40-pin connector 㧔24 general-purpose

PORT

CN1

I/O points and RS-422A㧕

RS422

Indicators

Indicator Color Name Status Meaning

RDY Green Module operation Lit The Module is operating normally. Not lit Module error (e.g., WDT error).

RUN Green Program execution Lit Executing internal Module program. Not lit Internal Module program stopped.

ERR Red Module error Lit Fatal error. Flash- ing

Non-fatal error.

Not lit Module operating normally.

Show 4 more labels / short text on this page
Indicators · Peripheral port · RS-232C port · Coordinator Module
Page 58 of the Omron Motion Controller Module (FQM1-CM001) user manual — Function Specifications
Page 58 · click to enlarge
Page 58

Coordinator Module Section 2-3

Indicator Color Name Status Meaning

PRPHL Yellow Peripheral port

Lit Communicating via the peripheral port.

Not lit All other times. COMM1 Yellow RS-232C commu-

Lit Communicating via the RS-232C port. Not lit All other times.

COMM2 Yellow RS-422A commu-

Lit Communicating via RS-422A port (for Servo Driver)

Not lit All other times

Switch on Front Panel Peripheral Port Baud Rate Detection/System Setup Switch

CM001

FLEXIBLE MOTION CONTROLLER

RDY RUN ERR PRPHL COMM1 COMM2

ON OFF

SW2 Peripheral port baud rate detection/System Setup

ON System Setup settings OFF Automatic baud rate detection

Function Specifications

Item Specifications Control method Stored program

I/O control method Cyclic scan Programming Ladder diagram

Instruction length 1 to 7 steps per instruction Ladder instructions Approx. 260

Execution time Basic instructions 0.1 µs min. Special instructions 0.3 µs min.

Common processing (overhead) time

Sync Mode390 µ s ASync Mode: 180 µ s

Ladder 5 Ksteps Comment storage None

Number of tasks Cyclic tasks1, interrupt tasks: 50 Subroutines 256

JMP instructions 256 Number of basic I/O 24

Show 5 more labels / short text on this page
communications · nications · nications · SW1 Reserved --- · Program capacity
Page 59 of the Omron Motion Controller Module (FQM1-CM001) user manual — Coordinator Module Section 2-3
Page 59 · click to enlarge
Page 59

Coordinator Module Section 2-3

CIO Area Input Bit Area 16 bits (CIO 0000): CIO 0000.00 to CIO 0000.15

Output Bit Area 8 bits (CIO 0001): CIO 0001.00 to CIO 0001.07 Cyclic Refresh Bit Area

640 bits (40 words): CIO 0100 to CIO 0139 Refresh words for Motion Control Module # 1: CIO 0100 to CIO 0109 Refresh words for Motion Control Module # 2: CIO 0110 to CIO 0119 Refresh words for Motion Control Module # 3: CIO 0120 to CIO 0129 Refresh words for Motion Control Module # 4: CIO 0130 to CIO 0139

Synchronous Data Link Bit Area

320 bits (20 words): CIO 0200 to CIO 0219 Sent from Coordinator Module: CIO 0200 to CIO 0203 Sent from Motion Control Module #1: CIO 0204 to CIO 0207 Sent from Motion Control Module #2: CIO 0208 to CIO 0211 Sent from Motion Control Module #3: CIO 0212 to CIO 0215 Sent from Motion Control Module #4: CIO 0216 to CIO 0219 Serial PLC Link Bit Area

320 bits (20 words): CIO 0080 to CIO 0099 CIO 0080 to CIO 0089: CJ1M to FQM1 CIO 0090 to CIO 0099: FQM1 to CJ1M Can be connected as a Serial PLC Link slave to host PLC (CJ1M).

Work Bit Areas CIO Area 2,784 bits: CIO 0002 to CIO 0079, CIO 0140 to CIO 0199, and CIO 0220 to 0255 Work Area 4,096 bits: W000 to W255

Auxiliary Area Read/Write Read only: 5,568 bits: A000 to A099 and A200 to A447 Read/write: 3,232 bits: A448 to A649 Error Log 100 words: A100 to A199 (20 records)

Temporary Area 16 bitsTR0 to TR15 Holding Area None

Timer Area 256 timers: T0000 to T0255 (1-ms, 10-ms, and 100-ms timers) Counter Area 256 counters: C0000 to C0255 (decrementing counters and reversible counters)

DM Area Read/Write (not retained)

30 KwordsD00000 to D29999 (Status not retained when power is turned OFF.)

2,768 words: D30000 to D32767 (Status retained in flash memory. Not retained if written by a ladder program, but retained in flash memory if written using the CX- Programmer.)

System Setup System Setup area (Coordinator Module/Motion Control Module settings and peripheral service settings), peripheral service setting area

Index Registers IR0 and IR1 used with JSB instruction. Data Registers None

Input interrupts None Timer interrupts 1 (Scheduled or one-shot interrupt)

Power interruption hold function (momentary power interruption)

Memory backup Super capaci- tor backup

Flash memory User programs, System Setup, part of DM Area

Trace memory 4,000 words Peripheral servicing Servicing for devices connected to peripheral port (only CX-Programmer), RS- 232C port (Host Links, no-protocol communications, NT Links, and Serial PLC Links (slave)), and RS-422A port (for Servo Driver) Self-diagnosis function CPU errors (WDT) and memory errors

Program check Programs checked from the CX-Programmer. Super-capacitor backup time Approximately 100 hours at 25°C

Clock None Fixed Power OFF detection time AC: 10 to 25 ms (variable)

User-set Power OFF detection time 0 to 10 ms

Show 5 more labels / short text on this page
Item Specifications · Read/Write (retained) · Interrupt Func- tions · Super capacitor · Error log
Page 60 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-MMP21 (Pulse I/O)
Page 60 · click to enlarge
Page 60

Motion Control Modules Section 2-4

RUN output 1 (when CJ1W-PA205R used)

Peripheral port: Peripheral bus (Toolbus), Host Links, NT Links Built-in RS-232C port on Coordinator Module: Peripheral bus (Toolbus), Host Links, no-protocol communications, NT Links, and Serial PLC Links (slave). Built-in RS-422A port on Coordinator Module: Servo Driver interface

I/O Specifications

Built-in General-purpose I/O

Inputs Number of inputs 16 Input voltage 20.4 to 26.4 V

Input response Inputs for normal input (16 points): ON delay time: 100 µs OFF delay time: 1 ms max. 8 points/common Outputs Number of outputs 8

Output type NPN transistor Switching capacity 4.5 to 30 V DC, 0.3 A per output

ON delay time 0.1 ms max. OFF delay time 1 ms max.

2-4 Motion Control Modules

Motion Control Module

FQM1-MMP21 (Pulse I/O)

Item Specifications I/O Pulse I/O Pulse inputs: 2 (compatible with Servo Drivers with absolute encoders) Pulse outputs: 2

General-purpose inputs12 General-purpose outputs: 8
  • Functions Pulse outputs The following operations are supported:
  • Speed control (fixed, acceleration, deceleration)
  • Positioning (Fixed-speed positioning; trapezoid, acceleration/deceleration positioning, and deceleration positioning)
  • Speed control according to the present position (pulse output target value comparison or range comparison)
  • Electronic cam operation (Positioning according to the rotation position of the real or virtual axis.)
  • One-shot pulse output (Output ON only for specified time. minimum increment: 0.01 ms)
  • Time measurement using pulse counter (minimum increment: 0.0001 ms )
  • Pulse inputs
  • High-speed counters: Phase, Increment/decrement, Pulse + direction inputs (50 kHz/1 MHz), or phase differential (50 kHz/500 kHz; phase differential × 4, 2 MHz )
  • High-speed counter can be started/stopped using counter start bit.
  • Changes in high-speed counter present value can be measured.
  • High-speed counter frequency can be measured.

Program Program capacity 5 Ksteps

Show 7 more labels / short text on this page
Item Specifications · Individual func- tions · Serial communica- tions · Item Specifications · 40-pin connector · General-purpose I/O · 26-pin connector
Page 61 of the Omron Motion Controller Module (FQM1-CM001) user manual — Indicators
Page 61 · click to enlarge
Page 61

Motion Control Modules Section 2-4

FQM1-MMA21 (Analog I/O)

Omron Motion Controller Module (FQM1-CM001) — FQM1-MMA21 (Analog I/O) diagram (page 61)
Fig. 14 · FQM1-MMA21 (Analog I/O)
  • Item Specifications I/O Pulse inputs Pulse inputs: 2 (compatible with Servo Drivers with absolute encoders) 40-pin connector Analog I/O
  • Analog inputs: 1 ( − 10 to 10 V, 0 to 10 V, 0 to 5 V, 1 to 5 V, and 4 to 20 mA), conversion speed: 40 µ s/input
  • Analog outputs: 2 ( − 10 to 10 V, 0 to 10 V, 0 to 5 V, and 1 to 5 V), conversion speed: 40 µ s/output General-purpose I/O
  • Functions Analog output
  • Slope
  • Output hold
  • Offset/gain adjustment Analog input
  • Offset/gain adjustment

Nomenclature

Omron Motion Controller Module (FQM1-CM001) — Nomenclature diagram (page 61)
Fig. 15 · Nomenclature

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

Indicators

Omron Motion Controller Module (FQM1-CM001) — Indicators diagram (page 61)
Fig. 16 · Indicators

Lit Executing internal Module program Not lit Internal Module program stopped.

Page 62 of the Omron Motion Controller Module (FQM1-CM001) user manual — Motion Control Modules Section 2-4
Page 62 · click to enlarge
Page 62

Motion Control Modules Section 2-4

Performance Specifications

Item Specifications Control method Stored program

I/O control method Cyclic scan Programming language Ladder diagram

Instruction length 1 to 7 steps per instruction Number of instructions Approx. 270

Basic instructions 0.1 µs min. Special instructions 0.3 µs min.

MMP21 Sync Mode250 µ s ASync Mode: 190 µ s

Common processing time (over- head)

MMA21 Sync Mode: 340 µs ASync Mode: 280 µs Each analog input when analog output is disabled: 190 µs When analog output disabled: 230 µs Program capacity

Comment storage None Number of tasks Cyclic tasks: 1, interrupt tasks: 50

Subroutines 256 JMP instructions 256

Number of basic I/O 20 per Module CIO Area Input Bit Area 12 bits (CIO 0000): CIO 0000.00 to CIO 0000.11

Output Bit Area 8 bits (CIO 0001): CIO 0001.00 to CIO 0001.07 Cyclic Refresh Bit Area

160 bits (10 words): CIO 0100 to CIO 0109 Input refresh for Coordinator to Motion Control Module: CIO 0100 to CIO 0104 Output refresh for Motion Control Module to Coordinator Module: CIO 0105 to CIO 0109 Synchronous Data Link Bit Area

320 bits (20 words): CIO 0200 to CIO 0219 Sent from Coordinator Module: CIO 0200 to CIO 0203 Sent from Motion Control Module #1: CIO 0204 to CIO 0207 Sent from Motion Control Module #2: CIO 0208 to CIO 0211 Sent from Motion Control Module #3: CIO 0212 to CIO 0215 Sent from Motion Control Module #4: CIO 0216 to CIO 0219

Work Area CIO Area 3,584 bits: CIO 0002 to CIO 0099, CIO 0110 to CIO 0199, and CIO 0220 to CIO 0255 WR Area 4,096 bits: W000 to W255

Read/Write Read only: 5,568 bits, A000 to A099 and A200 to A447 Read/write: 3,232 bits, A448 to A649 Error Log 100 words: A100 to A199 (20 records)

Temporary Area 16 bitsTR0 to TR15 Holding Area None

Timer Area 256 timers: T0000 to T0255 (1-ms, 10-ms, and 100-ms timers) Counter Area 256 counters C0000 to C0255 (decrementing counters and reversible counters)

DM Area Read/write (not retained)

30 KwordsD00000 to D29999 (Status not retained when power is turned OFF.)
2,768 wordsD30000 to D32767 (Retained by super capacitor)

System Setup System Setup Area (Coordinator Module/Motion Control Module settings), motion parameter setting area Index Registers IR0 and IR1 used with JSB instruction

Data Registers None Interrupt Functions

Input interrupts 4 (with adjustment down mode)

Timer interrupts 1(Scheduled or one-shot interrupt)

Show 4 more labels / short text on this page
Instruction execution time · Ladder 5 Ksteps · Auxiliary Area · Read/write (retained)
Page 63 of the Omron Motion Controller Module (FQM1-CM001) user manual — General-purpose I/O Specifications
Page 63 · click to enlarge
Page 63

Motion Control Modules Section 2-4

Power interruption hold function (momentary power interruption)

Memory backup Super capacitor backup Error log, part of DM Area (backup for momentary power interruptions)

Flash memory User programs, System Setup Trace memory 4,000 words

Peripheral servicing Event requests from Coordinator Module Self-diagnosis function CPU errors (WDT) and memory errors

Program check Programs checked from the CX-Programmer. Super-capacitor backup time Approximately 100 hours at 25°C

Clock None Individual functions

Phase pulse inputs, Up/down pulse inputs, Pulse + direction pulse inputs (50 kHz/1 MHz)

FQM1-MMP21 (pulse I/O) Phase differential inputs (50 kHz/500 kHz; phase differential × 4, 2 MHz)

CW and CCW (1 MHzLine-driver) One-shot pulse output

Single phase pulse inputs/Up/down pulse inputs /Pulse + direction pulse inputs (50 kHz/1 MHz)

Phase differential inputs (50 kHz/500 kHz; phase differential × 4, 2 MHz)

Analog input Conversion speed: 40 µs/input Resolution: −10 to 10 V: 1/16,000; 0 to 10 V: 1/8,000; 0 to 5 V: 1/4,000; 1 to 5 V: 1/4,000; 4 to 20 mA: 1/4,000

Analog outputs Conversion speed: 40 µs/output Resolution: −10 to 10 V: 1/10,000; 0 to 10 V/0 to 5 V/1 to 5 V: 1/4,000

I/O Specifications

General-purpose I/O Specifications

Common Specifications for FQM1-MMP21 (Pulse I/O) and FQM1-MMA21 (Analog I/O)

Item Specifications Inputs Number of inputs 12 inputs

Input voltage 20.4 to 26.4 V Input response Interrupt input (4 points with one common)

ON delay time: 30 µs OFF delay time: 0.2 ms max. Normal input (8 points with one common)

ON delay time: 100 µs OFF delay time: 1 ms max.

Outputs Number of outputs 8 outputs Output type Transistor (NPN)

Switching capacity 4.5 to 30 V DC, 0.3 A per output ON delay time 0.1 ms max.

OFF delay time 1 ms max.

Show 6 more labels / short text on this page
Item Specifications · Super capacitor · High-speed counters · High-speed pulse outputs · High-speed counters · FQM1-MMA21 (analog I/O)
Page 64 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse I/O Specifications FQM1-MMP21 (Pulse I/O)
Page 64 · click to enlarge
Page 64

Motion Control Modules Section 2-4

Pulse I/O Specifications FQM1-MMP21 (Pulse I/O)

Item Specifications Pulse inputs

Number of counters 2

Counter operations Linear counter and circular counter Input signals Two words each for phase A, phase B, and phase Z.

Signal levels 24 V DC, line-driver Input method Phase differential ×1 Phase differential ×2 Phase differential ×4 Increment/decrement Pulse + direction Counting speed Voltage 50 k Hz

Line-driver 50 k Hz/500k Hz (phase differen- tial × 4, 2 MHz)

2 SEN output specifications: 5 V PNP output, output current: 5 mA When SEN signal is output to Servo Driver, Servo Driver will transmit the number of encoder's rotations to this Module. After that, it transmits pulse train cor- responding to displacement of the number of turns to the Module. Pulse outputs

Absolute Servo Driver interfaces

Number of outputs 2

Output signal CW/CCW Signal levels Line-driver (equivalent to AM26LS31) Max. output current: 20 mA Output speed 1 MHz

Number of outputs 2 Output type Open collector (NPN)

80 mA/5 to 24 V DC ± 10%

Max. switching capacity

Min. switching capacity

7 mA/5 to 24 VDC ± 10%

Output pulse width Set time ± 1 µs or 0.1% of set time

One- shot pulse outputs

Page 65 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Inputs and Analog I/O Specifications
Page 65 · click to enlarge
Page 65

Motion Control Modules Section 2-4

Pulse Inputs and Analog I/O Specifications

FQM1-MMA21 (Analog I/O)

Item Specifications Pulse inputs

Number of counters 2

Counter operations Linear counter, circular counter Input signals Two words each for phase A, phase B, and phase Z.

Signal levels CH124 V DC, line-driver CH2: Line-driver

Input method Phase differential ×1 Phase differential ×2 Phase differential ×4 Increment/decrement Pulse + direction

Counting speed Voltage 50 kHz Line-driver 50 k Hz/500k Hz (phase differential × 4, 2 MHz)

Absolute Servo Driver interfaces

2 SEN output specifications: 5 V PNP output, output current 5 mA When SEN signal is output to Servo Driver, Servo Driver will transmit the number of encoder's rotations to this Module. After that, it transmits pulse train cor- responding to displacement of the number of rota- tions to the Module.

Number of analog inputs

Input signals Voltage inputs: −10 to 10 V 0 to 10 V 1 to 5 V 0 to 5 V

Current inputs4 to 20 mA

Resolution −10 to 10 V: 14 bits (1/16,000) 0 to 10 V: 13 bits (1/8,000) 0 to 5 V: 12 bits (1/4,000) 1 to 5 V/4 to 20 mA: 12 bits (1/4,000) Accuracy (FS) Voltage input: ± 0.2% (23 ± 2°C) ± 0.4% (0 to 55°C)

Current input: ± 0.4% (23 ± 2°C) ± 0.6% (0 to 55°C) Conversion speed 40 µs max./input Total: 1.5 ms max. Analog outputs

Number of outputs 2

Output signal −10 to 10 V, 0 to 10 V, 1 to 5 V, 0 to 5 V Resolution −10 to 10 V: 14 bits (1/1,0000) 0 to 10 V: 12 bits (1/4,000) 0 to 5 V: 12 bits (1/4,000) 1 to 5 V: 12 bits (1/4,000)

Accuracy (FS) ± 0.3% (23 ± 2°C) ± 0.5% (0 to 55°C) Conversion speed 40 µs max./output Total: 200 µs max.

Analog input

Page 66 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-TER01 End Module
Page 66 · click to enlarge
Page 66

Dimensions Section 2-5

2-5 Dimensions

FQM1-CM001 Coordinator Module

Omron Motion Controller Module (FQM1-CM001) — FQM1-CM001 Coordinator Module diagram (page 66)
Fig. 17 · FQM1-CM001 Coordinator Module

FQM1-MMP21/MMA21 Motion Control Modules

Omron Motion Controller Module (FQM1-CM001) — FQM1-MMP21/MMA21 Motion Control Modules diagram (page 66)
Fig. 18 · FQM1-MMP21/MMA21 Motion Control Modules

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

FQM1-TER01 End Module

Page 67 of the Omron Motion Controller Module (FQM1-CM001) user manual — CJ1W-PA205R
Page 67 · click to enlarge
Page 67

Dimensions Section 2-5

Power Supply Units CJ1W-PA202

Omron Motion Controller Module (FQM1-CM001) — Power Supply Units CJ1W-PA202 diagram (page 67)
Fig. 19 · Power Supply Units CJ1W-PA202

CJ1W-PA205R

Omron Motion Controller Module (FQM1-CM001) — CJ1W-PA205R diagram (page 67)
Fig. 20
Page 68 of the Omron Motion Controller Module (FQM1-CM001) user manual — Current Consumption for 5-V System
Page 68 · click to enlarge
Page 68

Module Current Consumption Section 2-6

XW2B-80J7-1A Servo Relay Unit

Omron Motion Controller Module (FQM1-CM001) — XW2B-80J7-1A Servo Relay Unit diagram (page 68)
Fig. 21 · XW2B-80J7-1A Servo Relay Unit

2-6 Module Current Consumption

The amount of current/power that can be supplied to the Modules mounted in the FQM1 is limited. Refer to the following tables when designing your system so that the total current consumption of the mounted Modules does not exceed the maximum current for each voltage system and the total power consumption does not exceed the maximum for the Power Supply Unit.

Maximum Current and Maximum Total Power Consumption

The following table shows the maximum currents and power that can be sup- plied by Power Supply Units to the Controller.

Omron Motion Controller Module (FQM1-CM001) — Maximum Current and Maximum Total Power Consumption diagram (page 68)
Fig. 22 · Maximum Current and Maximum Total Power Consumption

CJ1W-PA202 2.8 A 0.4 A None 14 W CJ1W-PA205R 5.0 A 0.8 A None 25 W

Current Consumption for Each Module

Current Consumption for 5-V System

Omron Motion Controller Module (FQM1-CM001) — Current Consumption for 5-V System diagram (page 68)
Fig. 23 · Current Consumption for 5-V System

Name Model 5-V system current consumption (A) Coordinator Module

End Module FQM1-TER01 Included in Coordinator Module current consumption

Page 69 of the Omron Motion Controller Module (FQM1-CM001) user manual — 0 2 CJ1W-PA205R 6 3 0
Page 69 · click to enlarge
Page 69

Module Current Consumption Section 2-6

Motion Control Modules

Name Type Model 5-V system current consumption (A) Motion Control Module Pulse I/O FQM1-MMP21 0.836

Analog I/O FQM1-MMA21 0.843

Current Consumption for 24-V Systems

Name Type Model 24-V system current consumption (A)

Motion Control Module Analog I/O FQM1-MMA21 0.104

Example Calculation of Current and Power Consumption

Example for CJ1W-PA202 Power Supply Unit with the Following Modules Mounted

Name Model Quantity Voltage system 5 V 24 V

FQM1-CM001 1 0.47 A ---

FQM1-MMP21 1 0.836 A ---

FQM1-MMA21 1 0.843 A 0.104 A Current con- sumption

Calculation 0.47 + 0.836 + 0.843 0.104 A

Result 2.15 A (≤ 2.8 A) 0.104 × 24 V = 2.5 W Power con- sumption

Calculation 2.15 × 5 V = 10.75 W ---

Result 10.75 + 2.5 = 13.75 W (≤ 14 W)

Combining Power Supply Units and Motion Control Modules

The following table shows the Power Supply Units that can be connected for different numbers of Motion Control Modules.

Number of axes Number of connected Motion Control

FQM1-MMP21 FQM1-MMA21

2 1 0 CJ1W-PA202 (or CJ1W-PA205R) 0 1

4 2 0 1 1

0 2 CJ1W-PA205R 6 3 0

1 2 0 3

8 4 0 3 1

2 2 1 3 Not possible (See note.) 0 4

Show 4 more labels / short text on this page
Coordinator Module · Motion Control Module · Power Supply Unit · Modules
Page 70 of the Omron Motion Controller Module (FQM1-CM001) user manual — Coordinator Module/Motion Control Module
Page 70 · click to enlarge
Page 70

Memory Block Diagram Section 2-7

2-7 Memory Block Diagram

Coordinator Module and Motion Control Module memory has the following block configurations.

  • I/O Memory Area: Memory accessible from user programs.
  • User Memory (UM): User programs and parameter area (See note 1.)

The following tables show the backup methods for these memory areas.

  • Coordinator Modules

User memory Flash memory I/O memory area (part of DM Area) Flash memory

  • Motion Control Modules

User memory Flash memory I/O memory area (part of DM Area) Super capacitor

Areas Backed Up by Super Capacitors

Data backed up by super capacitors is lost if the super capacitor voltage drops.

Areas Backed Up to Flash Memory

Data backed up to flash memory is not lost if the super capacity voltage drops.

Data transferred from the CX-Programmer or edited online and written to the user program or parameters in the user memory is automatically backed up to flash memory. This means that user memory data (both user program and parameter area data) is not lost if the super capacitor voltage drops.

Coordinator Module/Motion Control Module

I/O Memory Area I/O bit area Work bit areas Cyclic refresh bit area Sync data link bit area

DM Area D30000 to D32767 (See note 2.)

Parameter Area (See note 1.)

such as the System Setup.

(2) Data transferred to the Coordinator Module, e.g., from the CX-Program-

mer, is saved to flash memory. Motion Control Module data is backed up only by the super capacitor.

Show 7 more labels / short text on this page
Area Backup method · Area Backup method · Internal RAM · Backup · Super capacitor · Flash memory · User Program
Page 71 of the Omron Motion Controller Module (FQM1-CM001) user manual — Memory Block Diagram Section 2-7
Page 71 · click to enlarge
Page 71

Memory Block Diagram Section 2-7

Page 72 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 3 Installation and Wiring
Page 72 · click to enlarge
Page 72

SECTION 3 Installation and Wiring

This section describes how to install and wire the FQM1.

3-1 Installation 50

3-1-1 Installation and Wiring Precautions 50

3-1-2 Installation in a Control Panel 53

3-1-3 Assembled Appearance and Dimensions 54

3-1-4 Connecting FQM1 Components 56

3-1-5 DIN Track Installation 57

3-2 Wiring 60

3-2-1 Wiring Power Supply Units 60

3-2-2 RS-232C Port Wiring 64

3-3 Wiring Module Connectors 67

3-3-1 Connector Pin Arrangement 67

3-3-2 External Connection Diagrams 70

3-3-3 Wiring Examples 71

3-3-4 Wiring Methods 74

3-4 Wiring Servo Relay Units 75

3-5 List of FQM1 Connecting Cables 83

3-6 Wiring Precautions 85

3-6-1 Reducing Electrical Noise 85

3-6-2 Connecting I/O Devices 87

Page 73 of the Omron Motion Controller Module (FQM1-CM001) user manual — Accessibility for Operation and Maintenance
Page 73 · click to enlarge
Page 73

Installation Section 3-1

3-1 Installation

3-1-1 Installation and Wiring Precautions

Be sure to consider the following factors when installing and wiring the FQM1 to improve the reliability of the system and make the most of the FQM1’s func- tions.

Ambient Conditions Do not install the FQM1 in any of the following locations.

  • Locations subject to ambient temperatures lower than 0 ° C or higher than 55 ° C.
  • Locations subject to drastic temperature changes or condensation.
  • Locations subject to ambient humidity lower than 10% or higher than 90%.
  • Locations subject to corrosive or flammable gases.
  • Locations subject to excessive dust, salt, or metal filings.
  • Locations that would subject the FQM1 to direct shock or vibration.
  • Locations exposed to direct sunlight.
  • Locations that would subject the FQM1 to water, oil, or chemical reagents.

Be sure to enclose or protect the FQM1 sufficiently in the following locations.

  • Locations subject to static electricity or other forms of noise.
  • Locations subject to strong electromagnetic fields.
  • Locations subject to possible exposure to radioactivity.
  • Locations close to power lines.

Installation in Cabinets or Control Panels

When the FQM1 is being installed in a cabinet or control panel, be sure to pro- vide proper ambient conditions as well as access for operation and mainte- nance.

Temperature Control The ambient temperature within the enclosure must be within the operating range of 0°C to 55°C. When necessary, take the following steps to maintain the proper temperature.

  • Provide enough space for good air flow.
  • Do not install the FQM1 above equipment that generates a large amount of heat such as heaters, transformers, or high-capacity resistors.
  • If the ambient temperature exceeds 55 ° C, install a cooling fan or air conditioner.

Accessibility for Operation and Maintenance

  • To ensure safe access for operation and maintenance, separate the FQM1 as much as possible from high-voltage equipment and power equipment.
Show 5 more labels / short text on this page
Control panel · Fan · FQM1 Flexible · Motion Controller · Louver
Page 74 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1
Page 74 · click to enlarge
Page 74

Installation Section 3-1

  • The FQM1 will be easiest to install and operate if it is mounted at a height of about 1.0 to 1.6 m.

Improving Noise Resistance

  • Do not mount the FQM1 in a control panel containing high-voltage equipment.
  • Install the FQM1 at least 200 mm away from power lines.

200 mm min.

FQM1

200 mm min.

  • Ground the mounting plate between the FQM1 and the mounting surface.

Power lines

Page 75 of the Omron Motion Controller Module (FQM1-CM001) user manual — Installation Section 3-1
Page 75 · click to enlarge
Page 75

Installation Section 3-1

FQM1 Orientation • The FQM1 must be mounted in an upright position to provide proper cool- ing.

Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 75)
Fig. 24 · Installation Section 3-1

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

  • Do not install the FQM1 in any of the following positions.
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 75)
Fig. 25 · Installation Section 3-1
Page 76 of the Omron Motion Controller Module (FQM1-CM001) user manual — Wiring Ducts
Page 76 · click to enlarge
Page 76

Installation Section 3-1

3-1-2 Installation in a Control Panel

The FQM1 must be mounted inside a control panel on DIN Track.

Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 76)
Fig. 26 · Installation Section 3-1

Wiring Ducts

Use wiring ducts to wire the FQM1’s built-in I/O. Install the wiring ducts to facilitate wiring the built-in I/O. It is handy to have the duct at the same height as the FQM1.

20 mm min.

20 mm min.

Wiring Duct Example The following example shows the proper installation of wiring ducts.

Omron Motion Controller Module (FQM1-CM001) — Wiring Ducts diagram (page 76)
Fig. 27 · Wiring Ducts
M41.2 N·m M3: 0.5 N·m
Show 5 more labels / short text on this page
Duct · DIN Track · Unit · Duct · Terminal Screws
Page 77 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-1-3 Assembled Appearance and Dimensions
Page 77 · click to enlarge
Page 77

Installation Section 3-1

Routing Wiring Ducts Install the wiring ducts at least 20 mm away from the FQM1 and any other objects, (e.g., ceiling, wiring ducts, structural supports, and devices) to pro- vide enough space for air circulation and replacement of Modules.

Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 77)
Fig. 28 · Installation Section 3-1

Fuses, relays, timers, etc. (NOT heat-generating equipment, power equipment, etc.)

3-1-3 Assembled Appearance and Dimensions

The Modules that make up the FQM1 are connected to each other, and an End Module is connected to the right end.

Omron Motion Controller Module (FQM1-CM001) — 3-1-3 Assembled Appearance and Dimensions diagram (page 77)
Fig. 29 · 3-1-3 Assembled Appearance and Dimensions
Page 78 of the Omron Motion Controller Module (FQM1-CM001) user manual — Installation Dimensions
Page 78 · click to enlarge
Page 78

Installation Section 3-1

Assembled Dimensions

Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 78)
Fig. 30 · Installation Section 3-1

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

W = a + 49 + 49 × n* + 14.7

* n is the number of connected Motion Control Modules (Up to 4 can be con- nected.)

Power Supply Unit width“a” mm

Name Model Specifications Unit width Power Supply Unit

CJ1W-PA202 100 to 240 V AC, 14 W 45 mm

CJ1W-PA205R 100 to 240 V AC, 25 W 80 mm

Coordinator Module width49 mm

Name Model Module width Coordinator Module FQM1-CM001 49 mm

Motion Control Module width49 mm

Name Model Module width

Motion Control Module Pulse I/O FQM1-MMP21 49 mm Analog I/O FQM1-MMA21

End Module width14.7 mm

Name Model Module width

End Module FQM1-TER01 14.7 mm

Installation Dimensions

Omron Motion Controller Module (FQM1-CM001) — Installation Dimensions diagram (page 78)
Fig. 31 · Installation Dimensions

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

Page 79 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-1-4 Connecting FQM1 Components
Page 79 · click to enlarge
Page 79

Installation Section 3-1

Installation Height The installation height of the FQM1 varies from 115 to 165 mm.

When a CX-Programmer or connecting cables are connected, however, even greater height is required. Allow sufficient depth in the control panel contain- ing the FQM1.

Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 79)
Fig. 32 · Installation Section 3-1

3-1-4 Connecting FQM1 Components

The Modules that make up the FQM1 can be connected simply by pressing the Modules together and locking the sliders. The End Module is connected on the far right side of the FQM1.

1,2,3... 1. Insert the two hooks on the top of the Module to the hook holes on the oth- er Module, and join the Modules so that the connectors fit exactly.

Omron Motion Controller Module (FQM1-CM001) — 3-1-4 Connecting FQM1 Components diagram (page 79)
Fig. 33 · 3-1-4 Connecting FQM1 Components
Page 80 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-1-5 DIN Track Installation
Page 80 · click to enlarge
Page 80

Installation Section 3-1

2. Move the yellow sliders at the top and bottom of each Module until they click into place to lock the Modules together.
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 80)
Fig. 34 · Installation Section 3-1

Slide the sliders towards the back cover until they click into place.

3. Attach the End Module to the Module on the far right side of the FQM1.
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 80)
Fig. 35 · Installation Section 3-1

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

3-1-5 DIN Track Installation

Use the following procedure to install the FQM1 on DIN Track.

1,2,3... 1. Release the pins on the backs of the Modules.

Omron Motion Controller Module (FQM1-CM001) — 3-1-5 DIN Track Installation diagram (page 80)
Fig. 36 · 3-1-5 DIN Track Installation
Page 81 of the Omron Motion Controller Module (FQM1-CM001) user manual — Installation Section 3-1
Page 81 · click to enlarge
Page 81

Installation Section 3-1

2. Fit the back of the FQM1 onto the DIN Track by inserting the FQM1 onto the top of the Track and then pressing in at the bottom of the FQM1, as shown below.
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 81)
Fig. 37 · Installation Section 3-1
3. Lock the pins on the backs of the Modules.
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 81)
Fig. 38 · Installation Section 3-1

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

4. Install a DIN Track End Plate on each end of the FQM1. To install an End Plate, hook the bottom on the bottom of the track, rotate the Plate to hook the top of the Plate on the top of the track, and then tighten the screw to lock the Plate in place.
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 81)
Fig. 39 · Installation Section 3-1
Page 82 of the Omron Motion Controller Module (FQM1-CM001) user manual — DIN Track End Plates (2 Required)
Page 82 · click to enlarge
Page 82

Installation Section 3-1

DIN Track and Accessories

Use the DIN Track and DIN Track End Plates shown below.

  • DIN Track Model numbers: PFP-50N (50 cm), PFP-100N (100 cm), and PFP-100N2 (100 cm)
Omron Motion Controller Module (FQM1-CM001) — Installation Section 3-1 diagram (page 82)
Fig. 40 · Installation Section 3-1

Secure the DIN Track to the control panel using M4 screws separated by 210 mm (6 holes) or less and using at least 3 screws. The tightening torque is 1.2 N·m.

PFP-100N2 DIN Track

Omron Motion Controller Module (FQM1-CM001) — PFP-100N2 DIN Track diagram (page 82)
Fig. 41 · PFP-100N2 DIN Track

PFP-100N/50N DIN Track

Omron Motion Controller Module (FQM1-CM001) — PFP-100N/50N DIN Track diagram (page 82)
Fig. 42 · PFP-100N/50N DIN Track

DIN Track End Plates (2 Required)

Model numberPFP-M
Page 83 of the Omron Motion Controller Module (FQM1-CM001) user manual — NC
Page 83 · click to enlarge
Page 83

Wiring Section 3-2

3-2 Wiring

3-2-1 Wiring Power Supply Units

PA202

POWER

100 to 240 V Isolation transformer 1:1

AC100

INPUT

L2/N

NC

RUN output (See note.) ON when Coordinator Module is in RUN or MONITOR mode. OFF when in PROGRAM mode

NC

or during a fatal error.

AC Power Source • Supply 100 to 240 V AC.

  • Keep the voltage fluctuations within the specified range.

Supply voltage Allowable voltage fluctuations

100 to 240 V AC 85 to 264 V AC

  • If one power supply phase of the equipment is grounded, connect the grounded phase side to the L2/N terminal.

Isolation Transformer The FQM1's internal noise isolation circuits are sufficient to control typical noise in power supply lines, but noise between the FQM1 and ground can be significantly reduced by connecting a 1-to-1 isolation transformer. Do not ground the secondary coil of the transformer.

Power Supply Capacity The power consumption will be 100 VA max. for the CJ1W-PA205R and 50 VA for the CJ1W-PA202, but there will be a surge current of at least 5 times the max. current when the power is turned ON.

Show 4 more labels / short text on this page
M4 self-raising screws · AC power supply · AC power supply · Power supply
Page 84 of the Omron Motion Controller Module (FQM1-CM001) user manual — RUN
Page 84 · click to enlarge
Page 84

Wiring Section 3-2

Terminal Screws and Crimp Terminals

The terminals on the Power Supply Unit use M4, self-raising terminal screws.

(2) Do not connect bare stranded wires directly to terminals.

(3) Tighten the terminal block screws to a torque of 1.2 N·m.

Use M4 crimp terminals for AC power supplies.

Crimp Terminals for AC Power Supply

7 mm max.

20 mm max.

M4 self-raising terminal screws

Tightening torque 1.2 N•m

!Caution Tighten AC power supply terminal block screws to a torque of 1.2 N·m. Loose

screws may cause shorts, malfunctions, or fire.

(2) Do not remove the protective label from the top of the Power Supply Unit

until the wiring has been completed. This label prevents wire strands and other foreign matter from entering the Unit during wiring procedures.

(3) Do not forget to remove the label from the top of the Power Supply Unit

after wiring the Unit. The label will block air circulation needed for cooling.

Grounding

PA205R

POWER

INPUT AC100-240V

L2/N

LG (Noise-filtered neutral terminal) Ground separately with a resistance of less than 100 Ω to increase resistance to noise and to prevent electric shocks.

GR (Ground) Ground this terminal separately to less than 100 Ω to prevent electric shock.

RUN

DC24V AC240V OUTPUT

  • GR is the ground terminal. To help prevent electric shock, ground this terminal to less than 100 Ω and use special ground wire (minimum crosssectional area of 2 mm 2 ).
Page 85 of the Omron Motion Controller Module (FQM1-CM001) user manual — Wiring Section 3-2
Page 85 · click to enlarge
Page 85

Wiring Section 3-2

  • LG is a noise-filtered neutral terminal. If noise is a significant source of errors and to prevent electrical shocks, connect the line ground terminal to the ground terminal and ground both with a ground resistance of less than 100 Ω or less.
  • If connecting the line ground and ground terminals, always ground both to less than 100 Ω to prevent electrical shock.
  • The ground wire should not be more than 20 m long.
  • The FQM1 is designed to be mounted so that it is isolated (separated) from the mounting surface to protect it from the effects of noise in the installation environment (e.g., the control panel).

Ground the FQM1 system separately to a resistance of 100 Ω or less.

  • Do not share the FQM1's ground with other equipment or ground the FQM1 to the metal structure of a building. Doing so may worsen operation.

Control panel · FQM1 ground terminal

Page 86 of the Omron Motion Controller Module (FQM1-CM001) user manual — Crimp Terminals for Ground Wire
Page 86 · click to enlarge
Page 86

Wiring Section 3-2

LG

GR

GR

Ground to 100 Ω or less. Ground to 100 Ω or less.

FQM1

LG

GR

GR

Ground to 100 Ω or less. Ground to 100 Ω or less.

FQM1

LG

GR

GR

Terminal Screws and Crimp Terminals

The terminals on the Power Supply Unit use M4 self-raising terminal screws.

(2) Do not connect bare stranded wires directly to terminals.

(3) Tighten the terminal block screws to a torque of 1.2 N·m.

(4) Use M4 crimp terminals for AC power supplies.

Crimp Terminals for Ground Wire

7 mm max. 7 mm max.

Other equipment FQM1 · Other equipment · Other equipment

Page 87 of the Omron Motion Controller Module (FQM1-CM001) user manual — CD RD SD ER SG DR RS CS
Page 87 · click to enlarge
Page 87

Wiring Section 3-2

3-2-2 RS-232C Port Wiring

Connector Pin Arrangement

Pin No. Signal Name Direction 1 FG Protection earth ---

2 SD (TXD) Send data Output 3 RD (RXD) Receive data Input

4 RS (RTS) Request to send Output 5 CS (CTS) Clear to send Input

6 5V Power supply --- 7 DR (DSR) Data set ready Input

8 ER (DTR) Data terminal ready Output 9 SG (0V) Signal ground ---

Connector hood FG Protection earth ---

Connection Methods

1:1 Connections with Personal Computers

Host Link Serial Communications Mode

IBM PC/AT or compatible

Pin No.

Pin No.

FG SD RD RS CS

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9

CD RD SD ER SG DR RS CS

5V DR ER SG

9-pin D-sub connector (male)

9-pin D-sub connector (female)

Show 4 more labels / short text on this page
Coordinator Module · Signal Signal · RS-232C interface · RS-232C interface
Page 88 of the Omron Motion Controller Module (FQM1-CM001) user manual — Applicable Connectors
Page 88 · click to enlarge
Page 88

Wiring Section 3-2

Peripheral Bus (Toolbus) Serial Communications Mode

IBM PC/AT or compatible

Pin No.

Pin No.

FG SD RD RS CS

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9

CD RD SD ER SG DR RS CS

5V DR ER SG

9-pin D-sub connector (male)

9-pin D-sub connector (female)

Use the following connectors and cables if making the RS-232C cable for RS- 232C port connections.

Applicable Connectors

  • Coordinator Module Connector

Item Model Specifications Plug XM2A-0901 9-pin male Used together

Hood XM2S-0911-E 9-pin, millimeter screws, static resistant

  • IBM PC/AT or Compatible Connector (9-pin, Male)

Plug XM2D-0901 9-pin female Used together Hood XM2S-0913 9-pin, inch screws, static resistant

  • Connecting to an IBM PC/AT or Compatible

IBM PC/AT or compatible (9-pin, male)

PlugXM2D-0901 (9-pin, female)
HoodXM2S-0913
HoodXM2S-0911-E Plug: XM2A-0901

Recommended Cables Fujikura Ltd.: UL2464 AWG28 × 5P IFS-RVV-SB (UL product) AWG 28 × 5P IFVV-SB (non-UL product) Hitachi Cable, Ltd.: UL2464-SB (MA) 5P × 28AWG (7/0.127) (UL product) CO-MA-VV-SB 5P × 28AWG (7/0.127) (non-UL product)

Show 8 more labels / short text on this page
Coordinator Module · Signal Signall · RS-232C interface · RS-232C interface · Item Model Specifications · Coordinator Module · RS-232C port · Recommended cable
Page 89 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-232C Port Specifications
Page 89 · click to enlarge
Page 89

Wiring Section 3-2

Connection Example to Programmable Terminal (PT)

Direct Connection from RS-232C to RS-232C

PT

RS-232C

1:N NT Link

PT

Pin No.

Pin No.

FG FG SD RD RS CS

FG

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9

– SD RD RS CS

5V DR ER SG

5V – – SG

  • Communications Mode: NT Link (1:N, N = 1 node only)
  • OMRON Cables with Connectors: XW2Z200T (2 m) XW2Z500T (5 m)

RS-232C Port Specifications

Item Specification Communications method Half duplex

Synchronization Asynchronous Baud rate 0.3, 0.6, 1.2, 2.4, 4.8, 9.6, 19.2, 38.4, or 57.6 kbps (See note.) Transmission distance 15 m max.

Interface EIA RS-232C Protocol Host Link, 1:N NT Link, No-protocol, or Peripheral Bus (Toolbus)

Show 9 more labels / short text on this page
RS-232C port · Coordinator Unit · Signal Signal · Shell · Shell · RS-232C interface · RS-232C interface · 9-pin D-sub (male) · 9-pin D-sub (male)
Page 90 of the Omron Motion Controller Module (FQM1-CM001) user manual — CN1
Page 90 · click to enlarge
Page 90

Wiring Module Connectors Section 3-3

3-3 Wiring Module Connectors

3-3-1 Connector Pin Arrangement

The following tables provide the connector pin arrangement for FQM1 Mod- ules.

FQM1-CM001 Coordinator Module

General-purpose I/O 40-pin Connector

Pin No.

Name Address Pin No.

1 External input 0 CIO 0000.00 2 External input 8 CIO 0000.08 3 External input 1 CIO 0000.01 4 External input 9 CIO 0000.09

5 External input 2 CIO 0000.02 6 External input 10 CIO 0000.10 7 External input 3 CIO 0000.03 8 External input 11 CIO 0000.11

9 External input 4 CIO 0000.04 10 External input 12 CIO 0000.12 11 External input 5 CIO 0000.05 12 External input 13 CIO 0000.13

13 External input 6 CIO 0000.06 14 External input 14 CIO 0000.14 15 External input 7 CIO 0000.07 16 External input 15 CIO 0000.15

17 Common for external inputs 0 to 7

--- 18 Common for external inputs 8 to 15

CN1

19 External output 0 CIO 0001.00 20 External output 4 CIO 0001.04 21 External output 1 CIO 0001.01 22 External output 5 CIO 0001.05

23 External output 2 CIO 0001.02 24 External output 6 CIO 0001.06 25 External output 3 CIO 0001.03 26 External output 7 CIO 0001.07

27 Common for external outputs 0 to 8

28 Power supply for exter- nal outputs 0 to 8

29 Not used. 30 Not used. 31 Not used. 32 Not used.

33 SDA− (RS-422A) 34 RDA− (RS-422A) 35 SDB+ (RS-422A) 36 RDB+ (RS-422A)

37 Not used. 38 Not used. 39 Not used. 40 Not used.

Name Address

Page 91 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-MMP21 Pulse I/O 40-pin Connector
Page 91 · click to enlarge
Page 91

Wiring Module Connectors Section 3-3

FQM1-MM @ 21 Motion Control Modules

General-purpose I/O 26-pin Connector

Omron Motion Controller Module (FQM1-CM001) — General-purpose I/O 26-pin Connector diagram (page 91)
Fig. 43 · General-purpose I/O 26-pin Connector

16 External input 4 CIO 0000.04 15 External input 10 CIO 0000.10 14 External input 5 CIO 0000.05 13 External input 11 CIO 0000.11

10 External output 0 CIO 0001.00 9 External output 4 CIO 0001.04 8 External output 1 CIO 0001.01 7 External output 5 CIO 0001.05

6 External output 2 CIO 0001.02 5 External output 6 CIO 0001.06 4 External output 3 CIO 0001.03 3 External output 7 CIO 0001.07

1 Power supply for exter- nal outputs 0 to 7

FQM1-MMP21 Pulse I/O 40-pin Connector

Omron Motion Controller Module (FQM1-CM001) — FQM1-MMP21 Pulse I/O 40-pin Connector diagram (page 91)
Fig. 44 · FQM1-MMP21 Pulse I/O 40-pin Connector

1 Counter 1 Phase A 24 V 2 Counter 2 Phase A 24 V

3 Phase A LD+ 4 Phase A LD+ 5 Phase A LD−/0 V 6 Phase A LD−/0 V

7 Phase B 24 V 8 Phase B 24 V 9 Phase B LD+ 10 Phase B LD+

11 Phase B LD−/0 V 12 Phase B LD−/0 V 13 Phase Z 24 V 14 Phase Z 24 V

15 Phase Z LD+ 16 Phase Z LD+ 17 Phase Z LD−/0 V 18 Phase Z LD−/0 V

19 Latch signal 1 input 20 Latch signal 2 input 21 Latch signal common 22 Latch signal common

Page 92 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-MMA21 Analog I/O 40-pin Connector
Page 92 · click to enlarge
Page 92

Wiring Module Connectors Section 3-3

Omron Motion Controller Module (FQM1-CM001) — Wiring Module Connectors Section 3-3 diagram (page 92)
Fig. 45 · Wiring Module Connectors Section 3-3

23 Counter 1 SEN output signal for absolute Servo Driver

SEN output 24 Counter 2 SEN output signal for absolute Servo Driver

25 SEN_0 V 26 Power supply for pulse outputs

5-V GND 27 5-V power for SEN output 28 5-V power for pulse outputs

29 Pulse 1 CW+ 30 Pulse 2 CW+ 31 CW− 32 CW−

33 CCW+ 34 CCW+ 35 CCW− 36 CCW−

37 One-shot pulse output 1 38 One-shot pulse output 2 39 Common for one-shot pulse output

FQM1-MMA21 Analog I/O 40-pin Connector

Omron Motion Controller Module (FQM1-CM001) — FQM1-MMA21 Analog I/O 40-pin Connector diagram (page 92)
Fig. 46 · FQM1-MMA21 Analog I/O 40-pin Connector

1 Counter 1 Phase A 24 V 2 Counter 2 Not used. 3 Phase A LD+ 4 Phase A LD+

5 Phase A LD−/0 V 6 Phase A LD−/0 V 7 Phase B 24 V 8 Not used.

9 Phase B LD+ 10 Phase B LD+ 11 Phase B LD−/0 V 12 Phase B LD−/0 V

13 Phase Z 24 V 14 Not used. 15 Phase Z LD+ 16 Phase Z LD+

17 Phase Z LD−/0 V 18 Phase Z LD−/0 V

19 Latch signal 1 input 20 Latch signal 2 input 21 Latch signal common 22 Latch signal common

23 Counter 1 SEN output signal for absolute Servo Driver

SEN output 24 Counter 2 SEN output signal for absolute Servo Driver

27 5-V power for SEN output 28 Not used. 29 --- Not used. 30 Not used.

Page 93 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Outputs
Page 93 · click to enlarge
Page 93

Wiring Module Connectors Section 3-3

Pin.

Name Pin.

No.

No.

33 Analog input Voltage input (+) 34 Analog input Current input (See note.)

35 Voltage input (−) 36 (Current input common) 37 Analog output 1 Voltage output (+) 38 Analog output 2 Voltage output (+)

39 Voltage output (−) 40 Voltage output (−)

3-3-2 External Connection Diagrams

The connections with the Servo Drivers, the main type of device connected, are outlined in the following tables.

FQM1-MM @ 21 Motion Control Modules

Pulse Outputs

Motion Control Module W-series Servo Driver General- Purpose I/O Connector (26 pin)

Inputs Positioning Completed Signal INP1 Positioning completed output

Origin Proximity Input Signal CCW Limit Input

CW Limit Input Outputs Servo ON RUN RUN command input

Alarm reset RESET Alarm reset input Error Counter Reset ECRST Error Counter Reset Input

Special I/O Connector (40 pin)

Inputs Phase Z LD+ +Z Encoder output phase Z Phase Z LD− −Z Encoder output phase Z

Outputs Pulse output CCW CCW Forward pulse Pulse output CW CW Reverse pulse

Analog Outputs

Motion Control Module W-series Servo Driver

General- purpose I/O Connector (26 pin)

Inputs Origin Proximity Input Signal CCW Limit Input

CW Limit Input Outputs Servo ON RUN Run command input

Alarm reset RESET Alarm reset input Special I/O Connector (40 pin)

Inputs Phase A LD+ +A Encoder output phase A

Phase A LD− −A Encoder output phase A Phase B LD+ +B Encoder output phase B

Phase B LD− −B Encoder output phase B Phase Z LD+ +Z Encoder output phase Z

Phase Z LD− −Z Encoder output phase Z Outputs Analog output 1 (+) REF Speed command input

Analog output 1 (−) AGND Speed command input Analog output 2 (+) TREF Torque command input

Analog output 2 (−) AGND Torque command input

Name

Page 94 of the Omron Motion Controller Module (FQM1-CM001) user manual — Wiring Module Connectors Section 3-3
Page 94 · click to enlarge
Page 94

Wiring Module Connectors Section 3-3

3-3-3 Wiring Examples

Connect the output from an encoder to the connector in the following way, according to the port's counter operation.

Omron Motion Controller Module (FQM1-CM001) — Wiring Module Connectors Section 3-3 diagram (page 94)
Fig. 47 · Wiring Module Connectors Section 3-3

24 V: 1 (5) 24 V: 2 (6) Encoder input A Encoder phase-A input Increment pulse input Pulse input 24 V: 7 (11) 24 V: 8 (12) Encoder input B Encoder phase-B input Decrement pulse input Direction signal input

Example • The wiring for an encoder (24 V) with an open-collector output is shown below. These examples are for encoders with phases A, B, and Z.

Omron Motion Controller Module (FQM1-CM001) — Wiring Module Connectors Section 3-3 diagram (page 94)
Fig. 48 · Wiring Module Connectors Section 3-3

Do not share the power supply with other I/O)

Page 95 of the Omron Motion Controller Module (FQM1-CM001) user manual — Wiring Module Connectors Section 3-3
Page 95 · click to enlarge
Page 95

Wiring Module Connectors Section 3-3

  • The wiring for an encoder with a line-driver output (Am26LS31 or equivalent) is shown below.
Omron Motion Controller Module (FQM1-CM001) — Wiring Module Connectors Section 3-3 diagram (page 95)
Fig. 49 · Wiring Module Connectors Section 3-3

Connecting a Servo Driver (OMRON's W Series) Compatible with an Absolute Encoder (FQM1-MMP21/MMA21)

Omron Motion Controller Module (FQM1-CM001) — Wiring Module Connectors Section 3-3 diagram (page 95)
Fig. 50 · Wiring Module Connectors Section 3-3
Page 96 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-MMP21
Page 96 · click to enlarge
Page 96

Wiring Module Connectors Section 3-3

Connecting Pulse Outputs (FQM1-MMP21)

5 V-DC power supply Servo Driver (for 5-V inputs)

FQM1-MMP21

5-V DC power supply for output

Example Connections with a Servo Driver are given below, as an example.

5-V DC power supply Servo Driver (Line receiver input)

FQM1-MMP21

5-V DC power supply for outputs

SG (See note.)

signal ground (SG for the Servo Driver's line receiver input and the GND for the 5-V DC power supply.

Show 22 more labels / short text on this page
− + · 29/30 · (+) · CW pulse output · 31/32 · (−) · 33/34 · (+) · CCW pulse output · 35/36 · (−) · − + · 29/30 · (+) · CW pulse outputs · 31/32 · (−) · 33/34 · (+) · CCW pulse outputs · 35/36 · (−)
Page 97 of the Omron Motion Controller Module (FQM1-CM001) user manual — (OMRON)
Page 97 · click to enlarge
Page 97

Wiring Module Connectors Section 3-3

Connecting Analog Outputs (FQM1MMA21)

Output signals are connected as shown in the following diagram.

FQM1-MMA21

Pin No.

38 (V2+)

40 (V2 − )

Analog output 1 37 (V1+)

39 (V1 − )

Connecting Analog Inputs (FQM1-MMA21)

Voltage Input

FQM1

Pin No.

Analog input 33 (V1+)

35 (V1 − )

Current Input

FQM1

Pin No.

Analog input 33 (V1+)

35 (V1 − )

3-3-4 Wiring Methods

Either make a cable using the special connector (purchased separately), or connect to a terminal block using an OMRON special cable with a connector.

output circuits and the input voltage of I/O circuits.

(2) Do not mistake positive and negative when wiring power supply, where

there are positive and negative terminals.

(3) To conform to the EC Low Voltage Directive, use a DC power supply for

I/O that has reinforced or double insulation.

(4) Check that the connector wiring has been performed correctly before

supplying power.

(5) Do not pull on cables. Doing so may result in disconnection.

(6) Do not bend cables beyond their natural limit. Doing so may result in dis-

connection.

Connectors

Connecting MIL Connectors

Connector type Number of

Ordering as a set

DDK Ltd.

(OMRON)

Pressure welded 26 pins XG4M-2630-T FRC5-A026-3T0S 40 pins XG4M-4030-T FRC5-A040-3T0S

Show 17 more labels / short text on this page
40-pin connector · + · Analog output 2 · − · + · − · Shield · Special I/O connector · + · − · Shield · Special I/O connector · 34 Current input · + · − · Shield · pins
Page 98 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-4 Wiring Servo Relay Units
Page 98 · click to enlarge
Page 98

Wiring Servo Relay Units Section 3-4

Applicable Connector-Terminal Block Conversion Units

Omron Motion Controller Module (FQM1-CM001) — Wiring Servo Relay Units Section 3-4 diagram (page 98)
Fig. 51 · Wiring Servo Relay Units Section 3-4

Recommended Wire Size

The recommended size for cable wires is AWG24 to AWG26 (0.2 to 0.13 mm2). Use a cable with an outer diameter of less than 1.61 mm.

3-4 Wiring Servo Relay Units

XW2B-80J7-1A Servo Relay Units can be used to connect Motion Control Modules and Servo Drivers.

A Servo Relay Unit simplifies wiring, e.g., from a Motion Control Module to two Servo Drivers, for general-purpose I/O wiring, such as for switches and sensors, and for RS-422A line wiring.

Omron Motion Controller Module (FQM1-CM001) — 3-4 Wiring Servo Relay Units diagram (page 98)
Fig. 52 · 3-4 Wiring Servo Relay Units

The Servo Relay Unit uses a special cable and simplifies connections from one Motion Control Module to two Servo Drivers, such as the W Series and SMARTSTEP Series.

Servo Relay Units can be mounted to DIN Track or on the panel itself.

Page 99 of the Omron Motion Controller Module (FQM1-CM001) user manual — 6 RXD − 7 ---
Page 99 · click to enlarge
Page 99

Wiring Servo Relay Units Section 3-4

Nomenclature and Functions

6. Signal switches
4. RS-422 connectors 7. Terminating resistance switch
8. Servo Driver # 2 phase B switch
Omron Motion Controller Module (FQM1-CM001) — Wiring Servo Relay Units Section 3-4 diagram (page 99)
Fig. 53 · Wiring Servo Relay Units Section 3-4
1. Motion Control Module 40-pin connector
8. Servo Driver # 1 phase B switch
3. Servo Driver #2 connector
2. Motion Control Module 34-pin connector
3. Servo Driver #1 connector

Mounting hole (Can be mounted to DIN Track.) 5. Screw-less Clamp Terminal Block (40 terminals each on upper and lower tiers)

1,2,3... 1. Motion Control Module 40-pin Connector Connects to the 40-pin connector on the Motion Control Module.

2. Motion Control Module 34-pin Connector Connects to the 26-pin connector on the Motion Control Module. The Motion Control Module general-purpose I/O is allocated to the clamp terminal block.
3. Servo Driver Connectors Connects to two Servo Drivers.

FQM1-MMP21 XW2Z- @@@ J-A28 XW2Z- @@@ J-A30

XW2Z-@@@J-B9 W-series Servo Driver XW2Z-@@@J-B10 SMARTSTEP

FQM1-MMA21 XW2Z- @@@ J-A28 XW2Z- @@@ J-A31

XW2Z-@@@J-B13 W-series Servo Driver

4. RS-422 Connector

Pin No. Signal 1 TXD−

2 TXD+ 3 ---

4 --- 5 ---

6 RXD − 7 ---

8 RXD+ 9 ---

5. Screw-less, Clamp Terminal Block (80 Terminals) The clamp terminal block is used for the Motion Control Module generalpurpose I/O and the Servo Driver control signals. It is also used for external device connections, such as analog inputs and latch signal inputs.
Show 7 more labels / short text on this page
Motion Control · Corresponding connecting cable · Servo Driver · Servo Driver · Module · cable · Case FG
Page 100 of the Omron Motion Controller Module (FQM1-CM001) user manual — Lower Terminal Block Pin Arrangement
Page 100 · click to enlarge
Page 100

Wiring Servo Relay Units Section 3-4

Omron Motion Controller Module (FQM1-CM001) — Wiring Servo Relay Units Section 3-4 diagram (page 100)
Fig. 54 · Wiring Servo Relay Units Section 3-4

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

Upper Terminal Block Pin Arrangement

Omron Motion Controller Module (FQM1-CM001) — Upper Terminal Block Pin Arrangement diagram (page 100)
Fig. 55 · Upper Terminal Block Pin Arrangement

No. 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

No. 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59

Lower Terminal Block Pin Arrangement

Omron Motion Controller Module (FQM1-CM001) — Lower Terminal Block Pin Arrangement diagram (page 100)
Fig. 56 · Lower Terminal Block Pin Arrangement

No. 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

No. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Module.

(2) Used as the power supply for FQM1-MMP21 pulse outputs or SEN out-

puts for Servo Drivers compatible with absolute encoder.

(3) IN4 to IN11 and OUT0 to OUT7 are used for the servo control signal pow-

er supply.

(4) IN0 to IN3 (interrupt inputs) are used for the latch input power supply.

Page 101 of the Omron Motion Controller Module (FQM1-CM001) user manual — SW7
Page 101 · click to enlarge
Page 101

Wiring Servo Relay Units Section 3-4

6. Signal Switches

TER_A

TE R_B CUR

SER_A

SER_B

SER_Z

VOL

CNT1

CNT1

CNT1 DA2

AD

CNT1 SER_A

SER_A Connects the Servo #1 phase A to the Motion Control Module's CNT1 phase A.

TER_A Connects the external encoder phase A to the Motion Control Module's CNT1 phase A. (See note a.)

CNT1 SER_B

SER_B Connects the Servo #1 phase B to the Motion Control Module's CNT1 phase B. TER_B Connects the external encoder phase B to the Motion Control Module's CNT1 phase B. (See note a.) CNT1 SER_Z

SER_Z Connects the Servo #1 phase Z to the Motion Control Module's CNT1 phase Z. TER_Z Outputs the Servo #1 phase Z output from the terminal.

DA2 Y axis Connects FQM1-MMA21 analog output 2 to Servo #2 REF. X axis Connects FQM1-MMA21 analog output 2 to Servo #1 TREF. AD VOL Sets analog inputs as voltage inputs.

CUR Sets analog inputs as current inputs. (See note b.)

(b) For 4 to 20 mA current inputs, voltage input (+) and current input

do not need to be connected.

7. Terminating Resistance Switch Set this terminating resistance switch to ON when the Servo Relay Unit is at the end of the RS-422A line and the PORT2 terminal is not connected to PORT1 on another Servo Relay Unit.

TERM

ON

SW6

OFF

8. Servo Driver Phase B Switches When the high-speed counter is set to absolute mode CW in the System Setup, inputs are the inverse of the phase from the encoder output phase B from the Servo Driver. The high-speed counter is used in incremental mode for all other System Setup settings.

Servo #2 phase B switch

Servo #1 phase B switch

SW7

SW8

INC INC

Show 5 more labels / short text on this page
TER_Z X axis · Y axis · Switch Setting details · servo2 ABS_CW- · servo1 ABS_CW-
Page 102 of the Omron Motion Controller Module (FQM1-CM001) user manual — Wiring Screw-less Clamp Terminal Blocks
Page 102 · click to enlarge
Page 102

Wiring Servo Relay Units Section 3-4

External Dimensions

Omron Motion Controller Module (FQM1-CM001) — Wiring Servo Relay Units Section 3-4 diagram (page 102)
Fig. 57 · Wiring Servo Relay Units Section 3-4

Wiring Screw-less Clamp Terminal Blocks

Screw-less clamp terminal blocks use clamps to attach wires, and do not require screws. In addition to control signal wiring to Servo Drivers, clamp ter- minal blocks can be used to connect sensors and external devices. A ferrule, however, must be connected to the sensor or external device cable when con- necting to clamp terminal blocks.

The following table shows the suitable ferrules.

Omron Motion Controller Module (FQM1-CM001) — Wiring Screw-less Clamp Terminal Blocks diagram (page 102)
Fig. 58 · Wiring Screw-less Clamp Terminal Blocks

Phoenix Contact Inc. AI-0.5-10 0.5 mm2 (20AWG) AI-0.75-10 0.75 mm2 (18AWG)

AI-1.5-10 1.25 mm2 (16AWG) Nihon Weidmuller Co. Ltd. H 0.5/16 D 0.5 mm2 (20AWG)

H 0.75/16 D 0.75 mm2 (18AWG) H 1.5/16 D 1.25 mm2 (16AWG)

Wiring Method • Inserting Wires Insert the ferrule into the terminal hole.

  • Removing Wires Push and hold the release button on top of the terminal hole with a small flat-blade screwdriver and remove the wire.
Omron Motion Controller Module (FQM1-CM001) — Wiring Screw-less Clamp Terminal Blocks diagram (page 102)
Fig. 59 · Wiring Screw-less Clamp Terminal Blocks

+V

08 07 06 05 04 03 02

The following screwdriver can be used when removing wires.

Page 103 of the Omron Motion Controller Module (FQM1-CM001) user manual — Recommended Screwdriver
Page 103 · click to enlarge
Page 103

Wiring Servo Relay Units Section 3-4

Recommended Screwdriver

Model Manufacturer SZF1 Phoenix Contact Inc.

3.5 mm 0.6 mm

Side Front

Page 104 of the Omron Motion Controller Module (FQM1-CM001) user manual — Wiring Servo Relay Units Section 3-4
Page 104 · click to enlarge
Page 104

Wiring Servo Relay Units Section 3-4

Wiring when Using Servo Relay Units

Omron Motion Controller Module (FQM1-CM001) — Wiring Servo Relay Units Section 3-4 diagram (page 104)
Fig. 60 · Wiring Servo Relay Units Section 3-4

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

Coordinator Module Motion Control Modules (Up to 4 Modules can be connected)

Page 105 of the Omron Motion Controller Module (FQM1-CM001) user manual — Lower Terminal Block Arrangement
Page 105 · click to enlarge
Page 105

Wiring Servo Relay Units Section 3-4

Example Servo Relay Unit Wiring

When Servo Relay Units for the FQM1 are used, the I/O power supply is pro- vided from terminals 20-0, 21-1, and 60-40. The only additional wiring required are the connections between the signals, as shown in the following diagram.

Omron Motion Controller Module (FQM1-CM001) — Wiring Servo Relay Units Section 3-4 diagram (page 105)
Fig. 61 · Wiring Servo Relay Units Section 3-4

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

Upper Terminal Block Arrangement

Omron Motion Controller Module (FQM1-CM001) — Upper Terminal Block Arrangement diagram (page 105)
Fig. 62 · Upper Terminal Block Arrangement

60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59

Lower Terminal Block Arrangement

Omron Motion Controller Module (FQM1-CM001) — Lower Terminal Block Arrangement diagram (page 105)
Fig. 63 · Lower Terminal Block Arrangement

20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Page 106 of the Omron Motion Controller Module (FQM1-CM001) user manual — Connecting Cable Models
Page 106 · click to enlarge
Page 106

List of FQM1 Connecting Cables Section 3-5

3-5 List of FQM1 Connecting Cables

It is recommended that special cables are used when connecting Coordinator and Motion Control Modules to Servo Relay Units.

Omron Motion Controller Module (FQM1-CM001) — List of FQM1 Connecting Cables Section 3-5 diagram (page 106)
Fig. 64 · List of FQM1 Connecting Cables Section 3-5

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

IN OUT 0 1 2 3 4 5 6 7 8 9 10 11

Connecting Cable Models

1,2,3... 1. Connector-Terminal Block Conversion Unit Cables (for FQM1-CM001, 40- pin MIL Connector)

Omron Motion Controller Module (FQM1-CM001) — Connecting Cable Models diagram (page 106)
Fig. 65 · Connecting Cable Models

Specifications Model Connects FQM1-CM001 and XW2D-40G6 Connector-Terminal Block Conversion Unit.

2. Servo Relay Unit Connecting Cables (for FQM1-MMP21/MMA21, 26-pin MIL Connector)

Specifications Model Connects FQM1-MMP21 and Servo Relay Unit.

0.5 m XW2Z-050J-A28

1 m XW2Z-100J-A28

Page 107 of the Omron Motion Controller Module (FQM1-CM001) user manual — 6 RXD − 7 ---
Page 107 · click to enlarge
Page 107

List of FQM1 Connecting Cables Section 3-5

3. Servo Relay Unit Connecting Cables (for FQM1-MMP21/MMA21, 40-pin MIL Connector)

Specifications Model Connects FQM1-MMP21 and Servo Relay Unit.

0.5 m XW2Z-050J-A30

1 m XW2Z-100J-A30 Connects FQM1-MMA21 and Servo Relay Unit.

0.5 m XW2Z-050J-A31

4. RS-422A Connecting Cables (with 9-pin D-sub Connector)

Connects RS-422A between Servo Relay Units.

1 m XW2Z-100J-C1 2 m XW2Z-200J-C1

5. Servo Driver Connecting Cables (Servo Relay Unit to Servo Driver)

Specifications Model FQM1-MMP21 Connects Servo Relay Unit and W-series Servo Driver.

Connects Servo Relay Unit and SMARTSTEP.

2 m XW2Z-200J-B10 FQM1-MMA21 Connects Servo Relay Unit and W-series Servo Driver.

6. Servomotor Connecting Cables Refer to the catalog for the Servo Driver or Servomotor to be connected.
7. RS-422A Cable, connects Connector-Terminal Block Conversion Unit and Servo Relay Unit.
  • Cut off one end of the RS-422A cable listed above (4.) and attach crimp terminals.

Pin No. Signal 1 TXD−

2 TXD+ 3 ---

4 --- 5 ---

6 RXD − 7 ---

8 RXD+ 9 ---

Show 8 more labels / short text on this page
1 m XW2Z-100J-A31 · Specifications Model · 1 m XW2Z-100J-B9 · 2 m XW2Z-200J-B9 · 1 m XW2Z-100J-B10 · 1 m XW2Z-100J-B13 · 2 m XW2Z-200J-B13 · Case FG
Page 108 of the Omron Motion Controller Module (FQM1-CM001) user manual — 3-6-1 Reducing Electrical Noise
Page 108 · click to enlarge
Page 108

Wiring Precautions Section 3-6

  • Attach the modified cable to the XW2D-40G6 Connector-Terminal Block Conversion Unit.
Omron Motion Controller Module (FQM1-CM001) — Wiring Precautions Section 3-6 diagram (page 108)
Fig. 66 · Wiring Precautions Section 3-6

3-6 Wiring Precautions

3-6-1 Reducing Electrical Noise

I/O Signal Wiring Whenever possible, place I/O signal lines and power lines in separate ducts or raceways both inside and outside of the control panel.

Omron Motion Controller Module (FQM1-CM001) — 3-6-1 Reducing Electrical Noise diagram (page 108)
Fig. 67 · 3-6-1 Reducing Electrical Noise

If the I/O wiring and power wiring must be routed in the same duct, use shielded cable and connect the shield to the GR terminal to reduce noise.

Page 109 of the Omron Motion Controller Module (FQM1-CM001) user manual — COM
Page 109 · click to enlarge
Page 109

Wiring Precautions Section 3-6

Inductive Loads When an inductive load is connected to I/O, connect a surge suppressor or diode in parallel with the load as shown below.

IN

OUT

Relay output or triac output Surge suppressor

COM

COM

OUT

Relay output or transistor output Diode

COM

Surge suppressor specifications Diode specifications Resistor: 50 Ω Capacitor: 0.47 µF Voltage: 200 V

Breakdown voltage3 times load voltage min. Mean rectification current: 1 A

External Wiring Observe the following precautions for I/O wiring, power supply wiring, and power line wiring.

  • When multi-conductor signal cable is being used, do not combine I/O wires and other control wires in the same cable.
  • If wiring racks are parallel, allow at least 300 mm between the racks.

300 mm min.

FQM1 power supply and general control circuit wiring

300 mm min.

Ground to 100 Ω or less

  • If the I/O wiring and power cables must be placed in the same duct, they must be shielded from each other using grounded steel sheet metal.

FQM1 power supply and general

control wiring Power lines Steel sheet metal

200 mm min.

Ground to 100 Ω or less

Show 9 more labels / short text on this page
Diode · DC input · + · Low-current cables · FQM1 I/O wiring · Control cables · Control cables · Power lines · FQM1 I/O wiring
Page 110 of the Omron Motion Controller Module (FQM1-CM001) user manual — IN
Page 110 · click to enlarge
Page 110

Wiring Precautions Section 3-6

3-6-2 Connecting I/O Devices

Input Devices Use the following information for reference when selecting or connecting input devices.

DC Inputs The following types of DC input devices can be connected.

IN

COM

IN

COM + +

IN

COM 7 mA 0 V

Show 11 more labels / short text on this page
Contact output · DC input · Two-wire DC output · DC input · Sensor power supply · NPN open-collector output · + · Sensor power supply · DC input · Output · +
Page 111 of the Omron Motion Controller Module (FQM1-CM001) user manual — IN
Page 111 · click to enlarge
Page 111

Wiring Precautions Section 3-6

IN

7 mA 0 V

COM +

IN

COM 7 mA 0 V

COM

IN

  • The circuit below should NOT be used for I/O devices having a voltage output.

Sensor power supply DC input

IN

COM −

Precautions when Connecting a Two-wire DC Sensor

When using a two-wire sensor with a 24-V DC input device, check that the fol- lowing conditions have been met. Failure to meet these conditions may result in operating errors.

1,2,3... 1. Relation between the FQM1 ON voltage and the sensor residual voltage:

VON ≤ VCC – VR 2. Relation between the FQM1 ON current and sensor control output (load current):

IOUT (min) ≤ ION ≤ IOUT (max.) ION = (VCC – VR – 1.5 [FQM1 internal residual voltage])/RIN If ION is smaller than IOUT (min), connect a bleeder resistor R. The bleeder resistor constant can be calculated as follows:

R ≤ (VCC – VR)/(IOUT (min.) – ION)

Power W ≥ (VCC – VR)2/R × 4 [allowable margin]

Show 19 more labels / short text on this page
NPN current output · + · Current regulator · Output · DC input · Sensor power supply · + · PNP current output · + · Sensor power supply · Output · DC input · Voltage output · + + · Output · DC input · Sensor power supply · + · Output
Page 112 of the Omron Motion Controller Module (FQM1-CM001) user manual — Transistor Output Residual Voltage
Page 112 · click to enlarge
Page 112

Wiring Precautions Section 3-6

3. Relation between FQM1 OFF current and sensor leakage current:

IOFF ≥ Ileak Connect a bleeder resistor R if Ileak is greater than IOFF. Use the following equation to calculate the bleeder resistance constant.

R ≤ (RIN × VOFF)/(Ileak × RIN – VOFF)

Power W ≥ (VCC – VR)2/R × 4 [allowable margin]

R V R

R IN

VCC: VON: VOFF: ION: IOFF: RIN:

Power voltage FQM1 ON voltage FQM1 OFF voltage FQM1 ON current FQM1 OFF current FQM1 input impedance

V RI OUT : I leak : R:

Sensor output residual voltage Sensor control current (load current) Sensor leakage current Bleeder resistance

4. Precautions on Sensor Surge Current

An incorrect input may occur if a sensor is turned ON after the FQM1 has started up to the point where inputs are possible. Determine the time re- quired for sensor operation to stabilize after the sensor is turned ON and take appropriate measures, such as inserting into the program a timer de- lay after turning ON the sensor.

Programming Example In this example, the sensor’s power supply voltage is used as the input to CIO 0000.00 and a 100-ms timer delay (the time required for an OMRON Proximity Sensor to stabilize) is created in the program. After the Completion Flag for the timer turns ON, the sensor input on CIO 0000.01 will cause output bit CIO 0001.00 to turn ON.

0000.00

TIM

TIM0000 0000.01

0001.00

Output Wiring Precautions

Output Short-circuit Protection

If a load connected to the output terminals is short-circuited, output compo- nents and printed circuit boards may be damaged. To guard against this, incorporate a fuse in the external circuit. Use a fuse with a capacity of about twice the rated output.

Transistor Output Residual Voltage

A TTL circuit cannot be connected directly to a transistor output because of the transistor’s residual voltage. It is necessary to connect a pull-up resistor and a CMOS IC between the two.

DC input · Two-wire sensor · #0001

Page 113 of the Omron Motion Controller Module (FQM1-CM001) user manual — R
Page 113 · click to enlarge
Page 113

Wiring Precautions Section 3-6

Output Surge Current When connecting a transistor or triac output to an output device having a high surge current (such as an incandescent lamp), steps must be taken to avoid damage to the transistor or triac. Use either of the following methods to reduce the surge current.

Method 1

Add a resistor that draws about 1/3 of the current consumed by the bulb.

L + FQM1

OUT

R

COM

Method 2

Add a control resistor as shown in the following diagram.

R

L + FQM1

OUT

COM

Page 114 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 4
Page 114 · click to enlarge
Page 114

SECTION 4

Operation

This section describes the operation of the FQM1.

4-1 Coordinator Module 92

4-1-1 Outline 92

4-1-2 Coordinator Module Operation 93

4-1-3 I/O Refreshing and Peripheral Servicing 94

4-1-4 Startup Initialization 94

4-2 Motion Control Modules 95

4-2-1 Outline 95

4-2-2 Description of Each Area 95

4-2-3 Motion Control Module Operation 96

4-3 Operating Modes 99

4-3-1 Operating Modes 99

4-3-2 Status and Operations in Each Operating Mode 99

4-3-3 Operating Mode Changes and I/O Memory 100

4-4 Power OFF Operation 100

4-4-1 Power OFF Operation 100

4-4-2 Instruction Execution for Power Interruptions 102

Page 115 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-1-1 Outline
Page 115 · click to enlarge
Page 115

Coordinator Module Section 4-1

4-1 Coordinator Module

The FQM1 Coordinator Module and each Motion Control Module have sepa- rate ladder programming. Each Module independently processes the ladder programming, I/O, and peripheral servicing to achieve high-speed I/O response somewhat like a system of multiple CPU Units.

4-1-1 Outline

The Coordinator Module mainly manages FQM1 operation and performs peripheral servicing. It has 24 general-purpose I/O, a peripheral port, RS- 232C port, and RS-422 port. The following diagram shows the internal struc- ture of the Coordinator Module.

I/O memory Automatic backup

Flash memory PLC Set- up and other pa- rameters

User Program The CX-Programmer (see note) is used to create the user programs, which are transferred to the Coordinator Module via the peripheral port. The user programs includes a cyclic task, which is executed once per cycle, and inter- rupt tasks, which are executed at synchronous data refresh. The cyclic task is executed every cycle.

Instructions written in a program are executed in order from the beginning of the program, and these instructions are used to read from and write to I/O memory. Once the cyclic task has been completed, cyclic refreshing with the Motion Control Modules is executed, and then the cyclic task is executed again (cyclic scan method).

I/O Memory I/O memory is the RAM memory area accessed by the user programs. Part of I/O memory area is cleared and part of the memory area is retained when the power is turned OFF and ON again.

I/O memory is also divided into an area that exchanges data with the Motion Control Modules and an area that is used for internal processing.

Show 5 more labels / short text on this page
Coordinator Module · User program · Cyclic task · Access · Auto- matic backup
Page 116 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-1-2 Coordinator Module Operation
Page 116 · click to enlarge
Page 116

Coordinator Module Section 4-1

System Setup The System Setup contains software switches used to make initial settings and other settings. As shown in Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations, addresses (words and bits) are allo- cated for settings in the System Setup. The addresses can normally be ignored when making the settings, however, because the settings follow CX- Programmer menus.

Flash Memory When the user writes to the Coordinator Module, the user program, System Setup settings, other parameters, and part of the DM Area are automatically backed up to flash memory.

4-1-2 Coordinator Module Operation

The following flowchart shows the operation of the Coordinator Module. Pro- gramming is executed before I/O is refreshed and peripherals are serviced. This cycle is executed repeatedly.

  • Initialize hardware memory and system work area.
  • Detect connected Motion Control Modules.
  • Clear I/O memory.
  • Check user memory.
  • Clear forced status, etc.
  • Read DIP switch settings.
  • Check I/O bus.
  • Check user program memory.
  • Operation processing: Execute the user programming.
  • Error processing: Turn OFF outputs.
  • After error: Clear I/O memory (unless a FALS instruction caused the error.)

Refresh built-in I/O.

Cyclic refreshing (See note.)

Exchange cyclic data with Motion Control Modules. (Refreshing is stopped if there is a bus error.)

  • Perform the following servicing if any events have occurred.
  • Motion Control Module event servicing
  • Peripheral port servicing
  • RS-232C port servicing
  • RS-422A port servicing
Show 7 more labels / short text on this page
Power ON · Startup initialization · Common processing · Program execution · I/O refreshing · Cycle time · Peripheral servicing
Page 117 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-1-4 Startup Initialization
Page 117 · click to enlarge
Page 117

Coordinator Module Section 4-1

4-1-3 I/O Refreshing and Peripheral Servicing

I/O Refreshing I/O refreshing updates general-purpose I/O status. All I/O is refreshed in the same cycle (i.e., time slicing is not used). I/O refreshing is always performed after program execution.

Cyclic Refreshing For cyclic refreshing, data is exchanged every cycle between predetermined areas and the Motion Control Modules.

Peripheral Servicing Peripheral servicing involves servicing non-scheduled events for external devices. This includes both processing for service requests from external devices and service requests to external devices. Most peripheral servicing involves FINS commands.

The time specified in the system is allocated to each type of servicing and executed every cycle. If the servicing is finished before the end of the allo- cated time, the remaining time is not used and the next servicing is started.

Motion Control Mod- ule event servicing

  • Non-scheduled servicing for FINS commands from Motion Control Modules.
  • Non-scheduled servicing for FINS commands from the Coordinator Module to the Motion Control Modules. Peripheral port servicing
  • Non-scheduled servicing for FINS or Host Link commands received via the peripheral or RS-232C ports from the CXProgrammer, PTs, or host computers (e.g., requests for program transfer, monitoring, forced-set/reset operations, or online editing).
  • Non-scheduled servicing from the Coordinator Module transmitted from the peripheral or RS-232C port.
  • Non-scheduled servicing to Servo Driver.

Note Servicing for Motion Control Modules, peripheral ports, RS-232C ports, and RS-422A ports is allocated 6.25% of the immediately preceding cycle time by default. If servicing is separated over more than one cycle, delaying comple- tion of the servicing, set the actual amount of time for Set Time to All Events (same time for all services) rather than a percentage on the Timer/Peripheral Service Tab Page in the System Setup.

4-1-4 Startup Initialization

The following initialization is performed once each time the power is turned ON.

  • Detecting mounted Modules
  • Clearing the non-retained areas of I/O memory
  • Clearing forced-set/reset status
  • Performing self-diagnosis (user memory check)
  • Restoring the user program
  • Restoring retained DM Area data

Servicing Contents · RS-232C port ser- vicing · RS-422A port servic- ing

Page 118 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-2-2 Description of Each Area
Page 118 · click to enlarge
Page 118

Motion Control Modules Section 4-2

4-2 Motion Control Modules

4-2-1 Outline

Motion Control Modules each have independent ladder programming, which perform processing independently from other Modules. The following diagram shows the internal structure of Motion Control Modules.

User program (See note 1.)

RAM and flash memory

General-purpose Read/Write DM Area

D00000

to RAM (See note 2.)

D32767

System Setup Area (See note 1.) RAM and flash memory

The following data can be write-protected using settings in the System Setup.

  • User program
  • System Setup Area

These Areas are stored in RAM and flash memory.

(2) Part of the DM Area in the I/O Memory Area is backed up by a super ca-

pacitor.

4-2-2 Description of Each Area

User Program Area The CX-Programmer (see note) is used to create the Motion Control Module ladder programs and set the System Setup. Programs and settings are trans- ferred to each Motion Control Module through the peripheral port on the Coor- dinator Module.

The user program is written using ladder diagram programming and executed using a cyclic scan method.

Motion Control Module · I/O memory

Page 119 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup Using CX-Programmer
Page 119 · click to enlarge
Page 119

Motion Control Modules Section 4-2

Broadly speaking, the user program consists of a cyclic task and interrupt tasks, which are executed for interrupts. The cyclic task is executed every cycle. The user program is stored in RAM and flash memory. Data is not lost, therefore, even if the super capacitor backup time is exceeded.

I/O Memory I/O memory is the area accessed by the user program and the CX-Program- mer. Part of I/O Memory Area is cleared and part of it is retained when the power is turned OFF and ON again.

I/O memory is also divided into an area that exchanges data with other Motion Control Modules and an area that is used for internal processing.

System Setup The System Setup contains software switches used to make initial settings and other settings for the Motion Control Module. Addresses are allocated for the settings in the System Setup, but these addresses can normally be ignored when making the settings, because the settings follow CX-Program- mer menus.

The System Setup is stored in RAM and flash memory, so the data is not lost even if the super capacitor backup time is exceeded.

Read/Write DM Area (D00000 to D32767)

The Read/Write DM Area can be accessed from the user program.

D00000 to D29999 is cleared when the power is turned OFF and ON again. D30000 to D32767 is retained for a set period by the super capacitor. The data is lost when the super capacitor backup time has been exceeded.

4-2-3 Motion Control Module Operation

Operation between the Coordinator Module and the Motion Control Modules can be set to synchronous (“Sync”) or asynchronous (“Async”) modes using a setting in the System Setup of the Coordinator Module.

System Setup Using CX-Programmer

Tab page Item Settings

Module Settings Synchronization between Modules

  • Sync Mode
  • ASync Mode

ASync Mode Operation In ASync Mode, scan processing by the Motion Control Modules is not syn- chronized with the Coordinator Module. Motion Control Module built-in I/O refreshing is executed within the scan cycle in the Motion Control Module. I/O refreshing with the Coordinator Module is determined by the Coordinator Module and is executed asynchronously to the Motion Control Module scan processing.

Synchronous Data Link Bit Area refreshing is not executed in ASync Mode.

Page 120 of the Omron Motion Controller Module (FQM1-CM001) user manual — Motion Control Modules Section 4-2
Page 120 · click to enlarge
Page 120

Motion Control Modules Section 4-2

Initialization at power ON

Initialization at power ON

I/O refreshing in Module 1. Basic I/O refreshing 2. Special I/O refreshing 3. Refreshing with Coordinator Module

Pulse inputs (2) or analog input (1)

RUN/STOP and other commands

General-purpose I/O, e.g., status

Pulse or analog outputs (2)

The cyclic refreshing with the Coordinator Module is performed during the scan cycle of each Motion Control Module and involves the asynchronous read/write of shared memory.

Sync Mode Operation In Sync Mode, the Motion Control Module's cyclic scan is synced with the Coordinator Module's cyclic scan or the sync cycle time set in the System Setup. The program in each Motion Control Module is thus executed at the same time.

When operation is synchronized to the Coordinator Module cycle scan, the start of program execution in every cycle is the same for all Modules. When operation is synchronized to the sync cycle time, the start of program execu- tion in every cycle is the same for all Motion Control Modules.

Motion Control Modules send all synchronous data link bits to the Coordinator Module and all other Motion Control Modules each Coordinator Module cyclic scan or at the specified sync cycle time. (See note 1.)

Each Module can access the synchronous data link bits from all other Mod- ules. (Refer to 5-4 Synchronous Data Refresh for details.)

ordinator Module (0.1 to 10.0 ms, 0.1-ms increments).

(2) High-speed counter inputs, pulse outputs, or any other data can be set

for each Module.

!Caution When the Coordinator Module changes from PROGRAM mode to RUN or

MONITOR modes, the Motion Control Modules will switch to RUN or MONI- TOR mode one cycle later. Similarly, when the Coordinator Module switches from RUN or MONITOR modes to PROGRAM mode, the Motion Control Mod- ules will switch one cycle later. The operating modes for all Motion Control Modules will switch in the same cycle.

Show 13 more labels / short text on this page
Motion Control Module · Coordinator Module · Basic inputs (12) · Basic I/O · Common processing · Common processing · Basic outputs (8) · Program execution · Program execution · Cyclic refreshing · Special I/O · Peripheral servicing · Peripheral servicing
Page 121 of the Omron Motion Controller Module (FQM1-CM001) user manual — Motion Control Module Built-in I/O Refreshing
Page 121 · click to enlarge
Page 121

Motion Control Modules Section 4-2

Start operation (RUN mode entered)

Operation (See note.)

Operation (See note.) Operation (See note.)

PROGRAM

Start operation (RUN start)

Operation (See note.) Operation (See note.)

PROGRAM

Cycle Note: "Operation" means either RUN or MONITOR mode.

Initialization at At power ON

Internal Module initialization (determining the operating mode, initializing user memory, clearing specified memory areas, checking for memory corruption, reading the System Setup, etc.) is performed and the bus that exchanges data with the Coordinator Module is initialized.

Common Processing Common processing, which does not depend on special I/O, is performed.

Program Execution The Motion Control Module's ladder program is executed. Basic I/O is refreshed whenever the IORF instruction is executed. Special I/O can also be refreshed for Modules with analog I/O.

Cycle Time Calculation

The execution time for one cycle is monitored. If a constant cycle time is set, processing is performed to make the cycle time constant. (Refer to 5-6-1 Con- stant Cycle Time Function for information on constant cycle time processing.)

Motion Control Module Built-in I/O Refreshing

The following 3 types of built-in I/O refreshing are performed by Motion Con- trol Modules.

1,2,3... 1. Basic I/O Refreshing Output bits to output contacts, inputs contacts to input bits

2. Special I/O Refreshing Pulse inputs, pulse outputs, analog inputs, analog outputs, etc.
3. Coordinator Module Refreshing Data exchange with Coordinator Module

other special I/O.

(2) Motion Control Module built-in I/O refreshing is also executed in PRO-

GRAM mode and during fatal errors (including FALS instructions) (input refresh only).

(3) Coordinator Module cyclic refreshing (allocated data exchange) is exe-

cuted at the same time as the Coordinator Module scan processing. This refreshing exchanges data between the Coordinator Module and the Mo- tion Control Modules, so it is asynchronous with the Motion Control Mod- ule's cyclic refreshing. Coordinator Module cyclic refreshing is also executed in PROGRAM mode and during fatal errors (including FALS in- structions).

Peripheral Servicing Event servicing requests from the Coordinator Module are serviced.

Show 4 more labels / short text on this page
Coordinator Module · 1 cycle later · Motion Control Module · Program
Page 122 of the Omron Motion Controller Module (FQM1-CM001) user manual — SV
Page 122 · click to enlarge
Page 122

Operating Modes Section 4-3

4-3 Operating Modes

4-3-1 Operating Modes

Coordinator and Motion Control Modules have three operating modes that control the user program.

PROGRAM Programs are not executed and preparations, such as initializing the System Setup and other settings, transferring programs, checking programs, force- setting, force-resetting, and checking wiring can be executed prior to program execution. Motion Control Module built-in I/O refreshing and Coordinator Mod- ule cyclic refreshing are, however, executed in this mode.

MONITOR Programs are executed, but some operations, such as online editing and changing present values in I/O memory, are enabled for trial operation and other adjustments.

RUN Programs are executed but some operations, such as online editing and changing the present values in I/O memory using CX-Programmer, cannot be performed. The CX-Programmer can monitor the program execution status (program and I/O memory monitoring). The main system operation is per- formed in RUN mode.

pendently in Sync Mode. Always change the operating mode of the Co- ordinator Module in Sync Mode.

(2) To debug Motion Control Module programs, change the Coordinator Mod-

ule to ASync Mode under the System Setup and change the operating mode for that Motion Control Module.

4-3-2 Status and Operations in Each Operating Mode

PROGRAM, RUN, and MONITOR are the three FQM1 operating modes. The following tables list status and operations for each mode.

I/O Memory CX-Programmer operations

tion (See note.)

SV

PV

FQM1

OFF Clear Retained OK

OK OK OK ×

OK OK OK × × × OK

Mode Cyclic task status Interrupt task status PROGRAM Disabled Stopped

RUN Enabled Executed if interrupt condition is met. MONITOR

Show 37 more labels / short text on this page
Mode Program · I/O refresh · External · execu- · outputs · Cleared · Retained · I/O Memory monitor- · Program monitor- · Program transfers Program · System · Program changes · Force- set/reset · Chang- ing timer/ · Chang- ing timer/ · Chang- · areas · areas · check · Setup changes · ing I/O Memory · ing · PV FQM1 to · Com- puter to · counter · counter · ing · com- puter · PROGRAM Stopped Exe- cuted · RUN Per- formed · Exe- cuted · Con- trolled by program · Controlled by pro- gram · MONITOR Per- formed · Exe- cuted · Con- trolled by program · Controlled by pro- gram
Page 123 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-4-1 Power OFF Operation
Page 123 · click to enlarge
Page 123

Power OFF Operation Section 4-4

4-3-3 Operating Mode Changes and I/O Memory

Mode Changes Cleared areas Retained areas

  • I/O bits
  • Data Link bits
  • Work bits
  • Timer PV
  • DM Area
  • Counter PV

RUN or MONITOR to PROGRAM

Cleared (See note 1.) Retained

PROGRAM to RUN or MONITOR

Cleared (See note 1.) Retained

RUN to MONITOR or MONITOR to RUN

Retained (See note 2.) Retained

mode is changed from MONITOR to RUN mode. This will not cause an error for exceeding the maximum cycle time limit.

(2) In Sync Mode, the Motion Control Module operating mode will change

one cycle after the Coordinator Module operating mode has changed.

4-4 Power OFF Operation

4-4-1 Power OFF Operation

The following processing is performed if FQM1 power is interrupted during operation. The following power OFF processing will be performed if the power supply falls below 85% of the minimum rated voltage while in RUN or MONI- TOR mode.

1,2,3... 1. The Motion Control Modules and Coordinator Module will stop.

2. All outputs from all Modules will be turned OFF.

85% of the rated voltage (AC power): 85 V AC for 100 V 170 V AC for 200 V 85 V AC for 100 to 240 V (wide range)

The following processing will be performed if power drops only momentarily (momentary power interruption).

1,2,3... 1. The system will continue to run unconditionally if the momentary power in- terruption lasts less than 10 ms, i.e., the time it takes the minimum rated voltage at 85% or less to return to 85% or higher is less than 10 ms.

2. A momentary power interruption that lasts more than 10 ms but less than 25 ms is difficult to determine and a power interruption may or may not be detected.
3. The system will stop unconditionally if the momentary power interruption lasts more than 25 ms.

It thus requires between 10 and 25 ms to detect a power interruption. This time can be increased by setting the User-set Power OFF Detection Time (0 to 10 ms) in the System Setup.

Page 124 of the Omron Motion Controller Module (FQM1-CM001) user manual — Power Holding Time
Page 124 · click to enlarge
Page 124

Power OFF Operation Section 4-4

85% of the rated voltage or less

0 to 10 ms

Momentary power interruption not detected and operation continues.

10 to 25 ms Power supply voltage

Operation will continue or stop depending on whether or not a momentary power interruption is detected.

Momentary power interruption detected and operation stops.

The following timing chart shows the Coordinator Module power OFF opera- tion in more detail.

Power OFF Timing Chart

Operation always stopped at this point regardless.

85% of rated voltage

Holding time for 5 V internal power supply after power OFF detection: 10 ms. Power OFF detected Power OFF confirmed

Processing time after power OFF is confirmed: 10 ms minus User-set Power OFF Detection Time Note: The interrupt task execution time must be less than or equal to pro- cessing time after power OFF is confirmed.

Fixed Power OFF Detection TimeDefault is 10 to 25 ms (Power OFF undetermined)
User-set Power OFF Detection Time0 to 10 ms (set in System Setup)

Power OFF detected signal

Cyclic task or interrupt tasks not associated with power OFF

Fixed Power OFF Detection Time

The time it takes to detect power OFF after the power supply falls below 85% of the minimum rated voltage.

User-set Power OFF Detection Time

The time after power OFF is detected until it is confirmed. This can be set in the System Setup within a range from 0 to 10 ms (default: 0 ms).

If an unstable power supply is causing power interruptions, set a longer User- set Power OFF Detection Time (10 ms max.) in the System Setup.

Power Holding Time

The maximum amount of time (fixed at 10 ms) that 5 V will be held internally after power interruption is detected.

Show 9 more labels / short text on this page
25 ms 0 · 10 ms · Time · Power supply voltage · 25 ms · Power supply voltage · Program execution status · Stopped · Reset signal
Page 125 of the Omron Motion Controller Module (FQM1-CM001) user manual — 4-4-2 Instruction Execution for Power Interruptions
Page 125 · click to enlarge
Page 125

Power OFF Operation Section 4-4

Description of Operation

Power OFF will be detected if the 100 to 240 V AC power supply stays below 85% of the minimum rated voltage for the Fixed Power OFF Detection Time (variable between 10 to 25 ms.)

If the User-set Power OFF Detection Time is set (0 to 10 ms) in the System Setup, the reset signal will turn ON and the Module will be reset immediately after the User-set Power OFF Detection Time expires.

4-4-2 Instruction Execution for Power Interruptions

If power is interrupted and the interruption is confirmed when the Coordinator Module or Motion Control Module is operating in RUN or MONITOR mode, the instruction currently being executed will be completed and then the Module will be reset.

Page 126 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 5 Module Functions and Data Exchange
Page 126 · click to enlarge
Page 126

SECTION 5 Module Functions and Data Exchange

This section describes the functions common to both the Coordinator Module and Motion Control Modules and the methods to transfer data between the Coordinator Module and Motion Control Modules.

5-1 Synchronous Operation between Modules 104

5-2 Data Exchange between Modules 105

5-3 Cyclic Refresh 106

5-3-1 Outline 106

5-3-2 Applications 106

5-3-3 Cyclic Refresh Area Details 107

5-3-4 Cyclic Refresh Area Allocations 108

5-4 Synchronous Data Refresh 109

5-4-1 Outline 109

5-4-2 Applications 109

5-4-3 Synchronous Data Link Bit Area 110

5-4-4 Settings 111

5-5 DM Data Transfer 112

5-5-1 Outline 112

5-5-2 Settings Details 113

5-5-3 Executing DM Data Transfer 113

5-6 Cycle Time Settings 114

5-6-1 Constant Cycle Time Function 114

5-6-2 Watch Cycle Time Function 116

5-6-3 Cycle Time Monitoring Function 116

5-6-4 Clearing Constant Cycle Time Exceeded Errors 117

5-7 Operation Settings at Startup and Maintenance Functions 118

5-7-1 Specifying the Startup Mode 118

5-7-2 Program Protection 118

5-7-3 Flash Memory 119

5-8 Diagnostic Functions 120

5-8-1 Error Log 120

5-8-2 Failure Alarm Functions 121

Page 127 of the Omron Motion Controller Module (FQM1-CM001) user manual — Synchronous Operation between Modules Section 5-1
Page 127 · click to enlarge
Page 127

Synchronous Operation between Modules Section 5-1

5-1 Synchronous Operation between Modules

Sync and ASync Modes

Sync Mode The Coordinator Module and Motion Control Modules are normally set to operate using the same cycle time, i.e., synchronously. Synchronous opera- tion is the default setting in the System Setup. With this setting, all Motion Control Modules synchronize operation with the Coordinator Module cycle time. This allows synchronous control of up to 8 axes.

System Setup Default Settings Module Settings Tab Page Synchronization between Modules

Sync Mode Use in Sync Mode (default).

Sync Cycle Time = 0 ms Coordinator Module cycle time

To operate only the Motion Control Modules with high-speed synchronous operation, set a value for the Coordinator Mod- ule sync cycle time.

ASync Mode The Motion Control Modules can be operated at high-speed in ASync Mode. Some delays in peripheral servicing may occur, but ASync Mode is useful for increasing the speed of overall system operation.

System Setup Default Settings Module Settings Tab Page Synchronization between Modules

Sync Mode Set to ASync Mode.

Page 128 of the Omron Motion Controller Module (FQM1-CM001) user manual — Data Exchange between Modules Section 5-2
Page 128 · click to enlarge
Page 128

Data Exchange between Modules Section 5-2

5-2 Data Exchange between Modules

The three methods for data exchange between Coordinator and Motion Con- trol Modules are outlined in the following table. These methods can be used simultaneously.

1. Cyclic refresh Exchanges data each Coordinator Module cycle.

A Cyclic Refresh Area is allocated for each Motion Control Module in the Coordinator Module. 2. Synchronous data refresh

Broadcasts data at a spec- ified sync cycle.

Specified synchronous data is broadcast from each Motion Control Module and the Coordinator Module. All other Modules receive and share the data in the Synchronous Data Link Bit Area.

3. DM data transfer

Transfers large volumes of data between a specified Motion Control Module and the Coordinator Module when required.

Data is transferred in the specified direction between the specified DM Area words of a specified Motion Control Module and the specified DM Area words of the Coordina- tor Module when the DM Write Request Bit (A530.00) or DM Read Request Bit (A530.01) in the Auxiliary Area of the Coordinator Module is turned ON.

Motion Control Module #1

Motion Control Module #4 Motion Control Module #3 Motion Control Module #2

1. Cyclic refresh

Sync Data Link Bit Area

Sync Data Link Bit Area

Sync Data Link Bit Area

Sync Data Link Bit Area

Sync Data Link Bit Area

2. Synchronous data refresh

Specified DM Area words

Specified DM Area words

3. DM data transfer
Show 7 more labels / short text on this page
Method Outline Description · Coordinator Module · Cyclic Refresh Area · Cyclic Refresh Area · Cyclic Refresh Area · Cyclic Refresh Area · Cyclic Refresh Area
Page 129 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-3-2 Applications
Page 129 · click to enlarge
Page 129

Cyclic Refresh Section 5-3

5-3 Cyclic Refresh

5-3-1 Outline

Status information, general-purpose I/O, and other information for each Motion Control Module in the Cyclic Refresh Area of the Coordinator Module are refreshed every Coordinator Module cycle (asynchronous to the Motion Control Module cycles).

As shown in the following diagram, 10 words per Motion Control Module (5 output words and 5 input words) are allocated according to the Motion Control Module slot number (#1 to #4 in the following diagram) in the Cyclic Refresh Area of the Coordinator Module (CIO 0100 to CIO 0139).

Omron Motion Controller Module (FQM1-CM001) — Cyclic Refresh Section 5-3 diagram (page 129)
Fig. 68 · Cyclic Refresh Section 5-3

Motion Control Module #4 Motion Control Module #3 Motion Control Module #2

5-3-2 Applications

In addition to the Synchronous Data Link Bit Area, normal data exchange between the Coordinator Module and Motion Control Modules is possible using the Cyclic Refresh Area.

Information for which high-speed data exchange between Modules is not required can be allocated anywhere, and a ladder program written for the Coordinator Module and Motion Control Modules to access these areas dur- ing operation can be created.

Page 130 of the Omron Motion Controller Module (FQM1-CM001) user manual — Motion Control Module Cyclic Refresh Areas
Page 130 · click to enlarge
Page 130

Cyclic Refresh Section 5-3

5-3-3 Cyclic Refresh Area Details

Coordinator Module Cyclic Refresh Area

CIO 0100 to CIO 0109 in each Motion Control Module is allocated to ten words between CIO 0100 to CIO 0139 in the Coordinator Module according to the slot number for the Motion Control Module.

CMCoordinator Module MM: Motion Control Module

CIO 0100 to CIO 0104

00 to 15 CM Output Refresh Area (CM to MM) The data in this area is allocated to the MM Input Refresh Area (CM to MM) for Motion Control Module #1. CIO 0105 00 to 07 Reserved.

08 Refresh Area for MM #1

Reserved 09 Cycle time over warning OFF: No error ON: Cycle time exceeded 10 ms.

CM Input Refresh Area (MM to CM) The data in the MM Output Refresh Area (MM to CM) for MM #1 is allo- cated here.

10 MM #1 non-fatal error (including FAL instructions) OFF: No non-fatal error ON: Non-fatal error

11 MM #1 fatal error (including FALS instructions) OFF: No fatal error ON: Fatal error

12 to 14 Reserved

15 MM #1 program status OFF: Stopped (PROGRAM mode) ON: Executing (RUN or MONITOR mode)

CIO 0106 to CIO 0109

00 to 15 CM Input Refresh Area (MM to CM) The data in the MM Output Refresh Area (MM to CM) for MM #1 is allocated to this area.

CIO 0110 to CIO 0119

Same as for MM #1. These areas can be used as work bits by the Coordinator Module when no Motion Control Modules are connected. CIO 0120 to CIO 0129

00 to 15 Refresh Area for MM #2

00 to 15 Refresh Area for MM #3

CIO 0130 to CIO 0139

00 to 15 Refresh Area for MM #4

Motion Control Module Cyclic Refresh Areas

Motion Control Modules use CIO 0100 to CIO 0109, as shown in the following table.

CMCoordinator Module MM Motion Control Module

CIO 0100 00 to 15 MM Input Refresh Area (CM to this MM) The data in the Coordinator Module's CM Output Refresh Area (CM to MM) is allocated to this area.

General-purpose refresh data from CM to MM. CIO 0101 00 to 15

CIO 0102 00 to 15

CIO 0103 00 to 15 CIO 0104 00 to 15

Show 4 more labels / short text on this page
Word address · Bits Details · Word address · Bits Details
Page 131 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-3-4 Cyclic Refresh Area Allocations
Page 131 · click to enlarge
Page 131

Cyclic Refresh Section 5-3

CIO 0105 00 to 07 MM Output Refresh Area (This MM to CM) Data from this area is allo- cated to the Coordinator Mod- ule's CM Input Refresh Area (MM to CM).

08 Reserved 09 Cycle time over warning OFF: No error ON: MM cycle time exceeded 10 ms.

10 Non-fatal error for this Motion Control Module (including FAL instructions) OFF: No non-fatal error ON: Non-fatal error 11 Fatal error for this Motion Control Module (including FALS instruc- tions) OFF: No fatal error ON: Fatal error

12 to 14 Reserved 15 Program status for this Motion Control Module OFF: Stopped (PROGRAM mode) ON: Executing (RUN or MONITOR mode) CIO 0106 00 to 15 General-purpose refresh data from MM to CM

CIO 0107 00 to 15 CIO 0108 00 to 15

CIO 0109 00 to 15

5-3-4 Cyclic Refresh Area Allocations

CMCoordinator Module MM: Motion Control Module

Bits Details #1 #2 #3 #4 Word address

CIO 0100 00 to 15 General-pur-

CIO 0100 00 to 15 CIO 0110 00 to 15 CIO 0120 00 to 15 CIO 0130 00 to 15 CIO 0101 00 to 15 CIO 0101 00 to 15 CIO 0111 00 to 15 CIO 0121 00 to 15 CIO 0131 00 to 15

pose refresh data from CM to MM

CIO 0102 00 to 15 CIO 0102 00 to 15 CIO 0112 00 to 15 CIO 0122 00 to 15 CIO 0132 00 to 15 CIO 0103 00 to 15 CIO 0103 00 to 15 CIO 0113 00 to 15 CIO 0123 00 to 15 CIO 0133 00 to 15

CIO 0104 00 to 15 CIO 0104 00 to 15 CIO 0114 00 to 15 CIO 0124 00 to 15 CIO 0134 00 to 15 MM to CM

CIO 0105 00 to 07 Reserved CIO 0105 00 to 07 CIO 0115 00 to 07 CIO 0125 00 to 07 CIO 0135 00 to 07

08 Reserved 08 09 Cycle time over warning

09

10

11 Fatal error 11

12 to 14 Reserved 12 to 14 12 to 14 12 to 14 12 to 14 15 Program sta- tus

15

CIO 0106 00 to 15 General-pur-

CIO 0106 00 to 15 CIO 0116 00 to 15 CIO 0126 00 to 15 CIO 0136 00 to 15 CIO 0107 00 to 15 CIO 0107 00 to 15 CIO 0117 00 to 15 CIO 0127 00 to 15 CIO 0137 00 to 15

pose refresh data from MM to CM

CIO 0108 00 to 15 CIO 0108 00 to 15 CIO 0118 00 to 15 CIO 0128 00 to 15 CIO 0138 00 to 15 CIO 0109 00 to 15 CIO 0109 00 to 15 CIO 0119 00 to 15 CIO 0129 00 to 15 CIO 0139 00 to 15

Show 15 more labels / short text on this page
Word address · Bits Details · Reserved · Direc- · Motion Control Module · Coordinator Module allocation · tion · allocation · Word address · Bit Word address · Bit Word address · Bit Word address · Bit · CM to MM · 10 Non-fatal error
Page 132 of the Omron Motion Controller Module (FQM1-CM001) user manual — CIO 216
Page 132 · click to enlarge
Page 132

Synchronous Data Refresh Section 5-4

5-4 Synchronous Data Refresh

5-4-1 Outline

If Sync is set under Synchronization between Modules in the System Setup, each Module will broadcast the specified data (2 types data, 4 words max.) to the Synchronous Data Link Bit Areas each Coordinator Module cycle or spec- ified sync cycle.

Each other Module receives this data. Every Module can access the synchro- nous data for every other linked Module.

If Synchronization between Modules is set to Sync, the cycle for every Motion Control Module will be automatically synchronized to the Coordinator Module or specified sync cycle, which enables the use of the synchronous Data Link Bit Areas as synchronous data.

The Synchronous Data Link Bit Area is from CIO 0200 to CIO 0219, with 4 words allocated to each Module (Coordinator Module and all Motion Control Modules).

Sync Cycle Time When Sync Mode is set, the Sync Cycle Time can be set under Sync Cycle Time in the Coordinator Module’s System Setup. (Default: Coordinator Mod- ule cycle time. Setting range: 0.1 to 10.0 ms, Unit: 0.1 ms.)

Synchronous Data Any of the following data can be set as synchronous data for each Module (4 words max.)

  • Ladder execution results
  • High-speed counter 1/2 PV
  • Pulse output 1/2 PV
  • Analog input value
  • Analog 1/2 output value
  • Built-in I/O input

5-4-2 Applications

An example application would be the creation of a virtual axis in any Module for all Modules to refer to when synchronizing operation. Another application is for the results of ladder program execution to be used as synchronous data.

Motion Control Module #1

Motion Control Module #4 Motion Control Module #3 Motion Control Module #2

CIO 200

CIO 204

CIO 208

to CIO 211 CIO 212

CIO 216

Show 31 more labels / short text on this page
Coordinator Module · #0 (4 words) · #0 (4 words) · #0 (4 words) · #0 (4 words) · #0 (4 words) · to CIO 203 · #1 (4 words) · #1 (4 words) · #1 (4 words) · #1 (4 words) · #1 (4 words) · to CIO 207 · #2 (4 words) · #2 (4 words) · #2 (4 words) · #2 (4 words) · #2 (4 words) · #3 (4 words) · #3 (4 words) · #3 (4 words) · #3 (4 words) · #3 (4 words) · to CIO 215 · #4 (4 words) · #4 (4 words) · #4 (4 words) · #4 (4 words) · #4 (4 words) · to CIO 219 · Synchronous data transfer
Page 133 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-4-3 Synchronous Data Link Bit Area
Page 133 · click to enlarge
Page 133

Synchronous Data Refresh Section 5-4

Synchronous Data

Omron Motion Controller Module (FQM1-CM001) — Synchronous Data diagram (page 133)
Fig. 69 · Synchronous Data

4 words of data transferred for each Module System Setup Select Synchronous Data Set in upper 2 words

Example4 words of data sent by Motion Control Module #1

System Setup Select Synchronous Data Set in lower 2 words

Above example: Motion Control Module #1 sends its high-speed counter 1 PV and pulse output 1 PV as the synchronous data link bits.

(ladder execution results) data.

(2) If there is no synchronous data to be sent, select no data for Select Syn-

chronous Data in the System Setup to shorten the synchronous data transfer time.

(3) Auxiliary Area data is transferred when input and output refresh method

is set to Immediate refresh and the synchronous data is set to an analog input or analog output value in the System Setup.

5-4-3 Synchronous Data Link Bit Area

Word address (See note

Bits Method for selecting type of synchronous data

Link Bit Areas in

1.)

Sent from Coordina- tor Module

CIO 0200 00 to 15 Fixed to general-purpose data (e.g., ladder execution results)

CIO 0201 00 to 15 CIO 0202 00 to 15 Fixed to general-purpose data (e.g., ladder execution results)

CIO 0203 00 to 15 Sent from Motion Control Module #1

CIO 0204 00 to 15 Set using upper 2 words of Select Synchronous Data in the System Setup for Motion Control Module #1. CIO 0205 00 to 15 CIO 0206 00 to 15 Set using lower 2 words of Select Synchronous Data in the System Setup for Motion Control Module #1. CIO 0207 00 to 15 Sent from Motion Control Module #2

CIO 0208 00 to 15 Set using upper 2 words of Select Synchronous Data in the System Setup for Motion Control Module #2. CIO 0209 00 to 15 CIO 0210 00 to 15 Set using lower 2 words of Select Synchronous Data in the System Setup for Motion Control Module #2. CIO 0211 00 to 15 Sent from Motion Control Module #3

CIO 0212 00 to 15 Set using upper 2 words of Select Synchronous Data in the System Setup for Motion Control Module #3. CIO 0213 00 to 15 CIO 0214 00 to 15 Set using lower 2 words of Select Synchronous Data in the System Setup for Motion Control Module #3. CIO 0215 00 to 15

Show 4 more labels / short text on this page
Synchronous Data · Coordinator and · Motion Control · Modules
Page 134 of the Omron Motion Controller Module (FQM1-CM001) user manual — Sync Cycle Time
Page 134 · click to enlarge
Page 134

Synchronous Data Refresh Section 5-4

Word address (See note

Bits Method for selecting type of synchronous data

Link Bit Areas in

1.)

Sent from Motion Control Module #4

CIO 0216 00 to 15 Set using upper 2 words of Select Synchronous Data in the System Setup for Motion Control Module #4. CIO 0217 00 to 15 CIO 0218 00 to 15 Set using lower 2 words of Select Synchronous Data in the System Setup for Motion Control Module #4. CIO 0219 00 to 15

trol Modules.

(2) When the synchronous data is one-word data (analog input values, ana-

log output values, built-in I/O, etc.), the other word can be used for gen- eral-purpose data.

5-4-4 Settings

The following settings must be made beforehand when using the synchronous data refresh function.

System Setup (Coordinator Module)

Synchronization between Modules and Sync Cycle Time must be set in the Coordinator Module's System Setup.

Synchronization between Modules

Name Settings Default Description Auxiliary Area

Module Settings Tab Page Sync Mode

Sync/Async Sync Synchronization between Modules

--- At power ON

Sync Cycle Time

Name Settings Default Description Auxiliary Area

Module Settings Tab Page Sync Cycle Time

Default (cycle time) (0.1 to 10.0 ms)

CM cycle time Sync cycle time (unit: 0.1 ms)

A404.06 Sync Cycle Time Too Long Flag

When the Sync Cycle Time is specified, all Motion Control Modules will syn- chronize with the Coordinator Module cycle time in PROGRAM mode. The specified Sync Cycle Time is enabled in RUN and MONITOR modes, and the Motion Control Module cycle times will change to the set Sync Cycle Time when in these modes.

Synchronous data link bits will be broadcast from each Module at the time specified under Sync Cycle Time.

If an interrupt task 000 is created, it can be used as a regular interrupt task executed each Sync Cycle Time.

When the Sync Cycle Time is on the default setting, the synchronous data link bits are broadcast from each Module each Coordinator Module cycle. The Motion Control Module cycles are synchronous with the Coordinator Module cycle.

Note If the Sync Cycle Time Too Long Flag (A404.06) turns ON in the Coordinator Module, it means that the Motion Control Module cycle time is longer than the Sync Cycle Time. Either change the Sync Cycle Time or check the Motion Control Module ladder program and shorten the Motion Control Module cycle time to less than the Sync Cycle Time.

Show 9 more labels / short text on this page
Synchronous Data · Coordinator and · Motion Control · Modules · Enabled · Flags · Enabled · Flags · At power ON
Page 135 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-5-1 Outline
Page 135 · click to enlarge
Page 135

DM Data Transfer Section 5-5

System Setup (Motion Control Modules)

Selecting Synchronous Data

Select the type of synchronous data to be sent by each Motion Control Mod- ule in the System Setup for that Motion Control Module, as shown in the fol- lowing table.

Tab page Function Settings Enabled

Upper 2 words (+0 and +1)

Normal (via Ladder) Counter 1 values Counter 2 values Pulse output 1 Pulse output 2 Analog input Reserved Analog output 1 Analog output 2 Inner I/O input (built-in input) No data (See note.)

Lower 2 words (+2 and +3)

Prohibit System Interruption of the Sync Mode

Use this function to keep the timing of the calculation start for each Motion Control Module as close as possible, when using Sync Mode.

Name Function Settings Enabled

Module Settings Tab Page Execution Process

Prohibit system interrup- tion of the sync mode

OFFAllow system interruption of the sync

At start of operation

mode ONProhibit system interruption of the sync mode

!Caution Do not set this function to Prohibit system interruption of the sync mode when

the cycle time is 10 ms or longer. Doing so may cause the System Clock Bits to malfunction.

5-5 DM Data Transfer

5-5-1 Outline

Large volumes of any DM data can be transferred between the Coordinator Module and a Motion Control Module at any specified timing.

  • Only DM Area words can be used for transfer in both the Coordinator Module and Motion Control Modules.
  • Up to 499 words can be transferred.

Data is transferred in the specified direction between the specified DM Area words in a specified Motion Control Module and the specified DM Area words in the Coordinator Module when the DM Write Request Bit (A530.00) or DM Read Request Bit (A530.01) in the Auxiliary Area of the Coordinator Module is turned ON.

This function is used, for example, to manage data in the Coordinator Module for use by Motion Control Modules when the data must be backed up.

DM data transfer is possible in PROGRAM, RUN, or MONITOR mode for the Coordinator Module and Motion Control Modules.

Module Settings · Select Syn- chronous Data · At power ON

Page 136 of the Omron Motion Controller Module (FQM1-CM001) user manual — Step 1: Make Auxiliary Area Settings
Page 136 · click to enlarge
Page 136

DM Data Transfer Section 5-5

5-5-2 Settings Details

The settings for using the DM data transfer function are made in the Auxiliary Area.

Name Address Description Read/write DM Write Request Bit (Coordinator Module to Motion Control Module)

A530.00 DM data transfer is executed from the Coordinator Mod- ule to Motion Control Module when this bit turns ON.

DM Read Request Bit (Motion Control Module to Coordinator Module)

A530.01 DM data transfer is executed from the Motion Control Module to Coordinator Module when this bit turns ON.

Slot No. of Motion Control Module for DM Transfer

A531 Specifies the slot number (in 4-digit hexadecimal) for the Motion Control Module with which DM data is to be transferred. 0001: Motion Control Module #1 0002: Motion Control Module #2 0003: Motion Control Module #3 0004: Motion Control Module #4

DM Transfer Size (number of words)

A532 Specifies the size, in number of words, of the DM data to be transferred. 0001 to 01F3 hex (1 to 499 words)

First DM Transfer Source Word A533 Specifies the first address of the DM transfer source in the Coordinator Module or Motion Control Module. 0000 to 7FFF hex First DM Transfer Destination Word

A534 Specifies the first address of the DM transfer destination in the Coordinator Module or Motion Control Module. 0000 to 7FFF hex Transfer Error Flag A535.14 Turns ON when a DM data transfer error occurs.

Transfer Busy Flag A535.15 Turns ON during DM data transfer and turns OFF when the transfer has been completed.

DM Read/Write Request Bit

A535.15 Transfer Busy Flag

A535.14 Transfer Error Flag

Error cleared at start of transfer. Turns ON when transfer has been completed if an error has occurred.

5-5-3 Executing DM Data Transfer

Step 1: Make Auxiliary Area Settings

To transfer data, the Auxiliary Area settings, described earlier, must be made. The following settings are made in the Auxiliary Area.

  • Slot No. of Motion Control Module for DM Transfer Specifies the slot number for the Motion Control Module to which DM data is being transferred.
  • Transfer details
  • DM Transfer Size (number of words)
  • First DM Transfer Source Word
  • First DM Transfer Destination Word

Enabled

Page 137 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-6-1 Constant Cycle Time Function
Page 137 · click to enlarge
Page 137

Cycle Time Settings Section 5-6

Step 2: Turn ON Request Bit

  • Transferring DM Data from the Coordinator Module to a Motion Control Module: Turn ON the DM Write Request Bit (Coordinator Module to Motion Control Module) (A530.00).
  • Transferring DM Data from a Motion Control Module to the Coordinator Module: Turn ON the DM Read Request Bit (Motion Control Module to Coordinator Module) (A530.01).

Programming Example The following diagram shows a programming example for the Coordinator Module when transferring DM data from the Coordinator Module (CM) to the Motion Control Module mounted to slot #1 (MM).

Omron Motion Controller Module (FQM1-CM001) — Step 2: Turn ON Request Bit diagram (page 137)
Fig. 70 · Step 2: Turn ON Request Bit

Set to slot #1, the slot for the Motion Control Module for the DM data transfer.

First DM Transfer Source Word (in CM): Set to C8 Hex (D00200).

First DM Transfer Destination Word (in MM): Set to 64 Hex (D00100).

5-6 Cycle Time Settings

This section describes the constant cycle time function, the watch cycle time function, and the cycle time monitoring function.

5-6-1 Constant Cycle Time Function

A constant cycle time can be set with the FQM1 Series. Programs are exe- cuted at standard intervals, which allows the control cycles for Servomotors to be constant.

The constant cycle time is set using the Cycle Time setting in the System Setup (0.1 to 100.0 ms, unit: 0.1 ms).

Omron Motion Controller Module (FQM1-CM001) — 5-6-1 Constant Cycle Time Function diagram (page 137)
Fig. 71 · 5-6-1 Constant Cycle Time Function

Real cycle time Real cycle time Real cycle time

If the real cycle time is longer than the set cycle time, the constant cycle time function will be ignored and operation will be based on the real cycle time.

Page 138 of the Omron Motion Controller Module (FQM1-CM001) user manual — Constant Cycle Time Function Enabled for Motion Control Module
Page 138 · click to enlarge
Page 138

Cycle Time Settings Section 5-6

Constant cycle time (enabled) Constant cycle time Constant cycle time

Real time Real time Real time

System Setup

Tab page Name Settings Default Timer/Peripheral servicing or Cycle Time

Cycle Time 0.1 to 100.0 ms, 0.1 ms units Variable

Constant Cycle Time Exceeded Flag

Constant Cycle Time Exceeded Flag

A404.05 This flag turns ON when the constant cycle time function is used and the cycle time exceeds the constant cycle time set value.

Constant Cycle Time Exceeded Error Clear Bit

Name Address Description Constant Cycle Time Exceeded Error Clear Bit

A509.15 The constant cycle time function can be enabled again after the cycle time has exceeded the constant cycle time and A404.05 has turned ON.

Constant Cycle Time Function in Sync Mode

When in Sync Mode with a Sync Cycle Time set for the Coordinator Module cycle time (default), and the constant cycle time function is used, the cycle time for Motion Control Modules will be as described below.

Constant Cycle Time Function Enabled for Coordinator Module

The Motion Control Module cycle time is synchronized with the Coordinator Module constant cycle time, and will therefore be constant.

Processing I/O refresh I/O refresh

Constant Cycle Time Function Enabled for Motion Control Module

The Motion Control Module cycle time is synchronized with the Coordinator Module constant cycle time, and gradually is made constant, while the Motion Control Module's built-in I/O refresh timing is made constant.

The time from when the processing starts in the Motion Control Module until the I/O refresh will be constant.

Show 8 more labels / short text on this page
Name Address Description · Constant cycle time · Constant cycle time · Coordinator Module · Waiting to synchronize · Waiting to synchronize · Motion Control Module · Processing
Page 139 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Words
Page 139 · click to enlarge
Page 139

Cycle Time Settings Section 5-6

Constant cycle time Constant cycle time

Waiting for I/O refresh to become constant

Waiting for I/O refresh to become constant

Processing Processing I/O refresh I/O refresh

Constant I/O refresh timing

Constant I/O refresh timing

5-6-2 Watch Cycle Time Function

If the real cycle time is longer than the set watch cycle time, operation will stop for all Modules and the Cycle Time Too Long Flag (A401.08) in the Auxiliary Area will turn ON.

System Setup

Tab page Name Details Default Timer/Peripheral Servic- ing or Cycle Time

Cycle Time 0.1 to 100.0 ms (unit: 0.1 ms)

Watch Cycle Time 1 to 100 ms

(unit1 ms)

!Caution If the Cycle Time Too Long Flag turns ON for one Module in Sync Mode, the

Cycle Time Too Long Flag will turn ON for all Modules.

Cycle Time Too Long Flag

Cycle Time Too Long Flag

A401.08 Turns ON if the cycle time PV exceeds the Watch Cycle Time in the System Setup.

5-6-3 Cycle Time Monitoring Function

Every cycle, the maximum cycle time is stored in A206 and A207 and the PV is stored in A208 and A209 in the Auxiliary Area.

Auxiliary Area Words

A206 to A207 The maximum cycle time value is stored in binary each cycle. The time is measured in 0.01-ms units.

Cycle Time PV A208 to A209 The cycle time PV is stored in binary each cycle. The time is measured in 0.01-ms units.

The average cycle time for the last 8 scans can also be read from the CX-Pro- grammer.

Show 9 more labels / short text on this page
Coordinator Module · Waiting to synchronize · Waiting to synchronize · Motion Control Module · Variable · 50 ms · Name Address Details · Name Addresses Meaning · Maximum Cycle Time
Page 140 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Bits
Page 140 · click to enlarge
Page 140

Cycle Time Settings Section 5-6

5-6-4 Clearing Constant Cycle Time Exceeded Errors

When using the constant cycle time function, normally the cycle time will no longer stay constant (i.e., will vary depending on the real cycle time) if the constant cycle time is exceeded once. To return to a constant cycle time even if the cycle time has been exceeded once, turn ON the Constant Cycle Time Exceeded Error Clear Bit (A509.15) (i.e., set to 1).

This function allows a constant cycle time to be restored and variations in I/O processing time to be kept to a minimum even if the cycle time is temporarily long as a result of special processing, e.g., initialization at the start of user programs in each Module.

Normal Operation

The constant cycle time function is cleared if the cycle time exceeds the set constant cycle time.

Constant cycle time value

Constant cycle time cleared

Constant Cycle Time Exceeded Error Clear Function

The constant cycle time function can be enabled again by turning ON the Constant Cycle Time Exceeded Clear Bit.

Constant cycle time cleared

Constant cycle time enabled again

Constant Cycle Time Exceeded Flag (A404.05)

Constant Cycle Time Exceeded Error Clear Bit (A509.15) ON for 1 scan

Auxiliary Area Bits

Bit Function Controlled by Constant Cycle Time Exceeded Error Clear Bit

A509.15 OFF to ON: Constant cycle time exceeded error cleared.

Show 10 more labels / short text on this page
Cycle time · Constant cycle time · Real cycle time · Time · Cycle time · Constant cycle time · Constant cycle time · Real cycle time · Time · User
Page 141 of the Omron Motion Controller Module (FQM1-CM001) user manual — Read Protection Using Passwords
Page 141 · click to enlarge
Page 141

Operation Settings at Startup and Maintenance Functions Section 5-7

5-7 Operation Settings at Startup and Maintenance Functions

This section describes the following operation settings at startup and mainte- nance functions.

  • Operating mode at startup
  • Program protection
  • Remote programming and monitoring
  • Flash memory

5-7-1 Specifying the Startup Mode

The operating mode when the power is turned ON can be specified in the System Setup.

Omron Motion Controller Module (FQM1-CM001) — 5-7-1 Specifying the Startup Mode diagram (page 141)
Fig. 72 · 5-7-1 Specifying the Startup Mode

System Setup

Tab page Name Details Settings Default

Specifies the initial operating mode when the power is turned ON.

  • System Setup disabled
  • RUN mode System Setup enabled
  • PROGRAM mode
  • MONITOR mode
  • RUN mode

5-7-2 Program Protection

The FQM1 provides the following kinds of protection for user programs.

Read Protection Using Passwords

Read and display access to the user program area can be blocked from the CX-Programmer. Protecting the program will prevent unauthorized copying of the program and loss of intellectual property.

A password is set for program protection from the CX-Programmer and read access is prevented to the whole program.

ferred to the computer.

(2) If you forget the password, programs can be transferred from the comput-

er to the FQM1. Programs can be transferred from the computer to the FQM1 even if the password protection has not been released.

Power ON · Startup Startup Mode · System Setup disabled

Page 142 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-7-3 Flash Memory
Page 142 · click to enlarge
Page 142

Operation Settings at Startup and Maintenance Functions Section 5-7

Password Protection

1,2,3... 1. Register a password either online or offline.

a. Select the Module in the Device Type drop-down menu and select Properties from the View Menu.

b. Select Protection from the PLC Properties Dialog Box and input the password.

2. Set password protection online.

a. Select PLC/Protection/Set. The Protection Setting Dialog Box will be displayed.

b. Click the OK Button.

5-7-3 Flash Memory

Automatic Backup to Flash Memory

The user program and parameters are automatically backed up in flash mem- ory whenever they are written.

  • The following data is backed up automatically: User program, parameters (including the System Setup, absolute offset data, and analog I/O offset gain adjustment values), and some DM Area data (only for the Coordinator Module).
  • The automatic backup is executed whenever the Module user program or parameter area is written (e.g., for data transfer operations from the CXProgrammer and online editing).
  • The user program and parameter data written to flash memory is automatically transferred to user memory at startup.

Data transfer from CX-Programmer

Online editing from CX-Programmer

Automatically restored when Module is turned ON.

Show 7 more labels / short text on this page
Module · User program · User memory · Transfer operation · Parameters · Automatic backup · Flash memory
Page 143 of the Omron Motion Controller Module (FQM1-CM001) user manual — 5-8-1 Error Log
Page 143 · click to enlarge
Page 143

Diagnostic Functions Section 5-8

in the PLC properties and Window/PLC Memory Backup Status must be selected from the View Menu. For normal transfer operations (PLC/Transfer), the backup status will be displayed in the transfer window after the transfer status for the program and other data. Never turn OFF the FQM1 power dur- ing these backup operations. The flash memory will be corrupted if the power is turned OFF.

Auxiliary Area Flags

Flash Memory Error Flag

A403.10 Turns ON when the flash memory is cor- rupted.

5-8 Diagnostic Functions

This section provides a brief overview of the following diagnostic and debug- ging functions.

  • Error Log
  • Failure Alarm Functions (FAL(006) and FALS(007))

5-8-1 Error Log

Each time that an error occurs, the Module stores error information in the Error Log Area. The error information includes the error code (stored in A400) and error contents. Up to 20 records can be stored in the Error Log.

In addition to system-generated errors, the Module records user-defined FAL(006) and FALS(007) errors, making it easier to track the operating status of the system.

Refer to SECTION 9 Error Processing for details.

When more than 20 errors occur, the oldest error data (in A100 to A104) is deleted, the remaining 19 records are shifted down by one record, and the newest record is stored in A195 to A199.

Name Address Meaning

Page 144 of the Omron Motion Controller Module (FQM1-CM001) user manual — Operation of FAL(006)
Page 144 · click to enlarge
Page 144

Diagnostic Functions Section 5-8

Omron Motion Controller Module (FQM1-CM001) — Diagnostic Functions Section 5-8 diagram (page 144)
Fig. 73 · Diagnostic Functions Section 5-8

A100 1 0 2 A101 A102 1 0 1 A103 1 0 1 A104 1 0 1 A105 1 0 1 A106 A107 1 0 1 A108 1 0 1 A109 1 0 1

A195 0 C 0 A196 A197 1 0 1 A198 1 0 1 A199 1 0 1

The number of records is stored in binary in the Error Log Pointer (A408). The pointer is not incremented when more than 20 errors have occurred.

5-8-2 Failure Alarm Functions

The FAL(006) and FALS(007) instructions generate user-defined errors. FAL(006) generates a non-fatal error and FALS(007) generates a fatal error that stops program execution.

When the user-defined error conditions (input conditions for FAL(006) or FAL(007)) are met, the Failure Alarm instruction will be executed and the fol- lowing processing will be performed.

1,2,3... 1. The FAL Error Flag or FALS Error Flag in the Auxiliary Area is turned ON.

2. The corresponding error code is written to the Auxiliary Area.
3. The error code is stored in the Error Log.
4. The error indicator on the front of the Modules will flash or light.
5. If FAL(006) has been executed, the Modules will continue operating. If FALS(007) has been executed, the Modules will stop operating. (Program execution will stop.)

Operation of FAL(006)

Omron Motion Controller Module (FQM1-CM001) — Operation of FAL(006) diagram (page 144)
Fig. 74 · Operation of FAL(006)

When input condition A goes ON, an error with FAL number 2 is generated and A402.15 (FAL Error Flag) is turned ON. Program execution continues.

Page 145 of the Omron Motion Controller Module (FQM1-CM001) user manual — B
Page 145 · click to enlarge
Page 145

Diagnostic Functions Section 5-8

Errors generated by FAL(006) can be cleared by executing FAL(006) with FAL number 00 or performing the error read/clear operation from the CX-Program- mer.

Operation of FALS(007)

B

FALS

When input condition B goes ON, an error with FALS number 3 is generated and A401.06 (FALS Error Flag) is turned ON. Program execution is stopped.

Errors generated by FALS(007) can be cleared by eliminating the cause of the error and performing the error read/clear operation from the CX-Programmer.

#0000

Page 146 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 6 Coordinator Module Functions
Page 146 · click to enlarge
Page 146

SECTION 6 Coordinator Module Functions

This section describes the serial communications functions, which are supported only by the Coordinator Module.

6-1 Serial Communications 124

6-1-1 Host Link Communications 126

6-1-2 No-protocol Communications (RS-232C Port) 129

6-1-3 NT Link (1:N Mode) 131

6-1-4 Serial PLC Links 132

6-1-5 Serial Gateway 134

6-1-6 No-protocol Communications (RS-422A Port) 136

Page 147 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-232C
Page 147 · click to enlarge
Page 147

Serial Communications Section 6-1

6-1 Serial Communications

The FQM1 supports the following serial communications functions.

Protocol Connections Description Ports Peripheral RS- 232C RS- 422A

Host Link Host computer or OMRON PT (Programmable Terminal)

Various control commands, such as reading and writing I/O memory, changing the operating mode, and force- setting/resetting bits, can be executed by sending Host Link (C-mode) commands or FINS commands from the host computer to the Coordi- nator Module. Use Host Link communica- tions to monitor data, such as status trace data, or to send data, such as operating con- ditions information, to the FQM1.

OK OK Not al- lowed

OMRON PT (Programmable Terminal)

Monitor and set parameters

No-protocol Communicate with general- purpose devices connected to the RS-232C port without a command–response for- mat. The TXD(236) and RXD(235) instructions are executed from the program to transmit data from the send port or read data at the receive port. The frame headers and end codes can be specified.

1:N NT Link (The 1:N NT Link commu- nications are used even for 1:1 con- nections.)

OMRON PT (Programmable Terminal)

Data can be exchanged with PTs without using a commu- nications program in the Coordinator Module.

OK OK Not al- lowed

Serial PLC Link Slave

Up to ten words per Module can be shared with up to eight Coordinator Modules as slaves using a CJM1 CPU Unit as the maser. An RS-422A Converter can be connected to the RS- 232C port on each Coordina- tor Module to communicate via RS-422A/485, or one Coordinator Module can communicate via an RS- 232C connection to the CJ1M master. The Serial PLC Links can also include PTs as slaves via NT Links (1:N) combined with Coordinator Modules.

For NSseries PTNS-AL002

CJ1M CPU Unit Master CJ1W-CIF11 connected to RS-232C port (See note.)

RS-422A/485

FQM1

FQM1

8 Units max.

CJ1M CPU Unit Master

RS-232C

FQM1

Show 7 more labels / short text on this page
Host computer · or · Not allowed · OK Not al- lowed · General-purpose external device · Not allowed · OK Not al- lowed
Page 148 of the Omron Motion Controller Module (FQM1-CM001) user manual — OK
Page 148 · click to enlarge
Page 148

Serial Communications Section 6-1

Protocol Connections Description Ports Peripheral RS- 232C RS- 422A

Provides high-speed commu- nications with the CX-Pro- grammer. (Remote programming through modems is not sup- ported.)

OK OK Not al- lowed

Communications are possi- ble between a host com- puter or PT connected to the RS-232C port and Servo Drivers connected to the RS- 422A port.

OK

OMRON PT (Programmable Terminal)

No-protocol TXD(236) and RXD(235) instructions in the Coordina- tor Module program can be used to send data to and receive data from Servo Driv- ers.

OK

FQM1

Show 11 more labels / short text on this page
Peripheral Bus · Programming Device (CX-Programmer) · Serial Gate- way · Not allowed · Not al- lowed · Host computer · or · Servo Drivers · Not allowed · Not al- lowed · Servo Drivers
Page 149 of the Omron Motion Controller Module (FQM1-CM001) user manual — FINS
Page 149 · click to enlarge
Page 149

Serial Communications Section 6-1

6-1-1 Host Link Communications

The following table shows the Host Link communication functions available in FQM1. Select the method that best suits your application.

Command type Communica- tions method

remarks Create frame in the host com- puter and send command to the FQM1. Receive the response from the FQM1.

Host computer to FQM1

Directly connect the host computer in a 1:1 or 1:N system.

Use this method when communi- cating primarily from the host com- puter to the FQM1. To use FINS com- mands, the host computer must send the com- mands using a Host Link header and terminator.

C-mode (Host Link) commands

OR

FINS command (with Host Link header and terminator)

Directly connect the host computer in a 1:1 or 1:N system.

Omron Motion Controller Module (FQM1-CM001) — OR diagram (page 149)
Fig. 75

FINS

OR

Procedure

Set the System Setup from the CX-Programmer. (Settings such as the Host Link communica- tions mode and parameters.)

Refer to CX-Programmer Operation Manual for CX- Programmer procedures.

Connect the Coordiator Module to the general-purpose external device using RS-232C.

Host computer to FQM1

Send host link commands from the host computer.

Send FINS com- mands from the host computer.

A list of Host Link commands is provided next. Refer to the C-series Host Link Units System Manual (W143) for details on Host Link and FINS commands.

Show 9 more labels / short text on this page
Command · Configuration Application and · flow · Host Link command · Command · Header Terminator · Command · Power OFF · Power ON
Page 150 of the Omron Motion Controller Module (FQM1-CM001) user manual — KC FORCE SET/RESET CANCEL
Page 150 · click to enlarge
Page 150

Serial Communications Section 6-1

Host Link Commands The following table lists the Host Link commands. Refer to the C-series Host Link Units System Manual (W143) for details.

RR CIO AREA READ Reads the contents of the specified number of CIO Area words, starting from the specified word. RC PV READ Reads the contents of the specified number of timer/counter PVs (present values), starting from the specified timer/counter.

RG T/C STATUS READ Reads the status of the Completion Flags of the specified number of timers/counters, starting from the specified timer/counter.

RD DM AREA READ Reads the contents of the specified number of DM Area words, starting from the specified word.

RJ AR AREA READ Reads the contents of the specified number of Auxiliary Area words, starting from the specified word. Writing I/O memory

WR CIO AREA WRITE Writes the specified data (word units only) to the CIO Area, starting from the specified word. WC PV WRITE Writes the PVs (present values) of the specified number of timers/counters, starting from the specified timer/counter. WD DM AREA WRITE Writes the specified data (word units only) to the DM Area, starting from the specified word.

WJ AR AREA WRITE Writes the specified data (word units only) to the Auxiliary Area, starting from the specified word.

Changing timer/counter set values

R# SV READ 1 Reads the 4-digit BCD constant or word address in the SV of the specified timer/counter instruction.

R$ SV READ 2 Searches for the specified timer/counter instruction beginning at the specified program address and reads the 4-digit con- stant or word address of the SV.

R% SV READ 3 Searches for the specified timer/counter instruction beginning at the specified program address and reads the 4-digit BCD constant or word address of the SV.

W# SV CHANGE 1 Changes the 4-digit BCD constant or word address in the SV of the specified timer/counter instruction.

W$ SV CHANGE 2 Searches for the specified timer/counter instruction beginning at the specified program address and changes the 4-digit con- stant or word address of the SV.

W% SV CHANGE 3 Searches for the specified timer/counter instruction beginning at the specified program address and changes the 4-digit con- stant or word address of the SV. MS STATUS READ Reads the operating status of the Coordinator Module (operat- ing mode, force-set/reset status, fatal error status).

SC STATUS CHANGE Changes the Coordinator Module’s operating mode. MF ERROR READ Reads errors in the Coordinator Module (non-fatal and fatal).

KS FORCE SET Force-sets the specified bit.

KR FORCE RESET Force-resets the specified bit. FK MULTIPLE FORCE SET/RESET

Force-sets, force-resets, or clears the forced status of the specified bits.

KC FORCE SET/RESET CANCEL

Cancels the forced status of all force-set and force-reset bits.

MM PLC MODEL READ Reads the model type of the FQM1.

Test commands TS TEST Returns, unaltered, one block of data transmitted from the host computer.

Show 7 more labels / short text on this page
Type Header · Name Function · code · Reading I/O memory · Status com- mands · Force-set/reset commands · Reading model codes
Page 151 of the Omron Motion Controller Module (FQM1-CM001) user manual — 0C 02 ACCESS RIGHT FORCED ACQUIRE
Page 151 · click to enlarge
Page 151

Serial Communications Section 6-1

Program area access com- mands

RP PROGRAM READ Reads the contents of the Coordinator Module’s user program area in machine language (object code). WP PROGRAM WRITE Writes the machine language (object code) program transmit- ted from the host computer into the Coordinator Module’s user program area. Compound reading of I/O memory

QQMR COMPOUND COMMAND Registers the desired bits and words in a table.

QQIR COMPOUND READ Reads the registered words and bits from I/O memory.

Processing Host Link communi- cations

XZ ABORT (command only) Aborts the Host Link command that is currently being pro- cessed. ** INITIALIZE (command only)

Initializes the transmission control procedure of all Host Link Units connected to the host computer. IC Undefined command (response only)

This response is returned if the header code of a command was not recognized.

FINS Commands The following table lists the FINS commands. Refer to the C-series Host Link Units System Manual (W143) for details.

I/O Memory Area Access

01 01 MEMORY AREA READ Reads consecutive data from the I/O memory area. 01 02 MEMORY AREA WRITE Writes consecutive data to the I/O memory area.

01 03 MEMORY AREA FILL Fills the specified range of I/O memory with the same data.

01 04 MULTIPLE MEMORY AREA READ

Reads non-consecutive data from the I/O memory area.

01 05 MEMORY AREA TRANSFER Copies and transfers consecutive data from one part of the I/O memory area to another. Parameter Area Access

02 01 PARAMETER AREA READ Reads consecutive data from the parameter area.

02 02 PARAMETER AREA WRITE Writes consecutive data to the parameter area. 02 03 PARAMETER AREA FILL Fills the specified range of the parameter area with the same data. Program Area Access

03 06 PROGRAM AREA READ Reads data from the user program area.

03 07 PROGRAM AREA WRITE Writes data to the user program area. 03 08 PROGRAM AREA CLEAR Clears the specified range of the user program area.

04 01 RUN Switches the Coordinator Module to RUN or MONITOR mode. 04 02 STOP Switches the Coordinator Module to PROGRAM mode.

05 01 CONTROLLER DATA READ Reads Coordinator Module information. 05 02 CONNECTION DATA READ Reads the model numbers of the specified Units.

Status Read 06 01 CONTROLLER STATUS READ Reads the Coordinator Module’s status information.

06 20 CYCLE TIME READ Reads the average, maximum, and minimum cycle times. Message Access

09 20 MESSAGE READ/CLEAR Reads/clears messages and FAL(S) messages.

Access Right 0C 01 ACCESS RIGHT ACQUIRE Acquires the access right if no other device holds it.

0C 02 ACCESS RIGHT FORCED ACQUIRE

Acquires the access right even if another device cur- rently holds it.

0C 03 ACCESS RIGHT RELEASE Releases the access right regardless of what device holds it. Error Access 21 01 ERROR CLEAR Clears errors and error messages.

21 02 ERROR LOG READ Reads the error log. 21 03 ERROR LOG CLEAR Clears the error log pointer to zero.

Show 8 more labels / short text on this page
Type Header · Name Function · code · Type Command · Name Function · code · Execution Control · Configuration Read
Page 152 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1
Page 152 · click to enlarge
Page 152

Serial Communications Section 6-1

Forced Status 23 01 FORCED SET/RESET Force-sets, force-resets, or clears the forced status of the specified bits. 23 02 FORCED SET/RESET CANCEL Cancels the forced status of all force-set and force-reset bits.

6-1-2 No-protocol Communications (RS-232C Port)

No-protocol Mode is used to send and receive data using the communications port TXD(236) and RXD(235) I/O instructions in the Coordinator Module lad- der program, without using retry processing, data conversion, branch pro- cessing based on received data, or other communications procedures and without converting the data.

No-protocol mode can be used with the RS-232C and RS-422A ports in the Coordinator Module. Data can be sent or received in one direction only between the Module and the general-purpose external device connected to the RS-232C or RS-422A port. For example, data can be input from a bar code reader or output to a printer, or parameter data can be sent and received from a host controller.

Coordinator Module Coordinator Module ladder program

FQM1

RS-232C

The following table lists the no-protocol communications functions available for the FQM1.

Method Max. amount of

Frame format Other functions

Start code End code

Sending data FQM1 to Gen- eral-purpose external device

  • Send delay time (delay between TXD(236) execution and sending data from specified port): 0 to 99,990 ms (unit: 10 ms)
  • RS and ER signal ON/OFF Receiving data

Execute TXD(236) in the program

256 bytes Yes00 to FF No: None

Yes: 00 to FF CR+LF None (Specify recep- tion data size to between 1 and 256 bytes when set to none.)

General-pur- pose external device to FQM1

Execute RXD(235) in the program

256 bytes Monitoring of CS and DR signals

Show 9 more labels / short text on this page
Type Command · Name Function · code · TXD/RXD instructions · RS-232C port · No protocol · General-purpose external device · Send/receive Transfer direction · data
Page 153 of the Omron Motion Controller Module (FQM1-CM001) user manual — Message Frame Formats for No-protocol Mode Transmission and Reception
Page 153 · click to enlarge
Page 153

Serial Communications Section 6-1

Procedure

Make the System Setup settings from the CX-Programmer (e.g., set the serial communications mode to Non-procedural and set the other communications conditions.)

Refer to the CX-Programmer Operation Manual.

Connect the Coordinator Module and the general-purpose external device using RS-232C

FQM1 → General-purpose external device

General-purpose external device → FQM1

Execute TXD.

Execute RXD.

Message Frame Formats

Data can be placed between a start code and end code for transmission by TXD(236) and frames with that same format can be received by RXD(235). When transmitting with TXD(236), just the data from I/O memory is transmitted, and when receiving with RXD(235), just the data itself is stored in specified area in I/O memory.

Up to 256 bytes (not including the start and end codes) can be transferred each time TXD(236) or RXD(235) are used. The start and end codes are specified in the System Setup.

Message Frame Formats for No-protocol Mode Transmission and Reception

Item End code setting

No Yes CR+LF Start code setting

256 bytes max.

256 bytes max.

256 bytes max.

256 bytes max.

256 bytes max.

256 bytes max.

  • When more than one start code is used, the first start code will be valid.
  • When more than one end code is used, the first end code will be valid.
  • If the data being transferred contains the end code, the data transfer will be stopped midway. In this case, change the end code to CR+LF.
Show 10 more labels / short text on this page
Power OFF · Power ON · No · ED Data · CR+LF Data · Data · Yes · ST CR+LF Data · ST Data · ST ED Data
Page 154 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup
Page 154 · click to enlarge
Page 154

Serial Communications Section 6-1

Refer to the Instructions Reference Manual (Cat. No. O011) for more details on the TXD(236) and RXD(235) instructions.

System Setup RS-232C Settings (Host Link Port Settings)

Item Setting Default Enabled Mode RS-232C Host Link Each cycle

Delay 0 to 99,990 ms (unit: 10 ms) 0 ms End Code 00 to FF hex 00 hex

Start Code 00 to FF hex 00 hex Received bytes 1 to 255 bytes 256 bytes

Use of end code Received bytes or CR+LF Received bytes Use of start code None None

6-1-3 NT Link (1:N Mode)

With the FQM1, communications are possible with PTs (Programmable Ter- minals) using NT Links (1:N mode).

The settings can be made using System Setup and the PT system menu.

System Setup

Mode NT Link (1:N mode)

Host Link Turn ON pin 2 on the Coordi- nator Module DIP switch. Baud Standard NT Link

NT Link max. 0 to 7 0 --- RS-232C port

Mode NT Link (1:N mode)

Baud Standard NT Link

NT Link max. 0 to 7 0 ---

PT System Menu Set the PT as follows:

1,2,3... 1. Select NT Link (1:N) from the Comm. A Method or Comm. B Method on the Memory Switch Menu in the System Menu on the PT.

2. Press the SET Touch Switch to set the Comm. Speed to Standard. Highspeed communications are not possible.
Show 13 more labels / short text on this page
Transmission delay time · Transmission · Time · TXD(236) instruction · Communi- · Name Settings contents · Default Other conditions · cations · port · Peripheral port · Standard NT Link · Host Link --- · Standard NT Link
Page 155 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-232C
Page 155 · click to enlarge
Page 155

Serial Communications Section 6-1

6-1-4 Serial PLC Links

Overview The FQM1 can be connected to a Serial PLC Link by linking to a Serial PLC Master. (It cannot be connected by the Complete Link Method.) Program-free data exchange can be achieved between the master and slave by connecting a CJ1M CPU Unit as the master and the FQM1 as the slave. The FQM1 con- nection is made to the RS-232C port on the Coordinator Module.

CIO 0080 to CIO 0099 in the Serial PLC Link Bit Area in the Coordinator Mod- ule are shared with the CJ1M master as shown below.

CIO 0080 to CIO 0089: CJ1M master to FQM1 slave CIO 0090 to CIO 0099: FQM1 slave to CJ1M maser

Up to 10 words can be sent by the CJM1 and FQM1. Fewer words can be sent by setting the number of link words, but the number of words will be the same for both the CJM1 and FQM1.

System Configuration 1:N Connection between CJ1M and FQM1 Controllers (8 Nodes Max.)

CJ1M CPU Unit (master)

CJ1W-CIF11 RS-232C to RS-422A/485 Conversion Adapter connected to RS-232C port

RS-422A/485

Coordinator Module Data sharing

FQM1 (slave) FQM1 (slave)

CJ1W-CIF11 RS-232C to RS-422A/485 Conversion Adapters connected to RS-232C ports

8 nodes max.

1:1 Connection between CJ1M and FQM1 Controller

CJ1M CPU Unit (master)

RS-232C

Coordinator Module Data sharing

FQM1 (slave) · FQM1 (slave)

Page 156 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1 (Slave) Settings
Page 156 · click to enlarge
Page 156

Serial Communications Section 6-1

Direction of Data Transfer For example, if the number of link words is set to 10, the CJ1M CPU Unit (master) will broadcast CIO 3100 to CIO 3109 from its I/O memory and to CIO 0080 to CIO 0089 in the I/O memory of each FQM1 Controller (slaves). Each FQM1 Controller will send CIO 0090 to CIO 0099 from its I/O memory to consecutive sets of 10 words in the CJ1M CPU Unit.

Omron Motion Controller Module (FQM1-CM001) — Serial Communications Section 6-1 diagram (page 156)
Fig. 76 · Serial Communications Section 6-1

FQM1 (slave) No. 0 FQM1 (slave) No. 1 FQM1 (slave) No. 2 CJ1M CPU Unit (master)

Serial PLC Link Bit Area Serial PLC Link Bit Area Serial PLC Link Bit Area

Source Words and Number of Link Words

The words that will be sent depend on the number of link words as shown in the following table.

Omron Motion Controller Module (FQM1-CM001) — Source Words and Number of Link Words diagram (page 156)
Fig. 77 · Source Words and Number of Link Words

Send direction Send words No. of link words 1 word 2 words 3 words ... 10 words

CJ1M to FQM1 No. 0 CIO 0080 CIO 0080 to CIO 0081

... CIO 0080 to CIO 0089 CJ1M to FQM1 No. 1

CJ1M to FQM1 No. 2 CJ1M to FQM1 No. 3

CJ1M to FQM1 No. 4 CJ1M to FQM1 No. 5

CJ1M to FQM1 No. 6 CJ1M to FQM1 No. 7

Procedure The Serial PLC Links operate according to the following settings in the PLC Setup and System Setup.

CJ1M (Master) Settings

1,2,3... 1. Set the serial communications mode of the RS-232C communications port to Serial PLC Links (Polling Unit).

2. Set the link method to the Polling Unit Link Method.
3. Set the number of link words (1 to 10).
4. Set the maximum unit number in the Serial PLC Links (0 to 7).

FQM1 (Slave) Settings

1,2,3... 1. Set the serial communications mode of the RS-232C communications port to PC Link (Slave).

2. Set the unit number of the Serial PLC Link slave.
Page 157 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-422A-compatible Servo Drivers
Page 157 · click to enlarge
Page 157

Serial Communications Section 6-1

Settings CJ1M (Master) PLC Setup

Item Address Set value Default Refresh timing

Word Bits RS-232C port setting

160 08 to 11 8 hex: Serial PLC Links Polling Unit

0 hex Every cycle

Port baud rate 161 00 to 07 00 to 09 hex: Standard (0A hex: High-speed can- not be used.)

Link method 166 15 ONPolling Unit links (OFF: Complete links cannot be used.)

Number of link words

04 to 07 1 to A hex 0 hex (See note 1.) Highest unit num- ber

00 to 03 0 to 7 hex 0 hex

hex is used.

(2) Connection to the FQM1 is not possible at 115,200 bits/s.

FQM1 (Slave) System Setup

Item Set value Default Refresh timing

Mode 7 hex: PC Link (Slave) Host Link Every cycle Baud 00 to 09 hex: Standard (0A hex: High-speed cannot be used.)

Standard (38,400:1, 8, 1, 0)

PC Link Unit No. 0 to 7 hex 0 hex

6-1-5 Serial Gateway

Serial Gateway Function

Servo parameters and other data can be read and written from NS-series PTs or personal computers (applications that operate on the CX-Server) to Servo Drivers that are connected to the FQM1 Coordinator Module's RS-422A port.

This function can be executed by setting the FQM1 Coordinator Module’s RS- 422A serial communications mode to Serial Gateway.

RS-422A-compatible Servo Drivers

OMRON W-series and OMRON SMARTSTEP Servo Drivers.

System Configuration Example: Accessing a W-series or SMARTSTEP Servo Driver from Smart Active Parts on a NS-series PT using an NT Link

Serial communica- tions mode · 00 hex · RS-232C port settings

Page 158 of the Omron Motion Controller Module (FQM1-CM001) user manual — Smart Active Parts Communications Settings
Page 158 · click to enlarge
Page 158

Serial Communications Section 6-1

NT Link Coordinator Module

FQM1

Servo parameters or other data

RS-422A

W-series or SMARTSTEP Servo Driver

W-series or SMARTSTEP Servo Driver

System Setup

Item Settings Default Enabled

Drive Tab Page Mode Serial Gateway or Non-procedural (no-protocol)

Serial Gateway Each cycle

RS-422 Response Time- out of Command

0.1 to 25.5 s (unit0.1 s) 5 s

Smart Active Parts Communications Settings

When using NS-series Smart Active Parts for Servo Drivers with the FQM1, set the Destination Unit No. (U) to 251 on the Smart Active Parts Communica- tions Settings Screen. No. 251 indicates the RS-422A port for the FQM1.

Omron Motion Controller Module (FQM1-CM001) — Smart Active Parts Communications Settings diagram (page 158)
Fig. 78 · Smart Active Parts Communications Settings

NS-series PT · Smart Active Parts · Protocol conversion

Page 159 of the Omron Motion Controller Module (FQM1-CM001) user manual — RS-422A Settings
Page 159 · click to enlarge
Page 159

Serial Communications Section 6-1

6-1-6 No-protocol Communications (RS-422A Port)

Coordinator Module Coordinator Module ladder program

FQM1

RS-422A RS-232C

Servo Driver Servo Driver

RS-422A Settings

Item Settings Default Enabled Mode No-protocol Serial Gateway Each cycle

Delay 0 to 99,990 ms (unit: 10 ms) 0 ms End code 00 to FF hex 00 hex

Start code 00 to FF hex 00 hex Received bytes 01 to FF hex: 1 to 255 bytes 256 bytes

Use of end code Received bytes or CR+LF Received bytes Use of start code

Show 8 more labels / short text on this page
TXD/RXD instructions · RS-232C port · No-protocol · RS-422A port · No-protocol · General- purpose external device · No Yes · No
Page 160 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 7 Motion Control Module Functions
Page 160 · click to enlarge
Page 160

SECTION 7 Motion Control Module Functions

This section describes the various functions supported by the Motion Control Module.

7-1 Overview 139

7-2 Interrupt Functions 140

7-2-1 Overview 140

7-2-2 Interrupt Priority 140

7-2-3 Disabling and Enabling All Interrupts 141

7-3 Input Interrupts 142

7-3-1 Applicable Models 142

7-3-2 Overview of the Input Interrupt Function 142

7-3-3 Interrupt Modes 142

7-3-4 Input Interrupt Specifications 142

7-3-5 Using Input Interrupts 143

7-3-6 Application Example 145

7-4 Interval Timer Interrupts 146

7-4-1 Applicable Models 146

7-4-2 Overview 146

7-4-3 Interval Timer Interrupt Modes 146

7-4-4 Using Interval Timer Interrupts 146

7-4-5 Application Example 147

7-5 Pulse Inputs 148

7-5-1 Applicable Models 148

7-5-2 Outline 148

7-5-3 Specifications 148

7-5-4 Pulse Input Specifications 150

7-5-5 Latch Input Specifications 152

7-5-6 Applicable Instructions 152

7-5-7 Internal Circuit Configurations 152

7-5-8 Pulse Input Function Description 153

7-5-9 Pulse Input Function Procedures 160

7-5-10 Pulse Input Function Example Application 162

7-6 Pulse Outputs 167

7-6-1 Applicable Models 167

7-6-2 Outline 167

7-6-3 Specifications 168

7-6-4 Pulse Output Specifications 169

7-6-5 Applicable Instructions 170

7-6-6 Pulse Output Function Details 171

7-6-7 One-shot Pulse Output Function 176

7-6-8 Time Measurement with the Pulse Counter 178

7-6-9 Target-value Comparison Interrupts from Pulse Output PVs 179

Page 161 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 7 Motion Control Module Functions
Page 161 · click to enlarge
Page 161

7-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVs . . . 182

7-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructions 182

7-6-12 PLS2(887) Pulse Output Direction Priority Mode 183

7-6-13 Pulse Output Function Procedures 184

7-6-14 Pulse Output Function Examples 189

7-6-15 Pulse Output Starting Conditions 194

7-7 Functions for Servo Drivers Compatible with Absolute Encoders 199

7-7-1 Applicable Models 199

7-7-2 Overview 199

7-7-3 Data Format of Absolute Encoder Output 200

7-7-4 Counter Operation 201

7-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605) . . 202

7-7-6 Absolute Present Value 202

7-7-7 Absolute Present Value Preset 203

7-7-8 Absolute Offset Preset 203

7-7-9 Related Areas 204

7-7-10 Overview of Absolute Encoder Output Data Acquire 207

7-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encoders 209

7-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver) 209

7-8 Virtual Pulse Output Function 212

7-8-1 Applicable Models 212

7-8-2 Overview 212

7-8-3 AXIS Instruction (For Virtual Pulse Outputs) 213

7-8-4 Application Example 215

7-9 Analog Input Functions 215

7-9-1 Applicable Models 215

7-9-2 Overview 215

7-9-3 Analog Input Function Specifications 217

7-9-4 Related Areas and Settings 218

7-9-5 Applicable Instructions 222

7-9-6 A/D Conversion Value 222

7-9-7 High-speed Analog Sampling (FQM1-MMA21 Only) 223

7-10 Analog Outputs 225

7-10-1 Applicable Models 225

7-10-2 Outline 225

7-10-3 Analog Output Function Specifications 226

7-10-4 Applicable Instructions 228

7-10-5 Procedure 229

7-10-6 Application Example 230

Page 162 of the Omron Motion Controller Module (FQM1-CM001) user manual — Overview Section 7-1
Page 162 · click to enlarge
Page 162

Overview Section 7-1

7-1 Overview

The FQM1 Modules have the following functions.

Main function (Applicable Modules)

Basic interrupt functions (FQM1-MMP21/MMA21)

Input Interrupts (4 points) (Input Interrupt Mode or Counter Mode) Interval Timer Interrupt (1 point) Setting range: 0.5 to 99,990 ms Unit: 0.1 ms

Constant Cycle Time Exceeded Error Clear Function High-speed Counters (FQM1-MMP21/MMA21)

High-speed Counter PVs (2 points) Phase differential, Increment/decre- ment, or Pulse + direction; 50 kHz or 500 kHz

Target Value Comparison Interrupts (Count check interrupts) Range Comparison and Bit Pattern Outputs

High-speed Counter Movement Measurement Sampling time (1 to 9,999 ms) or cycle time

High-speed Counter Frequency Measurement Measured frequency: 0 to 500 kHz (1 point)

High-speed Counter Latch (2 latch inputs) (Latched high-speed counter PV can be read with PRV(881) instruction.) Functions for Servo Drivers Compatible with Absolute Encoders (FQM1-MMP21/MMA21)

Absolute Number of Rotations PV

Absolute PV Absolute PV Preset Function

Absolute Offset Preset Function Pulse Outputs (FQM1-MMP21 only)

Pulse Outputs (2 points) Pulse output without acceleration/deceleration, non-trapezoidal acceleration or decel- eration, trapezoidal acceleration/deceleration, and electronic cam control

One-shot Pulse Output Pulse ON time: 0.01 to 9,999 ms Pulse Counter (for time measurement) Measurement unit: Select 0.001 ms, 0.01 ms, 0.1 ms, or 1 ms. Measurement range: 0000 0000 to FFFF FFFF hex

These three interrupt/bit pattern output settings can be set for the Pulse Out- puts, One-shot Pulse Outputs, and Pulse Counter Functions listed above.

No interrupts Target Value Comparison Interrupts (Count check interrupts)

Range Comparison and Bit Pattern Outputs Virtual Pulse Outputs (FQM1-MMP21/MMA21)

The AXIS instruction generates trapezoidal acceleration/deceleration in a virtual axis.

Analog Outputs (FQM1-MMA21 only)

Sloped Output by Instruction (2 points) 1 to 5 V, 0 to 5 V, 0 to 10 V, or −10 to 10 V Immediate refreshing at instruction execution, analog output value hold function, offset/ gain adjustment supported Analog Inputs (FQM1-MMA21 only)

Immediate Refreshing by Instruction (1 point) 1 to 5 V, 0 to 5 V, 0 to 10 V, −10 to 10 V, or 4 to 20 mA

Offset/Gain Adjustment of Analog Input Value High-speed Analog Sampling The CTBL(882) instruction starts analog sampling when the high-speed counter 1 PV matches the preset target value.

Show 4 more labels / short text on this page
Sub-functions · Scheduled Interrupts · One-shot Interrupts · No interrupts
Page 163 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-2-2 Interrupt Priority
Page 163 · click to enlarge
Page 163

Interrupt Functions Section 7-2

7-2 Interrupt Functions

7-2-1 Overview

The Motion Control Modules support the following interrupts.

Executing Interrupt Programs in the FQM1

The programming routines that are executed for all of the following interrupts are programmed as interrupt tasks.

Input Interrupts Inputs to the Motion Control Module’s built-in contact inputs 0 to 3 can be set as interrupt inputs. If they are set as interrupt inputs, an interrupt will be gen- erated when the input turns ON, OFF, or both. If they are set for Counter Mode, an interrupt will be generated when a specified counter value is reached.

Interval Timer Interrupts An interrupt will be generated for an interval timer that can be set to a preci- sion of 0.1 ms. Interval timer interrupts can also be used in the Coordinator Module.

High-speed Counter Interrupts

An interrupt will be generated when the PV of the counter equals a preset tar- get value.

Pulse Output Interrupts An interrupt will be generated when the PV of the pulse output (or the pulse counter’s PV/measured time) equals a preset target value.

7-2-2 Interrupt Priority

A specified interrupt task will be executed when an interrupt is generated. The priority of interrupts is shown below.

If an additional interrupt occurs while another interrupt is already being pro- cessed, the new interrupt will be executed after the first interrupt task has been completed.

If two or more interrupts occur simultaneously, the higher-priority interrupt will be executed first. Interrupts have the following priority:

  • Input interrupt 0 → Input interrupt 1 → Input interrupt 2 → Input interrupt 3
  • Interval timer interrupt → Pulse output 1 interrupt → Pulse output 2 interrupt → High-speed counter 1 interrupt → High-speed counter 2 interrupt

An instruction controlling a port operation cannot be programmed in an inter- rupt task if an instruction in the main program is already controlling pulse I/O or a high-speed counter for the same port. If this is attempted, the ER Flag will turn ON. The following instructions are included: INI(880), PRV(881), CTBL(882), SPED(885), PULS(886), PLS2(887), ACC(888), and STIM(980).

Page 164 of the Omron Motion Controller Module (FQM1-CM001) user manual — (@)EI
Page 164 · click to enlarge
Page 164

Interrupt Functions Section 7-2

This situation can be avoided with the programming methods shown in the fol- lowing diagram.

Method 1Disabling all interrupts in the main program

Method 2: Executing the routine in the main program instead of the interrupt task, where it could not be executed.

MSKS

CTBL

PRV

0001 0002 D00000

0001 0000 D00000

ON

@PLS2

0001 0000 D00010

0002.00

@CTBL

P_ER

SET 0002.00

0001 0000 D00000

MSKS

RSET 0002.00

Note Only one interrupt task number is recorded for pulse output and high-speed counter interrupts. When a pulse output or high-speed counter interrupt is on standby (because another interrupt is being executed or interrupts are dis- abled) and another interrupt occurs, the earlier interrupt task number is replaced with the most recent interrupt task number. Design the system to allow sufficient time between interrupts for the length of the interrupt tasks to prevent unwanted conflicts between interrupts.

7-2-3 Disabling and Enabling All Interrupts

All interrupts can be disabled using the DI(802) instruction, as shown below. The following interrupts are disabled and enabled by DI(802) and EI(694).

  • Input interrupts
  • Interval timer interrupts
  • High-speed counter interrupts
  • Pulse output interrupts Observe the following precautions when using DI(802).
  • DI(802) and EI(694) cannot be used within an interrupt task to disable or enable interrupts.
  • Do not use DI(802) to disable all interrupts unless there is a specific need to do so.

Disabling All Interrupts

The DI(802) instruction will disable all interrupts.

(@)DI

Enabling All Interrupts

The EI(694) instruction clears the prohibition on all interrupts that was set with the DI(802) instruction.

(@)EI

Show 7 more labels / short text on this page
(Main program) · (Interrupt task) · P_On · 0100 0000 0000 · Always · ER Flag · 0200 0000 0000
Page 165 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-3-4 Input Interrupt Specifications
Page 165 · click to enlarge
Page 165

Input Interrupts Section 7-3

The EI(694) instruction does not enable all interrupts. If an interrupt was masked before all interrupts were disabled, that interrupt will still be masked after the prohibition on all interrupts is cleared.

Clearing Recorded Interrupts

The CLI(691) instruction clears the interrupt event information recorded while all interrupts were disabled by the DI(802) instruction.

7-3 Input Interrupts

7-3-1 Applicable Models

Model number Functions FQM1-MMP21 Motion Control Module for Pulse I/O

FQM1-MMA21 Motion Control Module for Analog I/O

7-3-2 Overview of the Input Interrupt Function

Contact inputs 0 to 3 in the Motion Control Modules can be used for external interrupt inputs. These inputs correspond to CIO 0000.00 to CIO 0000.03. The interrupt tasks corresponding to these inputs are fixed and cannot be changed. Contact inputs 0 to 3 call interrupt tasks 000 to 003, respectively.

7-3-3 Interrupt Modes

There are two modes that can be used for the input interrupts. Each of the four interrupt inputs can be set to either of these modes.

  • Input Interrupt Mode: An interrupt is generated when the external input turns ON, OFF, or both.
  • Counter Mode: External signals are counted, decrementing the PV from an SV, and an interrupt is generated when the PV equals 0.

The interrupt mode for each interrupt input is set using the MSKS(690) instruction.

7-3-4 Input Interrupt Specifications

Input Interrupt Mode

Interrupt condition Contact inputs 0 to 3 (CIO 0000.00 to CIO 0000.03) turn ON, OFF, or both

CIO 0000.00 to CIO 0000.03Interrupt tasks 000 to 003

Response time 0.1 ms for ON interrupt condition The response time is measured from when interrupt condition is met until interrupt task execution starts. Signal pulse width ON: 0.1 ms min., OFF: 0.2 ms min.

Item Specification

Page 166 of the Omron Motion Controller Module (FQM1-CM001) user manual — 1 CIO 0000.01
Page 166 · click to enlarge
Page 166

Input Interrupts Section 7-3

Counter Mode

Item Specification Interrupt condition Counter decremented from SV each time input contacts 0 to 3 (CIO 0000.00 to CIO 0000.03) turn ON, OFF, or both and PV reaches 0.

CIO 0000.00 to CIO 0000.03Interrupt tasks 000 to 003 (fixed)

Counter operation Decrementing pulse input Input method Single phase

Counting speed 2 kHz Counter value 0000 to FFFF hex

Counter PV storage Input interrupts 0 to 3 (CIO 0000.00 to CIO 0000.03): A524 to A527

Counter SV storage Input interrupts 0 to 3 (CIO 0000.00 to CIO 0000.03): A520 to A523

7-3-5 Using Input Interrupts

Input Interrupt Mode Procedure

1,2,3... 1. Determine which input interrupt number will be used.

2. Wire the input.

Input Allocated input bit Interrupt task number External interrupt input 0 CIO 0000.00 000

External interrupt input 1 CIO 0000.01 001 External interrupt input 2 CIO 0000.02 002

External interrupt input 3 CIO 0000.03 003

3. Make the necessary System Setup settings.
  • Set the Interrupt Input Settings (set whether an interrupt will be generated when the input turns ON, OFF, or both).
4. Create the necessary ladder programming.
  • Use the MSKS(690) instruction (SET INTERRUPT MASK) to enable the input as an interrupt input.
  • Create the interrupt task program.

0 CIO 0000.00

Interrupt generated.

1 CIO 0000.01

2 CIO 0000.02

3 CIO 0000.03

Execute specified task.

END Interrupt input 1

Show 10 more labels / short text on this page
Interrupt task num- bers · Interrupt input · Interrupt input 0 · Ladder program · MSKS Interrupt control · Enable interrupt inputs · Interrupt input 2 · Interrupt input 3 · System Setup · Interrupt input settings
Page 167 of the Omron Motion Controller Module (FQM1-CM001) user manual — MSKS
Page 167 · click to enlarge
Page 167

Input Interrupts Section 7-3

Counter Mode Procedure

1,2,3... 1. Determine which input interrupt number will be used.

2. Determine the initial SV for the decrementing counter.
3. Wire the input.

Input Allocated input bit Interrupt task number External interrupt input 0 CIO 0000.00 000

External interrupt input 1 CIO 0000.01 001 External interrupt input 2 CIO 0000.02 002

External interrupt input 3 CIO 0000.03 003

4. Make the necessary System Setup settings.
  • Set the Interrupt Input Settings (set whether an interrupt will be generated when the input turns ON, OFF, or both).
5. Create the necessary ladder programming.
  • Use the MSKS(690) instruction (SET INTERRUPT MASK) to refresh the counter’s SV in counter mode.
  • Create the interrupt task program.

0 CIO 0000.00

Counter 0, 1 kHz

Interrupt input (counter mode)

Interrupt generated.

1 CIO 0000.01

See note.

2 CIO 0000.02

3 CIO 0000.03

Execute specified task.

MSKS

END

Counter 1, 1 kHz

Interrupt used only when the counter counts out.

Counter 2, 1 kHz

Counter 3, 1 kHz

Refresh PV (once each cycle)

Show 19 more labels / short text on this page
Interrupt input · Ladder program · Interrupt control · Refresh PV (Decrementing) · Change SV (Decrementing) · Counter SV · A520 Counter 0 · A521 Counter 1 · A522 Counter 2 · A523 Counter 3 · (Auxiliary Area) · System Setup · Interrupt input settings · Counter PV · A524 Counter 0 · A525 Counter 1 · A526 Counter 2 · A527 Counter 3 · (Auxiliary Area)
Page 168 of the Omron Motion Controller Module (FQM1-CM001) user manual — END
Page 168 · click to enlarge
Page 168

Input Interrupts Section 7-3

7-3-6 Application Example

This example shows input interrupt 0 and input interrupt 1 used in interrupt input mode and counter mode, respectively.

Before executing the program, verify that the following System Setup settings have been made: input 0 and input 1 both set to Interruption (up). The other System Setup settings are set to their default settings.

MOV

The SV of input interrupt 1 counter mode operation is set to 10 in 4-digit hexadecimal (000A).

#000A

(ON for the first cycle)

A521

0002.00

When CIO 0002.00 is ON, the following instructions are executed.

@CLI

(1) Clears any masked interrupts

for input interrupts 0 and 1.

@CLI

(2) Enables interrupts by input

interrupt 0 in Input interrupt mode.

@MSKS

(3) Enables interrupts by input

@MSKS

interrupt 1 in counter mode. (The counter SV is 10 decimal.)

0002.00

@MSKS

When CIO 0002.00 is OFF, MSKS(690) masks input interrupts 0 and 1 and disables those interrupts.

@MSKS

Interrupt task 000 is called when there is an interrupt from input interrupt 0, 10 is added to the counter SV for input interrupt 1 (the SV increases to 20), and the counter is refreshed.

ADB

A521 #000A A521

MSKS

END

When input interrupt 1 counts down to 0, interrupt task 001 is called and executed.

END

Show 12 more labels / short text on this page
P_First_Cycle · #0000 #0001 · #0001 #0001 · #0000 #0000 · #0001 #0002 · #0000 #0001 · #0001 #0001 · P_On (Always ON) · Interrupt task 0 · #0001 · #0002 · Interrupt task 1
Page 169 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-4-4 Using Interval Timer Interrupts
Page 169 · click to enlarge
Page 169

Interval Timer Interrupts Section 7-4

The following timing chart shows the operation of the program as it is exe- cuted.

CIO 0000.00

10 counts 10 counts 20 counts

CIO 0000.01

(See note 1.) (See note 1.)

(See note 2.)

CIO 0002.00

(2) The input interrupts are masked after this point.

7-4 Interval Timer Interrupts

7-4-1 Applicable Models

FQM1-CM001 Coordinator Module FQM1-MMP21 Motion Control Module for Pulse I/O

FQM1-MMA21 Motion Control Module for Analog I/O

7-4-2 Overview

Interval timers can be used to perform high-speed, high-precision timer inter- rupt processing. The Motion Control Modules and Coordinator Module are equipped with one interval timer each.

7-4-3 Interval Timer Interrupt Modes

There are two modes for interval timer operation.

  • One-shot Mode In one-shot mode, the interrupt is executed just once when the timer times out.
  • Scheduled Interrupt Mode In scheduled interrupt mode, the timer is reset to the SV each time it times out so the interrupt is repeated regularly at a fixed interval.

7-4-4 Using Interval Timer Interrupts

1,2,3... 1. Interrupt Mode

  • Determine whether the timer will operate in one-shot mode or scheduled interrupt mode.
2. Ladder Programming
  • Use the STIM(980) instruction to set the timer SV and start the timer in one-shot or scheduled interrupt mode.
  • Create the interrupt task program.

Interrupt task 000 · Interrupt task 001 · Model number Functions

Page 170 of the Omron Motion Controller Module (FQM1-CM001) user manual — CIO 0002.00
Page 170 · click to enlarge
Page 170

Interval Timer Interrupts Section 7-4

Generate interrupt.

Execute interrupt task.

STIM INTERVAL TIMER

  • END
  • Start timer. One-shot mode Scheduled interrupt mode
  • Read elapsed time.

7-4-5 Application Example

In this example, the interval timer is used to generate an interrupt every 2.4 ms (0.6 ms × 4). The default System Setup settings are used. (Inputs are not refreshed for interrupt processing.)

First Cycle Flag (ON for 1 cycle)

Interval timer set values:

MOV

#0004 D00010

Sets 4 for the decrementing counter set value.

MOV

#0006 D00011

Sets 0.6 ms for the decrementing time interval.

0002.00

@STIM

The interval timer starts when CIO 0002.00 turns ON. Task 23 hex = 35 BCD

D00010

0002.00

@STIM

#000A

The interval timer stops when CIO 0002.00 turns OFF.

END

Every 2.4 ms the interval timer times out and the interrupt task is executed.

END

When the program is being executed, the interrupt task will be executed every 2.4 ms while CIO 0002.00 is ON, as shown in the following diagram.

CIO 0002.00

2.4 ms 2.4 ms 2.4 ms

Show 8 more labels / short text on this page
Interval timer · Ladder Program · #0003 · #0023 · 0000 0000 · Interrupt task 35 · Interrupt task program · Interrupt task
Page 171 of the Omron Motion Controller Module (FQM1-CM001) user manual — 24 V: 13 (17) LD: 15 (17)
Page 171 · click to enlarge
Page 171

Pulse Inputs Section 7-5

7-5 Pulse Inputs

7-5-1 Applicable Models

Model Functions FQM1-MMP21 Motion Control Module for Pulse I/O

FQM1-MMA21 Motion Control Module for Analog I/O

7-5-2 Outline

The FQM1-MMP21 and FQM1-MMA21 Motion Control Modules can receive pulse inputs. The following table shows the processes that can be performed by combining the pulse input function with the high-speed counters to count pulse signals from a rotary encoder or other device and perform processing based on the counter PV.

Target value comparison interrupts

An interrupt task is executed when the high-speed counter PV equals a preset target value.

Bit pattern outputs for range comparisons

When the high-speed counter PV is within a specified range, the user-set bit pattern specified in the compari- son table is output internally.

Measurement modes 1 and 2

Movement in the high-speed counter or input pulse counting speed can be displayed while monitoring the high-speed counter PV.

High-speed counter PV latch

High-speed counters 1 and 2 each have a latch register. Two latch inputs can be used to capture the high-speed counter PVs at high speed.

The high-speed counter PV movement during a fixed time interval (equivalent to the travel distance) and the high-speed counter’s frequency can also be monitored as required.

7-5-3 Specifications

Number of counters 2 Pulse input operation mode (Set in System Setup.)

Phase differential Increment/decrement Pulse + direction

24 V: 1 (5) LD: 3 (5)

24 V: 2 (6) LD: 4 (6)

Phase A Increment pulse Pulse

24 V: 7 (11) LD: 9 (11)

24 V: 8 (12) LD: 10 (12)

Phase B Decrement pulse Direction pulse

24 V: 13 (17) LD: 15 (17)

24 V: 14 (18) LD: 16 (18)

Phase Z Reset pulse Reset pulse

Input method Phase differential ×1, ×2, or ×4 (switchable)

Single-phase ×2 Single-phase + direc- tion Set in the System Setup. (Set input for pulse input counter 1 and counter 2.) Counting speed (Set separately for each port in the System Setup.)

50 kHz (default) or 500 kHz (2 MHz when using phase differential ×4)

Counter operation Linear Counter or Circular Counter (Set in the System Setup.)

Show 5 more labels / short text on this page
Process Description · Item Specification · Input pin numbers · High-speed counter 1 · High-speed counter 2
Page 172 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Inputs Section 7-5
Page 172 · click to enlarge
Page 172

Pulse Inputs Section 7-5

Counter values Linear Counter: 8000 0000 to 7FFF FFFF hex Circular Counter: 0000 0000 to Circular maximum count (hex) (The circular maximum count is set in the System Setup between 0000 0001 and FFFF FFFF hex.)

High-speed counter PV storage locations High-speed counter 1: A601 (upper bytes) and A600 (lower bytes) High-speed counter 2: A603 (upper bytes) and A602 (lower bytes) These values can be used for target-value comparison interrupts or range-comparison bit pattern outputs.

  • refresh. The PVs can also be read with the PRV(881) instruction. Data storage format: 8-digit hexadecimal
  • Linear Counter: 8000 0000 to 7FFF FFFF hex
  • Circular Counter: 0000 0000 to Circular maximum count

Latch inputs There are two latch inputs. One latch input can be for each high-speed counter or both latch inputs can be used for one high-speed counter. It is also possible for both high-speed counters to share one latch input. The latched PV can be read with the PRV(881) instruction. Control method

Target value comparison Register up to 48 target values and interrupt tasks.

Range comparison Register up to 16 upper limits, lower limits, and output bit patterns. Counter reset Phase Z Signal + Software Reset The counter is reset on the phase-Z signal if the Reset Bit is ON. Software Reset The counter is reset when the Reset Bit is turned ON.

Reset Bits A610.01 is the Reset Bit for high-speed counter 1 and A611.01 is the Reset Bit for high-speed counter 2.

Counter movements (mode 1)

Measures the change in the high-speed counter’s PV for the set sampling time or each cycle. Sampling time: 1 to 9,999 ms Movement (absolute value): 0000 0000 to FFFF FFFF hex Counter frequency (mode 2)

The frequency is calculated from the PV between 0 and 500,000 Hz.

Measurement storage location for above measurements

High-speed counter 1: A605 (upper bytes) and A604 (lower bytes) High-speed counter 2: A607 (upper bytes) and A606 (lower bytes)

instruction. Stored Data Movement8-digit hexadecimal Frequency: 8-digit hexadecimal
  • period.
  • Select mode 1 or mode 2 in the System Setup.
  • Measurement starts when the Measurement Start Bit (A610.02 for high-speed counter 1 or A611.02 for high-speed counter 2) is turned ON.
  • The Measuring Flag (A608.06 for high-speed counter 1 or A609.06 for high-speed counter 2) will be ON during the measurement.

Item Specification · Mea- sure- ment mode

Page 173 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Inputs Section 7-5
Page 173 · click to enlarge
Page 173

Pulse Inputs Section 7-5

7-5-4 Pulse Input Specifications

Number of pulse inputs

High-speed counter 2 can be an RS-422A line-driver input or an input with a voltage of 24 VDC, except for the FQM1-MMA21, which supports only line-driver inputs to high-speed counter 2.

Signals Encoder inputs A and B and pulse input Z Ports High-speed counters 1 and 2 High-speed counters 1 and 2

Input voltage 24 VDC ±10% RS-422A line-driver (AM26LS31 equivalent) Phases A and B Phase Z Phases A and B Phase Z

Input current 5 mA typical 8 mA typical 10 mA typical 13 mA typical ON voltage 19.6 V DC min. 18.6 V DC min. --- ---

OFF voltage 4.0 V DC max. 4.0 V DC max. --- ---

Item Specification · 2 inputs

Page 174 of the Omron Motion Controller Module (FQM1-CM001) user manual — ON
Page 174 · click to enlarge
Page 174

Pulse Inputs Section 7-5

Encoder Inputs A and B

Encoder Inputs A and B

Waveform of Encoder Inputs A and B Signal rise and fall must be 3 µs max. 50-kHz pulse with 50% duty ratio 20 µs min.

Encoder Inputs A and B Waveform Square waveform 50-kHz pulse with 50% duty ratio 20 µs min. 10 µs min. 10 µs min.

10 µs min. 10 µs min.

ON

ON

OFF

OFF

3 µs max. 3 µs max.

Relationship to Phase Differential Inputs A and B T1, T2, T3,and T4 must be 4.5 µs min. There must be 4.5 µs min. between phase-A and phase-B change points.

Relationship to Phase Differential Inputs A and B T1, T2, T3,and T4 must be 4.5 µs min. There must be 4.5 µs min. between phase-A and phase-B change points.

20 µs min.

ON

20 µs min.

ON

OFF

OFF

ON

OFF

ON

T1 T2 T4 T3

OFF

T1 T2 T4 T3

Encoder Input Z or Sensor Input

Encoder Input Z Waveform The pulse width must be 90 µs min.

Encoder Input Z or Sensor Input

Encoder Input Z Waveform The pulse width must be 90 µs min.

90 µs min.

ON

90 µs min.

ON

OFF

OFF

At 500 kHz Operation may not be reliable above 50 kHz.

Encoder Inputs A and B

Encoder Inputs A and B Waveform Square waveform 1-MHz pulse with 50% duty ratio 1 µs min.

0.5 µs min. 0.5 µs min.

ON

OFF

Relationship with Phase Differential Inputs A and B T1, T2, T3,and T4 must be 0.5 µs min. There must be 0.5 µs min. between phase-A and phase-B change points.

2 µs min.

ON

OFF

ON

OFF

T1 T2 T4 T3

Encoder Input Z or Sensor Input

Encoder Input Z Waveform The pulse width must be 10 µs min.

10 µs min.

ON

OFF

Show 16 more labels / short text on this page
Item Specification · Minimum response pulse · At 50 kHz · 50% · 50% · 50% · Phase A · Phase A · 50% · Phase B · Phase B · 50% · 50% · 50% · 50% · 50%
Page 175 of the Omron Motion Controller Module (FQM1-CM001) user manual — Phase Z
Page 175 · click to enlarge
Page 175

Pulse Inputs Section 7-5

7-5-5 Latch Input Specifications

Number of inputs 2 Input voltage 20.4 to 26.4 V

Input response ON response30 µ s OFF response: 200 µ s

7-5-6 Applicable Instructions

Instruction Control Description (@)CTBL(882) Range comparison One range comparison executed.

Target value comparison table regis- tration and starting comparison

Target value comparison table registered and comparison started.

Target value comparison table regis- tration

Target value comparison table registered.

(@)INI(880) Starting comparison Comparison started with previously registered target value com- parison table. Stopping comparison Target value comparison stopped.

Changing PV PV of high-speed counter changed.

Changing circular value Maximum circular value of high-speed counter changed. (@)PRV(881) Reading high-speed counter PV PV of high-speed counter read.

Reading high-speed counter move- ment or frequency

Movement or frequency of high-speed counter read.

Reading the latched high-speed counter PV

Latched PV of high-speed counter read. (Reads the PV input to the latch register when the latch signal was input.)

7-5-7 Internal Circuit Configurations

Pulse Inputs

Phases A and B

4.4 kΩ

Phase A and B internal circuits

1 24-V input 2 Line-driver input

Phase Z

3.0 kΩ

Phase Z internal circuit

1 24-V input 2 Line-driver input

Show 5 more labels / short text on this page
Item Specification · + · − · + · −
Page 176 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse + Direction Inputs
Page 176 · click to enlarge
Page 176

Pulse Inputs Section 7-5

7-5-8 Pulse Input Function Description

The pulse input function uses the high-speed counters. The pulse input func- tion can be used to monitor changes (movement) in the high-speed counter PV (mode 1) or changes in the high-speed counter frequency (mode 2).

High-speed Counter Function Description

Input Signal Type and Count Mode

High-speed counters 1 and 2 support the following inputs. The input method application depends on the signal type.

Phase Differential Inputs

This method uses the phase Z signal and the two phase signals (phase A and phase B) for a ×1, ×2, or ×4 phase differential. The count is incremented or decremented according to the offset between the two phase signals.

Increment/Decrement Pulse Inputs

The phase-A signal is the UP pulse and the phase-B signal is the DOWN pulse. The count is incremented or decremented by these pulses.

Pulse + Direction Inputs

The phase-A signal is the pulse signal and the phase-B signal is the direction signal. The count is incremented or decremented based on the ON/OFF sta- tus of the phase-B signal.

  • Phase Differential Input Operation

1 2 3 2 1 2

0 1 2 3 4 5 6 5 4 3 2 1 2 3 4

0 1 2 3 4 5 6 7 8 9 1011 12 1110 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8

Phase A Phase B ×1 multiplier ×2 multiplier ×4 multiplier ↑ L Increment Increment Increment

H ↑ --- --- Increment ↓ H --- Increment Increment

L ↓ --- --- Increment L ↑ --- --- Decrement

↑ H --- Decrement Decrement H ↓ --- --- Decrement

↓ L Decrement Decrement Decrement

Show 5 more labels / short text on this page
Phase A · Phase B · ×1 multiplier · ×2 multiplier · ×4 multiplier
Page 177 of the Omron Motion Controller Module (FQM1-CM001) user manual — Linear Counter
Page 177 · click to enlarge
Page 177

Pulse Inputs Section 7-5

Increment/Decrement Pulse Inputs Pulse + Direction Inputs

Encoder Input A (UP input)

Encoder Input A (Pulse input)

Encoder Input B (DOWN input)

Encoder Input B (Direction input)

2 3 1 1

Counter Operation (Numeric Ranges)

The following two counter operations are available for high-speed counters 1 and 2, with the specified counting ranges.

Circular Counter

With a Circular Counter, the circular maximum count can be set in the System Setup, and when the count is incremented beyond this maximum value, it returns to zero. The count never becomes negative. Similarly, if the count is decremented from 0, it returns to the maximum value.

The number of points on the circular is determined by setting the maximum value (i.e., the circular maximum value), which can be set between 1 and FFFF FFFF hex.

Linear Counter

With a Linear Counter, the count range is always 8000 0000 to 7FFF FFFF hex. If the count decrements below 8000 0000 hex, an underflow is gener- ated, and if it increments above 7FFF FFFF hex, an overflow is generated.

Circular Counter Linear Counter

0 80000000 hex 7FFFFFFF hex

If an overflow occurs, the PV of the count will remain at 7FFF FFFF hex, and if an underflow occurs, it will remain at 8000 0000 hex. In either case, counting will stop and the PV Overflow/Underflow Flag shown below will turn ON to indicate the underflow or overflow.

  • High-speed counter 1: A608.01
  • High-speed counter 2: A609.01

When restarting the counting operation, toggle (turn OFF and then ON) the corresponding counter’s Reset Bit. (A610.01 is the Reset Bit for high-speed counter 1 and A611.01 is the Reset Bit for high-speed counter 2.)

Reset Methods The following two methods can be set to determine the timing at which the PV of the counter is reset (i.e., set to 0):

  • Phase-Z signal and software reset
  • Software reset
Show 5 more labels / short text on this page
Increment Decrement · Increment Decrement · Circular maximum value · Decrement Increment · Underflow Overflow
Page 178 of the Omron Motion Controller Module (FQM1-CM001) user manual — Checking for High-speed Counter Interrupts
Page 178 · click to enlarge
Page 178

Pulse Inputs Section 7-5

  • Phase-Z Signal (Reset Input) and Software Reset

The PV of the high-speed counter is reset on the first rising edge of the phase-Z signal after the corresponding High-speed Counter Reset Bit (see below) turns ON.

1 or more cycles

Reset Bit for High-speed Counter 1 or 2

Within 1 cycle 1 or more cycles

Reset Reset by cycle. Not reset.

  • Software Reset

The PV is reset when the High-speed Counter Reset Bit turns ON. There are separate Reset Bits for high-speed counters 1 and 2.

1 or more cycles

High-speed Counter 1 or 2

Reset by cycle.

The High-speed Counter Reset Bits are as follows:

  • High-speed Counter 1 Reset Bit: A610.01
  • High-speed Counter 2 Reset Bit: A611.01

The High-speed Counter Reset Bits are refreshed only once each cycle, so a Reset Bit must be ON for a minimum of 1 cycle to be read reliably.

Checking for High-speed Counter Interrupts

The following two methods are available to check the PV of high-speed counters 1 or 2.

  • Target-value comparison method
  • Range comparison method
  • Target-value Comparison Method

Up to 48 target values and corresponding interrupt task numbers can be reg- istered in the comparison table. When the counter PV matches one of the 48 registered target values, the specified interrupt task will be executed.

Comparisons are made to each target value in the order that they appear in the comparison table until all values have been met, and then comparison will return to the first value in the table.

Phase-Z (reset input) · Reset Bit for · Within 1 cycle

Page 179 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Inputs Section 7-5
Page 179 · click to enlarge
Page 179

Pulse Inputs Section 7-5

: Interrupt

Target values for comparison

1 2 3 4 5 1

  • Range Comparison Method

Up to 16 comparison ranges (lower and upper limit values) and corresponding output bit patterns can be registered in the comparison table. When the PV of the counter first is within the upper and lower limits of one of the ranges for CTBL(882) execution, the corresponding bit pattern (1 to 16) will be output to A613 or A615.

(seconds) The PV is compared to all comparison ranges

at each instruction execution.

Bit pattern output when PV is within range.

0 15 A613 or A615

Show 33 more labels / short text on this page
Counter PV · Comparison table · Target value · Target value · Target value · Target value · Target value · Target value · Target value · Target value · Target value · Target value · Elapsed time (seconds) · Counter PV · Comparison table · Comparison range · Range · Range · Comparison range · Range · Comparison range · Range · Comparison range · Elapsed time · Comparison · Range (1) · Bit pattern (1) · High-speed counter PV · Range (2) · Bit pattern (2) · Range (16) · Bit pattern (16) · Internal bit pattern
Page 180 of the Omron Motion Controller Module (FQM1-CM001) user manual — Monitoring High-speed Counter Movement (Mode 1)
Page 180 · click to enlarge
Page 180

Pulse Inputs Section 7-5

Monitoring High-speed Counter Movement (Mode 1)

This function monitors the change in a high-speed counter’s PV (travel dis- tance) regularly at the preset sampling period. The sampling period can be set between 1 and 9,999 ms.

If the sampling time is set to 0, the change will be sampled once each cycle. The change in the high-speed counter PV (travel distance) is stored in A604 and A605 (high-speed counter 1) or A606 and A607 (high-speed counter 2). Status Flags A608.06 and A609.06 can be checked to determine whether or not change is being measured.

Module’s I/O refreshing.

(2) The change in the high-speed counter PV’s is output as an absolute val-

ue.

Word Bits Function Details A604 and A605

Contains the change in high-speed counter 1. The change in the high-speed counter PV during the specified sam- pling period is stored in 8-digit hexa- decimal (0000 0000 to FFFF FFFF). A606 and A607

00 to 15 High-speed Counter 1 Monitor Data

Contains the change in high-speed counter 2. The change in the high-speed counter PV during the specified sam- pling period is stored in 8-digit hexa- decimal (0000 0000 to FFFF FFFF). A608 06 High-speed Counter 1 Status Flag

00 to 15 High-speed Counter 2 Monitor Data

Measuring Flag OFFThe high-speed counter move-

ment measurement operation is stopped. ON: The high-speed counter move- ment is being measured.

A609 06 High-speed Counter 2 Status Flag

Measuring Flag OFFThe high-speed counter move-

ment measurement operation is stopped. ON: The high-speed counter move- ment is being measured.

The pulse input’s counter data display must be set to counter movements (mode 1) in the System Setup in advance. The sampling period must also be set in the System Setup.

Tab page Function Details Pulse input Counter 1 Counter data display

1 hexCounter movements (mode 1) Sampling time (mode 1)

Set the sampling time when mea- suring counter movement. 0000: Cycle time 0001 to 270F hex: 1 to 9999 ms (unit: 1 ms) Counter 2 Counter data display

1 hexCounter movements (mode 1)

Sampling time (mode 1)

Set the sampling time when mea- suring counter movement. 0000: Cycle time 0001 to 270F hex: 1 to 9999 ms (unit: 1 ms)

Page 181 of the Omron Motion Controller Module (FQM1-CM001) user manual — Monitoring a High-speed Counter’s Frequency (Mode 2)
Page 181 · click to enlarge
Page 181

Pulse Inputs Section 7-5

High-speed Counter Movement (Mode 1) Specifications

Item Specifications Applicable pulse input

Either pulse 1 (high-speed counter 1) or pulse 2 (high-speed counter 2) can be used. Displayable move- ment

0000 0000 to FFFF FFFF

above, but some hardware may not be able to display the full range due to input limitations. Sampling time Can be set to the cycle time or a fixed time between 1 and 9,999 ms.

Operating conditions In the System Setup, set the pulse input’s counter data display to counter movements (mode 1) and specify the sampling time.

ue to 10 or higher.

(2) In mode 1, the Motion Control Module outputs the change as the differ-

ence in the count measured each sampling period. The output change varies, so determine how to manage the output value in the user program when the counter is reset or the INI(880) instruction is executed to change the PV during sampling.

Monitoring a High-speed Counter’s Frequency (Mode 2)

Mode 2 is supported by high-speed counter 1 only.

This function monitors the input pulse’s frequency from the high-speed counter movement value. The frequency is stored in A604 and A605. Status Flag A608.06 can be checked to determine whether or not the frequency is being measured.

Motion Control Module’s I/O refreshing.

(2) The frequency measurement can be performed only with high-speed

counter 1. The frequency cannot be measured with high-speed counter 2.

(3) When measurement is started, the measurement direction (A610.03)

must be specified to match the direction of the input pulses being mea- sured.

Word Bits Function Details

00 to 15 High-speed Counter 1 Monitor Data

Contains the frequency measure- ment. The frequency calculated from the high-speed counter PV is stored in 8-digit hexadecimal (0000 0000 to 0007 A120 hex = 0 to 500 kHz).

A608 06 High-speed Counter 1 Status Flag

Measuring Flag OFFThe high-speed counter fre-

quency measurement opera- tion is stopped. ON: The high-speed counter fre- quency is being measured.

The pulse input’s counter data display must be set to frequency measurement (mode 2) in the System Setup in advance.

System Setup Function Details

Pulse Input Tab Page Counter data display

Specifies the counter 1 mea- surement mode.

2 hexFrequency (mode 2)

A604 and A605

Page 182 of the Omron Motion Controller Module (FQM1-CM001) user manual — Latching a High-speed Counter’s PV
Page 182 · click to enlarge
Page 182

Pulse Inputs Section 7-5

Frequency Measurement (Mode 2) Specifications

Item Specifications Applicable pulse input

Only pulse 1 (high-speed counter 1) can be used.

0 to 500 kHz

value is set to 0 Hz (stopped). The previous output value is retained during this 10-second interval. Measurement period 5 ms max. (input frequency 500 Hz min.)

period is increased to accommodate the lower input fre- quencies and becomes 200 ms max. for input frequen- cies of 10 Hz min. Operating conditions In the System Setup, set the pulse input’s counter data display to frequency measurement (mode 2).

Latching a High-speed Counter’s PV

The present counter value can be latched at the rising edge of the latch signal input and stored as the latch register value. Each time the counter value is captured, the latch register value is overwritten with the new value and the old value is lost.

To use the latched counter value (latch register value) in the ladder program, read the latch register value with the PRV(881) instruction.

Word Bit Function Details A608 08 High-speed Counter 1 Status Flag

Count Latched Flag Indicates that a high-speed counter PV has been captured in the latch register by the latch signal input.

A609 08 High-speed Counter 2 Status Flag

Count Latched Flag (This flag has the same function as the flag for high-speed counter 1.) A610 08 High-speed Counter 1 Command

Latch Input 1 Enable OFF: Disabled ON: Enabled 09 Latch Input 2 Enable OFF: Disabled ON: Enabled A611 08 High-speed Counter 2 Command

Latch Input 1 Enable OFFDisabled ON: Enabled

09 Latch Input 2 Enable OFF: Disabled ON: Enabled

There is one latch register provided for each counter.

Both latch input 1 and latch input 2 can be enabled for a single counter, but only latch input 1 will be effective when both inputs are enabled.

Two latch inputs can be used for a single counter by enabling/disabling latch input 1 and 2 from the ladder program to enable only the desired input when it is required. In this case, allow at least one Motion Control Module cycle between the use of the two inputs.

Measurable frequen- cies

Page 183 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Inputs Section 7-5
Page 183 · click to enlarge
Page 183

Pulse Inputs Section 7-5

7-5-9 Pulse Input Function Procedures

High-speed Counter Procedure

1,2,3... 1. Determine the Input Mode, reset method, and Numeric Range.

  • Counting Speed: 50 kHz or 500 kHz
  • Input Mode: Phase Differential, Increment/Decrement, or Pulse + Direction
  • Reset method: Phase Z and software reset, or Software reset
  • Counter Operation: Circular Counter or Linear Counter
2. Wire the input.
3. Make the necessary System Setup settings.
  • Counting Speed: 50 kHz or 500 kHz
  • Input Mode: Phase Differential, Increment/Decrement, or Pulse + Direction
  • Reset: Phase Z and software reset, or Software reset
  • Counter Operation: Circular Counter or Linear Counter
  • Count Check Method: Target-value Comparison or Range Comparison
4. If the count check is being used, determine the count check (comparison) method.
5. Create the necessary ladder programming.
  • Turn ON the High-speed Counter 1 or 2 Start Bit (A610.00 or A611.00) and start the high-speed counter.
  • CTBL(882) instruction: Specifies the port, registers the comparison table, and starts comparison.
  • INI(880) instruction: Specifies the port, changes the PV, and starts comparison.
  • PRV(881) instruction: Specifies the port and reads the high-speed counter PV.
Page 184 of the Omron Motion Controller Module (FQM1-CM001) user manual — Mode 1 Procedure
Page 184 · click to enlarge
Page 184

Pulse Inputs Section 7-5

A

B

Z

Phase differential Pulse + Direction Increment/Decrement

Phase-Z /software reset Software reset

Circular Counter Linear Counter

50 kHz 500 kHz

Turn ON A610.00 or A611.00.

A

B

Z

System Setup System Setup

Reset Counter Operation Counting Speed

Refresh PV (once each cycle).

Refresh PV (immediate refresh).

PRV HIGH-SPEED COUNTER PV READ

Port 1 Port 2

A601 A600 A603 A602

Read PV.

A Interrupt generated.

See note.

CTBL COMPARISON TABLE LOAD

Register table only. Register table and start comparison.

END

INI MODE CONTROL

Only when using high-speed counter interrupts.

Change PV. Start/Stop comparison.

Range Comparison, Bit Pattern Output

Check count (compare). A

Range comparison is performed only when the instruction is executed.

CTBL COMPARISON TABLE LOAD

Perform comparison.

Mode 1 Procedure

1,2,3... 1. Determine the Counting Speed, Input Mode, Reset Method, and Counter Operation.

  • Counting Speed: 50 kHz or 500 kHz
  • Input Mode: Phase Differential, Increment/Decrement, or Pulse + Direction
  • Reset method: Phase Z and software reset, or Software reset
  • Counter Operation: Circular Counter or Linear Counter
2. Wire the input.
3. Make the necessary System Setup settings.
  • Counter Data Display: Counter movements (mode 1)
4. Create the necessary ladder programming.
  • Turn ON the High-speed Counter 1 or 2 Start Bit (A610.00 or A611.00) and start the high-speed counter.
  • Turn ON the Measurement Start Bit (A610.02 or A611.02).
Show 19 more labels / short text on this page
Pulse input 1 · Input Mode · Reset Method · A Counter Operation · Counting Speed · Counter Start Bit · Count · Pulse input 2 · System Setup · System Setup · Input · Counter PV · (Auxiliary Area) · Target-value comparison interrupt · Ladder Program · Specified Interrupt Task · Ladder Program · Pattern storage · A613 or A615
Page 185 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-5-10 Pulse Input Function Example Application
Page 185 · click to enlarge
Page 185

Pulse Inputs Section 7-5

  • Monitor the high-speed counter movement value in A604 and A605 (high-speed counter 1) or A606 and A607 (high-speed counter 2).

Procedure

1,2,3... 1. Set Counter movements (mode 1) in the System Settings (Pulse Input, Counter data display).

2. Turn ON the Measurement Start Bit (A610.02 or A611.02).
3. Monitor the high-speed counter movement value in A604 and A605 (high-speed counter 1) or A606 and A607 (high-speed counter 2).

Mode 2 Procedure

1,2,3... 1. Determine the Counting Speed, Input Mode, Reset Method, and Counter Operation.

  • Counting Speed: 50 kHz or 500 kHz
  • Input Mode: Phase Differential, Increment/Decrement, or Pulse + Direction
  • Reset method: Phase Z and software reset, or Software reset
  • Counter Operation: Circular Counter or Linear Counter
2. Wire the input.
3. Make the necessary System Setup settings.
  • Counter Data Display: Frequency measurement (mode 2)
4. Create the necessary ladder programming.
  • Turn ON the High-speed Counter 1 Start Bit (A610.00) and start the high-speed counter.
  • Specify the rotation direction in the Measurement Direction Bit (A610.03). OFF is forward, ON is reverse.
  • Turn ON the Measurement Start Bit (A610.02).
  • Monitor the high-speed counter’s frequency in A604 and A605.

Procedure

1,2,3... 1. Set Frequency measurement (mode 2) in the System Settings (Pulse In- put, Counter data display).

2. Specify the rotation direction in the Measurement Direction Bit (A610.03).
3. Turn ON the Measurement Start Bit (A610.02).
4. Monitor the high-speed counter’s frequency in A604 and A605.

7-5-10 Pulse Input Function Example Application

Example 1: High-speed Counter Target Value Comparison Interrupt

In this example, pulse input 1 operates a high-speed counter, the high-speed counter PV is compared in a target-value comparison, and corresponding interrupt tasks are executed when the target values are reached.

The Reset Bit is kept ON in the program and the PV of the counter is reset when the phase-Z signal is turned ON after the PV reaches its maximum value. Before running the program, make the following settings in the System Setup and restart the FQM1 to enable the new settings.

Counter 1: Linear Counter, Counting speed = 50 kHz, Phase Z and software reset, and Increment/decrement pulse input

Page 186 of the Omron Motion Controller Module (FQM1-CM001) user manual — Example
Page 186 · click to enlarge
Page 186

Pulse Inputs Section 7-5

Example

When the PV reaches 2,500 hex, interrupt task 10 is started. When the PV reaches 7,500 hex, interrupt task 11 is started. When the PV reaches 10,000 hex, interrupt task 12 is started.

PV reset on phase-Z signal

PV reset on phase-Z signal

Target value 2 7500

Target value 1 2500

Show 17 more labels / short text on this page
High-speed Counter PV · Target value · 3 10000 · Time · Interrupt tasks · Task 10 · Task 11 · Task 12 · Task 10 · Task 11 · Task 12 · starts · starts · starts · starts · starts · starts
Page 187 of the Omron Motion Controller Module (FQM1-CM001) user manual — Example
Page 187 · click to enlarge
Page 187

Pulse Inputs Section 7-5

A610.00

Starts high-speed counter 1.

Start high-speed counter.

D00000 3 D00001 2 5 0 0 D00002 0 D00003 0 0 0 A D00004 7 5 0 0 D00005 0 D00006 0 0 0 B D00007 0 D00008 0 0 0 1 D00009 0 0 0 C

A610.01

Turns ON the High-speed Counter 1 Reset Bit.

Target value 1 = 2,500

Target value 2 = 7,500

0002.00

@CTBL #0001

Target value 3 = 10,000

Registers a target value comparison table for the PV from high-speed counter 1 and starts the comparison. (In this case, the comparison table begins at D00000.)

#0000 D00000

END

Interrupt task 10 Control program 1

END

END

END

Example 2: High-speed Counter Range Comparison & Bit Pattern Output

In this example, pulse input 1 operates a high-speed counter, the high-speed counter PV is compared in a range comparison, and corresponding bit pattern is output internally when the PV is within a specified range. The internal bit pattern value is output by a transfer to CIO 0001.

The Reset Bit is kept ON in the program and the counter PV is reset when the phase-Z signal turns ON after the PV reaches its maximum value. Before run- ning the program, make the following settings in the System Setup and restart the FQM1 to enable the new settings.

Counter 1: Linear counter, Counting speed = 50 kHz, Phase Z and software reset, and Increment/decrement pulse input

The other System Setup settings are left at their default settings.

Example

When the PV is between 0 and 2,500 hex, CIO 0001.00 is ON. When the PV is between 2,501 and 7,500 hex, CIO 0001.01 is ON. When the PV is between 7,501 and 10,000 hex, CIO 0001.02 is ON. When the PV is 10,001 hex or higher, CIO 0001.03 is ON.

Show 11 more labels / short text on this page
P_On · (Always ON) · 3 comparison conditions · Interrupt task 10 · Reset Bit · Interrupt task 11 · Interrupt task 12 · Control program 2 · Interrupt task 11 · Control program 3 · Interrupt task 12
Page 188 of the Omron Motion Controller Module (FQM1-CM001) user manual — END
Page 188 · click to enlarge
Page 188

Pulse Inputs Section 7-5

PV reset on phase-Z signal

PV reset on phase-Z signal

A612: 0001 hex 0002 hex 0004 hex 0008 hex 0001 hex 0002 hex 0004 hex 0008 hex 0001 hex

15 14 13 12 11 10 9 8 6 5 4 3 2 7 1 0

0

0 1

(0001 hex) Content is transferred to CIO 0001 to turn ON CIO 0001.00.

0

0 1 0

(0002 hex) Content is transferred to CIO 0001 to turn ON CIO 0001.01.

0

0 1 0 0 0

(0004 hex) Content is transferred to CIO 0001 to turn ON CIO 0001.02.

0 (0008 hex) Content is transferred to CIO 0001 to turn ON CIO 0001.03.

0 1 0

A610.00

Starts high-speed counter 1.

counter.

D00000 4 D00001 0 D00002 0 D00003 2 5 0 0 D00004 0 D00005 0 0 0 1 D00006 2 5 0 1 D00007 0 D00008 7 5 0 0 D00009 0 D00010 2 D00011 7 5 0 1 D00012 0 D00013 0 D00014 0 0 0 1 D00015 0 0 0 4 D00016 0 0 0 1 D00017 0 0 0 1 D00018 F D00019 7 F F F D00020 8

A610.01

Turns ON the High-speed Counter 1 Reset Bit.

Lower limit A 0

Upper limit A 2500

Lower limit B 2501

Continually compares the high-speed counter PV from high-speed counter 1 with the specified ranges.(In this case, the comparison table begins at D00000.)

CTBL

#0001 #0001 D00000

Upper limit B 7500

Lower limit C 7501

Upper limit C 10000

MOV

Lower limit D 10001

Transfers the internal bit pattern from A613 to CIO 0001.

A613

Upper limit D 7FFFFFFF

END

Show 22 more labels / short text on this page
High-speed Counter PV · Range · Range 2 · Range 1 · Time · Content of A612 · Internal bit pattern · P_On · (Always ON) · Start high-speed · 4 comparison conditions · Range A · Reset Bit · Bit pattern · P_On · Range B · (Always ON) · Bit pattern · Range C · Bit pattern · Range D · Bit pattern
Page 189 of the Omron Motion Controller Module (FQM1-CM001) user manual — A610.08 A608.08
Page 189 · click to enlarge
Page 189

Pulse Inputs Section 7-5

Example 3: Latching High-speed Counter PV

In this example, pulse input 1 operates a high-speed counter, the high-speed counter PV is latched, and the captured high-speed counter PV is read. When the Latch Input 1 Enable Bit is ON and the latch input 1 is turned OFF→ON externally, the high-speed counter PV is captured to the latch register and the Count Latched Flag is turned ON during the next I/O refreshing.

The Count Latched Flag is used as a trigger for the PRV(881) instruction to read the captured high-speed counter PV and the Count Latched Flag is then turned OFF.

If latch input 1 is turned ON again while the Count Latched Flag is still ON (before the captured PV has been read by the PRV(881) instruction), the old captured PV will be refreshed with the new captured PV.

ON

Latch Input 1 Enable Bit

OFF

ON

OFF

ON

OFF

Latch register value 1

PRV

Dummy read of latch register

W000

Latch Input 1 Enable Bit

A610.08

Latch Input 1 Enable Bit

PRV

#0001 #0002 D00000

Read latched high-speed counter PV.

A610.08 A608.08

Show 9 more labels / short text on this page
Latch input 1 · Count Latched Flag · PRV instruction execution · PRV instruction execution · High-speed Counter PV · Clear Latch · #0001 #0002 · Start Latch · Count Latched Flag
Page 190 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-2 Outline
Page 190 · click to enlarge
Page 190

Pulse Outputs Section 7-6

7-6 Pulse Outputs

7-6-1 Applicable Models

Model Functions FQM1-MMP21 Motion Control Module with Pulse I/O

7-6-2 Outline

The FQM1-MMP21 Motion Control Module provides 2 pulse outputs. The pulse outputs can be used for the following functions.

Function Description Processing for PV

Pulse output opera- tion mode

It is possible to generate tar- get-value interrupts (see note 2) or range-comparison bit pattern outputs based on the pulse out- put’s PV. (See note 1.) One-shot pulse out- puts

The pulse outputs can be used for positioning or speed control at a fixed duty ratio. Select one of five pulse output operation modes: Relative pulse output, linear absolute pulse output, circu- lar absolute pulse output, electronic cam (linear), and electronic cam (circular).

Pulse output turned ON for only the specified interval (0.01 to 9,999 ms.) None

Enables use of the pulse output counter as a timer using the one-shot pulse output timer.

It is possible to generate tar- get-value interrupts or range-comparison bit pattern outputs based on the pulse counter’s PV. (See note 1.)

cannot be used for pulse output.

a pulse output, pulse output counter timer, or one-shot pulse output elapsed time.

Process Description Target value interrupts An interrupt task can be executed when the

high-speed counter PV equals a target value. Bit pattern outputs for range comparisons

A user-set bit pattern is output internally when the high-speed counter PV is within a specified range.

(2) Cannot be combined with pulse output in independent mode.

Calculation (time measurement)

Page 191 of the Omron Motion Controller Module (FQM1-CM001) user manual — SPED(885) --- ACC(888) ---
Page 191 · click to enlarge
Page 191

Pulse Outputs Section 7-6

7-6-3 Specifications

Trapezoid None None (acceleration or deceleration)

Yes with separate acceleration and deceleration rates

Instructions for inde- pendent-mode posi- tioning

PULS(886) + SPED(885)

PULS(886) (Elec- tronic Cam Control)

PULS(886) + ACC(888)

PLS2(887)

Instructions for contin- uous-mode speed con- trol

SPED(885) --- ACC(888) ---

Output frequencies Constant specified for SPED(885): 0 Hz to 1 MHz Word specified for SPED(885): 0 Hz to 1 MHz

0 Hz to 1 MHz 0 Hz to 1 MHz

Although the above ranges can be set for the instructions, the output frequency range is ulti- mately controlled by the clock frequency. The output frequencies are obtained by dividing the clock pulse with an integer dividing ratio, meaning the actual output frequency can be different from the set frequency. (Refer to Precautions when Using Pulse Outputs on page 175 for details.) The settings in the System Setup (Clock) are as follows: 20 MHz Pulse output frequency range: 400 Hz to 1 MHz 10 MHz Pulse output frequency range: 200 Hz to 200 kHz 5 MHz Pulse output frequency range: 100 Hz to 100 kHz 2.5 MHz Pulse output frequency range: 40 Hz to 50 kHz 1.25 MHz Pulse output frequency range: 20 Hz to 20 kHz

--- 1 Hz to 9,999 Hz every 2 ms or 1 ms

Duty ratio 50% (fixed) Pulse output operation modes

One of the following can be set for each port in the System Setup. 1) Relative pulse output: No. of output pulses = pulse output value 2) Absolute linear pulse output: No. of output pulses = |PV of pulse output – target pulse amount| 3) Absolute circular pulse output: As above. If the circular maximum count is exceeded, the count value returns to 0000 0000 hex. (Circular maximum count is set in System Setup.) 4) Electronic cam control (linear) (output with absolute position specification:) The direction is automatically determined from the relation between the PV and target position (PV < Target = CW, PV > Target = CCW. No. of output pulses = |PV of pulse output – target pulse amount| 5) One-shot pulse output: Pulse turned ON for specified time between 0.01 and 9,999 ms via STIM(980) instruction 6) Pulse counter timer: High-precision timer created using the one-shot pulse output function. Pulses are not output externally. 7) Electronic cam (circular) (output with absolute position specification): The direction is automatically determined from the relation between the PV and target position (PV < Target = CW, PV > Target = CCW). No. of output pulses = |PV of pulse output – target pulse amount)|

Show 4 more labels / short text on this page
Item Specification · Acceleration/ decelera- tion · None Yes · Frequency accelera- tion/deceleration rate
Page 192 of the Omron Motion Controller Module (FQM1-CM001) user manual — ON 90%
Page 192 · click to enlarge
Page 192

Pulse Outputs Section 7-6

Number of output pulses

1. Relative pulse output: 0000 0000 to FFFF FFFF hex 2) Absolute linear pulse output: 8000 0000 to 7FFF FFFF hex 3) Absolute circular pulse output: 0000 0000 to Circular maximum count hex 4) Electronic cam control (linear) (output with absolute position specification): 8000 0000 to 7FFF FFFF hex 5) Electronic cam control (circular) (output with absolute position specification): 0000 0000 to 7FFF FFFF hex

The PVs for pulse output operation modes 1 to 5, listed above, are stored in 8-digit hexadecimal in the following Auxiliary Area words: Pulse output 1: A621 (upper bytes) and A620 (lower bytes) Pulse output 2: A623 (upper bytes) and A622 (lower bytes) Target value comparison interrupts or bit pattern outputs for range comparisons can be per- formed on the PV.

7-6-4 Pulse Output Specifications

All Pulse Outputs Except for One-shot Pulse Outputs

Item Specification Number of pulse out- puts

Signals Pulse output CW and CCW

Max. output fre- quency

1 MHz (but actual output frequencies are governed by clock frequency setting)

5 VDC +10%/–15%, 120 mA max.

Line-driver output Conforms to Am26LS31 and max. output current is 20 mA.

One-shot Pulse Outputs

Item Specification Number of pulse out- puts

24 VDC +10%/–15%, 30 mA max.

Max. switching capacity

NPN open-collector, 80 mA at 5 to 24 VDC ±10%

Min. switching capacity

NPN open-collector, 7 mA at 5 to 24 VDC ±10%

Leakage current 0.1 mA max.

Residual voltage 0.4 V max. Output pulse width (Set time) ± (1 µs or 0.1% of the set time, whichever is larger)

ON 90%

OFF

Show 6 more labels / short text on this page
Item Specification · 2 outputs · External power sup- ply · 2 output · External power sup- ply · Output pulse width
Page 193 of the Omron Motion Controller Module (FQM1-CM001) user manual — OK OK OK OK OK
Page 193 · click to enlarge
Page 193

Pulse Outputs Section 7-6

7-6-5 Applicable Instructions

The following seven instructions can be used to control pulse outputs. The relationship between the instruction and the types of pulse output that is pos- sible is also listed in the following table.

Instruction Control Positioning (Independent Mode) Speed Control (Continuous

Mode) No acceleration/ deceleration, single-phase

No acceleration/ deceleration, single-phase

separate acceleration and deceleration rates

PULS(886) Sets number of out- put pulses or abso- lute position.

OK OK No No No

SPED(885) Controls pulse out- put without acceler- ation or deceleration (num- ber of pulses set with PULS(886) for positioning).

OK No No OK No

ACC(888) Controls pulse out- put with same acceleration and deceleration with- out trapezoid (num- ber of pulses set with PULS(886) for positioning).

No OK No No OK

PULS(886) for Elec- tronic Cam

Sets absolute posi- tion or frequency and outputs pulses.

OK No

PLS2(887) Controls pulse out- put with different acceleration and deceleration with trapezoid (number of pulses is also set using PLS2(887)).

No No OK No No

INI(880) Stops pulse output. OK

PRV(881) Reads the current PV for pulse output.

OK

Instructions Ineffective during Pulse Output

Once pulse output has been started by an instruction, the output cannot always be changed with an instruction. Refer to 7-6-15 Pulse Output Starting Conditions for details on the allowed combinations of pulse output instruc- tions.

Show 9 more labels / short text on this page
Acceleration/deceleration, · Acceleration/ deceleration, single-phase · single-phase output · output No trapezoid, · Trapezoid, · acceleration · output · and deceleration · output
Page 194 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Outputs Section 7-6
Page 194 · click to enlarge
Page 194

Pulse Outputs Section 7-6

7-6-6 Pulse Output Function Details

Overview Pulses are output in independent mode or continuous mode. In independent mode, the number of output pulses is specified in advance. In continuous mode, the number of output pulses is not specified in advance.

Independent mode This mode is used for positioning. The pulse output stops automatically after the specified num- ber of pulses has been output. With some instructions, the pulse output can be stopped (see note). Continuous mode This mode is used for speed control. The pulse output continues until it is stopped by an instruction (see note) or the Motion Control Module is switched to PRO- GRAM mode.

Note When pulses are being output by an SPED(885) or ACC(888) instruction, the pulse output can be stopped by executing the INI(880) instruction. The pulse output can also be stopped by executing SPED(885) or ACC(888) with a tar- get frequency = 0. When pulses are being output by the PULS(886) instruction (Electronic Cam Control), the pulse output can be stopped by executing the INI(880) instruc- tion.

When using independent mode, select one of the four pulse output operation modes shown in the following table, depending on the method used to calcu- late the number of pulses and whether it is necessary to change the value during operation. Specify the pulse output operation mode in the System Setup (the operation mode setting in the Pulse Output Tab Page). In addition, if the PULS(886) instruction is being used, it is necessary to specify the Pulse Type in the second operand.

Mode Description

Page 195 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Outputs Section 7-6
Page 195 · click to enlarge
Page 195

Pulse Outputs Section 7-6

Pulse output operation mode

(Only in Independent Mode)

(1) Relative pulse output

  • Positions to a relative position from the present position. The number of output pulses (actual output amount) in the specified direction is the target number of pulses.
  • The frequency can be changed during pulse output.
  • The direction and the target number of pulses cannot be changed during pulse output.

PULS(886) + SPED(885) or PULS(886) + ACC(888) (PULS(886) sets the number of pulses and SPED(885) or ACC(888) starts the pulse output.) PLS2(887) (Sets number of pulses and starts pulse output.)

(2) (3) Absolute pulse out- put

Positions to an absolute position from the origin. The number of output pulses is calculated automatically from the difference between the present position (pulse output PV) and target pulse amount. Number of output pulses (actual output amount) =

  • |Present position − Target position|
  • The frequency can be changed during pulse output.
  • The direction and the target number of pulses cannot be changed during pulse output.

(2) Linear mode Operates as linear counter with pulse output values ranging from 8000 0000 to 7FFF FFFF hex.

Same as for (1).

Operates as circular counter with pulse output values ranging from 0000 0000 to the circular value. When the pulse output PV exceeds the circular value, it is automatically returned to 0000 0000. Conversely, when the pulse output PV is decre- mented from 0000 0000, it is automati- cally returned to the circular value.

PULS(886) + SPED(885) or PULS(886) + ACC(888) (PULS(886) sets the number of pulses and SPED(885) or ACC(888) starts the pulse output.)

(4) Electronic cam con- trol (linear) (5) Electronic cam con- trol (circular)

Positions to an absolute position from the origin. The difference between the present position (pulse output PV) and target pulse amount is calculated automatically. Number of output pulses (actual output quantity) =

PULS(886) (Sets the number of pulses and starts the pulse output.) ACC(888) PLS2(887)

  • |Present pulse position − Target position|
  • The direction is recognized automatically (CW direction when the present position < target position, and CCW direction when the present position > target position).
  • The frequency and target position can be changed during pulse output. The pulse output will stop if the direction is changed during pulse output.

Description Compatible instructions · (3) Circular mode

Page 196 of the Omron Motion Controller Module (FQM1-CM001) user manual — SPED(88 5) ↓ SPED(88 5)
Page 196 · click to enlarge
Page 196

Pulse Outputs Section 7-6

Pulse Output Operations

The following table shows the operations that can be performed with the pulse output function.

Mode Frequency changes Description Procedure Example Instruc-

Continu- ous mode (Speed control)

The frequency is changed in steps (up or down) during pulse output.

SPED(88 5) ↓ SPED(88 5)

Port, CW/CCW, Continu- ous, Target fre- quency

Use when changing fre- quency in steps. (See page 190.)

SPED executed.

The frequency is accelerated or decelerated from the present frequency at a fixed rate.

ACC(888) or SPED(88 5) ↓ ACC(888)

Port, CW/CCW, Continu- ous, Accelera- tion/decel- eration rate, Target fre- quency

Use when accelerating frequency at a fixed rate. (See page 190.)

ACC executed.

Show 11 more labels / short text on this page
Settings · tions · Frequency · Target frequency · Present frequency · Time · Frequency · Target frequency · Acceleration rate · Present frequency · Time
Page 197 of the Omron Motion Controller Module (FQM1-CM001) user manual — PLS2(887 )
Page 197 · click to enlarge
Page 197

Pulse Outputs Section 7-6

Mode Frequency changes Description Procedure Example Instruc-

Pulse output starts at the specified fre- quency and stops when the specified num- ber of pulses have been out- put. (The number of pulses cannot be changed dur- ing pulse out- put.)

PULS(88 6) ↓ SPED(88 5)

No. of pulses, Relative or absolute operation, Port, CW/CCW, Indepen- dent, Target fre- quency

Use when positioning with a sin- gle-phase output and no acceleration or decelera- tion. (See page 189.)

Specified no. of pulses (Specified with PULS)

SPED executed.

Stops after specified no. of pulses are output.

Specified no. of pulses (Specified with PULS)

The frequency accelerates or decelerates at a fixed rate and stops immedi- ately when the specified num- ber of pulses have been out- put. (The number of pulses cannot be changed dur- ing pulse out- put.)

PULS(88 6) ↓ ACC(888)

No. of pulses, Relative or absolute operation, Port, CW/CCW, Indepen- dent, Accelera- tion/decel- eration rate, Target fre- quency

ACC executed.

Stops after specified no. of pulses are output.

Pulse output starts at the specified fre- quency and stops immedi- ately when the specified posi- tion is reached. (The target posi- tion can be changed during positioning (pulse output).)

PULS(88 6) (Elec- tronic Cam Con- trol)

Port, Target fre- quency, Absolute positioning

Use for abso- lute position- ing (electronic cam control) with a sin- gle-phase output, no acceleration or decelera- tion, and tar- get position changes in a fixed time interval. (See page 191.)

PULS executed.

Stops at specified position.

The frequency accelerates at a fixed rate, decel- erates at a fixed rate, and stops when the speci- fied number of pulses have been output. (The number of pulses cannot be changed dur- ing positioning (pulse output).)

PLS2(887 )

Port, CW/CCW, Accelera- tion rate, Decelera- tion rate, Target fre- quency, Starting frequency, No. of pulses

Use for trape- zoidal accel- eration/ deceleration within a set time (the dwell time) and then a repeat of the operation in the opposite direction. (See page 193.)

Specified number of pulses

Acceler- ation rate Deceleration rate

Output stops Target reached

Show 21 more labels / short text on this page
Settings · tions · Indepen- dent mode (Position- ing) · Frequency · Target frequency · Time · Frequency · Target frequency · Acceleration rate · Time · Frequency · Target frequency · Present frequency · Time · Frequency · Target frequency · Starting frequency · Stopping frequency · Time · Output starts · Deceleration point
Page 198 of the Omron Motion Controller Module (FQM1-CM001) user manual — Precautions when Using Pulse Outputs
Page 198 · click to enlarge
Page 198

Pulse Outputs Section 7-6

Mode Frequency changes Description Procedure Example Instruc-

Stop Stops the pulse output immedi- ately.

SPED(88 5) or ACC(888) or PULS(88 6) (Elec- tronic Cam Con- trol) ↓ INI(880)

INI executed.

Stops the pulse output immedi- ately.

SPED(88 5) or ACC(888) ↓ SPED(88 5)

Port, Continu- ous, Target fre- quency = 0

SPED executed.

Decelerates the pulse output to a stop.

SPED(88 5) or ACC(888) ↓ ACC(888)

Port, Continu- ous, Accelera- tion/decel- eration rate, Target fre- quency = 0

Target frequency = 0

ACC executed.

Precautions when Using Pulse Outputs

Pulses are output according to the clock frequency (20 MHz, 10 MHz, 5 MHz, 2.5 MHz, or 1.25 MHz) specified in the System Setup (Pulse Output/Clock). The clock signal is divided by an integer dividing ratio to create and output the output pulse frequency. This means that the actual frequency may not be the same as the target frequency. Refer to the following information to calculate the actual frequency.

The following information is used to calculate the output frequency.

Target frequency: Set by user.

Dividing ratio: An integer set in the dividing circuit used to generate the output pulses at the target frequency.

Actual frequency: The actual frequency that is output as generated by the dividing circuit.

Show 13 more labels / short text on this page
Settings · tions · Stop pulse output · Frequency · Present frequency · Time · Frequency · Present frequency · Time · Frequency · Present frequency · Acceleration/ deceleration rate · Time
Page 199 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-7 One-shot Pulse Output Function
Page 199 · click to enlarge
Page 199

Pulse Outputs Section 7-6

Integer dividing ratio set according to the target frequency set by user.

Output pulses (Actual output frequency)

Clock-generated pulses (one of four possible settings)

FormulaActual frequency = Clock frequency ÷ INT (clock frequency/target frequency)

The difference between the target frequency and the actual frequency increases at higher frequencies. The following tables shows examples for a clock frequency of 20 MHz.

Target frequency (Hz) Actual output frequency

952,382 to 1,000,000 1,000,000 909,092 to 952,381 952,381

869,566 to 909,091 909,091 . . .

487,806 to 500,000 500,000 476,191 to 487,805 487,805

465,117 to 476,190 476,190 . . .

. . . 198,021 to 200,000 100,806

196,079 to 198,020 198,020 194,176 to 196,078 196,078

49,876 to 50,000 50,000 49,752 to 49,875 49,875

4,929 to 49,751 49,751 . . .

402 402 401 401

7-6-7 One-shot Pulse Output Function

The one-shot pulse output function turns ON the output only for a specified time between 0.01 and 9,999 ms. Use the STIM(980) instruction to start the pulse output (turn the output from OFF to ON). After the time specified in STIM(980) has elapsed, the pulse output is automatically turned OFF (in the hardware).

Dividing circuit · 400 400

Page 200 of the Omron Motion Controller Module (FQM1-CM001) user manual — One-shot Pulse Output Specifications
Page 200 · click to enlarge
Page 200

Pulse Outputs Section 7-6

Turned ON by STIM instruction execution. Turned OFF by hardware.

ON

OFF One-shot pulse output

Setting units: Select 0.01 ms, 0.1 ms, or 1 ms. Setting range: 0001 to 270F Hex (1 to 9,999)

Set the pulse output operation mode to 1 shot in advance in the System Setup, as shown in the following table.

Tab page Function Setting Pulse Output Pulse Output 1 − Operation mode 1 shot (one-shot pulse output)

Pulse Output 2 − Operation mode 1 shot (one-shot pulse output)

The elapsed time of the one-shot pulse output is stored in 8-digit hexadecimal in words A621 and A620 (pulse output 1) or A623 and A622 (pulse output 2). When the one-shot pulse output is turned ON, the content of the correspond- ing words is set to 0000 0000 hex and the content is incremented as time passes. The final value is retained when the one-shot output is turned OFF.

Word Bits Function Contents A620 00 to 15 Elapsed time of One-shot pulse output 1

Lower 4 digits Contains the elapsed time of the one-shot pulse output in 8-digit hexa- decimal. The content can range from 0000 0000 to 0000 270F hex, and the units are set to 0.01 ms, 0.1 ms, or 1 ms with the STIM(980) instruction.

A621 00 to 15 Upper 4 digits

ing the Motion Control Module’s I/O refreshing.

A622 00 to 15 Elapsed time of One-shot pulse output 2

Lower 4 digits These words function just like the words for pulse output 1, described above. A623 00 to 15 Upper 4 digits

One-shot Pulse Output Specifications

Pulse ON time 0.01 to 9,999 ms (Can be set with the STIM(980) instruction.) Operating conditions 1. Set the pulse output operation mode to 1 shot in the System Setup. 2. Execute the STIM(980) instruction with operand C1 = #0001 or #0002. Response time Response time when the STIM(980) instruction is executed at the beginning of an interrupt task: 0.2 ms max. from the generation of the interrupt until the one-shot pulse output goes ON

Item Specification

Page 201 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Outputs Section 7-6
Page 201 · click to enlarge
Page 201

Pulse Outputs Section 7-6

7-6-8 Time Measurement with the Pulse Counter

The one-shot pulse output function can be used to create a high-precision pulse counter timer.

To measure time with high-precision, start the timer by executing the STIM(980) instruction with C1 = 000B or 000C and C2 = 0000, and stop the timer by executing STIM(980) with C1 = 000B or 000C and C2 = 0001.

Counting mode (Time measurement)

Timer started by executing STIM with C2 = 0000.

Timer stopped by executing STIM with C2 = 0001. Timer PV in A620 and A621 or A622 and A623

The timer’s elapsed time is stored in 8-digit hexadecimal in words A621 and A620 (pulse output 1) or A623 and A622 (pulse output 2). When the timer starts, the corresponding words are initialized to 0000 0000 hex and the con- tent is incremented as time passes. The final value is retained when the timer stops.

Word Bits Function Contents

A620 00 to 15 Pulse time measurement 1

Lower 4 digits Contains the pulse counter’s time mea- surement in 8-digit hexadecimal. The content can range from 0000 0000 to FFFF FFFF hex.

A621 00 to 15 Upper 4 digits

ing the Motion Control Module’s I/O refreshing.

A622 00 to 15 Pulse time measurement 2

Lower 4 digits These words function just like the words for pulse time measurement 1, described above. A623 00 to 15 Upper 4 digits

Set the pulse output operation mode to Calculation (time measurement) in advance in the System Setup, as shown in the following table.

Tab page Function Details Pulse Output Pulse output 1 − Operation mode Calculation (time measurement)

Pulse output 2 − Operation mode

lected.

(2) A pulse output port that is being used as a pulse counter timer cannot be

used for any other pulse output functions.

Show 6 more labels / short text on this page
Timer start condition · Timer stop condition · PV held · PV reset · Time · Elapsed time
Page 202 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-9 Target-value Comparison Interrupts from Pulse Output PVs
Page 202 · click to enlarge
Page 202

Pulse Outputs Section 7-6

(3) If the STIM(980) instruction is executed again to restart an operating tim-

er, the timer value will be reset to 0 and the timer will restart.

Pulse Counter Timer Specifications

0000 0000 to FFFF FFFF hex The time units can be set to 0.01 ms, 0.1 ms, or 1 ms with the STIM(980) instruction.

Operating conditions 1. Set the pulse output operation mode to Calculation (time measurement) in the System Setup. 2. To start or stop the timer, execute the STIM(980) instruction with operand C1 = #000B or #000C and one of the following C2 values: To start the timer, execute STIM(980) with operand C2 = #0000. To stop the timer, execute STIM(980) with operand C2 = #0001.

7-6-9 Target-value Comparison Interrupts from Pulse Output PVs

An interrupt task can be executed when the pulse output PV reaches a target value, although this function cannot be used in independent mode (position- ing), one-shot pulse output operation mode, or electronic cam control because the pulse output stops.

When the pulse output operation mode is set to linear mode, this function can be used for speed control (frequency changes) based on the present position.

When the pulse output operation mode is set to circular mode, this function can be used for continuous speed control to control a series of repetitive oper- ations at specific positions by repeating speed control patterns.

The processing of the target-value comparison interrupts for pulse output PVs is the same as the processing for high-speed counter PVs, so refer to Check- ing for High-speed Counter Interrupts under High-speed Counter Function Description in 7-5-8 Pulse Input Function Description for details.

Item Specification · Timer measurement range

Page 203 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Outputs Section 7-6
Page 203 · click to enlarge
Page 203

Pulse Outputs Section 7-6

Linear Mode Operation

A target value can be set at a desired pulse output PV to execute an interrupt task when the target value is reached. An ACC(888) or SPED(885) instruction can be programmed in the interrupt task to perform speed control at that tar- get value.

Target value 4 Target value 3

Controlled by ACC instruction.

Show 8 more labels / short text on this page
Frequency · (speed) · Target value 5 · Target value 2 · Target value 1 · Pulse output PV · Speed (frequency) · Time
Page 204 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Outputs Section 7-6
Page 204 · click to enlarge
Page 204

Pulse Outputs Section 7-6

Omron Motion Controller Module (FQM1-CM001) — Pulse Outputs Section 7-6 diagram (page 204)
Fig. 79 · Pulse Outputs Section 7-6

When CIO 0003.00 goes ON, a target-value comparison interrupt starts for the pulse output 1 PV.

If interrupt task 1 is executed, the frequency is changed to a target frequency of 2,000 Hz with an acceleration/deceleration rate of 50 Hz/2 ms.

D00100 0 0 3 2 D00101 0 7 D 0 D00102 0

If interrupt task 2 is executed, the frequency is changed to a target frequency of 30,000 Hz with an acceleration/deceleration rate of 90 Hz/2 ms.

D00200 0 0 5 A D00201 7 5 3 0 D00202 0

(Interrupt tasks 3, 4, and 5 are entered in the same way.)

Page 205 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructions
Page 205 · click to enlarge
Page 205

Pulse Outputs Section 7-6

Circular Mode Operation

A speed control pattern can be repeated in continuous speed control to con- trol a series of repetitive operations at specific positions. For example, the fol- lowing diagram shows an axis that repeatedly switches to low-speed operation at one position and switches to high-speed operation at another position. Since the speed control pattern must repeat in these applications, a counter cannot be used if it is reversible.

Single-rotation speed control pattern

Controlled by ACC instruction.

7-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVs

Bit patterns can be output internally in the Auxiliary Area when the pulse out- put PV is within a specified range.

The processing of the range-comparison bit pattern outputs for pulse output PVs is the same as the processing for high-speed counter PVs, so refer to Checking for High-speed Counter Interrupts under High-speed Counter Func- tion Description in 7-5-8 Pulse Input Function Description for details.

7-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructions

The acceleration/deceleration rate’s speed-change cycle can be set to either 1 ms or 2 ms for the ACC(888) and PLS2(887) instructions. The same speed-change cycle setting applies to both pulse output 1 and 2 and both the ACC(888) and PLS2(887) instructions.

Show 10 more labels / short text on this page
High-speed region · Low-speed region · Pulse output PV · Target value 2 · Target value 1 · Time · Speed (frequency) · High-speed region · Low-speed region · Time
Page 206 of the Omron Motion Controller Module (FQM1-CM001) user manual — Absolute Position Priority Mode
Page 206 · click to enlarge
Page 206

Pulse Outputs Section 7-6

Setting the Speed-change Cycle

The speed change cycle for the ACC(888) and PLS2(887) instructions is specified by setting the ON/OFF bit status of A628.07 before executing the ACC(888) or PLS2(887) instruction.

2-ms Cycle Execute ACC(888) or PLS2(887) with A628.07 OFF.

@ACC

D00000

D00000 07D0 D00001 C350 D00002 0000

Acceleration/deceleration rate2 kHz Target speed: 50 kHz

1-ms Cycle Execute ACC(888) or PLS2(887) with A628.07 ON.

P_On A628.07

@ACC

D00000

D00000 07D0 D00001 C350 D00002 0000

Acceleration/deceleration rate2 kHz Target speed: 50 kHz

7-6-12 PLS2(887) Pulse Output Direction Priority Mode

The direction of pulses output by the PLS2(887) instruction can be deter- mined manually based on a user-set operand (pulse output direction priority mode) or automatically based on the absolute position (absolute position pri- ority mode).

Pulse Output Direction Priority Mode

The user determines the pulse output direction with an operand setting.

Pulses will be output only when the output direction specified in the PLS2(887) instruction matches the direction determined from the absolute position.

Absolute Position Priority Mode

The pulse output direction is determined automatically from the absolute posi- tion.

The Motion Control Module ignores the pulse output direction specified by the PLS2(887) operand setting. This mode allows positioning to be based on the absolute position only, so it is not necessary for the user to specify the direc- tion.

Show 6 more labels / short text on this page
Execution condition · #1 · #0 · Execution condition · #1 · #0
Page 207 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-13 Pulse Output Function Procedures
Page 207 · click to enlarge
Page 207

Pulse Outputs Section 7-6

Setting the Pulse Output Direction Priority Mode

The pulse output direction priority mode for the PLS2(887) instruction is spec- ified by setting the ON/OFF bit status of A628.14 before executing the PLS2(887) instruction.

Pulse Output Direction Priority Mode

Execute PLS2(887) with A628.14 OFF.

Omron Motion Controller Module (FQM1-CM001) — Pulse Output Direction Priority Mode diagram (page 207)
Fig. 80 · Pulse Output Direction Priority Mode

D00000 8000 D00001 0000 D00002 C350 D00003 0000 D00004 0000 D00005 0000 D00006 03E8 D00007 03E8

Absolute Position Priority Mode

Execute PLS2(887) with A628.14 ON.

Omron Motion Controller Module (FQM1-CM001) — Absolute Position Priority Mode diagram (page 207)
Fig. 81 · Absolute Position Priority Mode

The direction setting is ignored and the direction is changed automatically.

D00000 8000 D00001 0000 D00002 C350 D00003 0000 D00004 0000 D00005 0000 D00006 03E8 D00007 03E8

7-6-13 Pulse Output Function Procedures

Pulse Outputs without Acceleration/Deceleration (PULS(886) + SPED(885))

This procedure shows how to use PULS(886) and SPED(885) to generate a single-phase pulse output without acceleration or deceleration. The number of output pulses cannot be changed during positioning.

1,2,3... 1. Determine pulse output port.

  • Select pulse output 1 or 2.
2. Wire the output.
  • Output: CW and CCW
  • Output power supply: 5 V DC
3. Make the necessary System Setup settings (Pulse Output Tab Page − Operation Mode).
  • Set the pulse output operation mode (in the Pulse Output Tab Page − Operation Mode) to relative pulse output, absolute linear pulse output, or absolute circular pulse output.
Page 208 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Outputs with Acceleration/Deceleration
Page 208 · click to enlarge
Page 208

Pulse Outputs Section 7-6

  • Set the clock speed for pulse outputs 1 and 2.
4. Create the necessary ladder programming.
  • Use PULS(886) to set number of output pulses for the specified port.
  • Use SPED(885) to start pulse output control without acceleration/deceleration from the specified port.
  • Use INI(880) to stop pulse output from the specified port.
  • Use PRV(881) to read the pulse output PV of the specified port.

Single-phase output without acceleration/ deceleration (fixed duty ratio)

CW

Pulse output port 1

CCW

Ladder program Ladder program

CW

Pulse output port 2

CCW

SET PULSES

PULS

SPED

SPEED OUTPUT

Set the number of output pulses.

Output modeCW/CCW, independent/continuous

INI

MODE CONTROL

Stop pulse output.

Refresh status (once each cycle just after instruction execution)

Refresh PV (once each cycle)

Pulse output status Pulse output PV

Port 1 Port 1

A621 A620 A623 A622 A624 A625

Port 2 Port 2

Pulse Outputs with Acceleration/Deceleration

This procedure shows how to use PULS(886) and ACC(888) to generate a pulse output with acceleration or deceleration. The number of output pulses cannot be changed during positioning.

1,2,3... 1. Determine pulse output port.

  • Select pulse output 1 or 2.
2. Wire the output.
  • Output: CW and CCW
  • Output power supply: 5 V DC
3. Make the necessary System Setup settings (Pulse Output Tab Page − Operation Mode).
  • Set the pulse output operation mode (in the Pulse Output Tab Page − Operation Mode) to relative pulse output, absolute linear pulse output, or absolute circular pulse output.
  • Set the clock speed for pulse outputs 1 and 2.
4. Create the necessary ladder programming.
  • Use PULS(886) to set number of output pulses for the specified port.
  • Use ACC(888) to start pulse output control with acceleration or deceleration from the specified port (acceleration and deceleration are specified separately).
  • Use INI(880) to stop pulse output from the specified port.
Show 6 more labels / short text on this page
Pulse output function · System Setup · Pulse output mode · Start output · Target frequency · Start pulse output
Page 209 of the Omron Motion Controller Module (FQM1-CM001) user manual — Electronic Cam Control Functions
Page 209 · click to enlarge
Page 209

Pulse Outputs Section 7-6

  • Use PRV(881) to read the pulse output PV of the specified port.

Single-phase pulse output (fixed duty ratio)

Mode settings for ports 1 and 2

CW

Pulse output port 1

CCW

CW

Pulse output port 2

Ladder program Ladder program

CCW

PULS

SET PULSE

ACC

Mode settings (CW/CCW, accel- eration/deceleration, independ- ent/continuous)

Set the number of output pulses.

ACCELERTION CONTROL

Target frequency0 Hz to 1 MHz

Acceleration/deceleration rate (common) (1 or 2 ms cycle, 1 Hz to 9,999 Hz)

INI

MODE CONTROL

Stop pulse output.

Start pulse output.

Refresh status (once each cycle just after instruction execution)

Refresh PV (once each cycle) Refresh PV (immediate refresh)

Pulse output status Pulse output PV

PRV

HIGH-SPEED COUNTER PV READ

Port 1 Port 2 Port 1 Port 2

A621 A620 A623 A622 A624 A625

Pulse Outputs without Acceleration/Deceleration (PULS(886): Electronic Cam Control)

This procedure shows how to use the PULS(886) instruction’s electronic cam control function to generate a single-phase pulse output without acceleration or deceleration. The number of output pulses can be changed during position- ing.

Procedure

1,2,3... 1. Determine pulse output port.

  • Select pulse output 1 or 2.
2. Wire the output.
  • Output: CW and CCW
  • Output power supply: 5 V DC
3. Make the necessary System Setup settings (Pulse Output Tab Page − Operation Mode).
  • Set the pulse output operation mode (in the Pulse Output Tab Page − Operation Mode) to absolute linear pulse output (electronic cam control) or absolute circular pulse output (electronic cam control).
  • Set the clock speed for pulse outputs 1 and 2.
4. Create the necessary ladder programming.
  • Use PULS(886) to set the absolute position, output frequency, and pulse output (automatic determination of pulse output direction) for the specified port.
  • Use INI(880) to stop pulse output from the specified port.
  • Use PRV(881) to read the pulse output PV of the specified port.

Electronic Cam Control Functions

The electronic cam control supports the following functions.

  • The pulse output direction is determined automatically by comparing the present position (pulse output PV) and target position.
  • The PULS(886) instruction can be executed during pulse output to change the absolute position setting and pulse frequency.
  • Applications of Electronic Cam Operation:

Start output · System Setup · Pulse output mode

Page 210 of the Omron Motion Controller Module (FQM1-CM001) user manual — Trapezoidal Pulse Output with Acceleration/Deceleration (PLS2(887))
Page 210 · click to enlarge
Page 210

Pulse Outputs Section 7-6

The PULS(886) instruction (Electronic Cam Control) can be used to imme- diately change the pulse output value for absolute positioning or the pulse output frequency for speed control in response to the high-speed counter PV (e.g., for a rotational angle). This feature allows the Motion Control Module to perform electronic cam operation using simple linear approxi- mation of a curve (for position or speed control based on the cam angle).

By setting a constant cycle time, the high-speed counter PV is read at reg- ular intervals. The PULS(886) (Electronic Cam Control) instruction is exe- cuted immediately after reading the high-speed counter PV in order to determine the new target position for that cycle.

With the PULS(886) instruction (Electronic Cam Control), the target posi- tion or pulse output frequency (speed) can be changed by executing an- other instruction to change the target position or output frequency while the PULS(886) instruction is being executed. Consequently, position and speed control can be performed while outputting pulses, which is not pos- sible with the PULS(886) + SPED(885) and PULS(886) + ACC(888) in- struction combinations. This capability allows the target position or pulse output frequency (speed) to be changed in steps at high-speed in re- sponse to changes in the pulse input PV. In addition, the pulse input PV can be processed with operations such as basic arithmetic operations and the result can be used for the target position or pulse output frequency (speed).

Execution with constant cycle time

PULS instruction execution (Changes target position and speed.)

Pulse output PV (absolute position)

PULS (Electronic Cam Mode) is executed in the program with changed target position and speed.

Trapezoidal Pulse Output with Acceleration/Deceleration (PLS2(887))

This procedure shows how to use PLS2(887) to generate a pulse output with trapezoidal acceleration and deceleration. The number of output pulses can- not be changed during positioning.

1,2,3... 1. Determine pulse output port.

Show 4 more labels / short text on this page
Pulse input PV · Time · Target position · Time
Page 211 of the Omron Motion Controller Module (FQM1-CM001) user manual — Pulse Counter Timer Function (STIM(980))
Page 211 · click to enlarge
Page 211

Pulse Outputs Section 7-6

  • Select pulse output 1 or 2.
2. Wire the output.
  • Output: CW and CCW
  • Output power supply: 5 V DC
3. Make the necessary System Setup settings (Pulse Output Tab Page − Operation Mode).
  • Set the pulse output operation mode (in the Pulse Output Tab Page − Operation Mode) to relative pulse output or absolute linear pulse output.
  • Set the clock speed for pulse outputs 1 and 2.
4. Create the necessary ladder programming.
  • Use PLS2(887) to start pulse output control with trapezoidal acceleration/ deceleration from the specified port (acceleration and deceleration are specified separately).
  • Use INI(880) to stop pulse output from the specified port.
  • Use PRV(881) to read the pulse output PV of the specified port.

Single-phase pulse output with trapezoidal acceleration/deceleration

Mode settings for ports 1 and 2

CW

Pulse output port 1

CCW

CW

Pulse output port 2

Ladder program Ladder program

CCW

INI PLS2

MODE CONTROL

Set number of output pulses.

Stop pulse output.

Target frequency20 Hz to 1 MHz

PULSE OUTPUT

Starting frequency0 Hz to 1 MHz

Acceleration/deceleration rates (set separately)(1 or 2 ms cycle, 1 Hz to 9,999 Hz) Start pulse output.

Refresh status (once each cycle just after instruction execution)

Refresh PV (once each cycle) Refresh PV (immediate refresh) Read pulse output PV

Pulse output status Pulse output PV

PRV A621 A620 A623 A622 A624 A625

HIGH-SPEED COUNTER PV READ

Port 1 Port 2 Port 1 Port 2

One-shot Pulse Output (STIM(980))

1,2,3... 1. Determine pulse output port.

  • Select pulse output 1 or 2.
2. Wire the output.
3. Make the necessary System Setup settings.
  • Set the pulse output operation mode (in the Pulse Output Tab Page − Operation Mode) to 1 shot .
4. Create the necessary ladder programming.
  • Use STIM(980) (with C1 = #0001 or #0002) to turn ON the one-shot pulse output.

Pulse Counter Timer Function (STIM(980))

1,2,3... 1. Determine pulse output port.

  • Select pulse output 1 or 2.
2. Make the necessary System Setup settings.

Start output · System Setup · Pulse output mode

Page 212 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-14 Pulse Output Function Examples
Page 212 · click to enlarge
Page 212

Pulse Outputs Section 7-6

  • Set the pulse output operation mode (in the Pulse Output Tab Page − Operation Mode) to Calculation (time measurement) .
3. Create the necessary ladder programming.

a. Use STIM(980) with C1 = #000B or #000C and C2 = #0000 to start measurement.

b. Use STIM(980) with C1 = #000B or #000C and C2 = #0001 to stop measurement.

7-6-14 Pulse Output Function Examples

Positioning using Pulse Outputs without Acceleration/Deceleration

In the following positioning example, the PULS(886) and SPED(885) instruc- tions are used to control a relative pulse output from port 1 (CW independent mode positioning). The number of pulses specified in PULS(886) (10,000) are output at the frequency specified in SPED(885) (2,000 Hz).

Omron Motion Controller Module (FQM1-CM001) — 7-6-14 Pulse Output Function Examples diagram (page 212)
Fig. 82 · 7-6-14 Pulse Output Function Examples

Number of pulses = 10,000 (Specified by PULS instruction.)

SPED executed. Output stops after 10,000 pulses have been output.

When CIO 0002.00 turns ON, PULS sets port 1 for 10,000 pulses (relative pulse output).

Starts pulse output from port 1 at 2,000 Hz (2 kHz) in CW independent mode.

D00000 2 7 1 0 D00001 0

!Caution Be sure that the pulse frequency is within the motor’s self-starting frequency

range when starting and stopping the motor.

Page 213 of the Omron Motion Controller Module (FQM1-CM001) user manual — Accelerating the Frequency at a Fixed Rate
Page 213 · click to enlarge
Page 213

Pulse Outputs Section 7-6

Changing the Frequency in Steps

In this example, the SPED(885) instruction is used to change the speed of a pulse output from port 2 from a frequency of 3,000 Hz to 50,000 Hz. In this case, the pulse output is a CCW continuous mode output.

Omron Motion Controller Module (FQM1-CM001) — Pulse Outputs Section 7-6 diagram (page 213)
Fig. 83 · Pulse Outputs Section 7-6

When CIO 0002.00 turns ON, SPED starts a pulse output from port 2 at 3,000 Hz (3 kHz) in CCW continuous mode.

When CIO 0002.01 turns ON, SPED changes the frequency to 50,000 Hz (50 kHz) in CCW continuous mode.

D00000 C 3 5 0 D00001 0

Accelerating the Frequency at a Fixed Rate

In this example, the ACC(888) instruction is used to accelerate the pulse out- put from port 2 from a frequency of 3,000 Hz to 50,000 Hz at an acceleration rate of 500 Hz/2 ms.

Omron Motion Controller Module (FQM1-CM001) — Accelerating the Frequency at a Fixed Rate diagram (page 213)
Fig. 84 · Accelerating the Frequency at a Fixed Rate

When CIO 0002.00 turns ON, SPED starts a pulse output from port 2 at 3,000 Hz (3 kHz) in CCW continuous mode.

When CIO 0002.01 turns ON, ACC is executed in mode 1 (CCW direction, acceleration, and continuous mode) to accelerate the frequency at 500 Hz/2 ms to 50,000 Hz (50 kHz).

D00000 1 F 4 D00001 3 5 0 D00002 0

Page 214 of the Omron Motion Controller Module (FQM1-CM001) user manual — Absolute Positioning with Continually Changing Target Position
Page 214 · click to enlarge
Page 214

Pulse Outputs Section 7-6

Specified number of pulses reached before speed reaches 0.

Speed reaches 0 while the remaining

number of pulses is 0 or more.

At this point, the actual number of output pulses equals the preset number of pulses.

At this point, the actual number of output pulses may not equal the preset number of pulses. To be sure that the actual number of output pulses equals the specified number of pulses, set the Module so that the speed is greater than 0 (e.g., the starting frequency) when the specified number of pulses have been output.

Absolute Positioning with Continually Changing Target Position

This example performs absolute positioning (Electronic Cam Control) using a single-phase pulse output without acceleration/deceleration, and the target position is updated every cycle. This function relies on a constant cycle time, in which the ladder program is executed every 2 ms, and positioning is per- formed using a target value that is changed every cycle according to the high-speed counter PV.

The pulse output is controlled by the target position, which is calculated repeatedly from the high-speed counter PV. The target position is calculated, so the APR instruction can be used for linear approximation.

Pulse output target frequency in D00000 and D00001 (BCD)

0 400 800 600 999 200

High-speed Counter PV (BCD)

The high-speed counter is set for circular operation with a circular value of 999 BCD.

Show 5 more labels / short text on this page
Speed (frequency) · Speed (frequency) · Time · Time · 4,000
Page 215 of the Omron Motion Controller Module (FQM1-CM001) user manual — #1 #2 D00000
Page 215 · click to enlarge
Page 215

Pulse Outputs Section 7-6

A610.00

D00000 D00001 D00002 D00003

Target position (right digits) Target position (left digits) Frequency (right digits) Frequency (left digits)

Starts high-speed counter.

Input dataA600 (High-speed counter 1 PV)

No. of inputs = 5 − 1 = 4)

MOVL

D01000 1 0 0 4 D01001 0 3 E 7 D01002 0 D01003 0 D01004 0 0 C 8 D01005 0 D01006 0 D01007 0 1 9 0 D01008 0 F A 0 D01009 0 D01010 0 2 5 8 D01011 0 F A 0 D01012 0 D01013 0 3 2 0 D01014 0 D01015 0 D01016 0 3 E 7 D01017 0 D01018 0

Sets pulse output frequency to 200 kHz.

Y0 0 X6

(X-axis max. value) 999

D00002

APR

Processes the high-speed counter 1 PV with the linear approximation data in D01000 to D01018 (the graph shown above) and stores the result in D00000 and D00001.

Y1 0

D01000

A600 D00000

Y2 4000 X2 400

Y3 4000

PULS

Outputs an absolute position pulse output using the content of D00000 and D00001 as the target position and the content of D00002 and D00003 as the frequency.

#1 #2 D00000

Y4 0

Y5 0

P_EQ

PULS

When the PULS instruction's pulse output was stopped and couldn't be output, the pulse output is output again.

#1 #2 D00000

END

Show 6 more labels / short text on this page
P_On · Always ON Flag · &200000 · P_On · Always ON Flag · Equal Flag
Page 216 of the Omron Motion Controller Module (FQM1-CM001) user manual — D00005 D00004 D00003 D00002 D00001
Page 216 · click to enlarge
Page 216

Pulse Outputs Section 7-6

Using PLS2(887) for Trapezoidal Acceleration/Deceleration

In this example, the axis is accelerated in the CW direction at 500 Hz/2 ms, the acceleration/deceleration rate is reduced to 300 Hz/2 ms, and the pulse output is stopped after 300,000 pulses have been output.

After 5 s, the same trapezoidal acceleration/deceleration operation is per- formed in the CCW direction.

Port 1 CW Operation Port 1 CCW Operation

Specified number of pulses300,000
Specified number of pulses300,000

Acceleration rate 500 Hz/2 ms

Target frequency 20,000 Hz

Deceleration rate 300 Hz/2 ms

Deceleration rate 300 Hz/2 ms

Acceleration rate 500 Hz/2 ms

Starting frequency 500 Hz

Stopping frequency 500 Hz

Output starts when PLS2 is executed.

After 5 s, CCW output starts when PLS2 is executed.

Output stops and A624.00 is turned ON.

Target frequency reached.

0003.00

DIFU

CIO 0002.00 is turned ON when CIO 0003.00 turns ON.

0002.00

0002.00

0002.02

@PLS2

When CIO 0002.00 goes ON, pulses are output from port 1 in the CW direction with the following settings: Acceleration rate: 500 Hz/2ms Deceleration rate: 500 Hz/2ms Target frequency: 20,000 Hz (20 kHz) Starting frequency: 500 Hz Number of output pulses: 300,000

#1 #0 D00000

0002.01

0002. 01

A624.00

TIM

The 5 s timer starts if A624.00 is ON (pulse output completed).

T0000

@PLS2

After the pulse output is completed in the CW direction and 5 seconds have passed, the same pulse output pattern is performed in the CCW direction.

#1 #1 D00000

0002. 02

T D00000 9 3 E 0 T+1 0 0 0 4 T+2 4 E 2 0 T+3 0 T+4 0 1 F 4 T+5 0 T+6 0 1 F 4 T+7 0 1 2 C

Number of output pulses

D00005 D00004 D00003 D00002 D00001

D00006 D00007

Acceleration rate Deceleration rate

Show 7 more labels / short text on this page
Frequency · Time · Deceleration point · 5 s · 0000 #0050 · Target frequency · Starting frequency
Page 217 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-6-15 Pulse Output Starting Conditions
Page 217 · click to enlarge
Page 217

Pulse Outputs Section 7-6

get Frequency Not Reached Flag (A624.02 or A625.02) will turn ON at the peak of the triangular pattern and turn OFF when deceleration is completed.

One-shot Pulse Output Function Example

In this example, STIM(980) is used to generate a 1.5-ms one-shot pulse out- put from pulse output 1.

Omron Motion Controller Module (FQM1-CM001) — One-shot Pulse Output Function Example diagram (page 217)
Fig. 85 · One-shot Pulse Output Function Example

When CIO 0002.00 goes ON, STIM generates a 1.5-ms one-shot pulse output from port 1.

Pulse Counter Time Measurement (Timer) Example

In this example, a pulse counter timer is allocated to pulse output 1.

Omron Motion Controller Module (FQM1-CM001) — Pulse Counter Time Measurement (Timer) Example diagram (page 217)
Fig. 86 · Pulse Counter Time Measurement (Timer) Example

When CIO 0002.00 goes ON, STIM starts pulse counter timer 1 (allocated to port 1).

When CIO 0003.00 goes ON, STIM stops pulse counter timer 1.

The measurement results are stored in Auxiliary Area words A620 and A621.

7-6-15 Pulse Output Starting Conditions

Pulse Output Operation Modes Supported by Instruction

Omron Motion Controller Module (FQM1-CM001) — 7-6-15 Pulse Output Starting Conditions diagram (page 217)
Fig. 87 · 7-6-15 Pulse Output Starting Conditions

Relative pulse output OK No OK OK No No OK (note 1)

One-shot pulse mode No OK No OK (note 1)

Pulse counter timer No OK OK (note 1)

(2) Supports continuous mode only.

Page 218 of the Omron Motion Controller Module (FQM1-CM001) user manual — --- --- --- --- OK OK
Page 218 · click to enlarge
Page 218

Pulse Outputs Section 7-6

(3) Use this function for positioning.

Allowed Startup Conditions for Pulse Output Operations (with Output Stopped)

The following table shows when an independent mode pulse output (SPED(885) independent mode, ACC(888) independent acceleration mode, or ACC(888) independent deceleration mode) can be started when pulses are not being output.

Startup conditions and status Startup mode and conditions Relative pulse output

CW

CCW

CCW

Relative OK OK --- Absolute linear

Target position > Present position

--- --- OK OK with SPED(885), ACC(888) Disabled with PLS2(887)

Target position < Present position

--- --- OK with SPED(885), ACC(888) Disabled with PLS2(887)

Target position = Present position

--- --- No No --- ---

Target position > Present position

--- OK OK

Target position < Present position

--- OK OK

Target position = Present position

--- OK OK

The following table shows when a continuous mode pulse output (SPED(885) continuous mode, ACC(888) continuous acceleration mode, or ACC(888) continuous deceleration mode) can be started when pulses are not being out- put..

Startup conditions and status Startup mode and conditions

CW

CCW

CCW

Relative OK OK --- Absolute linear

Target position = Maximum value

--- --- OK OK --- ---

Target position = Minimum value

--- --- OK OK --- ---

Target position = Maximum value

--- OK OK

Target position = Minimum value

--- OK OK

Show 17 more labels / short text on this page
Relative pulse output · Absolute linear CW · Absolute linear CCW · Absolute circular CW · Absolute · circular · --- --- · --- --- · Absolute circular · Relative pulse output · Relative pulse output · Absolute linear CW · Absolute linear CCW · Absolute circular CW · Absolute · circular · Absolute circular
Page 219 of the Omron Motion Controller Module (FQM1-CM001) user manual — Allowed Startup Conditions for Pulse Output Operations (with Output in Progress)
Page 219 · click to enlarge
Page 219

Pulse Outputs Section 7-6

PULS(886) Absolute Pulse Output in Progress

Pulse Output Operation Mode (Absolute Linear) Limitations

PLS2(887)

Omron Motion Controller Module (FQM1-CM001) — Pulse Output Operation Mode (Absolute Linear) Limitations diagram (page 219)
Fig. 88 · Pulse Output Operation Mode (Absolute Linear) Limita…

Startup conditions and status Startup mode and conditions Relative

Absolute linear CCW Relative OK OK ---

Startup Conditions when other Instructions are being Executed

Omron Motion Controller Module (FQM1-CM001) — Startup Conditions when other Instructions are being Executed diagram (page 219)
Fig. 89 · Startup Conditions when other Instructions are being…

Independent OK No OK OK No

OK OK OK No OK OK OK (See note 2)

No relative output OK OK OK --- No OK (See note 1)

No absolute output OK OK --- OK No OK (See note 1)

Relative output No OK No

Accelerating No No OK OK No

OK OK OK No OK OK OK (See note 2)

Decelerating No No OK OK No

OK OK OK No OK OK OK (See note 2)

Accelerating No

Steady speed OK No OK OK No

Decelerating No

Steady speed OK No OK OK No

No

PLS2(887).

(2) Execution is OK when the number of output pulses has been set.

Allowed Startup Conditions for Pulse Output Operations (with Output in Progress)

Omron Motion Controller Module (FQM1-CM001) — Allowed Startup Conditions for Pulse Output Operations (with Output in Progress) diagram (page 219)
Fig. 90 · Allowed Startup Conditions for Pulse Output Operatio…

Independent Case (1) No Case (8) Case (11) No

Continuous Case (2) Case (4) Yes Yes No Case (6) Case (7) Case (9) Case (12) No

No relative output Yes Yes Yes --- No Yes (See note.)

Page 220 of the Omron Motion Controller Module (FQM1-CM001) user manual — PLS2 (887)
Page 220 · click to enlarge
Page 220

Pulse Outputs Section 7-6

Operating instruction Starting instruction

PULS(8 86) rela- tive, without

PULS(88

PULS(88

ACC(888

ACC(888

PLS2(88

6. absolute without
6. absolute with

PULS (886)

No absolute output Yes Yes --- Yes No Yes (See note.)

PULS (886)

Absolute output No Case (5) No

ACC( 888) Acceleration + continuous

Accelerating No No Yes Yes No

Steady speed Case (2) Case (4) Yes Yes No Case (6) Case (7) Case (9) Case (12) No

ACC( 888) Deceleration + continuous

Decelerating No No Yes Yes No

Steady speed Case (2) Case (4) Yes Yes No Case (6) Case (7) Case (9) Case (12) No

ACC( 888) Acceleration + independent

Accelerating No

Steady speed Case (3) No Case (10) Case (13) No

ACC( 888) Deceleration + independent

Decelerating No

Steady speed Case (3) No Case (10) Case (13) No

PLS2 (887)

No

Cases (1), (2), and (3)

Omron Motion Controller Module (FQM1-CM001) — PLS2 (887) diagram (page 220)
Fig. 91

CW CCW CW CCW Relative CW output Yes No --- ---

CCW output No Yes --- --- Absolute lin- ear or circular

Omron Motion Controller Module (FQM1-CM001) — PLS2 (887) diagram (page 220)
Fig. 92

Relative CW output Yes No --- CCW output No Yes ---

CW output --- --- Yes No --- --- CCW output --- --- No Yes --- ---

CW output --- Yes No CCW output --- No Yes

Omron Motion Controller Module (FQM1-CM001) — PLS2 (887) diagram (page 220)
Fig. 93

CW output Yes Yes (See note.) CCW output Yes (See note.) Yes

Show 18 more labels / short text on this page
SPED(8 85) inde- pendent · SPED(8 85) con- tinuous · ACC(888 ) acceler- · ACC(888 ) acceler- · ) decel- eration, continu- · ) decel- eration, indepen- · 7) · ation, continu- · ation, indepen- · output · output · output · ous · ous · dent · dent · Case (4) · Case (5)
Page 221 of the Omron Motion Controller Module (FQM1-CM001) user manual — CW CCW
Page 221 · click to enlarge
Page 221

Pulse Outputs Section 7-6

Cases (6), (8), (9), and (10)

  • Starting instruction: ACC(888) (continuous or independent), acceleration, relative

Output status Direction and starting conditions

CW CCW Target position >

Relative CW output Yes No No No CCW output No No Yes No

  • Starting instruction: ACC(888) (continuous or independent), acceleration, absolute linear

Output status Direction and starting conditions

CW CCW

Present position Absolute lin- ear

CW output Yes No No No

CCW output No No Yes No

  • Starting instruction: ACC(888) (continuous or independent), acceleration, absolute circular

Output status Direction and starting conditions

CW CCW

Present position Absolute cir- cular

CW output Yes No No No

CCW output No No Yes No

Cases (7), (11), (12), (13)

  • Starting instruction: ACC(888) (continuous or independent), deceleration, relative

Output status Direction and starting conditions

CW CCW

Present position Relative CW output No Yes No No

CCW output No No No Yes

  • Starting instruction: ACC(888) (continuous or independent), deceleration, absolute linear

Output status Direction and starting conditions

CW CCW

Present position Absolute lin- ear

CW output No Yes No No

CCW output No No No Yes

Show 35 more labels / short text on this page
Target position < · Target position > · Target position < · Present position · Present position · Present position · Present position · Target position > · Target position < · Target position > · Target position < · Present position · Present position · Present position · Target position > · Target position < · Target position > · Target position < · Present position · Present position · Present position · Target position > · Target position < · Target position > · Target position < · Present position · Present position · Present position · Target position > · Target position < · Target position > · Target position < · Present position · Present position · Present position
Page 222 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-7-2 Overview
Page 222 · click to enlarge
Page 222

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

  • Starting instruction: ACC(888) (continuous or independent), deceleration, absolute circular

Output status Direction and starting conditions

CW CCW

Present position Absolute cir- cular

CW output No Yes No No

CCW output No No No Yes

7-7 Functions for Servo Drivers Compatible with Absolute Encoders

7-7-1 Applicable Models

FQM1-MMP21 Motion Control Module for Pulse I/O FQM1-MMA21 Motion Control Module for Analog I/O

The examples in this section demonstrate the functions with high-speed counter 1 only. When using high-speed counter 2, replace the Auxiliary Area addresses with the appropriate addresses for high-speed counter 2.

7-7-2 Overview

Either of the following types of pulse input signals can be input to the unit:

  • Pulse trains from normal incremental encoders, etc.
  • Encoder output data (e.g., OMRON's W Series) of Servo Drivers compatible with absolute encoders (multi-turns absolute encoders)

The following explains the functions that are compatible with the latter, Servo Drivers compatible with absolute encoders.

To input the encoder output data from a Servo Driver compatible with an absolute encoder, the SEN output signal from the Motion Control Module has to be connected to the Servo Driver. When starting an operation, the number of multi-turns (to phase A as serial data) and the initial incremental pulse (to phase A/B as pulse) are input once as the absolute position information.

After that, the position data during operations are input with the phase differ- ential input (using normal counter functions).

Using a Servo Driver compatible with an absolute encoder enables the con- trolled operation to be started from the position at turning on the power with- out performing any origin searches.

Show 8 more labels / short text on this page
Target position > · Target position < · Target position > · Target position < · Present position · Present position · Present position · Model Functions
Page 223 of the Omron Motion Controller Module (FQM1-CM001) user manual — Data Format
Page 223 · click to enlarge
Page 223

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

Motion Control Module Servo driver

Analog output (Speed command) −10 to 10 V, etc.

Speed control Position control, (SPED, ACC, PULS or PLS2 instruction)

Power cable (U, V, W) Absolute encoder signal (line driver)

Servomotor with Absolute encoder

7-7-3 Data Format of Absolute Encoder Output

The format of data from a Servo Driver compatible with an absolute encoder supported by the Motion Control Module is as follows:

Serial Data Specification

The number of digits for rotation data 5 digits

Data transmitting method Asynchronous Baud rate 9,600 bits/s

Start bit 1 bit Stop bit 1 bit

Parity Even numbers Character code ASCII 7 bits

Data format 8 characters

Data Format

Byte +0 +1 +2 +3 +4 +5 +6 +7

P (See note 1.)

Rotation data CR Sign (+ or −)

(2) The range of No. of rotations that can be received by the Motion Control

Module is between +65,535 to −65,535.

(3) For details of the data on the number of multi-turns received from a Servo

Driver, please check the manual of the Servo Driver in use.

(4) Set the System Setup’s Counter 1 Counter operation to either an abso-

lute linear (CW−) or absolute linear (CW+) counter corresponding to the setting of reverse rotation mode on the Servo Driver in use.

(5) When the mode where the data on the number of rotations is output only

in the + direction is set in the absolute encoder multi-turn limit setting, the data received by the Motion Control Module is handled as described be- low according to the setting of Counter 1 Counter operation in the System Setup.

Show 4 more labels / short text on this page
Pulse output · SEN signal · Absolute encoder data · Integer (5-digit decimal)
Page 224 of the Omron Motion Controller Module (FQM1-CM001) user manual — Absolute Linear (CW+) Counter (CW Rotation for + Count)
Page 224 · click to enlarge
Page 224

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

  • Example 1 A value between 0 and 65,534 is set in the Servo Driver, the System Setup’s Counter 1 Counter operation is set to an absolute linear (CW − ) counter, and the Servo Driver’s reverse rotation mode setting (Pn000.0) is set to 0 (+ command for rotation in CCW direction).

PV of +65,534 ABS PV is a positive value.

  • Example 2 The System Setup’s Counter 1 Counter operation is set to an absolute linear (CW + ) counter and the Servo Driver’s reverse rotation mode setting (Pn000.0) is set to 1 (+ command for rotation in CW direction).

PV of −65,534 ABS PV is a negative value.

7-7-4 Counter Operation

Counting Operation The counting operations performed in the absolute linear (CW−), absolute lin- ear (CW+), and absolute circular counters are the same as the pulse input function’s linear and circular counters. However, the normal linear counter does not have the function that receives the rotation data stored in a Servo Driver compatible with an absolute encoder.

Counter Operation Details

The details of the absolute linear (CW−), absolute linear (CW+), and absolute circular counters are as follows:

Absolute Linear (CW − ) Counter (CCW Rotation for + Count)

When an absolute encoder rotates in reverse, the pulse information is counted with a linear counter. Use this mode when the Servo Driver’s reverse rotation mode parameter has been set to positive (+) command for CCW rota- tion.

Absolute Linear (CW+) Counter (CW Rotation for + Count)

When an absolute encoder rotates forward, the pulse information is counted with a linear counter. Use this mode when the Servo Driver’s reverse rotation mode parameter has been set to positive (+) command for CW rotation.

Page 225 of the Omron Motion Controller Module (FQM1-CM001) user manual — Absolute Circular Counter
Page 225 · click to enlarge
Page 225

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

Absolute Circular Counter The absolute encoder’s pulse information is counted using a circular counter. (Only the initial incremental pulse (angle) reading is used as the absolute value.)

7-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)

The multi-turn data (a present value read from an encoder) is input to the Motion Control Module after the SEN signal is input to a Servo Driver. The data is stored as the absolute number of rotations present value. The stored value is determined by the following conversion formulae:

Absolute number of rotations PV (A604 and A605) = R × M

Number of initial incremental pulses (A600 and A601) = P0

M: Multi-turn data (meaning how many times the axis of a rotary encoder rotated)

R (System SetupABS encoder resolution): The number of pulses for encoder's one revolution

(Absolute encoder's resolution set on Servo Driver x phase differential in- put multiplication of the Motion Control Module (System Setup: Counter 1 Input))

P 0The number of initial incremental pulses
P sAbsolute offset

When the absolute number of rotations value is read, the number of initial incremental pulses portion is stored in A600 and A601.

Absolute Number of Rotations Present Value (A604 and A605) + P0 (A600 and A601) Absolute encoder's position)

Reference position (Absolute offset position)

0 +1 +2 +3 M

M × R P 0

Ps Absolute Present Value

7-7-6 Absolute Present Value

The absolute present value is calculated by subtracting an absolute offset from the absolute encoder's state (position) when the SEN signal was turned ON.

The value is calculated using the following formulae and is used for the abso- lute present value preset function. It is not stored in the memory as data.

Absolute Linear Counter

Absolute PV = Absolute number of rotations PV (A604 and A605) + Number of initial incremental pulses (A600 and A601) − Ps Ps: Absolute offset

Absolute Circular Counter

Absolute PV = P0 − Ps P0: The number of initial incremental pulses

Page 226 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-7-8 Absolute Offset Preset
Page 226 · click to enlarge
Page 226

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

P sAbsolute offset

0 7FFF

Reference position (Absolute offset position)

P0

7-7-7 Absolute Present Value Preset

The absolute encoder's state (absolute number of rotations PV (in A604 and A605) and the number of initial incremental pulses (in A600 and A601)) can be reflected in high-speed counter present value 1 (A600 and A601). This function is enabled by turning ON the Absolute Present Value Preset Bit (A610.06). The absolute present value is stored in High-speed Counter Present Value 1 (A600 and A601). Additionally, absolute present values vary depending on the counter operation. See 7-7-6 Absolute Present Value for details.

7-7-8 Absolute Offset Preset

The present value to be defined as an origin is obtained from the absolute number of rotations present value (A604 and A605) at the time and the num- ber of initial incremental pulses. The value can be stored in the absolute offset (System Setup parameter). The value read from an absolute encoder at the time is defined as a machine (application) origin. This function is executed by turning ON the Absolute Offset Preset Bit (A610.05).

Ps · Absolute encoder's position · Absolute Present Value

Page 227 of the Omron Motion Controller Module (FQM1-CM001) user manual — Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7
Page 227 · click to enlarge
Page 227

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

7-7-9 Related Areas

System Setup

Tab page Function Details Time when

Counter 1 Pulse input mode

0 hex: Phase differential x1 1 hex: Phase differential x2 2 hex: Phase differential x4 3 hex: Increment/decrement pulse input 4 hex: Pulse + direction

0 hex: Software reset 1 hex: Phase Z and software reset Counting Speed 0 hex: 50 kHz 1 hex: 500 kHz Counter opera- tion

0 hex: Linear counter 1 hex: Circular counter 2 hex: Absolute linear (CW−) 3 hex: Absolute circular 4 hex: Absolute linear (CW+) Counter data dis- play

0 hex: Do not monitor 1 hex: Counter movements (mode 1) 2 hex: Frequency measurement (mode 2)

counter 1 only. Sampling time (for mode 1)

Sets the sampling time when the high-speed counter PV is being measured (mode 1). 0000 hex: Cycle time 0001 to 270F hex: 1 to 9,999 ms (1-ms units)

Data Display parameter is set to 1 hex (mode 1). Counter 2 Pulse input mode

The counter 2 parameters have the same functions as the parameters for counter 1, above.

be set to frequency measurement (2 hex). Counter reset method

Counting Speed Counter opera- tion Counter data dis- play Sampling time (for mode 1)

Show 5 more labels / short text on this page
setting becomes · effective · Pulse Input · At power ON · Counter reset method
Page 228 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area
Page 228 · click to enlarge
Page 228

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

Tab page Function Details Time when

Pulse input Counter 1 Max. circular value

When the counter operation is set to circular counter, this parameter sets the maximum value in the circu- lar counter. Setting range: 0000 0001 to FFFF FFFF hex

Absolute encoder resolu- tion (Number of input pulses per encoder revolu- tion)

0000 0001 to 0000 FFFF hex

Driver's encoder dividing rate and the Motion Control Module's pulse input multiplier setting.

Example: Set the resolution to FA0 (4,000) when the Servo Driver’s rate is 1,000 and the Motion Control Mod- ule’s multiplier is ×4. Counter 2 Max. circular value

The counter 2 parameters have the same functions as the parameters for counter 1, above.

Absolute encoder resolu- tion (Number of input pulses per encoder revolu- tion) Counter 1 Absolute offset Setting range: 8000 0000 to 7FFF FFFF hex This is the origin of the application when using an absolute encoder.

Counter 2 Absolute offset The counter 2 offset has the same function as the counter 1 offset, above.

Auxiliary Area

Word Bits Function Details Controlled

A600 00 to 15 High-speed Counter 1 PV Counter range: 8000 0000 to 7FFF FFFF hex (8 digits hexadecimal)

Motion Con- trol Module A601 00 to 15

A602 00 to 15 High-speed Counter 2 PV A603 00 to 15

counter PVs are checked for overflow and underflow errors when the PVs are read (at built-in I/O refresh for the Mod- ule).

00 to 15 High-speed Counter 1

  • Counter operation
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

Absolute No. of rotations PV

Multi-turn data (PV read from encoder) input to the Motion Control Module is stored here when SEN signal is input to Servo Driver. 8000 0000 to 7FFF FFFF hex (8-digit hexadecimal)

Show 7 more labels / short text on this page
setting becomes · effective · At power ON · Always · by · A604 and A605 · Motion Con- trol Module
Page 229 of the Omron Motion Controller Module (FQM1-CM001) user manual — Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7
Page 229 · click to enlarge
Page 229

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

Word Bits Function Details Controlled

00 to 15 High-speed Counter 2

  • Counter operation
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

Absolute No. of rotations PV

The same as for high-speed counter 1, except that the high-speed counter frequency mea- surement cannot be performed.

A608 04 High-speed Counter 1 Status

Motion Con- trol Module 05 Absolute No. of Rota- tions Read Completed Flag

Absolute No. of Rota- tions Read Error Flag

OFFNo error ON: Error occurred
OFFNot reading or reading ON: Reading completed (This is set at the

completion of receiving serial data on No. of rotations.)

An error occurred when storing the absolute offset in the System Setup parameter area. A609 04 High-speed Counter 2 Status

12 Absolute Offset Preset Error Flag

Motion Con- trol Module 05 Absolute No. of rota- tions read completed 12 Absolute offset preset error

Absolute No. of rota- tions read error

These flags have the same functions as the ones for High-speed Counter 1 Status, above.

A610 05 High-speed Counter 1 Command

Absolute offset preset OFFNo preset OFF to ON: Offset obtained from multi-turn

data from Servo Driver and the No. of initial incremental pulses are stored as the absolute offset. When defining machine origin, dif- ference between machine and encoder's origins is preset as the absolute offset.

06 Absolute PV preset OFFAbsolute PV preset invalid OFF to ON: At this point, the absolute PV is

stored in high-speed counter PV 1 (A600 and A601).

for details on the absolute PV.

07 Absolute No. of rota- tions read

OFF: No. of rotations data read from Servo Driver invalid ON: At the rising edge of the signal, SEN is output to Servo Driver, and multi-turn data is received from the phase A input.

A611 05 High-speed Counter 2 Command

Motion Con- trol Module 06 Absolute PV Preset

Absolute Offset Preset These control bits have the same functions as the ones for High-speed Counter 1 Command, above.

07 Absolute No. of Rota- tions Read

Show 4 more labels / short text on this page
by · A606 and A607 · Motion Con- trol Module · Motion Con- trol Module
Page 230 of the Omron Motion Controller Module (FQM1-CM001) user manual — Setting the Absolute Encoder Resolution
Page 230 · click to enlarge
Page 230

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

7-7-10 Overview of Absolute Encoder Output Data Acquire

Behavior of the Servo Driver Compatible with an Absolute Encoder

The SEN signal being turned ON, the Servo Driver behaves in the following manner:

1,2,3... 1. The Servo Driver transmits the state of the absolute encoder when the SEN signal is turned ON. The operation proceeds in the following order:

a. Transmits the multi-turn data (how many revolutions the axis of the ro- tary encoder made) with the serial communications.

b. Transmits the initial incremental pulse (difference between present po- sition and origin) with phase differential pulse output.

2. After transmitting the absolute value data, transmits the pulse train corresponding to the rotational displacement. (Transmits the same pulse as an incremental encoder)

Absolute Encoder Output Data Acquiring Method

Use the following procedure to read the absolute encoder output data from a Servo Driver to the Motion Control Module:

Step 1 (Required): Setting Setting the Pulse Input Method

Set the pulse input method in the System Setup. Select one of the following 5 methods:

Phase differential ×1, ×2, or ×4, increment/decrement pulse input, or pulse + direction. Set the pulse input method to a phase differential input.

Setting the Input Pulse Counting Speed

Set the input pulse counting speed to 500 kHz. To do so, set the input pulse counting speed to 500 kHz in the System Setup.

Setting the Counter Operation

Set the Counter 1 Counter operation in the System Setup. Select one of the following three counter operations for counting the encoder output.

  • Absolute linear (CW − ) counter
  • Absolute linear (CW+) counter
  • Absolute circular counter

Be sure to set the System Setup’s Counter 1 Counter operation so that it agrees with the Servo Driver’s reverse rotation mode setting.

Setting the Absolute Encoder Resolution

Set absolute encoder resolution, which is the number of pulses received from the Servo Driver for each revolution of the encoder.

Consider both the Servo Driver's encoder dividing rate setting and the Motion Control Module's pulse input multiplier setting (with the System Setup’s pulse input method setting). For example, set the resolution to FA0 (4,000) when the Servo Driver’s rate is 1,000 and the Motion Control Module’s multiplier is ×4.

Step 2 (Required)Acquiring the Encoder Status when the SEN Signal is Turned ON

Turn ON the Absolute Number of Rotations Read Bit (A610.07) from the lad- der program. At this point, the SEN signal will go ON (high level). Leave the SEN signal ON during operation, just like the RUN signal.

Page 231 of the Omron Motion Controller Module (FQM1-CM001) user manual — Step 6 (Required): Stopping Servo Driver
Page 231 · click to enlarge
Page 231

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

After a short time has passed to allow the Servo Driver's output to stabilize, turn ON the High-speed Counter Start Bit (A610.00) from the ladder program. The encoder's status (multi-turn data), which was acquired when the SEN sig- nal was turned ON, is received as serial data. After the multi-turn data has been received through serial communications, the Absolute Number of Rota- tions Read Completed Flag (A608.05) will go ON. If a reception error occurs at this point, the Absolute Number of Rotations Read Completed Flag (A608.05) and Absolute Number of Rotations Read Error Flag (A608.04) will go ON and the received data will be discarded.

Step 3 (as Needed): Origin Compensation (Absolute Offset Preset)

When necessary, the absolute offset preset function can be used to set encoder's present position as the origin.

Use the absolute offset preset function to store the present value that will be defined as an origin as the absolute offset; the present value is computed from the Absolute Number of Rotations PV (A604 and A605) and the Number of Initial Incremental Pulses (A600 and A601).

To use the absolute offset preset function, turn ON the Absolute Offset Preset Bit (A610.05).

To use the absolute offset preset function, wait 30 to 62.5 ms after the Abso- lute Number of Rotations Read Completed Flag (A608.05) is turned ON and then toggle (turn ON and then OFF) the Absolute Offset Preset Bit (A610.05).

Step 4 (Required): Absolute Present Value Preset

Use the absolute present value preset function to store the absolute present value in high-speed counter PV 1 (A600 and A601).

To use the absolute present value preset function, toggle (turn ON and then OFF) the Absolute PV Preset Bit (A610.06).

Step 5 (Required): Operating Command to Servo Driver

Turn ON the RUN Signal Output Bit (Servo Lock). Doing so will cause the Servo Driver to start operating. At the same time, the Motion Control Module will start receiving pulse trains and counting the number of pulses corre- sponding to Servo Driver’s rotational displacement.

Step 6 (Required): Stopping Servo Driver

Turn OFF the RUN Signal Output Bit (Servo Lock). Doing so will stop the Servo Driver. In addition, turn OFF the Absolute Number of Rotations Read Bit (A610.07) and High-speed Counter Start Bit (A610.00). When these bits are OFF, the Motion Control Module will stop counting the pulse trains.

Page 232 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)
Page 232 · click to enlarge
Page 232

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

7-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encoders

ON during 1 cycle

Preset after 30 to 62.5 ms 50 ms

Absolute No. of Rotations

Read (A610.07)

The high-speed counter starts 50 ms after start of the absolute No. of rotations read. Perform absolute PV preset within 30 to 50 ms after the read is completed.

High-speed Counter Start Bit

(A610.00)

Absolute PV Preset Bit

(A610.06)

RUN Signal Output Bit

Motion Control Module's internal processing

If the absolute No. of rotations read was successful, SEN output stays ON.

Absolute No. of Rotations

Rotation data:

Serial data (rotation data) approx.15 ms

Signals from Servo Driver

Counter value is not changed while reading rotation data.

1 to 3 ms

Min(50+60) ms Typ: (50+90) ms Max: (50+260) ms

30 to 62.5 ms

7-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)

Program Description

1,2,3... 1. With the Motion Control Module set to MONITOR mode, turning ON CIO 0000.01 (absolute origin define) presets the absolute origin as the ab- solute offset.

2. With the Motion Control Module set to MONITOR mode, turning ON CIO 0000.00 (absolute servo operation start) presets the absolute present value in A600 and A601.
Show 8 more labels / short text on this page
User program processing · SEN output · Read Completed Flag · Phase A · Phase B · The latest value · Absolute Present value · Initial incremental pulses
Page 233 of the Omron Motion Controller Module (FQM1-CM001) user manual — A 610 .07
Page 233 · click to enlarge
Page 233

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

0.00 SET

A610.07

ABS servo operation start

ABS No. of rotations read

0.00 SET

ABS servo operation start

Counter starts 50 ms after SEN output

A610.07

TIMH

ABS No. of rotations read

See note.

TIM010

A 610. 00

Preset the PV to the CNT 40 ms after reading ABS No. of rotations

1-Servo operation after completing ABS PV preset

2.00 A610.07 A608.05 A608.04

TIMH

ABS No. of rotations read

ABS No. of rotations read completed

ABS No. of rotations read error

See note.

TIM011

DIFU

A610.06

Servo operation after completing ABS PV preset

A 610 .06 DIFD

For ABS No. of rotations read error

2.00 A610.07 A608.05 A608.04 RSET

ABS No. of rotations read

ABS No. of rotations read completed

ABS No. of rotations read error

SEN output OFF Read ABS No. of rotations

A 610 .07

RSET

Show 19 more labels / short text on this page
000000 (000000) · SEN output ON · ABS origin define · 000001 (000003) · 000002 (000005) · #5 · SEN output · Start high- speed counter · 000003 (000009) · Reading ABS PV · #4 · SEN output · Preset ABS PV · Preset ABS PV · Servo operation · 000004 (000020) · Reading ABS PV · SEN output · Reading ABS PV
Page 234 of the Omron Motion Controller Module (FQM1-CM001) user manual — 2.14 RSET
Page 234 · click to enlarge
Page 234

Functions for Servo Drivers Compatible with Absolute Encoders Section 7-7

0.01 SET

PV preset as ABS offset 40 ms after completing ABS No. of rotations read

2.01 A610.07 A608.05 A608.04

TIMH

ABS No. of rotations read

ABS No. of rotations read completed

ABS No. of rotations read error

See note.

DIFU TIM012

A610.05

A609.05

DIFD

For ABS No. of rotations read error

2.01 A610.07 A608.05 A608.04 RSET

ABS No. of rotations read

ABS No. of rotations read

ABS No. of rotations read completed

ABS No. of rotations read error

A610.07

RSET

Servo operation after completing ABS PV preset

2.15 SET

Clear "reading ABS PV" status after completing ABS PV preset

2.15 RSET

Clear "defining ABS origin" status after presetting ABS offset

2.14 RSET

END

Show 23 more labels / short text on this page
000005 (000026) · ABS origin define · ABS origin define · 000006 (000028) · ABS origin define · #4 · SEN output · ABS offset preset · ABS offset preset · 000007 (000039) · SEN output OFF · ABS origin define · SEN output · ABS origin define · 000008 (000045) · Servo operation start · Servo operation · 000009 (000047) · Reading ABS PV · Servo operation · 000010 (000049) · Defining ABS origin · 000011 (000051)
Page 235 of the Omron Motion Controller Module (FQM1-CM001) user manual — Example 3: Semi-closed Loop Position Control with an Analog-input Servo Driver
Page 235 · click to enlarge
Page 235

Virtual Pulse Output Function Section 7-8

7-8 Virtual Pulse Output Function

7-8-1 Applicable Models

Model Functions FQM1-MMP21 Motion Control Module for Pulse I/O

FQM1-MMA21 Motion Control Module for Analog I/O FQM1-CM001 Coordinator Module

7-8-2 Overview

The AXIS instruction allows the execution of virtual pulse output with trapezoi- dal acceleration/deceleration.

The AXIS instruction executes the pulse output with trapezoidal acceleration/ deceleration internally. At the same time, AXIS internally integrates (counts) the number of pulses (area) in the trapezoid.

With this function, the internal pulse count can be used in various applications as a virtual axis position.

Example 1: Position/Speed Control Using a Virtual Axis (Electronic Cam Operation)

The internal pulse count can be treated as a virtual axis in order to perform electronic cam operation (position and speed control based on the virtual axis angle) with curve approximation on the real axis operation using the positions of the virtual axis as reference.

Internal pulse frequency (Speed command)

Specified number of pulses = Target position

AXIS

M

C T

Target position and Target frequency

Pulse count (Internal PV)

Electronic cam operation by PULS based on pulse count PV

Example 2: Locus Control Using a Virtual Axis (2-axis Synchronous Control)

If internal pulse counts are treated as virtual reference axes, a synchronous control operation such as elliptical locus control can be performed by execut- ing synchronous output control (electronic cam operation) simultaneously on two pulse outputs using the position and speed of the virtual axis.

Example 3: Semi-closed Loop Position Control with an Analog-input Servo Driver

Semi-closed loop positioning can be performed with an analog-input Servo Driver by creating a ladder program routine that controls an error counter based on the internal pulse count and the feedback signal from the Servo Driver.

Show 7 more labels / short text on this page
Motion Control Module · Ladder program · Target frequency · (Hz) · Time · = · Virtual axis
Page 236 of the Omron Motion Controller Module (FQM1-CM001) user manual — T (First Word of Setting Table)
Page 236 · click to enlarge
Page 236

Virtual Pulse Output Function Section 7-8

7-8-3 AXIS Instruction (For Virtual Pulse Outputs)

Overview The AXIS instruction is used to generate a virtual pulse output with trapezoi- dal acceleration/deceleration.

The operands for the AXIS instruction are a target position specified in pulses or as an absolute position, and a target speed specified in pulses/s (Hz). While the AXIS instruction’s input condition is ON, it internally generates the specified number of pulses and integrates (counts) the number of pulses (area) in the trapezoid.

Operands

AXIS

M

M: Mode specifier

C: Calculation cycle

T

T: First word of setting table

M (Mode Specifier) Sets the output mode.

  • #0000: Relative mode
  • #0001: Absolute mode

C (Calculation Cycle) Sets the calculation cycle.

  • #0000: 2 ms calculation cycle
  • #0001: 1 ms calculation cycle
  • #0002: 0.5 ms calculation cycle

T (First Word of Setting Table)

Address Name Description Setting range Set/ monitored T Internal pulse count (8-digit hexadecimal)

The present value of internal pulse counter is stored here.

Relative mode0000 0000 to FFFF FFFF Absolute mode: 8000 0000 to 7FFF FFFF

T+2 Bit 15 Virtual pulse output status

OFF: Pulse output stopped ON: Pulse being output Bit 08 Indicates the direction of virtual pulse currently being output.

Indicates whether or not the vir- tual pulse output has started.

OFF: CW ON: CCW Bit 07 Indicates whether or not the vir- tual pulse output is being counted.

OFF: Pulse being counted ON: Target position reached (Counting stopped) Bit 00 Indicates whether or not the vir- tual pulse output is accelerating/ decelerating.

OFFConstant speed ON: Accelerating/decelerating

T+3 to T+4 Present speed (8-digit hexadecimal)

The frequency of the virtual pulse output is stored here.

0000 0000 to 000F 4240 hex (0 to 1 MHz in 1-Hz units)

Monitored (Read) T+1

Page 237 of the Omron Motion Controller Module (FQM1-CM001) user manual — OR
Page 237 · click to enlarge
Page 237

Virtual Pulse Output Function Section 7-8

Address Name Description Setting range Set/ monitored

T+5 to T+6 Target position (8-digit hexadecimal)

Set the number of virtual output pulses here.

Relative mode0000 0000 to FFFF FFFF Absolute mode: 8000 0000 to 7FFF FFFF

T+7 to T+8 Target frequency (8-digit hexadecimal)

Set the target frequency of vir- tual pulses here.

0000 0001 to 000F 4240 hex (0 to 1 MHz in 1-Hz units)

T+9 to T+10 Starting frequency (8-digit hexadecimal)

Set the starting frequency of vir- tual pulses here.

0000 0000 to 000F 4240 hex (0 to 1 MHz in 1-Hz units)

T+11 Acceleration rate (4-digit hexadecimal)

0001 to 270F (1 to 9,999 Hz, in 1-Hz units) T+12 Deceleration rate (4-digit hexadecimal)

Set the acceleration rate of vir- tual pulses here.

0001 to 270F (1 to 9,999 Hz, in 1-Hz units) T+13 to T+26 Work area Used by the system. ---

Set the deceleration rate of vir- tual pulses here.

Description • Use the AXIS instruction with an input condition that is ON for one cycle. AXIS cannot be used as a differentiated instruction (the @ prefix is not supported).

  • AXIS is executed at the rising edge of the input condition. If the input remains ON, the virtual pulse output continues until the target position is reached. Once the target position is reached, the virtual pulse output is stopped. If the input condition goes OFF during the virtual pulse output, the output stops at that point.
  • The AXIS instruction’s mode specifier operand (M) specifies whether the virtual pulse output operates in relative or absolute mode.
  • In relative mode, the internal pulse counter initializes the internal pulse count to 0 when AXIS is executed and starts incrementing from 0.
  • In absolute mode, the internal pulse counter retains the internal pulse count when AXIS is executed and starts incrementing or decrementing from that existing pulse count.
  • The internal pulse counts are refreshed every cycle at the interval specified in the calculation cycle (2 ms, 1 ms, or 0.5 ms) on the condition that the cycle time is constant. If the specified calculation cycle time does not match the execution cycle time, the time difference between the cycles can cause an error in the count. If highly accurate pulse counts are required, use the constant cycle time function and match the execution cycle time and calculation cycle time. (Set the constant cycle time in the System Setup’s Cycle Time Tab Page.)
  • When trapezoidal control cannot be performed with the specified target position, target frequency, and acceleration/deceleration, AXIS will automatically compensate as follows:

The acceleration and deceleration rates will be set to the same rate (symmetrical trapezoidal control).

OR

When one-half of the specified target pulses have been output, AXIS will start decelerating the operating axis at the same rate as accelera- tion (symmetrical triangular control).

table words T+2 to T+4 will be initialized to 0.

Set (Read/ Write)

Page 238 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-9-2 Overview
Page 238 · click to enlarge
Page 238

Analog Input Functions Section 7-9

7-8-4 Application Example

Positioning or Speed Control Using a Virtual Axis

The internal pulse count can be treated as a virtual axis position in order to perform electronic cam operation on the real axis operation with simple curve approximation.

First, the AXIS instruction is executed to generate an internal pulse count. The internal pulse count is read at every cycle, that pulse count is processed with basic arithmetic operations or the APR instruction, and the result is used as a target position or target speed in the PULS(886) instruction. The PULS(886) instruction (in electronic cam control) is executed immediately after the target position or speed is calculated.

Internal pulse frequency (Speed command)

Pulse count (Virtual pulses)

Pulses generated by AXIS

Execute constant cycle time

Execution of PULS (Changes target position and speed.)

Pulse output PV (normal pulse output)

PULS (Electronic Cam Mode) is executed in the program with changed target position and speed.

Simple locus control can be performed by executing electronic cam control simultaneously on both pulse outputs 1 and 2 using the same virtual axis as above.

7-9 Analog Input Functions

7-9-1 Applicable Models

FQM1-MMA21 Motion Control Module for Analog I/O

7-9-2 Overview

The FQM1-MMA21 Motion Control Module can input analog input signals at high-speed (A/D conversion time: 40 µs).

One of five signal types for analog inputs can be selected: −10 to +10 V, 0 to 10 V, 0 to 5 V, 1 to 5 V, and 4 to 20 mA.

Analog input values are stored in the Motion Control Module’s Auxiliary Area in A550. The stored input value is the analog input value read at END refresh- ing. It is also possible to adjust the analog input values.

Show 8 more labels / short text on this page
Target frequency · (Hz) · Time · Time · Execution of AXIS · Target position · Time · Model Functions
Page 239 of the Omron Motion Controller Module (FQM1-CM001) user manual — PRV
Page 239 · click to enlarge
Page 239

Analog Input Functions Section 7-9

The PRV(881) instruction can also be used to read the latest analog input value through immediate refreshing. Analog signals can be input from pres- sure sensors, position meters, or sensors that require high-speed input pro- cessing such as a displacement sensors/end-measuring sensors. Consequently, this function allows simple, low-cost pressure control, tension control, or other control applications requiring high-speed mechanical mea- surement (distortion/thickness/length).

FQM1-MMA21 Motion Control Module

Sensor (pressure, displacement, etc.)

D A

Selected signal range: −10 to +10 V, 0 to 10 V, 0 to 5 V, 1 to 5 V, or 4 to 20 mA

PRV

High speed input (A/D conversion time: 40 µs)

Stores the data when instruction is executed.

Note The analog input responsiveness has been set relatively high to increase the processing speed. The high responsiveness may result in input signal distor- tion by external noise or interference. Take steps to suppress noise if the Motion Control Module is being used in an environment with a lot of noise. When the Motion Control Module’s analog input value is being used, addi- tional noise countermeasures can be added to the program such as using END refreshing and filtering the input values with AVG instructions.

Immediate refreshing · User program · I/O memory

Page 240 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Input Functions Section 7-9
Page 240 · click to enlarge
Page 240

Analog Input Functions Section 7-9

7-9-3 Analog Input Function Specifications

Input signals Voltage inputs, current inputs No. of analog inputs 1 input

Input signal ranges Select one of the following input ranges in the System Setup (Analog Input/Output Tab Page − Input Setting): −10 to +10 V, 0 to 10 V, 0 to 5 V, 1 to 5 V, or 4 to 20 mA.

A/D conversion time 40 µs Input response time 1.5 ms or less (See note.)

Resolution −10 to +10 V: 1/16,000 (14 bits) 0 to 10 V: 1/8,000 (13 bits) 0 to 5 V: 1/4,000 (12 bits) 1 to 5 V: 1/4,000 (12 bits) 4 to 20 mA: 1/4,000 (12 bits)

  • Analog input refresh method Analog input value can be acquired by either of the following methods:
  • END Refresh Read the data from A550 in the Motion Control Module’s Auxiliary Area. (Data is stored in A550 during END refreshing after execution of END instruction)
  • Immediate Refresh Read the present analog input value immediately by executing the PRV(881) instruction.

Analog input value storage area A550 of Motion Control Module’s Auxiliary Area With the immediate refresh, the present analog input value can be acquired by exe- cuting the PRV(881) instruction. Overall accuracy Voltage input: Current input:

±0.4% (23 ±2°C) ±0.6% (0 to 55°C) Function Offset/gain adjustment

±0.2% (23 ±2°C) ±0.4% (0 to 55°C)

Input values can be adjusted to correct inputs suitable for the connected devices. In PROGRAM mode, specify an offset or gain value, input the analog value from the device (the value that will be corrected with the offset or gain value), and use the CX-Programmer to monitor the adjustment value in the Adjustment Value Monitor Area (A572 and A573). It is also possible to monitor averaged offset or gain values. If averaging is required, set the number of average value samples in A574.

0.5 1 0 1.5

Show 6 more labels / short text on this page
Item Specification · Response (%) · 100% · 80% · 50% · Time (ms)
Page 241 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Input Functions Section 7-9
Page 241 · click to enlarge
Page 241

Analog Input Functions Section 7-9

7-9-4 Related Areas and Settings

System Setup

Tab page Function Settings Time when setting becomes effective

Both inputs and outputs

0 hexEND refresh 1 hex: Immediate refresh (Refresh with PRV(881).)

At power ON and start of operation

0 hex: END refresh (Content of A560 and A561 is output as analog output after execution of END instruction.) 1 hex: Immediate refresh (Analog output when SPED(885) or ACC(888) is executed. A560 and A561 used for monitoring.)

At power ON and start of operation

Inputs Input range 00 hex: −10 to 10 V 01 hex: 0 to 10 V 02 hex: 1 to 5 V (4 to 20 mA) 03 hex: 0 to 5 V

00 hex: −10 to 10 V 01 hex: 0 to 10 V 02 hex: 1 to 5 V 03 hex: 0 to 5 V 5A hex: Disable outputs (See note.)

refreshing time or reduce the Motion Control Module’s power consumption.

0 hexClear outputs 1 hex: Hold outputs 2 hex: Maximum value Outputs Output range

These parameters have the same settings as output 1, above. Output stop function

Show 7 more labels / short text on this page
Analog Input/ Output · Input method · Output method · At power ON · Outputs Output range · At power ON · Output stop function
Page 242 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Input Functions Section 7-9
Page 242 · click to enlarge
Page 242

Analog Input Functions Section 7-9

Auxiliary Area

Word Bits Function Settings Controlled

  • by A550 00 to 15 Analog Input PV Contains the value input from the analog input port (using either the END refresh or immediate refresh) in 4-digit hexadecimal. The PV range depends on the input range:
  • 0 to 10 V: FE70 to 20D0 hex
  • 0 to 5 V or 1 to 5 V: FF38 to 1068 hex
  • − 10 to 10 V: DDA0 to 2260 hex

A552 00 Analog Input Status

OFFNot adjusted ON: Adjustment completed 01 to 06 Reserved

Analog Input User Adjustment Completed

07 Analog Sampling Started

OFFNot started ON: Started 08 Factory Adjustment Data Error
OFFNo Error ON: Error (Checked at startup.)

09 User Adjustment Data Error

OFFNo Error ON: Error (Checked at startup.)

10 to 14 Reserved --- 15 Analog Input Status

Analog Input Analog Sampling Overlap

OFF: Normal sampling ON: The next sampling operation occurred before the present sampling operation completed.

A559 01 to 15 Analog Input Status

Analog Input Number of Samples Indicates the number of data

samples actually input since sampling started.

A560 00 to 15 Analog Out- put 1 Output Value

  • When an END refresh is selected, the 4-digit hexadecimal value set here by the user is output from analog output port 1. When immediate refreshing is selected, the 4-digit hexadecimal value being output from analog output port 1 is stored here for monitoring. The output value range depends on the output range, as shown below.
  • 0 to 10 V, 0 to 5 V or 1 to 5 V: FF38 to 1068 hex
  • − 10 to 10 V: EA84 to 157C hex Note 1. Set the analog output method (END or immediate refreshing) with the System Setup’s output method setting. A setting of 0 hex specifies an END refresh. This setting applies to both analog output 1 and 2. 2. Specify the output range with the output 1 setting.
With immediate refreshMotion Control Module With END refresh: User

A561 00 to 15 Analog Out- put 2 Output Value

This word has the same settings as the analog output 1 output value (A560), above. (When an END refresh is selected, set the value to out- put from analog output port 2. When an immediate refresh is selected, the output value is stored here for monitoring.) Note 1. Set the analog output method (END or immediate refresh) with the System Setup’s output method setting. A setting of 0 hex specifies an END refresh. This setting applies to both analog output 1 and 2. 2. Specify the output range with the output 2 setting.

Motion Control Module · Motion Control Module · Motion Control Module

Page 243 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Input Functions Section 7-9
Page 243 · click to enlarge
Page 243

Analog Input Functions Section 7-9

Word Bits Function Settings Controlled

A562 00 Analog Out- put 1 Flags

Initial value is 0. Set to 1 if user performs offset/gain adjustment and Returns to factory default setting of 0 if adjustment value is cleared.

01 to 03 Reserved --- 04 Operating ON: ON while the analog output is being changed by ACC(888). OFF: Turned OFF when target value is reached.

05 to 07 Reserved --- 08 Output SV Error ON: ON when the output SV setting is outside of the allowed setting range. OFF: OFF when the output SV is within range.

09 to 11 Reserved --- 12 Factory Adjust- ment Value Error

ON: ON when the factory-set data stored in flash memory is invalid. OFF: OFF when the factory-set data stored in

flash memory is normal.

13 Reserved --- 14 User Adjustment Value Error

ON: ON when the user-set adjustment value stored in flash memory is invalid. OFF: OFF when the user-set adjustment value

stored in flash memory is normal.

15 Reserved --- A563 00 Analog Out- put 2 Flags

Motion Control Module 01 to 03 Reserved

These flags have the same functions as the Analog Output 1 Flags, above.

04 Operating 05 to 07 Reserved

08 Output SV Error 09 to 11 Reserved

12 Factory Adjust- ment Value Error

13 Reserved 14 User Adjustment Value Error 15 Reserved

Show 8 more labels / short text on this page
by · User Adjustment Completed · Motion Control Module · Motion Control Module · Motion Control Module · Motion Control Module · Motion Control Module · User Adjustment Completed
Page 244 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Input Functions Section 7-9
Page 244 · click to enlarge
Page 244

Analog Input Functions Section 7-9

Word Bits Function Settings Controlled

A570 00 Adjustment Mode Com- mand Bits (Effective only when A575 is 5A5A hex.)

Analog Input OFF: Adjustment disabled. ON: Adjustment enabled. When this bit is turned from OFF to ON, the default value (offset or gain value) corre- sponding to the selected I/O signal range is transferred to Adjustment Value Monitor Area (A572 and A573).

01 Reserved 02 Analog Output 1

03 Analog Output 2

04 to 06 Reserved 07 Adjustment Mode Specifier

OFFOffset adjustment ON: Gain adjustment

08 to 11 Reserved 12 Adjustment Value Increment

Motion Control Module 13 Adjustment Value Decrement

While this bit is ON, the offset or gain value will be incremented by one resolution unit each 0.5 s.

While this bit is ON, the offset or gain value will be decremented by one resolution unit each 0.5 s. 14 Adjustment Value Clear

OFF to ONClears the adjustment data to the fac-

tory defaults.

15 Adjustment Value Set

OFF to ONReads the present value in the

Adjustment Value Monitor Area (A572 and A573) and saves this value to flash memory. This adjustment value will be used for the next normal mode operation. A571 00 Adjustment Mode Status

ON when an operational error has been made, such as turning ON both the Analog Input and Ana- log Output 2 Adjustment Enable Bits at the same time.

01 to 14 Reserved 15 Adjustment Mode Started

ON during adjustment mode operation (when A575 contains 5A5A hex). A572 00 to 15 Adjustment Mode Monitor (Effective only when A575 is 5A5A hex.)

Used for Analog Input and Analog Outputs 1/2

The values in these words can be over- written directly, with- out using the Adjustment Value Incre- ment/Decre- ment Bits.

  • − 10 to 10 V: FE0C to 01F4 hex
  • 0 to 10 V, 0 to 5 V, 1 to 5 V: FF38 to 00C8 hex

Motion Control Module or User

  • A573 00 to 15 Gain Value Monitor
  • − 10 to 10 V: 1194 to 157C hex
  • 0 to 10 V, 0 to 5 V, 1 to 5 V: 0ED8 to 1068 hex A574 00 to 15 Analog Inputs Number of Average Value Samples in Adjustment Mode

Indicates the number of val- ues to be averaged to obtain the Offset/Gain Value Moni- tor values in adjustment mode. The number of sam- ples can be set between 0000 and 0040 hex (0 to 64). Set this parameter before turning ON the Adjustment Enable Bit.

A575 00 to 15 Adjustment Mode Password 5A5A hex: Adjustment mode enabled. Other value: Adjustment mode disabled.

Show 9 more labels / short text on this page
by · Adjustment Enable · User · User · Adjustment Oper- ation Error · Motion Control Module · Setting Offset Moni- tor · User · User
Page 245 of the Omron Motion Controller Module (FQM1-CM001) user manual — 20D0 0000 FE70
Page 245 · click to enlarge
Page 245

Analog Input Functions Section 7-9

7-9-5 Applicable Instructions

With END Refreshing Read the analog input PV (A550) using an instruction such as the MOV instruction.

With Immediate Refreshing

The data is acquired immediately with the PRV(881) instruction.

(@) PRV

P POutput port (#0003: Analog input)
C CControl specification (#0000: Present value read) D D: Present value storage first word

7-9-6 A/D Conversion Value

When a signal is input that exceeds the allowed ranges indicated below, the conversion value will be processed as it is. However, inputting out-of-range signals may result in hardware failure or system malfunction, so do not input out-of-range signals.

Signal Range: − 10 to 10 V

+10.0 V +11.0 V

− 10.0 V − 11.0 V

Stored value (4-digit Hexadecimal)

0000 1F40 2260

E0C0 DDA0

Signal Range: 0 to 10 V

+10.0 V +10.5 V

− 0.0 V − 0.5 V

Stored value (4-digit Hexadecimal)

20D0 0000 FE70

1F40

Show 4 more labels / short text on this page
Analog input (V) · Resolution of 1/16,000 · Analog input (V) · Resolution of 1/8,000
Page 246 of the Omron Motion Controller Module (FQM1-CM001) user manual — CTBL(882) Instruction Operation
Page 246 · click to enlarge
Page 246

Analog Input Functions Section 7-9

Signal Range: 1 to 5 V and 4 to 20 mA

+20.8 mA +20.0 mA

+5.0 V +5.2 V

+1.0 V +0.8 V

+4.0 mA +3.2 mA

Stored value (4-digit Hexadecimal)

1068 0000 FF38

0FA0

Signal Range: 0 to 5 V

+5.00 V +5.25 V

0 V − 0.25 V

Stored value (4-digit Hexadecimal)

0FA0

1068 0000 FF38

7-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)

Overview When an FQM1-MMA21 Motion Control Module is being used, the Motion Control Module can be synchronized with pulse inputs from the encoder to collect analog data.

This sampling method checks measurements in synchronization with the position, an operation which could not be performed with scheduled interrupts in earlier controllers.

When the CTBL(882) instruction is used as a high-speed analog sampling function, the Motion Control Module can start sampling analog input data at high speed when a preset counter PV is reached, and store the specified number of samples automatically in the DM Area.

This function can be used with high-speed counter 1 only.

CTBL(882) Instruction Operation

The CTBL(882) instruction starts a specified interrupt task when the high-speed counter PV of pulse input 1 matches a specified target value.

If the CTBL(882) instruction is executed in the interrupt task to perform high-speed analog sampling, the Motion Control Module will sample analog values at the interval (circular counter size) specified by the CTBL(882) instruction.

Show 5 more labels / short text on this page
Analog input (V) · Analog input (mA) · Resolution of 1/4,000 · Analog input (V) · Resolution of 1/4,000
Page 247 of the Omron Motion Controller Module (FQM1-CM001) user manual — Application Example Creating Displacement Data from a Particular Workpiece Position
Page 247 · click to enlarge
Page 247

Analog Input Functions Section 7-9

Once the sampling of analog input values starts, the number of values speci- fied with the circular value (up to 32,767 samples) are stored in the DM Area beginning at the specified DM address. The sampling operation will be com- pleted when the specified number of samples are all stored in the DM Area.

Omron Motion Controller Module (FQM1-CM001) — Analog Input Functions Section 7-9 diagram (page 247)
Fig. 94 · Analog Input Functions Section 7-9

P: Port specifier (#0003) M: Register target value comparison table and start comparison. S: Target value comparison table

S+1 S+2 First word of data sample storage area (DM Area address)

S+3 Number of data samples 0000 to 7FFF hex

Example

Omron Motion Controller Module (FQM1-CM001) — Example diagram (page 247)
Fig. 95 · Example
Sampling counter#3 Register target value comparison table and start comparison. Start of comparison table

D00000 0000 hex D00001 0000 hex D00002 00C8 hex (200 decimal) D00003 0064 hex (100 decimal)

Target value (rightmost 4 digits) Target value (leftmost 4 digits) Data sample storage area Number of data samples

Application Example Creating Displacement Data from a Particular Workpiece Position

In this example, operation is synchronized to the measurement position of a workpiece (such as a sheet of glass) and the Motion Control Module collects displacement data from an analog output sensor. Displacement is measured at several measurement points.

1,2,3... 1. When the workpiece has reached the measurement point, the CTBL(882) instruction is executed and an interrupt will be generated for the high-speed counter PV (linear counter).

2. Another CTBL(882) instruction (using the CTBL(882) instruction’s high-speed analog sampling function) is executed in that interrupt task. When the High-speed counter PV (circular counter) reaches the preset value, the Motion Control Module collects the specified number of high-speed analog input data samples from a displacement sensor.
Page 248 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-10-2 Outline
Page 248 · click to enlarge
Page 248

Analog Outputs Section 7-10

3. The high-speed analog sampling function stops when the specified number of high-speed analog input data samples have been collected.

The following diagram shows how this method can be used to collect dis- placement data from a particular workpiece position.

Omron Motion Controller Module (FQM1-CM001) — Analog Outputs Section 7-10 diagram (page 248)
Fig. 96 · Analog Outputs Section 7-10

Generates target value comparison interrupts for the high-speed counter PV (linear counter).

Sampling positions and collection of sampled displacement data (analog)

Performs analog sampling based on target value comparisons with the high-speed counter PV (circular counter).

The sampled data can be processed to calculate and store the average, max- imum, and minimum values in multiple ranges specified. A judgement output can also be generated.

7-10 Analog Outputs

7-10-1 Applicable Models

FQM1-MMA21 Motion Control Module for Analog I/O

7-10-2 Outline

The FQM1-MMA21 Motion Control Module can generate analog output sig- nals for two ports. Each output can be set independently to one of four signal types: −10 to +10 V, 0 to 10 V, 0 to 5 V, or 1 to 5 V.

Normally, the analog values stored in A560 and A561 are output cyclically during END refreshing, but the outputs values can also be immediately refreshed with the SPED(885) instruction for step-pattern outputs or the ACC(888) instruction for sloped outputs.

Model Functions

Page 249 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Outputs Section 7-10
Page 249 · click to enlarge
Page 249

Analog Outputs Section 7-10

7-10-3 Analog Output Function Specifications

Analog Outputs

Output signals Voltage outputs Number of analog outputs 2 outputs

Output ranges Select each output’s signal range in the System Setup (Analog Input/Output Tab Page, Output 1 Setting and Output 2 Setting): –10 to 10 V, 0 to 10 V, 0 to 5 V, or 1 to 5 V

  • D/A conversion time 40 µ s/output Resolution –10 to 10 V: 1/10,000 (14-bit value between EC78 and 1388 hex) 0 to 10 V, 0 to 5 V, or 1 to 5 V: 1/4,000 (12-bit value between 0000 and 0FA0 hex) Analog output refresh method Set the refresh timing of analog output values in the System Setup ( Analog Input/Output Tab Page − Output ):
  • END refresh
  • Immediate refresh (executing SPED(885) or ACC(888)) END refreshing The values in A560 and A561 are output as the analog output 1 and 2 output values. Immediate refreshing by instructions
  • The specified analog value is output when SPED(885) or ACC(888) is executed in the program.
  • SPED(885): Changes analog output value in a step pattern.
  • ACC(888): Changes analog output value with a slope. (Value changes every 2 ms.) Note 1. Analog output values can also be controlled from interrupt subroutines. 2. The setting in the analog output stop function determines the analog output value from startup until execution of an instruction that controls the analog output. Analog output values
  • With END refreshing, the analog output values are specified in A560 and A561.
  • With immediate refreshing by instructions, the analog output values are specified in the instruction’s operands. –10 to 10 V

EC78 to 1388 hex (–5,000 to 5,000 decimal) (resolution: 10,000) corresponding to 0% to 100% voltage (–10 to 10 V) The possible setting range is actually EA84 to 157C hex (–5,500 to 5,500 deci- mal) corresponding to –5% to 105% voltage (–11 to 11 V) 0 to 10 V, 0 to 5 V, or 1 to 5 V: 0000 to 0FA0 hex (0 to 4,000 decimal) (resolution: 4,000) corresponding to 0% to 100% of the FS range. (Actually, the setting range is FF38 to 1068 (–200 to 4,200 decimal) corresponding to –5% to 105% voltage (–0.5 to 10.5 V, –0.25 to 5.25 V, or 0.8 to 5.2 V).) Analog output value storage locations

  • Analog output 1: A560; Analog output 2: A561
  • With END refreshing, the contents of these words can be changed to change the analog output values that are output externally. (The actual output value may be different from the stored value if the output stop function is being used to clear the output or output the maximum value.)
  • With immediate refreshing by instructions, the value being output by SPED(885) or ACC(888) is stored in these words for monitoring when SPED(885) or ACC(888) is executed. If the hold function is being used, the values output by the hold function are stored for monitoring. Max. external output current 2.4 mA

Overall accu- racy (See note 1.)

23 ±2°C ±0.3% of FS 0 to 55°C ±0.5% of FS

Item Specification

Page 250 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Outputs Section 7-10
Page 250 · click to enlarge
Page 250

Analog Outputs Section 7-10

Functions Slope The ACC(888) instruction can be used to change the analog output value at the follow- ing rates: –10 to 10 V: 0000 to 2AF8 hex (0 to 11,000 decimal) 0 to 10 V, 0 to 5 V, or 1 to 5 V: 0000 to 1130 hex (0 to 4,400 decimal)

  • Output hold The output stop function will clear the output, hold it at the peak value, or hold it at the current value in the following cases.
  • One of the Analog Output SV Error Flags is ON. (A562.08 is the flag for output 1 and A563.08 is the flag for output 2.) (Only when end refresh is selected.)
  • A fatal error (other than a Motion Control Module WDT error or flash memory adjustment data error) occurred in the Motion Control Module. (See note 2.)
  • The other analog output is being adjusted in adjustment mode. Offset/gain adjustment
  • The output values can be offset as required for the connected device. In adjustment mode, the offset or gain can be changed by turning ON the Adjustment Enable Bit (A570.00 for the analog input, A570.01 for analog output 1, or A570.02 for analog output 2), specifying the offset or gain value, and turning ON the Increment or Decrement Bit from the CX-Programmer.
  • Offsets: –10 to 10 V: FE0C to 01F4 hex 0 to 10 V, 0 to 5 V, or 1 to 5 V: FF38 to 00C8 hex
  • Gain values: –10 to 10 V: 1194 to 157C hex 0 to 10 V, 0 to 5 V, or 1 to 5 V: 0ED8 to 1068 hex

(2) The following table shows the status of the analog outputs if there is a fa-

tal error in the Motion Control Module or the Coordinator Module is in CPU standby status.

  • Condition Analog output WDT error in Motion Control Module Output near 0 V (0 V output without offset adjustment).
  • Flash memory adjustment data error in Motion Control Module (flash memory error or adjustment data error indicated in Auxiliary Area)
  • CPU standby error in Coordinator Module Another fatal error in the Motion Control Module (such as flash memory errors not listed above, FALS, etc.)

The output status specified by the hold function (clear, peak, or hold) will be output.

If there is an error in the System Setup settings for the analog output func- tion (Analog Input/Output), the following settings will be used.

Output range– 10 to 10 V Output stop function: Clear Refreshing method: END refresh

Item Specification

Page 251 of the Omron Motion Controller Module (FQM1-CM001) user manual — With Immediate Refreshing
Page 251 · click to enlarge
Page 251

Analog Outputs Section 7-10

Specified Output Values and Analog Output Signals

Omron Motion Controller Module (FQM1-CM001) — Analog Outputs Section 7-10 diagram (page 251)
Fig. 97 · Analog Outputs Section 7-10

−10 to 10 V 0 to 10 V

7-10-4 Applicable Instructions

END Refreshing Set the analog output values in A560 and A561 using an instruction such as the MOV instruction.

With Immediate Refreshing

Outputs can be controlled with SPED(885) and ACC(888) as outlined below.

SPED(885) can be used to change the output value in steps.

Omron Motion Controller Module (FQM1-CM001) — With Immediate Refreshing diagram (page 251)
Fig. 98 · With Immediate Refreshing

(#0001 for analog output 1 or #0002 for analog output 2)

Page 252 of the Omron Motion Controller Module (FQM1-CM001) user manual — 7-10-5 Procedure
Page 252 · click to enlarge
Page 252

Analog Outputs Section 7-10

F: Analog output value

Specifies the target analog output value as a 4-digit hexadecimal value.

– 10 to 10 V EA84 to 157C hex (–5,500 to 5,500 decimal, resolution: 11,000)

0 to 10 V, 0 to 5 V, 1 to 5 V FF38 to 1068 hex (–200 to 4,200 decimal, resolution: 4,400)

ACC(888) can be used to generate a rising or falling analog output value

(@) ACC

P: Port specifier

P

(#0001 for analog output 1 or #0002 for analog output 2)

M: Always #0000

T

T = Rate of change, T+1 = Analog output target value

T = Rate of Change (4-digit hexadecimal)

T contains the rate of change (slope) per 2 ms.

–10 to 10 V 0000 to 2AF8 hex (0 to 11,000 decimal) 0 to 10 V, 0 to 5 V or 1 to 5 V 0000 to 1130 hex (0 to 4,400 decimal)

T+1 = Analog Output Target Value

T+1 is set to the target analog output value as a 4-digit hexadecimal value.

–10 to 10 V EA84 to 157C hex (–5,500 to 5,500 decimal, resolution: 11,000)

0 to 10 V, 0 to 5 V or 1 to 5 V FF38 to 1068 hex (–200 to 4,200 decimal, resolution: 4,400)

7-10-5 Procedure

1,2,3... 1. Determine the analog output range, number of outputs, refreshing method, and instructions that will be used.

2. Wire the analog output.
3. Make the necessary System Setup settings (output method).
  • Set the analog output range ( − 10 to +10 V, 0 to 10 V, 0 to 5 V, or 1 to 5 V).
  • Set the output stop function (clear, peak value, or hold).
  • Set the analog output refreshing method (END refresh or immediate refresh).
4. Create the necessary ladder programming.
  • Set the output value in A560 or A561 with an instruction such as MOV.
  • Execute SPED(885) or ACC(888).

#0000

Page 253 of the Omron Motion Controller Module (FQM1-CM001) user manual — Outputting a Sloped Analog Output
Page 253 · click to enlarge
Page 253

Analog Outputs Section 7-10

7-10-6 Application Example

Outputting the Analog Output Value Stored in the Auxiliary Area

In this example, the Motion Control Module outputs the analog output value stored in A560 from analog output 1.

Set the following System Setup settings:

  • Analog Input/Output Tab Page − Output 1: Set the output range of analog output 1 to “1 to 5 V.”
  • Analog Input/Output Tab Page − Output: Set the analog output refreshing method to END refresh.
Omron Motion Controller Module (FQM1-CM001) — Analog Outputs Section 7-10 diagram (page 253)
Fig. 99 · Analog Outputs Section 7-10

When CIO 0002.01 goes ON, MOV stores 1000 hex in A560 (Analog Output 1 Output Value).

Turns ON A564.00 (Analog Output 1 Conversion Enable Bit).

Outputting a Stepped Analog Output

In this example, the Motion Control Module outputs a step-pattern analog out- put using a particular input signal as the trigger.

Set the following System Setup settings:

  • Analog Input/Output Tab Page − Output 1: Set the output range of analog output 1 to “1 to 5 V.”
  • Analog Input/Output Tab Page − Output: Set the analog output refreshing method to immediate refresh.
Omron Motion Controller Module (FQM1-CM001) — Outputting a Stepped Analog Output diagram (page 253)
Fig. 100 · Outputting a Stepped Analog Output

When CIO 0002.01 goes ON, SPED is executed to output a stepped analog signal from analog output port 1, with an output range of 1 to 5 V, and an analog output value of 03E8 hex (25% = 2 V).

Specified analog output value = 03E8 hex (1,000 decimal = 25%)

Outputting a Sloped Analog Output

In this example, the Motion Control Module outputs a sloped analog output using a particular input signal as the trigger.

Set the following System Setup settings:

  • Analog Input/Output Tab Page − Output 1: Set the output range of analog output 1 to “1 to 5 V.”
  • Analog Input/Output Tab Page − Output: Set the analog output refreshing method to immediate refresh.
Omron Motion Controller Module (FQM1-CM001) — Outputting a Sloped Analog Output diagram (page 253)
Fig. 101 · Outputting a Sloped Analog Output

0002.01 When CIO 0002.01 goes ON, ACC is executed to output a sloped analog signal from analog output port 1, with an output range of 1 to 5 V, an analog output target value of 07D0 hex (50% = 3 V), and slope of 0190 hex (10% = 0.4 V) every 2 ms.

Rate of change: 0190 hex (400 decimal = 10%) Specified analog output value = 07D0 hex (2,000 decimal = 50%)

Page 254 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Outputs Section 7-10
Page 254 · click to enlarge
Page 254

Analog Outputs Section 7-10

Page 255 of the Omron Motion Controller Module (FQM1-CM001) user manual — Analog Outputs Section 7-10
Page 255 · click to enlarge
Page 255

Analog Outputs Section 7-10

Page 256 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 8 Connecting the CX-Programmer
Page 256 · click to enlarge
Page 256

SECTION 8 Connecting the CX-Programmer

This section explains how to connect a personal computer running the CX-Programmer to the FQM1.

8-1 CX-Programmer 234

8-2 Connecting the CX-Programmer 235

8-2-1 System Configuration 235

8-2-2 CX-Programmer Connecting Cables 238

Page 257 of the Omron Motion Controller Module (FQM1-CM001) user manual — CX-Programmer Section 8-1
Page 257 · click to enlarge
Page 257

CX-Programmer Section 8-1

8-1 CX-Programmer

Connect the CX-Programmer Support Software to the Coordinator Module to create and monitor programs for all Modules. While monitoring the ladder pro- grams in Motion Control Modules, it is possible to input operation conditions for monitoring the I/O of the Coordinator Module, and to debug programs.

The FQM1 Patch Software is required to create the FQM1 ladder program, make System Setup settings, and monitor or debug operation.

The FQM1 Patch Software must be installed for the CX-Programmer Ver. 5.0 (Model: WS02-CXPC1-E-V50). It cannot be installed for the CX-Programmer Ver. 4.0 or earlier. To connect the FQM1 and a personal computer, use the cables shown in the following table.

Name Model Specifications Programming Device Connecting Cables (for peripheral port)

CS1W-CN118 Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin receptacle (converts between RS-232C and peripheral com- munications) (Length: 0.1 m)

CS1W-CN226 Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin (Length: 2.0 m)

CS1W-CN626 Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin (Length: 6.0 m) Programming Device Connecting Cables (for RS-232C port)

XW2Z-200S-CV Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin (Length: 2.0 m), Static-resistant connector used. XW2Z-500S-CV Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin (Length: 5.0 m), Static-resistant connector used. XW2Z-200S-V Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin (Length: 2.0 m) (see note)

XW2Z-500S-V Connects a personal computer (Microsoft Windows OS). D-Sub 9-pin (Length: 5.0 m) (see note)

CS1W-CIF31 USB to D-Sub 9-pin conversion cable (Length: 0.5 m)

!Caution Never connect a PLC Programming Console (such as the C200H-PRO27) to

the Coordinator Module’s peripheral port. The FQM1 may malfunction if a PLC Programming Console is connected.

USB-Serial Conver- sion Cable

Page 258 of the Omron Motion Controller Module (FQM1-CM001) user manual — CD-ROM
Page 258 · click to enlarge
Page 258

Connecting the CX-Programmer Section 8-2

8-2 Connecting the CX-Programmer

8-2-1 System Configuration

Connecting a Personal Computer Running Support Software

Connecting to the Peripheral Port

RS-232C

Connecting Cables for Peripheral Port

Cable CS1W-CN118 (See note 1.) CS1W-CN226 CS1W-CN626

0.1 m 2.0 m 6.0 m

D-Sub, 9-pin D-Sub, 9-pin D-Sub, 9-pin

OS

MM CM Computer (RS-232C, 9-pin)

1. The CS1W-CN118 Cable is used with an RS-232C cable to connect to the peripheral port on the Coordinator Module as shown below. Peripheral bus communications cannot be used if the CS1W-CN118 Cable is combined with an RS-232C Cable that has a model number ending in -V. In this case, Host Link (SYSMAC WAY) communications must be used.

XW2Z-@@@S-@@ (See note 2.)

CS1W-CN118

CM MM

2. Host Link (SYSMAC WAY) communications cannot be used. Use peripheral bus communications.

Connecting to the RS-232C Port

RS-232C Cable XW2Z-200S-CV or XW2Z-200S-V: 2 m XW2Z-500S-CV or XW2Z-500S-V: 5 m

CM MM

The XW2Z-200S-CV and XW2Z-500S-CV use static-resistant connectors and can be connected through peripheral bus or Host Link communications. The XW2Z-200S-V and XW2Z-500S-V, however, can only be connected through Host Link, not through peripheral bus.

Programming Software

OS Name Microsoft Windows CX-Programmer Version 5.0 or higher only (See note.)

CD-ROM

Show 9 more labels / short text on this page
Length · Computer · Computer connector · Windows · Peripheral port · RS-232C Cable · Peripheral port · Computer (RS-232C, 9-pin) · RS-232C port
Page 259 of the Omron Motion Controller Module (FQM1-CM001) user manual — Connecting to the Peripheral Port
Page 259 · click to enlarge
Page 259

Connecting the CX-Programmer Section 8-2

Connecting through the USB port with a USB-Serial Conversion Cable

Connecting to the Peripheral Port

Omron Motion Controller Module (FQM1-CM001) — Connecting to the Peripheral Port diagram (page 259)
Fig. 102 · Connecting to the Peripheral Port

Using an RS-232C Cable (XW2Z-200S-CV, XW2Z- 500S-CV, XW2Z-200S-V, or XW2Z-500S-V)

Page 260 of the Omron Motion Controller Module (FQM1-CM001) user manual — Connection Methods (Using a USB-Serial Conversion Cable)
Page 260 · click to enlarge
Page 260

Connecting the CX-Programmer Section 8-2

Connecting to the RS-232C Port

Omron Motion Controller Module (FQM1-CM001) — Connecting to the RS-232C Port diagram (page 260)
Fig. 103 · Connecting to the RS-232C Port

Cable Connection Diagram Using an RS-232C Cable (XW2Z-200S-CV, XW2Z- 500S-CV, XW2Z-200S-V, or XW2Z-500S-V)

Connection Methods (Using a USB-Serial Conversion Cable)

Omron Motion Controller Module (FQM1-CM001) — Connection Methods (Using a USB-Serial Conversion Cable) diagram (page 260)
Fig. 104 · Connection Methods (Using a USB-Serial Conversion Ca…

CS1W-CIF31 FQM1 Computer Cable #1 Cable #2 (when necessary)

CS1W-CN118 RS-232C to CS/CJ-series Peripheral Conversion Cable USB Connecting Cable

Page 261 of the Omron Motion Controller Module (FQM1-CM001) user manual — 8-2-2 CX-Programmer Connecting Cables
Page 261 · click to enlarge
Page 261

Connecting the CX-Programmer Section 8-2

Cable 1 Cable 2 Port Communic

mode Connector Model Connector Connector Model Connector

CS1F-CIF31 D-Sub 9-pin female

CS1W- CN226/626 (2 or 6 m)

Unnecessary Coordinator Module peripheral

Peripheral bus (Tool bus) or Host Link

Peripheral bus (Tool bus) or Host Link D-Sub 9-pin female

XW2Z- 200S-CV/ 500S-CV (2 or 5 m)

CS1W- CN118 (0.1 m)

XW2Z- 200S-V/ 500S-V (2 or 5 m)

CS1W- CN118 (0.1 m)

Peripheral bus (Tool bus) or Host Link D-Sub 9-pin female

XW2Z- 200S-CV/ 500S-CV (2 or 5 m)

RS-232C D-Sub 9-pin male

Unnecessary RS-232C D-Sub 9-pin female

XW2Z- 200S-V/ 500S-V (2 or 5 m)

RS-232C D-Sub 9-pin male

8-2-2 CX-Programmer Connecting Cables

Port on Module Computer Port on computer

Peripheral bus (Tool bus) or Host Link (SYSMAC WAY)

CS1W-CN226 2.0 m ---

CS1W-CN626 6.0 m

Built-in RS-232C port (D-Sub 9-pin female)

Peripheral bus (Tool bus) or Host Link (SYSMAC WAY)

XW2Z-200S-CV 2 m Uses static- resistant con- nectors XW2Z-500S-CV 5 m

!Caution The OMRON Cables listed above can be used for connecting cables or an

appropriate cable can be assembled. The external device or Coordinator Module itself may be damaged if a standard computer RS-232C cable is used as a connecting cable.

Show 22 more labels / short text on this page
USB Connecting · ations · Cable · CS/CJ peripheral · D-Sub 9-pin female · D-Sub 9-pin male · D-Sub 9-pin female · CS/CJ peripheral · D-Sub 9-pin male · D-Sub 9-pin female · CS/CJ peripheral · Host link · D-Sub 9-pin female · Unnecessary Host link · Communications mode · Model Length Remarks · (Network type) · Built-in periph- eral port · Windows OS · D-Sub 9-pin male · Windows OS · D-Sub 9-pin male
Page 262 of the Omron Motion Controller Module (FQM1-CM001) user manual — XW2Z-200S-V/ 500S-V
Page 262 · click to enlarge
Page 262

Connecting the CX-Programmer Section 8-2

Connecting an RS-232C Cable to the Peripheral Port

The following connection configurations can be used when connecting an RS- 232C cable to the Coordinator Module’s peripheral port.

Computer Port on computer

Peripheral bus (Tool bus) or Host Link (SYSMAC WAY)

CS1W-CN118 + XW2Z-200S-CV/ 500S-CV

0.1 m + (2 m or 5 m)

The XW2Z-@@@S-CV Cables have static- resistant connectors.

Host link (SYSMAC WAY) CS1W-CN118 +

XW2Z-200S-V/ 500S-V

Connecting an RS-232C Cable to the RS-232C Port

The following connection configuration can be used to connect a personal computer to the Coordinator Module’s RS-232C port with an RS-232C cable.

Computer Port on computer

Built-in RS- 232C port D- sub 9-pin female

Windows OS D-Sub 9-pin

Host link (SYSMAC WAY) XW2Z-200S-V 2 m ---

Peripheral bus (Tool bus)

  • Supports high-speed communications, so this communications mode is normally used to connect to the CX-Programmer.
  • Supports only a 1:1 connection.
  • When the FQM1 is connected, the CX-Programmer can recognize the baud rate and make the connection automatically. Host link (SYSMAC WAY)
  • This communications mode is generally used to connect to a host computer. Both 1:1 and 1:N connections are supported.
  • Host link communications are relatively slow compared to the peripheral bus mode.
  • The Host Link mode supports connections through modems or optical adapters, long-distance connections using RS-422A or RS-485 communications, and 1:N connections.
Show 16 more labels / short text on this page
Port on Module · Communications mode · Model Length Remarks · (Network type) · Built-in peripheral port · Windows OS · D-Sub 9-pin male · Port on Module · Communications mode · Model Length Remarks · (Network type) · male · XW2Z-500S-V 5 m · Serial communications · Features · mode
Page 263 of the Omron Motion Controller Module (FQM1-CM001) user manual — Connecting the CX-Programmer Section 8-2
Page 263 · click to enlarge
Page 263

Connecting the CX-Programmer Section 8-2

Page 264 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 9 Error Processing
Page 264 · click to enlarge
Page 264

SECTION 9 Error Processing

This section provides information on identifying and correcting errors that occur during FQM1 operation.

9-1 Error Log 242

9-2 Error Processing 243

9-2-1 Error Categories 243

9-2-2 Error Information 243

9-2-3 Error Codes 244

9-2-4 Error Processing Flowchart 245

9-2-5 Error Tables 246

9-2-6 Power Supply Check 251

9-2-7 Memory Error Check 252

9-2-8 Program Error Check 252

9-2-9 Cycle Time Overrun Error Check 253

9-2-10 System Setup Error Check 253

9-2-11 I/O Setting Error Check 254

9-2-12 I/O Check 255

9-2-13 Environmental Conditions Check 256

9-3 Troubleshooting Problems in Modules 256

Page 265 of the Omron Motion Controller Module (FQM1-CM001) user manual — Errors Generated by FAL(006)/FALS(007)
Page 265 · click to enlarge
Page 265

Error Log Section 9-1

9-1 Error Log

Each time that an error occurs in the FQM1, the error information is stored in the Error Log Area starting at A100. The error information includes the error code (same code stored in A400) and error contents. Up to 20 records can be stored in the Error Log.

Errors Generated by FAL(006)/FALS(007)

In addition to system errors generated by the Coordinator Module and Motion Control Module, the FQM1 records user-defined errors generated by the FAL and FALS instructions in the ladder program. These instructions make it eas- ier to track the operating status of the system.

A user-defined error is generated when FAL or FALS is executed in the pro- gram. The input conditions of these instructions constitute the user-defined error conditions.

The following table shows the error codes for FAL and FALS, which are stored in A400 and the first word of the error record when the instruction is executed.

Instruction FAL numbers Error codes

FAL #0001 to #01FF (1 to 511 decimal) 4101 to 42FF FALS #0001 to #01FF (1 to 511 decimal) C101 to C2FF

Error Log Structure When more than 20 errors occur, the oldest error data (in A100 to A104) is deleted and the newest record is stored in A195 to A199.

Omron Motion Controller Module (FQM1-CM001) — Errors Generated by FAL(006)/FALS(007) diagram (page 265)
Fig. 105 · Errors Generated by FAL(006)/FALS(007)

A100 4 1 0 2 A101 A102 0 1 0 1 A103 0 1 0 1 A104 0 1 0 1 A105 0 3 0 0 A106 A107 0 1 0 1 A108 0 1 0 1 A109 0 1 0 1

A195 C 1 0 1 A196 A197 0 1 0 1 A198 0 1 0 1 A199 0 1 0 1

Page 266 of the Omron Motion Controller Module (FQM1-CM001) user manual — Indicator Status and Error Conditions
Page 266 · click to enlarge
Page 266

Error Processing Section 9-2

9-2 Error Processing

9-2-1 Error Categories

Errors in the FQM1 can be broadly divided into the following three categories.

Category Result Indicators Comments RDY RUN ERR

Standby The FQM1 will not start operation in RUN or MONITOR mode.

OFF OFF OFF This status occurs when a faulty Motion Control Module is con- nected. Non-fatal Errors (including FAL)

This status indicates a non-fatal error other than a communications error. Fatal Errors (including FALS)

The FQM1 will continue operating in RUN or MONITOR mode.

The FQM1 will stop operating in RUN or MONITOR mode.

This status indicates a fatal error other than a power interruption. (The indicators will all be OFF when there is a power interruption.)

9-2-2 Error Information

There are basically four sources of information on errors that have occurred:

  • The LED indicators on the front of the Coordinator and Motion Control Modules
  • The Auxiliary Area Error Flags
  • The Auxiliary Area Error Contents Words
  • The Auxiliary Area Error Code Word

Auxiliary Area Flags and Words

RDYInitialization completed

Error Flags Error Info. Error Code Word (A400)

RUN:

Lit when the Modules are in RUN or MONITOR mode.

ERRSelf-diagnostic test

RDY RUN ERR PRPHL

Flags indicating the type of error.

Words providing error information.

Flashing redNon-fatal error Lit red: Fatal error COMM1 COMM2

A400

PRPHL:

Lit yellow when the Module is communi- cating through the peripheral port

A400 contains the error code. (See note.)

COMM1:

Lit yellow when the Module is commu- nicating through the RS-232C port

COMM2Lit yellow when the

Module is commu- nicating through the RS-422A port

Indicator Status and Error Conditions

The following table shows the status of the FQM1’s indicators for errors that have occurred in RUN or MONITOR Mode.

Indicator CPU error CPU reset CPU standby

Communications error Peripheral RS-232C RS-422A

RDY OFF OFF OFF ON RUN OFF ON --- --- ---

Show 9 more labels / short text on this page
ON (Green) · ON (Green) · Flashing (Red) · ON (Green) · OFF ON (Red) · Module Indicators · Error code · Fatal error Non-fatal · error
Page 267 of the Omron Motion Controller Module (FQM1-CM001) user manual — 9-2-3 Error Codes
Page 267 · click to enlarge
Page 267

Error Processing Section 9-2

Indicator CPU error CPU reset CPU standby

Communications error Peripheral RS-232C RS-422A

ERR ON OFF OFF ON Flashing --- --- --- PRPHL --- OFF --- ---

COMM1 --- OFF --- COMM2 --- OFF

9-2-3 Error Codes

Classification Error code Error name Page Fatal system errors

80F1 Memory error 244

80C0 I/O bus error 244 80CE No End Cover 244

80CF Synchronous bus error 244 80E0 I/O setting error 244

80F0 Program error 244 809F Cycle time overrun error 244

009B System Setup setting error 244 0001 Coordinator Module WDT error 244

0006 Coordinator Module error 244 0300 Motion Control Module WDT error 244

4101 to 42FF FAL error (4101 to 42FF are stored for FAL num- bers 001 to 511)

C101 to C2FF FALS error (C101 to C2FF are stored for FALS numbers 001 to 511)

Show 5 more labels / short text on this page
Fatal error Non-fatal · error · Non-fatal sys- tem errors · User-defined non-fatal errors · User-defined fatal errors
Page 268 of the Omron Motion Controller Module (FQM1-CM001) user manual — Error Processing Section 9-2
Page 268 · click to enlarge
Page 268

Error Processing Section 9-2

9-2-4 Error Processing Flowchart

Use the following flowchart as a guide for error processing with the CX-Pro- grammer.

Error occurred during operation

Not lit Is POWER indicator lit?

Proceed to 9-2-6 Power Supply Check.

Not lit Is RDY indicator lit?

CPU Error CPU Reset CPU standby

Lit Is RUN indicator lit?

Not lit Is ERR indicator flashing?

ERR indicator lit.

Proceed to 9-2-12 I/O Check and 9-2-13 Environmental Conditions Check. Can CX-Programmer

Motion Control Module Monitor error

Coordinator Module Fatal error

I/O Table Setting error

Coordinator Module (CM) WDT error

Cycle Time Overrun error

Show 13 more labels / short text on this page
Lit · Lit · Flashing · Non-fatal error · connect online? · Yes · System FAL error · Fatal error · System Setup error · Memory error · I/O Bus error · Program error · System FALS error
Page 269 of the Omron Motion Controller Module (FQM1-CM001) user manual — POWER RDY RUN ERR PRPHL COMM1 COMM2
Page 269 · click to enlarge
Page 269

Error Processing Section 9-2

9-2-5 Error Tables

The following tables show the errors which can occur in the FQM1 and indi- cate the probable cause of the errors.

supply OFF or ON.

CPU Errors If the following LED indicator condition appears during operation (in RUN or MONITOR mode), it indicates that a CPU error has occurred. The CX-Pro- grammer cannot be connected if a CPU error has occurred.

If a fatal error occurs, the RDY and ERR indicators will be lit and the RUN indi- cator will be OFF, but a CX-Programmer can be connected. This difference can be used to distinguish between a CPU error and other fatal errors.

Power Supply Unit Indicators

POWER RDY RUN ERR PRPHL COMM1 COMM2

Lit OFF OFF Lit --- --- ---

Error flags in Auxiliary

None None None A WDT (watchdog timer) error occurred in a Module. (This error does not nor- mally occur)

Turn the power OFF and restart. The Module may be damaged. Contact your OMRON representative.

CPU Standby If the following LED indicator condition appears when the power is turned ON, it indicates that the FQM1 is in CPU standby status.

When the FQM1 is turned ON, cyclic servicing starts after the Coordinator Module recognizes all of the connected Motion Control Modules. Operation can be started at that point.

If the startup mode is RUN or MONITOR mode, the FQM1 will remain in standby status until all of the Motion Modules have been recognized..

Power Supply Unit Indicators

POWER RDY RUN ERR PRPHL COMM1 COMM2 Lit OFF OFF OFF --- --- ---

Error flags in Auxiliary

None None None A Motion Control Module has not started properly.

Replace the Motion Control Module.

Fatal Errors If the following LED indicator condition appears during operation (in RUN or MONITOR mode), it indicates that a fatal error has occurred..

Power Supply Unit Indicators

POWER RDY RUN ERR PRPHL COMM1 COMM2 Lit Lit OFF Lit --- --- ---

The fatal error’s error contents will be displayed in the Error Tab in the CX-Pro- grammer’s Error Window. Determine the cause of the error from the error

Show 23 more labels / short text on this page
Module Indicators · Operating · Error name · Error code · Error con- · Probable cause Remedy · status · (in A400) · tents · Area · Stopped CPU error · Module Indicators · Operating · Error name · Error code · Error con- · Probable cause Remedy · status · (in A400) · tents · Area · Stopped CPU standby · Module Indicators
Page 270 of the Omron Motion Controller Module (FQM1-CM001) user manual — Error Processing Section 9-2
Page 270 · click to enlarge
Page 270

Error Processing Section 9-2

message and related Auxiliary Area flags/words and correct the cause of the error.

Errors are listed in order of importance. When two or more errors occur at the same time, the more serious error’s error code will be recorded in A400.

The I/O memory will be cleared when a fatal error other than FALS occurs. (The I/O memory will not be cleared when FALS is executed to generate a fatal error.)

Page 271 of the Omron Motion Controller Module (FQM1-CM001) user manual — 80C0 80CE 80CF
Page 271 · click to enlarge
Page 271

Error Processing Section 9-2

When operation is stopped, all outputs will be turned OFF. The Servo Driver that is in Servo ON state for outputs from the FQM1 will switch to Servo OFF state.

Fatal Errors

Error Error code (in

Probable cause Possible remedy

A400)

80F1 A401.15Memory Error Flag A403: Memory Error Location

An error has occurred in memory. A bit in A403 will turn ON to show the location of the error as listed below.

See below.

A403.00 ON: A checksum error has occurred in the user program memory. An illegal instruction was detected.

Check the program and correct the error.

A403.04 ON: A checksum error has occurred in the System Setup.

Transfer the System Setup settings again.

A403.10 ON: An error occurred in flash memory (backup memory).

Module hardware is faulty. Replace the Module.

A403.13 ON: There is an error in the analog off- set/gain data.

Check the data and set again.

A403.14 ON: A checksum error has occurred in the DM data stored in flash memory.

Replace the Module.

Try turning the power OFF and ON again. If the error persists, turn the power OFF and check connections between the Modules and the End Cover. Check for damage to the Modules. After correcting the problem, turn the FQM1’s power OFF and then ON again. Program error

80C0 80CE 80CF

A401.14I/O Bus Error Flag

Error has occurred in the data trans- fer between connected Modules or the End Cover is not connected to the right side of the FQM1.

80F0 A401.09Program Error Flag A405: Program error information

The program is incorrect. A bit in A405 will turn ON to show the error details as listed below.

Check A405 to determine the type of error that occurred. Correct the program and then clear the error.

A405.11: No END error Be sure that there is an END instruction at the end of the program.

A405.15: UM overflow error The last address in UM (user pro- gram memory) has been exceeded.

Use the CX-Programmer to transfer the program again to FQM1.

A405.13: Differentiation overflow error Too many differentiated instructions have been inserted or deleted dur- ing online editing.

After writing any changes to the program, switch to PROGRAM mode and then return to MONITOR mode to continue editing the program.

A405.12: Task error A task error has occurred. The task specified in the MSKS instruction doesn’t exist.

Check that all of the task numbers speci- fied in the MSKS instructions have corre- sponding tasks. Use MSKS to mask any input interrupt task or other interrupt tasks that are not being used and that do not have pro- grams set for them. A405.14: Illegal instruction error The program contains an instruction that cannot be executed.

Check and correct the program.

Show 5 more labels / short text on this page
Auxiliary Area · flag and word · data · Memory error · I/O Bus error
Page 272 of the Omron Motion Controller Module (FQM1-CM001) user manual — A400)
Page 272 · click to enlarge
Page 272

Error Processing Section 9-2

Error Error code (in

Probable cause Possible remedy

A400)

I/O Table Setting error

80E0 A401.10I/O Setting Error Flag

More than 5 Modules are connected. Check whether the number of Modules is

incorrect. If the number of Modules is incorrect, turn OFF the power supply and correctly connect the Modules. Cycle Time Overrun error

Change the program to reduce the cycle time or change the System Setup’s maxi- mum cycle time setting. One way to reduce the cycle time is by jumping parts of the program that aren’t being used. System FALS error

809F A401.08Cycle Time Too Long Flag

The cycle time has exceeded the maximum cycle time (watch cycle time) set in the System Setup.

A401.06FALS Error Flag

FALS has been executed in the pro- gram. The error code in A400 will indicate the FAL number. The leftmost digit of the code will be C and the rightmost 3 digits of the code will be from 101 to 2FF hex, which correspond to FAL numbers 001 to 511.

Remove the cause of the user-defined error indicated by the FAL number.

Non-fatal Errors If the following LED indicator condition appears during operation (in RUN or MONITOR mode), it indicates that a non-fatal error has occurred..

Power Supply Unit Indicators

POWER RDY RUN ERR PRPHL COMM1 COMM2

Lit Lit Lit Flashing --- --- ---

The non-fatal error’s error contents will be displayed in the Error Tab in the CX-Programmer’s Error Window. Determine the cause of the error from the error message and related Auxiliary Area flags/words and correct the cause of the error.

Errors are listed in order of importance. When two or more errors occur at the same time, the more serious error’s error code will be recorded in A400.

Non-fatal Errors

Error Error code (in

Probable cause Possible remedy

A400)

4101 to 42FF A402.15FAL Error Flag

FAL has been executed in program. The error code in A400 will indicate the FAL number. The leftmost digit of the code will be 4 and the rightmost 3 digits of the code will be from 101 to 2FF hex, which correspond to FAL numbers 001 to 511.

Remove the cause of the user- defined error indicated by the FAL number.

009B A402.10System Setup Error Flag A409: System Setup Error Location

There is a setting error in the Sys- tem Setup. The location of the error is written to A409.

Set the correct value in the System Setup.

Motion Control Module Moni- toring error

0300 A402.05Motion Control Module Monitoring Error Flag

An error occurred during cyclic refreshing with the Motion Control Module.

Turn the power OFF and ON again.

Show 9 more labels / short text on this page
Auxiliary Area · flag and word · data · C101 to C2FF · Module Indicators · Flag and word · data · System FAL error · System Setup error
Page 273 of the Omron Motion Controller Module (FQM1-CM001) user manual — ERR ---
Page 273 · click to enlarge
Page 273

Error Processing Section 9-2

Error Error code (in

Probable cause Possible remedy

A400)

Coordinator Module Fatal error

0006 A402.14Coordinator Module Fatal Error Flag

A fatal error occurred in the Coordi- nator Module.

Remove the cause of the error in the Coordinator Module and then clear the error.

Coordinator Module WDT error

0001 A402.13Coordinator Module WDT Error Flag

A watchdog timer error occurred in the Coordinator Module.

Turn the power OFF and ON again.

Other Errors

LED indicator status Error Error code (A400)

Flag and word data

Probable cause Possible remedy

None None A communications error occurred between the peripheral port and the con- nected device.

Check the cables. Also, check the setting of DIP Switch pin 2 and the communica- tions settings for the peripheral port in the System Setup and cor- rect any mistakes.

ERR ---

PRPHL OFF

COMM1 ---

COMM2 ---

None None A communications error occurred between the RS-232C port and the con- nected device.

Check the host link port settings in the System Setup. Check the cable wir- ing. If a host computer is connected, check the host computer’s serial port settings and the program.

ERR ---

PRPHL ---

COMM1 OFF

COMM2 OFF

None None A communications error occurred between the RS-422A port and the con- nected device.

Check whether the servo driver settings in the System Setup are correct. Check the cable wir- ing. Check the operating status of the con- nected servo driver.

ERR ---

PRPHL ---

COMM1 ---

COMM2 OFF

Show 20 more labels / short text on this page
Flag and word · data · Communica- tions error · Power Supply Unit · POWER Lit · Coordinator Module · RDY Lit · RUN Lit · Communica- tions error · Power Supply Unit · POWER Lit · Coordinator Module · RDY Lit · RUN Lit · Communica- tions error · Power Supply Unit · POWER Lit · Coordinator Module · RDY Lit · RUN Lit
Page 274 of the Omron Motion Controller Module (FQM1-CM001) user manual — Error Processing Section 9-2
Page 274 · click to enlarge
Page 274

Error Processing Section 9-2

9-2-6 Power Supply Check

Power Supply Unit's POWER indicator is not lit.

Model Supply voltage Permissible range CJ1W-PA205R 100 to 240V AC 85 to 264V AC CJ1W-PA202 100 to 240V AC 85 to 264V AC

Connect power supply. No

Is power being supplied

Is POWER indicator lit?

Is voltage in range?

Keep voltage fluctuations within the permissible range.

(See note.)

Is POWER indicator lit?

Are terminal screws loose or

Tighten screws or replace damaged wires.

Is POWER indicator lit?

Replace the Module.

Show 12 more labels / short text on this page
to the Module? · Yes · Yes No · No · Yes · No · Yes · Yes · wires broken? · No · No Yes · End
Page 275 of the Omron Motion Controller Module (FQM1-CM001) user manual — ON
Page 275 · click to enlarge
Page 275

Error Processing Section 9-2

9-2-7 Memory Error Check

Flash Memory Error Flag

ON

The internal flash memory's rewrite limit has been exceeded. Replace the Module.

(A403.10) ON?

OFF

Was power interrupted while backing

The power supply was turned OFF during a memory backup. Transfer the data again.

up memory with the CX-

There was a hardware failure in the internal memory. Replace the Module.

9-2-8 Program Error Check

ON

The called task does not exist. Check the MSKS instruction that enables the interrupt task with the corresponding task number.

(A405.12) ON?

OFF

There isn't an END instruciton in the program. Add an END instruction. No END Error Flag

ON

(A405.11) ON?

OFF

Turn the power supply OFF and ON again.

Show 6 more labels / short text on this page
Memory error occurred · Yes · Programmer? · No · Program error occurred · Task Error Flag
Page 276 of the Omron Motion Controller Module (FQM1-CM001) user manual — 9-2-10 System Setup Error Check
Page 276 · click to enlarge
Page 276

Error Processing Section 9-2

9-2-9 Cycle Time Overrun Error Check

Cycle Time Overrun Error

Is the assumed cycle time less than the watch cycle time set in the

The program execution time exceeded the watch cycle time. Increase the watch cycle time setting in the System Setup.

Is the Max. Interrupt Processing Time

It is possible that the error occurred because the interrupt task execution time was too long.

It is possible that the error occurred because two or more interrupt tasks were executed. Check how often interrupt tasks are executed.

Not cause of error

There may be an error in the program. Check all tasks, particularly instructions that control loops ,such as the JMP instruction.

9-2-10 System Setup Error Check

System Setup Error occurred

What is in the System Setup Error

Set the proecessing mode correctly.

A communications error may have occurred during the transfer from the CX-Programmer. Transfer the System Setup again.

Show 14 more labels / short text on this page
occurred · No · System Setup? · Yes · No · Are interrupts · Yes · being used? · setting OK? · No · Yes · #0154 hex (340) · Location (A406)? · Other value
Page 277 of the Omron Motion Controller Module (FQM1-CM001) user manual — Error Processing Section 9-2
Page 277 · click to enlarge
Page 277

Error Processing Section 9-2

9-2-11 I/O Setting Error Check

I/O Setting Error occurred

Are 5 or more Motion Control

Reconfigure the system so that 4 or fewer Motion Control Modules are connected to the Coordinator Module.

Replace the Module.

No · Modules connected? · Yes

Page 278 of the Omron Motion Controller Module (FQM1-CM001) user manual — (LS1) CIO 0000.02
Page 278 · click to enlarge
Page 278

Error Processing Section 9-2

9-2-12 I/O Check

The I/O check flowchart is based on the following ladder diagram section, assuming that the problem is SOL1 does not turn ON.

(LS1) CIO 0000.02

(LS1) CIO 0000.03

CIO 0001.00

CIO 0005.00

SOL1

Is the output indicator for CIO 0001.00

Check the 0001.00 terminal voltage with a multimeter.

Wire terminals correctly. Replace the terminal block connector.

Monitor the ON/OFF status of CIO 0001.00 from the CX- Programmer.

Is the voltage normal? Is the output wiring

Disconnect external wiring and check conduction status, etc.

No Is the voltage normal? Yes

Check the SOL1 solenoid.

Replace the Module.

Input indicators for 0000.02 and 0000.03

Check voltage at the 0000.02 and 0000.03 terminals with a multimeter.

Check voltage at the 0000.02 and 0000.03 terminals with a multimeter.

Is the voltage normal? Are the terminal

Is the voltage normal?

Disconnect external wiring, connect a test input, and check voltage again.

Is the input wiring

Is the voltage normal? No

Tighten terminals screws. Wire terminals correctly.

Replace the terminal block connector.

Replace the Module. Replace the Module. Check input devices LS1 and LS2.

Return to Start of I/O Check.

Show 32 more labels / short text on this page
Start · No · normal? · Yes · No Yes · No · Did the terminal's · No · No · correct? · contact fail? · Operation normal? · Yes · Yes · Yes · No · normal? · Yes · No · Yes · Yes · screws loose? · Yes · No · No · Did the terminal's · No · correct? Yes · contact fail? · No · Yes · Yes
Page 279 of the Omron Motion Controller Module (FQM1-CM001) user manual — Coordinator Module Errors
Page 279 · click to enlarge
Page 279

Troubleshooting Problems in Modules Section 9-3

9-2-13 Environmental Conditions Check

No Is the ambient temperature below

Consider using a fan or air conditioner.

55 ° C?

Is the ambient temperature above

Consider using a heater.

0 ° C?

Is the ambient humidity between 10%

Consider using an air conditioner.

Install surge suppressor or other noise-suppressing equipment at noise sources.

No (See note.)

Consider installing in a panel or improving the installation location.

9-3 Troubleshooting Problems in Modules

Coordinator Module Errors

Error condition Probable cause Remedy The Power Supply Unit’s POWER indicator is not lit. PCB short-circuited or dam- aged.

Replace the Power Supply Unit.

The RDY indicators on the Modules do not go ON. The power supply line is faulty Replace the Power Supply Unit.

The Coordinator Module’s RUN indicator does not go ON.

An error in program is causing a fatal error

The Power Supply Unit’s RUN output* does not turn ON. The Coordinator Module’s RUN indicator is lit. (*CJ1W-PA205R Power Supply Unit only)

Internal circuitry of Power Sup- ply Unit is faulty.

Replace the Power Supply Unit.

Motion Control Module does not operate or does not operate properly.

The I/O bus is faulty. Replace the Motion Control Module.

A particular I/O point does not operate. Error occurs in 8-point or 16-point units.

A particular I/O point stays ON. None of a particular Module’s I/O points will go ON.

Show 16 more labels / short text on this page
Environmental Conditions Check · Yes · No · Yes · No · and 90%? · Yes · No · Is noise being · controlled? · Yes · Is atmosphere · acceptable? · Yes · End · Correct program
Page 280 of the Omron Motion Controller Module (FQM1-CM001) user manual — Input Errors
Page 280 · click to enlarge
Page 280

Troubleshooting Problems in Modules Section 9-3

Motion Control Module Errors

Error condition Probable cause Remedy The Motion Control Module’s RUN indicator does not go ON.

An error in program is causing a fatal error

Correct program.

Motion Control Module does not operate or does not operate properly.

The I/O bus is faulty. Replace the Motion Control Module.

A particular I/O point does not operate. Error occurs in 8-point or 16-point units.

A particular I/O point stays ON. None of a particular Module’s I/O points will go ON.

Input Errors

Error condition Probable cause Remedy

None of inputs turn ON. (Indicators are not lit.)

(1) External input power supply

Connect a proper external input power supply.

is not being supplied.

(2) The external input power

Adjust supply voltage to within proper range.

supply voltage is too low.

Replace terminal block connec- tor. None of inputs turn ON. (Indicators are lit.)

(3) Terminal block connector is

not making good contact.

Input circuit is faulty. Replace the Module.

None of inputs turn OFF. Input circuit is faulty. Replace the Module.

A particular input does not turn ON. (1) Input device is faulty. Replace the input device. (2) Input wiring disconnected. Check input wiring.

(3) Faulty terminal block connec-

Replace terminal block connec- tor.

tor contact.

(4) External input’s ON time is

too short.

(5) Faulty input circuit Replace the Module. (6) An input bit address is used

Correct program.

in an output instruction.

A particular input does not turn OFF. (1) Input circuit is faulty. Replace the Module. (2) An input bit address is used

Correct program.

in an output instruction.

Input turns ON/OFF irregularly. (1) External input voltage is low

Adjust external input voltage to within the proper range. (2) Malfunction due to noise. Take protective measures against noise, such as: (1) Install surge suppressor. (2) Install isolating transformer. (3) Install shielded cables between the inputs and loads. (3) Faulty terminal block connec-

or unstable.

Replace terminal block connec- tor. Errors occur in 8-point or 16-point blocks, i.e., for the same common.

tor contact.

(1) Faulty terminal block connec-

Replace terminal block connec- tor.

tor contact.

(2) Faulty data bus Replace the Module. (3) Faulty CPU Replace the Module.

Input indicator does not light, but input operates nor- mally.

Faulty indicator or indicator cir- cuit.

Replace the Module.

Adjust input device

Page 281 of the Omron Motion Controller Module (FQM1-CM001) user manual — Troubleshooting Problems in Modules Section 9-3
Page 281 · click to enlarge
Page 281

Troubleshooting Problems in Modules Section 9-3

Output Errors

Error condition Probable cause Remedy None of the outputs will go ON. (1) The load power is not being

Supply power.

supplied.

(2) Load power supply voltage is

Adjust voltage to within the allowed range.

too low.

(3) Faulty terminal block connec-

Replace terminal block connec- tor.

tor contact.

(4) Output circuit is faulty. Replace the Module. None of the outputs will go OFF. Output circuit is faulty. Replace the Module.

A specific bit address’ output does not turn ON. (Indicator is not lit.)

(1) Output ON time too short

Correct program to increase the time that the output is ON. (2) The bit’s status is controlled

because of a program error.

Correct program so that each output bit is controlled by only one instruction.

by multiple output instruc- tions.

(3) Faulty output circuit. Replace the Module. A specific bit address’ output does not turn ON. (Indicator is lit).

(1) Faulty output device. Replace output device.

(2) Break in output wiring. Check output wiring. (3) Faulty terminal block connec-

Replace terminal block connec- tor.

tor.

A specific bit address’ output does not turn OFF. (Indicator is not lit.)

Output does not turn OFF due to leakage current or residual volt- age.

Replace external load or add dummy resistor.

Output of a specific bit number does not turn OFF. (Indicator lit.)

(1) The bit’s status is controlled

Correct program.

by multiple output instruc- tions.

(2) Faulty output circuit. Replace the Module.

Output turns ON/OFF irregularly. (1) Low or unstable load voltage. Adjust load voltage to within

(2) The bit’s status is controlled

Correct program so that each output bit is controlled by only one instruction.

by multiple output instruc- tions.

(3) Malfunction due to noise. Take protective measures against noise, such as: (1) Install surge suppressor. (2) Install isolating transformer. (3) Install shielded cables between the outputs and loads. (4) Faulty terminal block connec-

Replace terminal block connec- tor.

tor contact.

Errors occur in 8-point or 16-point blocks, i.e., for the same common.

(1) Faulty terminal block connec-

Replace terminal block connec- tor.

tor contact.

(2) Faulty data bus Replace the Module. (3) Faulty CPU Replace the Module.

Output indicator does not light, but output operates normally.

Faulty indicator or indicator cir- cuit.

Replace the Module.

proper range

Page 282 of the Omron Motion Controller Module (FQM1-CM001) user manual — SECTION 10 Inspection and Maintenance
Page 282 · click to enlarge
Page 282

SECTION 10 Inspection and Maintenance

This section provides inspection and maintenance information.

10-1 Inspections 260

10-1-1 Inspection Points 260

10-1-2 Module Replacement Precautions 261

Page 283 of the Omron Motion Controller Module (FQM1-CM001) user manual — Inspection Points for Periodic Inspections
Page 283 · click to enlarge
Page 283

Inspections Section 10-1

10-1 Inspections

Daily or periodic inspections are required in order to maintain the FQM1 in peak operating condition.

10-1-1 Inspection Points

Although the major components in the FQM1 have an extremely long life time, they can deteriorate under improper environmental conditions. Periodic inspections are thus required to ensure that the required condition is being maintained.

Inspection is recommended at least once every six months to a year, but more frequent inspections will be necessary in adverse environments.

Take immediate steps to correct the situation if any of the conditions in the fol- lowing table are not met.

Inspection Points for Periodic Inspections

No. Item Inspection Criteria Action

1 Source Power Supply

Use a voltage tester to check the power supply at the terminals. Take necessary steps to bring voltage fluctuations within limits. 2 I/O Power Sup- ply

Check for voltage fluctuations at the power supply terminals.

The voltage must be within the allowable voltage fluctu- ation range. (See note.)

Check for voltage fluctuations at the I/O terminals.

Voltages must be within specifications for each Module.

Use a voltage tester to check the power supply at the terminals. Take necessary steps to bring voltage fluctuations within limits.

Check the ambient tempera- ture. (Inside the control panel if the FQM1 is in a control panel.)

0 to 55°C Use a thermometer to check the temperature and ensure that the ambient temperature remains within the allowed range of 0 to 55°C.

Check the ambient humidity. (Inside the control panel if the FQM1 is in a control panel.)

Use a hygrometer to check the humidity and ensure that the ambi- ent humidity remains within the allowed range. In particular, verify that there is no condensation or icing caused by sudden temperature changes. Check that the FQM1 is not in direct sunlight.

Relative humidity must be 10% to 90% with no con- densation.

Not in direct sunlight Protect the FQM1 if necessary.

Check for accumulation of dirt, dust, salt, metal filings, etc.

No accumulation Clean and protect the FQM1 if nec- essary.

Check for water, oil, or chemi- cal sprays hitting the FQM1.

No spray on the FQM1 Clean and protect the FQM1 if nec- essary. Check for corrosive or flam- mable gases in the area of the FQM1.

No corrosive or flammable gases

Check by smell or use a sensor.

Check the level of vibration or shock.

Install cushioning or shock absorb- ing equipment if necessary. Check for noise sources near the FQM1

Vibration and shock must be within specifications.

No significant noise sources

Either separate the FQM1 and noise source or protect the FQM1.

3 Ambient environ- ment

Page 284 of the Omron Motion Controller Module (FQM1-CM001) user manual — 10-1-2 Module Replacement Precautions
Page 284 · click to enlarge
Page 284

Inspections Section 10-1

No. Item Inspection Criteria Action

4 Installation and wiring

Check that each Module is connected and locked to the next Module securely.

No looseness Press the connectors together completely and lock them with the sliding latches. Check that cable connectors are fully inserted and locked.

No looseness Correct any improperly installed connectors. Check for loose screws in external wiring.

No looseness Tighten loose screws with a Phil- lips-head screwdriver.

Check crimp connectors in external wiring.

Adequate spacing between connectors

Check visually and adjust if neces- sary.

Check for damaged external wiring cables.

No damage Check visually and replace cables if necessary.

Supply voltage Allowable voltage range

100 to 240 V AC 85 to 264 V AC

Tools Required for Inspections

Required Tools • Phillips-head screwdriver

  • Voltage tester or digital multimeter
  • Industrial alcohol and clean cotton cloth

Tools Required Occasionally

  • Synchroscope
  • Oscilloscope with pen plotter
  • Thermometer and hygrometer (humidity meter)

10-1-2 Module Replacement Precautions

Check the following after replacing any faulty Module.

  • Do not replace a Module until the power is turned OFF.
  • Check the new Module to make sure that there are no errors.
  • If a faulty Module is being returned for repair, describe the problem in as much detail as possible, enclose this description with the Module, and return the Module to your OMRON representative.
  • For poor contact, take a clean cotton cloth, soak the cloth in industrial alcohol, and carefully wipe the contacts clean. Be sure to remove any lint prior to remounting the Module.

that not only the user program but also all other data required for opera- tion is transferred to or set in the new Coordinator Module before starting operation, including DM Area and System Setup settings. If data area and other data are not correct for the user program, unexpected operation or accidents may occur.

(2) The System Setup is stored in the parameter area within the Coordinator

Module or Motion Control Module. Be sure to transfer these settings to the new Coordinator Module or Motion Control Module when replacing a Module.

(3) After replacing a Motion Control Module, always set the required settings.

(4) In some cases, parameter data used in the Motion Control Modules is ac-

tually stored in the Coordinator Module’s DM Area, so be sure to transfer the DM Area settings when replacing a Coordinator Module.

Page 285 of the Omron Motion Controller Module (FQM1-CM001) user manual — Inspections Section 10-1
Page 285 · click to enlarge
Page 285

Inspections Section 10-1

Page 286 of the Omron Motion Controller Module (FQM1-CM001) user manual — END
Page 286 · click to enlarge
Page 286

Appendix A

Programming

Programs and Tasks

Tasks

There are basically two types of task.

1. Cyclic Task The cyclic task is executed once each cycle.
2. Interrupt Tasks An interrupt task is executed when the interrupt condition is met, even if this occurs while the cyclic task is being executed. There are three types of interrupt task.

Type of task Description Sync mode scheduled interrupt tasks

The sync mode scheduled interrupt task is executed once every sync cycle. This interrupt task is supported only by the Coordinator Module. Input interrupt tasks Input interrupt tasks are executed when a built-in input turns ON, OFF, or both on a Motion Control Module.

Normal interrupt tasks Other interrupt tasks can be executed according to task number specified in programming instructions. These include one-shot interrupts, interval timer interrupts, high-speed counter target value interrupts, pulse output counter target value interrupts, etc.

The CX-Programmer can be used to allocate one program to each of many tasks, as required by the system.

END

Each program ends with an END(001) instruction. Interrupt condition met

END

Show 7 more labels / short text on this page
Program A · Allocated · Allocated · Program B · Cyclic task · Interrupt task · I/O refresh
Page 287 of the Omron Motion Controller Module (FQM1-CM001) user manual — RET
Page 287 · click to enlarge
Page 287

Programming Appendix A

Subroutines

What Are Subroutines?

A subroutine is a program written between the SBN(092) and RET(093) instructions in a special subroutine area. A subroutine is called from the main program using the SBS(091), MCRO(099), or JSB(982) instruction.

Subroutines can be used in the following three ways with the FQM1.

Type of subroutine Description Calling instruction

Normal subroutines Normal subroutines are executed without passing parameters. SBS(091) Subroutines for which parameters are passed

  • Parameters can be passed to the subroutine.
  • The results of processing in the subroutine can be returned to the main program.

MCRO(099)

  • Flags can be used to access the input condition to the subroutine while the subroutine is being executed.
  • It’s possible to check to see if a subroutine has been executed in the past.
  • Parameters can be passed to and from the subroutine using storage registers.

JSB(982)

Using Normal Subroutines

A normal subroutine is written between the SBN(092) and RET(093) instructions and called using the SBS(091) instruction.

1. Write the program to be executed between SBN(092) and RET(093).
2. Set the subroutine number for the operand of SBN(092).
3. Call the subroutine using SBS(091)

SBS

Main program (section 1)

Set the subroutine number to call. Here, the subroutine number is 100.

SBN

Set the the subroutine number. Here, the subroutine number is 100.

RET

SBN

Set the the subroutine number. Here, the subroutine number is 10.

RET

Show 4 more labels / short text on this page
Subroutine (section 2) · Processing · Subroutine (section 3) · Processing
Page 288 of the Omron Motion Controller Module (FQM1-CM001) user manual — Execution with Subroutine Input Condition Flags
Page 288 · click to enlarge
Page 288

Programming Appendix A

Using Subroutines That Pass Parameters

With these subroutines, parameters can be passed to the subroutine when it is called and then the results of processing in the subroutine can be returned to the main program. This enables using one subroutine while changing the I/O addresses that are used. One subroutine can thus be used in multiple locations with similar logic in the program to reduce the number of program steps and make the program easier to understand.

When passing parameters to a subroutine, execution is possible either with or without using Subroutine Input Condition Flags.

Execution without Subroutine Input Condition Flags The MCRO(099) instruction is used to call subroutines without Subroutine Input Condition Flags.

First input parameter word First output parameter word

The following process is performed when MCR0(099) is executed.

1. Five words starting with the first input parameter word are copied to A510 through A514 (macro area inputs).
2. The specified subroutine is executed through RET(093).
3. When the subroutine is completed, the contents of A515 through A519 (macro area outputs) are copied to five words starting with the first output parameter word.
4. Program execution continues with the next instruction after MCRO(099).

The first input and output parameter words can be changed when executing MCRO(099) to use the same sub- routine for different purposes at different locations in the program.

As shown by the above process, using the macro function has the following limitations.

  • The parameters being passed must be stored in 5 continuous words.
  • The specified I/O parameters must be passed so that they correctly correspond to the program in the subroutine.

as work bits if MCRO(099) is not used.

(2) The words specified for the input/output parameter words can be I/O words, Auxiliary Area words,

DM Area words, or words in other memory areas.

(3) The subroutines called by MCRO(099) must be written in the same way as a normal subroutine,

e.g., between SBN(092) and RET(093).

Execution with Subroutine Input Condition Flags

Overview Subroutines called with JSB(982) are always executed regardless of the input condition to the instruction. The status of the input condition, however, is stored in an Auxiliary Area bit so that the status can be used to control program execution within the subroutine.

Subroutines called with JSB(982) are executed even if their input condition is OFF and even in program sec- tions interlocked with IL(002). The status of the input condition is stored in the Subroutine Input Condition Flag corresponding to the subroutine. Subroutine Input Condition Flags are from A000 to A015 and correspond to the subroutine numbers. The Subroutine Input Condition Flag can be used within the subroutine to control pro- gram execution.

For example, a subroutine could perform jogging when the input condition is ON and perform stop processing or deceleration when the input condition is OFF, or a subroutine could execute a communications instruction when the input condition turned ON and then continue to monitor communications until a response is received after the input condition turns OFF.

MCRO(099) Subroutine number

Page 289 of the Omron Motion Controller Module (FQM1-CM001) user manual — JSB(982) Operation
Page 289 · click to enlarge
Page 289

Programming Appendix A

actual addresses in I/O memory of the first input parameter word and first output parameter word are automatically stored in index registers IR0 and IR1, respectively. This enables accessing the in- put parameter words in the subroutine by indirectly addressing IR0 to read the input parameters for specific processing, as well as accessing the output parameter words in the subroutine by indirectly addressing IR1 to write data for output.

(2) When a subroutine is called with SBS(091), the entire subroutine will be skipped when the input con-

dition is OFF, making it impossible to program processing for OFF input conditions (e.g., stopping processing or decelerating for an OFF input condition in a subroutine that performs jogging for an ON input condition).

(3) When a subroutine is called with SBS(091), it is not possible to tell from within the subroutine if the

subroutine has been executed before. This makes it impossible to perform different processing in different cycles, such as spreading processing over multiple cycles.

JSB(982) Operation

JSB

N S D

N: Subroutine number S: First input parameter word D: First output parameter word

The following process is performed when JSB(982) is executed.

1. When the subroutine is called, the status of the input condition for JSB(982) is stored in the corresponding Subroutine Input Condition Flag.

Word Bits A000 00 to 15 SBN000 to SBN015

A001 00 to 15 SBN016 to SBN031 A002 00 to 15 SBN032 to SBN047

A015 00 to 15 SBN240 to SBN255

2. The actual addresses in I/O memory of the first input parameter word and first output parameter word are automatically stored in index registers IR0 and IR1, respectively
3. The specified subroutine is executed through RET(093).
4. Program execution continues with the next instruction after JSB(982).

executed, but the interlock will apply to the program in the subroutine as well.

Input condition · Address Corresponding subroutines

Page 290 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 290 · click to enlarge
Page 290

Programming Appendix A

Application Examples

Execution without Subroutine Input Condition Flags

Omron Motion Controller Module (FQM1-CM001) — Programming Appendix A diagram (page 290)
Fig. 106 · Programming Appendix A
Page 291 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 291 · click to enlarge
Page 291

Programming Appendix A

Execution with Subroutine Input Condition Flags Main Program

Omron Motion Controller Module (FQM1-CM001) — Programming Appendix A diagram (page 291)
Fig. 107 · Programming Appendix A

Subroutine 0 is called and executed regardless of the status of the input condition. The logic results of a, b, c is stored in A000.00 as the input condition. The actual memory address of D00000 (10000 hex) is stored in IR0 and the actual memory address of D00100 (10064 hex) is stored in IR1

Either ACC or INI is executed depending on the staus of A000.00. If ACC is executed, the parameters (e.g., rate of acceleration) starting at D00000 are accessed using the actual memory address stored in IR0 to execute acceleration.

Page 292 of the Omron Motion Controller Module (FQM1-CM001) user manual — D00000
Page 292 · click to enlarge
Page 292

Programming Appendix A

Basic Information on Programming

Basic Information on Instructions

Programs consist of instructions. The conceptual structure of the inputs to and outputs from an instruction is shown in the following diagram.

Input condition*1

Instruction conditions*2

*1: Input instructions only.

*2: Not output for all instructions.

Power Flow The power flow is the input condition that is used to control the execution of instructions when programs are executing normally. In a ladder program, power flow represents the status of the input condition.

1. Input Instructions
  • Load instructions indicate a logical start and output the input condition.

Outputs the input condition.

  • Intermediate instructions input the power flow as an input condition and output the power flow to an intermediate or output instruction as an input condition.

Outputs the input condition.

D00000

2. Output Instructions Output instructions execute functions, using the power flow as an input condition.

Input condition for LD

Input condition for output instruction

Input block Output block

Instruction Conditions Instruction conditions are special conditions related to overall instruction execution that are output by the instructions listed below. Instruction conditions have a higher priority than the input condition when it comes to deciding whether or not to execute an instruction. An instruction may not be executed or may act differently depending on instruction conditions. Instruction conditions are reset (canceled) at the start of each task, i.e., they are reset when the task changes.

Show 10 more labels / short text on this page
Input condition · Instruction · Instruction conditions · Flags · Flag · Operands (sources) · Operands (destinations) · Memory · = · #1215
Page 293 of the Omron Motion Controller Module (FQM1-CM001) user manual — MOV
Page 293 · click to enlarge
Page 293

Programming Appendix A

The following instructions are used in pairs to set and cancel certain instruction conditions. Each pair of instructions must be in the same task.

Interlocked An interlock turns OFF part of the program. Special conditions, such as turning OFF output bits, resetting timers, and holding counters, are in effect.

IL(002) ILC(003)

A program block from BPRG(096) to BEND(801) is executed. BPRG(096) BEND(801)

Flags In this context, a flag is a bit that serves as an interface between instructions.

Input flags Output flags

  • Differentiation Flags Differentiation result flags. The status of these flags are input automatically to the instruction for all differentiated up/down output instructions and the DIFU(013)/DIFD(014) instructions.
  • Carry (CY) Flag The Carry Flag is used as an unspecified operand in data shift instructions and addition/subtraction instructions.
  • Condition Flags Condition Flags include the Always ON/OFF Flags, as well as flags that are updated by results of instruction execution. In user programs, these flags can be specified by labels, such as ER, CY, >, =, A1, A0, rather than by addresses.

Operands Operands specify preset instruction parameters (boxes in ladder diagrams) that are used to specify I/O mem- ory area contents or constants. An instruction can be executed by entering an address or constant as the oper- ands. Operands are classified as source, destination, or number operands.

MOV

JMP

D00000

Source Specifies the address of the data to be read or a constant.

S Source operand Source operand other than control data (C)

C Control data Compound data in a source oper- and that has different meanings depending bit status.

Specifies the address where data will be written.

D ---

Number Specifies a particular number used in the instruction, such as a jump number or subroutine number.

N ---

instruction.

MOV

D00000

Show 17 more labels / short text on this page
Instruction · Description Setting instruction · Canceling instruction · condition · Block program execution · Example · #0000 · S (source) · N (number) · D (destination) · Operand types Operand · Description · symbol · Destination (Results) · #0000 · First operand · Second operand
Page 294 of the Omron Motion Controller Module (FQM1-CM001) user manual — Word Addresses
Page 294 · click to enlarge
Page 294

Programming Appendix A

Instruction Location and Input Conditions

The following table shows the possible locations for instructions. Instructions are grouped into those that do and those do not require input conditions.

Omron Motion Controller Module (FQM1-CM001) — Programming Appendix A diagram (page 294)
Fig. 108 · Programming Appendix A

Instruction type Possible location Input condition Diagram Examples Input instructions

Connected directly to the left bus bar or is at the beginning of an instruction block.

Not required. LD, LD >, and other symbol comparison instructions

Required. AND, OR, AND >, and other symbol compari- son instructions)

Output instructions Connected directly to the right bus bar.

single input. These are called block programming instructions. Refer to the Instructions Reference Manual (Cat. No. O011) for details on these block programs.

(2) If an instruction requiring an input condition is connected directly to the left bus bar without a logical

start instruction, a program error will occur when checking the program on the CX-Programmer.

Addressing I/O Memory Areas

Bit Addresses

@@@@.@@

Bit number (00 to 15)

Example: The address of bit 03 in word 0001 in the CIO Area would be as shown below. This address is given as “CIO 0001.03” in this manual.

Omron Motion Controller Module (FQM1-CM001) — Addressing I/O Memory Areas diagram (page 294)
Fig. 109 · Addressing I/O Memory Areas

15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00

Word Addresses

Example: The address of bits 00 to 15 in word 0010 in the CIO Area would be as shown below. This address is given as “CIO 0010” in this manual.

Word address · @@@@ · Word address

Page 295 of the Omron Motion Controller Module (FQM1-CM001) user manual — D00200
Page 295 · click to enlarge
Page 295

Programming Appendix A

DM Area addresses are given with “D” prefixes, as shown below for the address D00200.

D00200

Specifying Operands

Operand Description Notation Application

The word address and bit number are specified directly to specify a bit (input input bits).

0001.02

@@@@. @@

Bit number (00 to 15)

Word address0001

timer/counter Completion Flags and Present Values.

The word address is specified directly to specify the 16-bit word.

MOV 0003 D00200

Word address0003

D00200

Word address00200
Show 10 more labels / short text on this page
Word address · Word address · examples · Specifying bit addresses · 0001 02 · Bit number (02) · Word address · Specifying word addresses · @@@@ · Word address
Page 296 of the Omron Motion Controller Module (FQM1-CM001) user manual — D
Page 296 · click to enlarge
Page 296

Programming Appendix A

Operand Description Notation Application

Specifying indirect DM addresses in Binary Mode

The offset from the beginning of the area is specified. The contents of the address will be treated as binary data (00000 to 32767) to specify the word address in Data Memory (DM). Add the @ symbol at the front to specify an indirect address in binary mode.

@D @@@@@

00000 to 32767 (0000 Hex to 7FFF Hex)

D

1. D00000 to D32767 are specified if @D( @@@@@ ) contains 0000 hex to 7FFF hex (00000 to 32767).

MOV #0001 @D00300

@D00300

0 1 0 0 Contents

Binary256

Specifies D00256.

Add the @ symbol.

MOV #0001 *D00200

The offset from the beginning of the area is specified. The contents of the address will be treated as BCD data (0000 to 9999) to specify the word address in Data Memory (DM). Add an asterisk (*) at the front to specify an indirect address in BCD Mode.

*D00200

0 1 0 0

*D @@@@@

Add an asterisk (*).

00000 to 9999 (BCD) Contents

D

memory addresses.

Show 4 more labels / short text on this page
examples · Contents · Contents · Specifies D0100
Page 297 of the Omron Motion Controller Module (FQM1-CM001) user manual — ,–IR1
Page 297 · click to enlarge
Page 297

Programming Appendix A

Operand Description Notation Application examples

Specifying an indirect address using a reg- ister

Indirect address (No offset)

The bit or word with the memory address contained in IR@ will be speci- fied. Specify ,IR@ to specify bits and words for instruction operands.

,IR0

LD ,IR0 Loads the bit with the memory address in IR0. MOV #0001 ,IR1 Stores #0001 in the word with the memory address in IR1.

,IR1

The bit or word with the memory address in IR@ + or – the constant is specified. Specify +/– constant,IR@. Constant off- sets range from –2048 to +2047 (deci- mal). The offset is converted to binary data when the instruction is executed.

+5,IR0

LD +5 ,IR0 Loads the bit with the memory address in IR0 + 5. MOV #0001 +31 ,IR1 Stores #0001 in the word with the memory address in IR1 + 31

+31,IR1

LD ,IR0 ++ Increments the contents of IR0 by 2 after the bit with the memory address in IR0 is loaded. MOV #0001 ,IR1 + Increments the contents of IR1 by 1 after #0001 is stored in the word with the memory address in IR1. Auto Dec- rement

The contents of IR@ is incremented by +1 or +2 after referencing the value as an memory address. +1: Specify ,IR@+ +2: Specify ,IR@ + +

,IR0 ++

,IR1 +

The contents of IR@ is decremented by –1 or –2 after referencing the value as an memory address. –1: Specify ,–IR@ –2: Specify ,– –IR@

,– –IR0

LD ,– –IR0 After decrementing the contents of IR0 by 2, the bit with the memory address in IR0 is loaded. MOV #0001 ,–IR1 After decrementing the contents of IR1 by 1, #0001 is stored in the word with the memory address in IR1.

,–IR1

Data Operand Data form Symbol Range Application example 16-bit con- stant

All binary data or a limited range of binary data

Unsigned binary # #0000 to #FFFF ---

Signed decimal ± –32768 to +32767

& &0 to &65535 ---

All BCD data or a limited range of BCD data

BCD # #0000 to #9999 ---

All binary data or a limited range of binary data

Unsigned binary # #00000000 to #FFFFFFFF

Signed decimal ± –2147483648 to +2147483647

& &0 to &4294967295

All BCD data or a limited range of BCD data

BCD # #00000000 to #99999999

Show 5 more labels / short text on this page
Constant offset · Auto Incre- ment · Unsigned deci- mal · 32-bit con- stant · Unsigned deci- mal
Page 298 of the Omron Motion Controller Module (FQM1-CM001) user manual — Upper 4 bits
Page 298 · click to enlarge
Page 298

Programming Appendix A

Data Operand Data form Symbol Range Application example

Text string Text string data is stored in ASCII (one byte except for special charac- ters) in order from the leftmost to the rightmost byte and from the right- most (lower) to the leftmost word. 00 hex (NUL code) is stored in the rightmost byte of the last word if there is an odd number of charac- ters. 0000 hex (2 NUL codes) is stored in the leftmost and rightmost vacant bytes of the last word + 1 if there is an even number of characters.

'ABCDE'

'A' 'B' 'C' 'D' 'E' NUL

41 42 43 44 45 00

'ABCD'

'A' 'B' 'C' 'D' NUL NUL

41 42 43 44 00 00

ASCII characters that can be used in a text string includes alphanumeric characters, Katakana and sym- bols (except for special characters). The characters are shown in the following table.

Upper 4 bits

Lower 4 bits

Page 299 of the Omron Motion Controller Module (FQM1-CM001) user manual — Note Signed Binary Data
Page 299 · click to enlarge
Page 299

Programming Appendix A

Data Formats

The following table shows the data formats that the FQM1 can handle.

Data type Data format Decimal 4-digit hexadecimal

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

0 to 65535 0000 to FFFF

215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20

3276816384 81924096 2048 1024 512 256 128 64 32 16 8 4 2 1

23 22 21 20 23 22 21 20 23 22 21 20

23 22 21 20

0 to –32768 0 to +32767

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20

3276816384 81924096 2048 1024 512 256 128 64 32 16 8 4 2 1

23 22 21 20 23 22 21 20 23 22 21 20

23 22 21 20

Sign bit0: Positive, 1: Negative

BCD (binary coded dec- imal)

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

0 to 9999 0000 to 9999

23 22 21 20 23 22 21 20 23 22 21 20 23 22 21 20

0 to 9 0 to 9 0 to 9 0 to 9

31 30 29 23 22 21 20 19 18 17 3 2 1 0

x 1.[Mantissa] x 2Exponent

Value = (−1)Sign

1. negative or 0: positive

The 23 bits from bit 00 to bit 22 contain the mantissa, i.e., the portion below the decimal point in 1.@@@ , in binary.

The 8 bits from bit 23 to bit 30 contain the exponent. The exponent is expressed in binary as 127 plus n in 2n.

point data and is used only with instructions that convert or calculate floating-point data. It can be used to set or monitor from the I/O memory Edit and Monitor Screen on the CX-Programmer. As such, users do not need to know this format although they do need to know that the formatting takes up two words.

Note Signed Binary Data

In signed binary data, the leftmost bit indicates the sign of binary 16-bit data. The value is expressed in 4-digit hexadecimal.

Positive Numbers: A value is positive or 0 if the leftmost bit is 0 (OFF). In 4-digit hexadecimal, this is expressed as 0000 to 7FFF hex.

Show 19 more labels / short text on this page
Unsigned binary · Binary · Decimal · Hex · Signed binary · 8000 to 7FFF · Binary · Decimal · Hex · Binary · Decimal · Single-pre- cision floating- point deci- mal · --- --- · Sign of mantissa · Exponent Mantissa · Binary · Sign (bit 31) · Mantissa · Exponent
Page 300 of the Omron Motion Controller Module (FQM1-CM001) user manual — F F E D
Page 300 · click to enlarge
Page 300

Programming Appendix A

Negative Numbers: A value is negative if the leftmost bit is 1 (ON). In 4-digit hexadecimal, this is expressed as 8000 to FFFF hex. The absolute of the negative value (decimal) is expressed as a two’s complement.

Example: To treat –19 in decimal as signed binary, 0013 hex (the absolute value of 19) is subtracted from FFFF hex and then 0001 hex is added to yield FFED hex.

F

1111

0 0 1 3

0000 0000 0001 0011 − )

F F E C

1111 1111 1110 1100

0 0 0 1

0000 0000 0000 0001 +)

F F E D

1111 1111 1110 1101

Complements Generally the complement of base x refers to a number produced when all digits of a given number are sub- tracted from x – 1 and then 1 is added to the rightmost digit. (Example: The ten’s complement of 7556 is 9999 – 7556 + 1 = 2444.) A complement is used to express a subtraction and other functions as an addition.

Example: With 8954 – 7556 = 1398, 8954 + (the ten’s complement of 7556) = 8954 + 2444 = 11398. If we ignore the leftmost bit, we get a subtraction result of 1398.

Two’s Complements A two’s complement is the base-two complement. Here, we subtract all digits from 1 (2 – 1 = 1) and add one.

Example: The two’s complement of binary number 1101 is 1111 (F hex) – 1101 (D hex) + 1 (1 hex) = 0011 (3 hex). The following shows this value expressed in 4-digit hexadecimal.

The two’s complement b hex of a hex is FFFF hex – a hex + 0001 hex = b hex. To determine the two’s comple- ment b hex of “a hex,” use b hex = 10000 hex – a hex.

Example: To determine the two’s complement of 3039 hex, use 10000 hex – 3039 hex = CFC7 hex.

Similarly use a hex = 10000 hex – b hex to determine the value a hex from the two’s complement b hex.

Example: To determine the real value from the two’s complement CFC7 hex, use 10000 hex – CFC7 hex = 3039 hex.

Two instructions, NEG(160)(2’S COMPLEMENT) and NEGL(161) (DOUBLE 2’S COMPLEMENT), can be used to determine the two’s complement from the true number or to determine the true number from the two’s complement.

True number · Two's complement

Page 301 of the Omron Motion Controller Module (FQM1-CM001) user manual — +32,768 8000 +32,767 7FFF 7FFF
Page 301 · click to enlarge
Page 301

Programming Appendix A

Note Signed BCD Data

Signed BCD data is a special data format that is used to express negative numbers in BCD. Although this format is found in applications, it is not strictly defined and depends on the specific application. The FQM1 supports four data formats and supports the following instructions to convert the data formats: SIGNED BCD-TO-BINARY: BINS(470) and SIGNED BINARY-TO-BCD: BCDS(471). Refer to the Instructions Reference Manual (Cat. No. O011) for more information.

Decimal Hexadecimal Binary BCD 0 0 0000 0000

1 1 0001 0001 2 2 0010 0010

3 3 0011 0011 4 4 0100 0100

5 5 0101 0101 6 6 0110 0110

7 7 0111 0111 8 8 1000 1000

9 9 1001 1001 10 A 1010 0001 0000

11 B 1011 0001 0001 12 C 1100 0001 0010

13 D 1101 0001 0011 14 E 1110 0001 0100

15 F 1111 0001 0101 16 10 10000 0001 0110

Decimal Unsigned binary (4-digit hexadecimal) Signed binary (4-digit hexadecimal)

+65,535 FFFF Cannot be expressed. +65,534 FFFE

. . . +32,769 8001

+32,768 8000 +32,767 7FFF 7FFF

+32,766 7FFE 7FFE . . .

. . . +2 0002 0002

+1 0001 0001 0 0000 0000

–1 Cannot be expressed. FFFF –2 FFFE

–32,767 8001 –32,768 8000

Page 302 of the Omron Motion Controller Module (FQM1-CM001) user manual — Input-differentiated Instructions
Page 302 · click to enlarge
Page 302

Programming Appendix A

Instruction Variations

The following variations are available for instructions to differentiate executing conditions.

Variation Symbol Description Differentiation ON @ Instruction that differentiates when the input condition turns ON.

OFF % Instruction that differentiates when the input condition turns OFF.

MOV @

Input Conditions

The FQM1 offers the following types of basic and special instructions.

  • Non-differentiated instructions executed every cycle
  • Differentiated instructions executed only once

Non-differentiated Instructions

  • Output instructions that require input conditions are executed once every cycle while the input condition is valid (ON or OFF).

Example Non-differentiated output instruction

MOV

  • Input instructions that create logical starts and intermediate instructions that read bit status, make comparisons, test bits, or perform other types of processing every cycle. If the results are ON, power flow is output (i.e., the input condition is turned ON).

Example Non-differentiated input instruction

Input-differentiated Instructions

  • Upwardly Differentiated Instructions (Instructions Preceded by @)
  • Output Instructions : The instruction is executed only during the cycle in which the input condition turns ON (OFF → ON) and are not executed in the following cycles.

@MOV 0001.02 Example

(@) Upwardly differ entiated instruction

Executes the MOV instruction once when CIO 0001.02 goes OFF → ON.

  • Input Instructions (Logical Starts and Intermediate Instructions) : The instruction reads bit status, makes comparisons, tests bits, or perform other types of processing every cycle and will output an ON execution condition (power flow) when results switch from OFF to ON. The execution condition will turn OFF the next cycle.

0001.03 Example Upwardly differentiated input instruction

ON execution condition created for one cycle only when CIO 0001.03 goes from OFF to ON.

Instruction (mnemonic) · Differentiation variation

Page 303 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 303 · click to enlarge
Page 303

Programming Appendix A

  • Input Instructions (Logical Starts and Intermediate Instructions) : The instruction reads bit status, makes comparisons, tests bits, or perform other types of processing every cycle and will output an OFF execution condition (power flow stops) when results switch from OFF to ON. The execution condition will turn ON the next cycle.

0001.03 Upwardly differentiated input instruction Example

OFF execution condition created for one cycle only when CIO 0001.03 goes from OFF to ON.

  • Downwardly Differentiated Instructions (Instruction preceded by %)
  • Output instructions : The instruction is executed only during the cycle in which the input condition turned OFF (ON → OFF) and is not executed in the following cycles.

0001.02

(%) Downwardly dif- ferentiated instruction

Executes the SET instruction once when CIO 0001.02 goes ON to OFF.

  • Input Instructions (Logical Starts and Intermediate Instructions) : The instruction reads bit status, makes comparisons, tests bits, or perform other types of processing every cycle and will output the execution condition (power flow) when results switch from ON to OFF. The execution condition will turn OFF the next cycle.

0001.03 Example Downwardly differentiated instruction

Will turn ON when the CIO 0001.03 switches from ON → OFF and will turn OFF after one cycle.

added only to LD, AND, OR, SET and RSET instructions. To execute downward differentiation with other instructions, combine the instructions with a DIFD instruction.

  • Input Instructions (Logical Starts and Intermediate Instructions) : The instruction reads bit status, makes comparisons, tests bits, or perform other types of processing every cycle and will output an OFF execution condition (power flow stops) when results switch from ON to OFF. The execution condition will turn ON the next cycle.

0001.03 Downwardly differentiated input instruction

OFF execution condition created for one cycle only when CIO 0001.03 goes from ON to OFF.

%SET Example · Example

Page 304 of the Omron Motion Controller Module (FQM1-CM001) user manual — AN D =
Page 304 · click to enlarge
Page 304

Programming Appendix A

Programming Precautions

Condition Flags

Using Condition Flags Condition flags are shared by all instructions, and will change during a cycle depending on results of executing individual instructions. Therefore, be sure to use Condition Flags on a branched output with the same input condition immediately after an instruction to reflect the results of instruction execution. Never connect a Condi- tion Flag directly to the bus bar because this will cause it to reflect execution results for other instructions.

ExampleUsing Instruction A Execution Results

Reflects instruction A execution results.

Condition Flag Example=

AN D =

The same input condition (a) is used for instructions A and B to execute instruction B based on the execution results of instruction A. In this case, instruction B will be executed according to the Condition Flag only when instruction A is executed.

Reflects the execution results of the preceding rung if instruction A is not executed.

Condition Flag Example=

If the Condition Flag is connected directly to the left bus bar, instruction B will be executed based on the execu- tion results of a previous rung if instruction A is not executed.

task switches. Therefore execution results in the preceding task will not be reflected later tasks.

Show 13 more labels / short text on this page
Correct Use · a · Mnemonic · Instruction A · Instruction Operand · LD a · Instruction A · Instruction B · Instruction B · Incorrect Use · Preceding rung · Instruction A · Instruction B
Page 305 of the Omron Motion Controller Module (FQM1-CM001) user manual — D
Page 305 · click to enlarge
Page 305

Programming Appendix A

Since condition flags are shared by all instructions, make absolutely sure that they do not interfere with each other within a single ladder-diagram program. The following are examples.

1. Using Execution Results in NC and NO Inputs The Condition Flags will pick up instruction B execution results as shown in the example below even though the NC and NO input bits are executed from the same output branch.

Reflects instruction A execution results.

Condition Flag Example=

Reflects instruction B execution results.

Condition Flag Example=

Make sure each of the results is picked up once by an OUTPUT instruction to ensure that execution results for instruction B will be not be picked up.

Reflects instruction A execution results.

Condition Flag Example=

Reflects instruction A execution results. Condition Flag Example: =

D

D

Show 6 more labels / short text on this page
Instruction A · Incorrect Use · Instruction B · Instruction A · Correct Use · Instruction B
Page 306 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 306 · click to enlarge
Page 306

Programming Appendix A

Example: The following example will move #0200 to D00200 if D00100 contains #0010 and move #0300 to D00300 if D00100 does not contain #0010.

Omron Motion Controller Module (FQM1-CM001) — Programming Appendix A diagram (page 306)
Fig. 110 · Programming Appendix A

The Equals Flag will turn ON if D00100 in the rung above contains #0010. #0200 will be moved to D00200 for instruction (1), but then the Equals Flag will be turned OFF because the #0200 source data is not 0000 hex. The MOV instruction at (2) will then be executed and #0300 will be moved to D00300. A rung will therefore have to be inserted as shown below to prevent execution results for the first MOVE instruction from being picked up.

Omron Motion Controller Module (FQM1-CM001) — Programming Appendix A diagram (page 306)
Fig. 111 · Programming Appendix A
Page 307 of the Omron Motion Controller Module (FQM1-CM001) user manual — Main Conditions Turning ON Condition Flags
Page 307 · click to enlarge
Page 307

Programming Appendix A

2. Using Execution Results from Differentiated Instructions With differentiated instructions, execution results for instructions are reflected in Condition Flags only when input condition is met, and results for a previous rung (rather than execution results for the differentiated instruction) will be reflected in Condition Flags in the next cycle. You must therefore be aware of what Condition Flags will do in the next cycle if execution results for differentiated instructions to be used.

In the following for example, instructions A and B will execute only if input condition C is met, but the follow- ing problem will occur when instruction B picks up execution results from instruction A. If input condition C remains ON in the next cycle after instruction A was executed, then instruction B will unexpectedly execute (by the input condition) when the Condition Flag goes from OFF to ON because of results reflected from a previous rung.

Reflects execution results for instruction A when execution condition is met. Reflects execution results for a previous rung in the next cycle.

Condition Flag Example=

In this case then, instructions A and B are not differentiated instructions, the DIFU(013) (or DIFD(014)) instruction is used instead as shown below and instructions A and B are both upwardly (or downwardly) dif- ferentiated and executed for one cycle only.

DIFU

D D

Reflects instruction A execution results.

Condition Flag Example=

Main Conditions Turning ON Condition Flags

Error Flag The ER Flag will turn ON under special conditions, such as when operand data for an instruction is incorrect. The instruction will not be executed when the ER Flag turns ON.

When the ER Flag is ON, the status of other Condition Flags, such as the , OF, and UF Flags, will not change and status of the = and N Flags will vary from instruction to instruction.

Refer to the descriptions of individual instructions in the Instructions Reference Manual (O011) for the condi- tions that will cause the ER Flag to turn ON. Caution is required because some instructions will turn OFF the ER Flag regardless of conditions.

Show 8 more labels / short text on this page
Previous rung · C Incorrect Use · @ Instruction A · @ Instruction B · Previous rung · C Correct Use · Instruction A · Instruction B
Page 308 of the Omron Motion Controller Module (FQM1-CM001) user manual — D00000
Page 308 · click to enlarge
Page 308

Programming Appendix A

Equals Flag The Equals Flag is a temporary flag for all instructions except when comparison results are equal (=). It is set automatically by the system, and it will change. The Equals Flag can be turned OFF (ON) by an instruction after a previous instruction has turned it ON (OFF). The Equals Flag will turn ON, for example, when MOV or another move instruction moves 0000 hex as source data and will be OFF at all other times. Even if an instruc- tion turns the Equals Flag ON, the move instruction will execute immediately and the Equals Flag will turn ON or OFF depending on whether the source data for the move instruction is 0000 hex or not.

Carry Flag The CY Flag is used in shift instructions, addition and subtraction instructions with carry input, and addition and subtraction instructions with borrows and carries. Note the following precautions.

1. The CY Flag can remain ON (OFF) because of execution results for a certain instruction and then be used in other instruction (an addition and subtraction instruction with carry or a shift instruction). Be sure to clear the Carry Flag when necessary.
2. The CY Flag can be turned ON (OFF) by the execution results for a certain instruction and be turned OFF (ON) by another instruction. Be sure the proper results are reflected in the Carry Flag when using it.

Less Than and Greater Than Flags The < and > Flags are used in comparison instructions. The < or > Flag can be turned OFF (ON) by another instruction even if it is turned ON (OFF) by execution results for a certain instruction.

Negative Flag The N Flag is turned OFF when the leftmost bit of the instruction execution results word is “1” for certain instructions and it is turned OFF unconditionally for other instruction.

Specifying Operands for Multiple Words An instruction will be executed as written even if an operand requiring multiple words is specified so that all of the words for the operand are not in the same area. In this case, words will be taken in order of the memory addresses. The Error Flag will not turn ON.

As an example, consider the results of executing a block transfer with XFER(070) if 20 words are specified for transfer beginning with W250. Here, the Work Area, which ends at W255, will be exceeded, but the instruction will be executed without turning ON the Error Flag. In the memory addresses, words reserved by the system come after the Work Area, and thus for the following instruction, W250 to W255 will be transferred to D00000 to D00005 and contents of the system-reserved words will be transferred to D00006 to D00019.

W250

D00000

XFER

Trans- ferred.

W255

D00005 D00006

W250

to Reserved by system

D00000

D00019

Show 6 more labels / short text on this page
to to · &20 · Number of words · --------- · First source word · First destination word
Page 309 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 309 · click to enlarge
Page 309

Programming Appendix A

Special Program Sections

FQM1 programs have special program sections that will control instruction conditions.

The following special program sections are available.

Program section Instructions Instruction condition Status Subroutine SBS(091), JSB(982), SBN(092), and RET(093) instructions

Subroutine program being executed.

The subroutine program section between SBN(092) and RET(093) instructions is being executed.

IL(002) - ILC(003) section IL(002) and ILC(003)

Section is interlocked The output bits are turned OFF and timers are reset. Other instructions will not be executed and previous status will be maintained. Step Ladder section STEP(008) instruction

Block program section BPRG(096) instructions and BEND(801) instructions

Block program being executing.

The block program listed in mnemonics between the BPRG(096) and BEND(801) instructions is being exe- cuted.

Instruction Combinations The following table shows which of the special instructions can be used inside other program sections.

Subroutine IL(002) - ILC(003)

Subroutine Not possible. Not possible. Not possible. Not possible. IL(002) - ILC(003) OK Not possible. Not possible. Not possible.

Step ladder section Not possible. OK Not possible. Not possible. Block program section OK OK OK Not possible.

Subroutines Place all the subroutines together just before the END(001) instruction in all programs but after programming other than subroutines. A subroutine cannot be placed in a step ladder, block program, or other subroutine. If instructions other than a subroutine program are placed after a subroutine program (SBN(092) to RET(093)), those instructions will not be executed.

Show 10 more labels / short text on this page
instructions · Step ladder · Block program · section · section · section · Program · Subroutine · Program · Subroutine
Page 310 of the Omron Motion Controller Module (FQM1-CM001) user manual — TMHH(540) ONE-MS TIMER CNT COUNTER
Page 310 · click to enlarge
Page 310

Programming Appendix A

Instructions Not Allowed in Subroutines The following instructions cannot be placed in a subroutine.

Ladder Step Control STEP(008) Define step ladder section SNXT(009) Step through the step ladder

Note Block Program Sections

A subroutine can include a block program section.

Instructions Not Allowed in Step Ladder Program Sections

Function Mnemonic Instruction Sequence Con- trol

END(001) END

IL(002) and ILC(003) INTERLOCK and INTERLOCK CLEAR JMP(004) and JME(005) JUMP and JUMP END

Subroutines SBN(092) and RET(093) SUBROUTINE ENTRY and SUBROUTINE RETURN Block Programs IF(802) (NOT), ELSE(803), and IEND(804) Branching instructions

BPRG(096) and BEND(801) BLOCK PROGRAM BEGIN/END

step ladder section will be completely reset when the interlock is ON.

Instructions Not Allowed in Block Program Sections The following instructions cannot be placed in block program sections.

Sequence Control IL(002) and ILC(003) INTERLOCK and INTERLOCK CLEAR

END(001) END Sequence Output DIFU(013) DIFFERENTIATE UP

DIFD(014) DIFFERENTIATE DOWN KEEP(011) KEEP

OUT OUTPUT OUT NOT OUTPUT NOT

Timer/Counter TIM TIMER TIMH HIGH-SPEED TIMER

TMHH(540) ONE-MS TIMER CNT COUNTER

CNTR REVERSIBLE COUNTER Subroutines SBN(092) and RET(093) SUBROUTINE ENTRY and SUBROUTINE RETURN

Data Shift SFT(010) SHIFT Ladder Step Control STEP(008) and SNXT(009) STEP DEFINE and STEP START

Block Program BPRG(096) BLOCK PROGRAM BEGIN

(2) A block program can be used in an interlock section (between IL(002) and ILC(003)). The block pro-

gram section will not be executed when the interlock is ON.

(3) A JUMP instruction (JMP(004)) can be used in a block program section, but the JUMP (JMP(004))

and JUMP END (JME(005)) instructions must be used in a pair within the block program section. The program will not execute properly unless these instructions are paired.

Show 4 more labels / short text on this page
Function Mnemonic Instruction · Classification by · Mnemonic Instruction · Function
Page 311 of the Omron Motion Controller Module (FQM1-CM001) user manual — NO
Page 311 · click to enlarge
Page 311

Programming Appendix A

Computing the Cycle Time

FQM1 Operation Flowchart

The Coordinator Module and Motion Control Modules process data in repeating cycles from the overseeing processing up to peripheral servicing as shown in the following diagram.

Overseeing processing Startup initialization

Checks Module connection status.

Checks hardware and user program memory

NO

YES

Flashing (non- fatal error) Executes user pro- gram (i.e., executes cyclic task).

ERR indicator lit or

Program execution Cycle time

NO

YES

Resets watchdog timer and waits until the set cycle time has elapsed

Show 19 more labels / short text on this page
Power ON · Check OK? · Sets error flags · flashing? · Cycle time · Lit (fatal error) · End of program? · calculation · Calculates cycle time · I/O refreshing · Performs I/O refreshing · Sync bus · refreshing · Sync bus refreshing · Services Peripheral Devices · Periph- · servic- · eral · ing
Page 312 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 312 · click to enlarge
Page 312

Programming Appendix A

Overview of Cycle Time Calculations

Coordinator Module The cycle time of the Coordinator Module will vary with the following factors.

  • Type and number of instructions in the user programs (in the cyclic task and within interrupt tasks for which the execution conditions have been satisfied)
  • Type and number of Motion Control Modules
  • Setting a constant cycle time in the System Setup
  • Event servicing with the Motion Control Modules
  • Use of peripheral, RS-232C, and RS-422A ports
  • Setting the Set Time to All Events in the System Setup

(2) When the mode is switched from MONITOR mode to RUN mode, the cycle time will be extended by

10 ms (this will not, however, will not create a cycle time exceeded error).

Motion Control Modules The cycle time of the Motion Control Module will vary with the following factors.

  • Type and number of instructions in the user programs (in the cyclic task and within interrupt tasks for which the execution conditions have been satisfied)
  • Setting a constant cycle time in the System Setup
  • Event servicing with the Coordinator Module

(2) When the mode is switched from MONITOR mode to RUN mode, the cycle time will be extended by

10 ms (this will not, however, will not create a cycle time exceeded error).

Calculating the Cycle Time of the Coordinator Module The cycle time is the total time required for the Coordinator Module to perform the operations shown in the fol- lowing tables.

Cycle time = (1) + (2) + (3) + (4) + (5) + (6) + (7)

1. Overseeing Process

Details Processing time and fluctuation cause

Checks the buses, user program memory, etc. 39 µs

2. Program Execution

Details Processing time and fluctuation cause Executes the user program. This is the total time taken for the instructions to execute the program.

40 µs + total instruction execution time

3. Cycle Time Calculation

Details Processing time and fluctuation cause

Waits for the specified cycle time to elapse when a con- stant (minimum) cycle time has been set in the System Setup. Calculates the cycle time.

Cycle time calculation: 8 µs Waiting time for a constant cycle time = Set cycle time − Actual cycle time

4. I/O Refreshing

Details Processing time and fluctuation cause

The built-in I/O on the Coordinator Module are refreshed. 5 µs Coordinator Module I/O refresh time

Page 313 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 313 · click to enlarge
Page 313

Programming Appendix A

5. Sync Bus Refreshing

Details Processing time and fluctuation cause

The sync bus between the Coordinator Module and Motion Control Modules is refreshed.

Async Mode: 0 µs Sync Mode: 170 µs min. (depends on number of Motion Control Modules)

6. Cyclic Refreshing

Details Processing time and fluctuation cause

The allocated bit areas are refreshed. 4 µs + Cyclic refresh time (40 µs) x Number of Motion Control Modules

7. Peripheral Service

Details Processing time and fluctuation cause

Peripheral service overhead76 µ s Event servicing with Motion Control Modules

If a uniform peripheral servicing time hasn’t been set as the Set Time to All Events in the System Setup, 6.25% of the previous cycle time (calculated in step (3)) will be allowed for peripheral servicing. If a uniform peripheral servicing time has been set in the System Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not. If no Modules are connected, the servicing time is 0 ms.

refreshing.

Peripheral port servicing If a uniform peripheral servicing time hasn’t been set as the Set Time to All Events in the System Setup, 6.25% of the previous cycle time (calculated in step (3)) will be allowed for peripheral servicing. If a uniform peripheral servicing time has been set in the System Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not. If the port is not connected, the servicing time is 0 ms. RS-232C port servicing Same as for peripheral port servicing.

RS-422A port servicing If a uniform peripheral servicing time hasn’t been set as the Set Time to All Events in the System Setup, 6.25% of the previous cycle time (calculated in step (3)) will be allowed for peripheral servicing. If a uniform peripheral servicing time has been set in the System Setup, servicing will be performed for the set time. At least 0.1 ms, however, will be serviced whether the peripheral servicing time is set or not. If the communications port is not used, the servicing time is 0 ms.

Calculating the Cycle Time of a Motion Control Module The cycle time is the total time required for the Motion Control Module to perform the operations shown in the following tables.

Cycle time = (1) + (2) + (3) + (4) + (5) + (6) + (7)

1. Overseeing Process

Details Processing time and fluctuation cause

User program check, etc. 29 µs

2. Program Execution

Details Processing time and fluctuation cause Executes the user program. This is the total time taken for the instructions to execute the program.

40 µs + total instruction execution time

3. Cycle Time Calculation

Details Processing time and fluctuation cause Waits for the specified cycle time to elapse when a con- stant (minimum) cycle time has been set in the System Setup. Calculates the cycle time.

Cycle time calculation: 8 µs Waiting time for a constant cycle time = Set cycle time − Actual cycle time (1 + 2 + 4 + 5)

Page 314 of the Omron Motion Controller Module (FQM1-CM001) user manual — Cyclic Refresh Time in Motion Control Modules
Page 314 · click to enlarge
Page 314

Programming Appendix A

4. I/O Refreshing

Details Processing time and fluctuation cause

The built-in I/O and special inputs (pulse/analog) on the Motion Control Module are refreshed.

MMP2148 µ s MMA21: 135 µ s Motion Control Module I/O refresh time
5. Cyclic Refreshing

Details Processing time and fluctuation cause

Cyclic refresh with the Coordinator Module 21 µs

6. Sync Bus Refreshing

Details Processing time and fluctuation cause The sync bus between the Coordinator Module and Motion Control Modules is refreshed.

7. Peripheral Service

Details Processing time and fluctuation cause Event servicing with Motion Con- trol Modules

40 µs + Event service time Event service time includes event servicing for DM area transfers requested by the Coordinator Module, event processing for requests from the CX-Program- mer, etc.

Module I/O Refresh Times

Cyclic Refresh Time in the Coordinator Module

Model I/O refresh time FQM1-MMP21/MMA21 40 µs per Module

Cyclic Refresh Time in Motion Control Modules

Model I/O refresh time FQM1-MMP21/MMA21 21 µs

60 µs

Page 315 of the Omron Motion Controller Module (FQM1-CM001) user manual — Online Editing Cycle Time Extension
Page 315 · click to enlarge
Page 315

Programming Appendix A

Example of Calculating the Cycle Time

An example is given here for FQM1-MMP21 Motion Control Modules connected to a Coordinator Module.

Conditions

Item Condition Motion Control Modules FQM1-MMP21 2 Modules

User program 5 Ksteps LD2.5 Ksteps OUT: 2.5 Ksteps

Peripheral port connection None Constant cycle time setting None

RS-232C port connection None RS-422A port connection None

Other peripheral servicing None

Calculation Example for FQM1-MMP21

Process Calculation Processing time Without CX-Programmer connected to peripheral port 1. Overseeing --- 0.029 ms

2. Program execution 40 µ s + 0.1 µ s × 500 + 0.35 µ s × 500 0.265 ms 3. Cycle time calculation (No cycle time set) 0.008 ms
4. I/O refresh 0.048 ms 5. Cyclic refresh 0.021 ms
6. Sync bus Refresh (In Async Mode: 0 ms) 7. Peripheral servicing 0.04 ms

Cycle time 1. + 2. + 3. + 4. + 5. + 7. 0.411 ms

Online Editing Cycle Time Extension

When online editing is executed from the CX-Programmer while the FQM1 is operating in MONITOR mode to change the program, the Coordinator Module will momentarily suspend operation while the program is being changed. The period of time that the cycle time is extended is determined by the following conditions.

  • The number of steps that is changed
  • Editing operations (insert/delete/overwrite)
  • Instructions used

The cycle time extension for online editing will be negligibly affected by the size of largest task program. If the maximum program size for each task is 5 Ksteps, the online editing cycle time extension will be as shown in the following table.

Module Online editing cycle time extension

FQM1-CM001 65 ms max., 14 ms typical (for a program size of 5 Ksteps) FQM1-MMP21/MMA21

When editing online, the cycle time will be extended by the above time.

which online editing is executed. When there are multiple tasks (cyclic task and interrupt tasks), online editing is separated, so that for n tasks, processing is executed over n to n × 2 cycles max.

Page 316 of the Omron Motion Controller Module (FQM1-CM001) user manual — Coordinator Module I/O Response Time
Page 316 · click to enlarge
Page 316

Programming Appendix A

Response Time

I/O Response Time

The I/O response time is the time it takes from when an built-in input on a Module turns ON, the data is recog- nized by the Module, and the user program is executed, up to the time for the result to be output to the built-in output terminals. The length of the I/O response time depends on the following conditions.

  • Timing of input bit turning ON
  • Cycle time

Coordinator Module I/O Response Time

Minimum I/O Response Time The I/O response time is shortest when data is retrieved immediately before I/O refresh of the Coordinator Module. The minimum I/O response time is the total of the Input ON delay, the Cycle time, and the Output ON delay.

Cycle time Cycle time

Minimum I/O response time

Maximum I/O Response Time The I/O response time is longest when data is retrieved immediately after I/O refresh of the Coordinator Mod- ule. The maximum I/O response time is the total of the Input ON delay, (the Cycle time × 2), and the Output ON delay.

Cycle time Cycle time

Maximum I/O response time

Calculation Example ConditionsInput ON delay: 0.1 ms Output ON delay: 0.1 ms Cycle time: 2 ms

Minimum I/O response time = 0.1 ms + 2 ms + 0.1 ms = 2.2 ms

Maximum I/O response time = 0.1 ms + (2 ms × 2) + 0.1 ms = 4.2 ms

Show 17 more labels / short text on this page
I/O refresh · Input · Input ON delay · (Read by Module) · Instruction execution · Instruction execution · Output ON delay · Output · I/O refresh · Input · Input ON delay · (Read by Module) · Instruction execution · Instruction execution · Instruction execution · Output ON delay · Output
Page 317 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 317 · click to enlarge
Page 317

Programming Appendix A

Motion Control Module I/O Response Time

Minimum I/O Response Time (General-purpose I/O 0 to 3) The I/O response time is shortest when the input refresh is executed immediately after a Motion Control Mod- ule detects an input, as shown in the figure below.

The minimum I/O response time is the total of the Input ON delay, the Cycle time, and the Output ON delay.

Instruction execution Instruction execution

  • Cyclic Output Refresh Time Minimum I/O response time = 0.03 + 0.194 + 0.1 = 0.324 (ms)

Maximum I/O Response Time The I/O response time is longest when a Motion Control Module detects an input immediately after input refresh has been executed, as shown in the figure below. The response time will be one cycle longer than for the minimum I/O response time.

The maximum I/O response time is the total of the Input ON delay, (the Cycle time × 2), and the Output ON delay.

Instruction execution Instruction execution Instruction execution

  • Cyclic Output Refresh Time Maximum I/O response time = 0.03 + 0.388 + 0.1 = 0.518 (ms)
Show 20 more labels / short text on this page
Input contact · I/O refresh · Input ON delay · Overseeing processing · Input bit · Cycle time · Internal processing · Cyclic output refresh · Output ON delay · Output contact · Input contact · I/O refresh · Input ON delay · Overseeing processing · Input bit · Cycle time · Internal processing · Cyclic output refresh · Output ON delay · Output contact
Page 318 of the Omron Motion Controller Module (FQM1-CM001) user manual — Interrupt Response Times
Page 318 · click to enlarge
Page 318

Programming Appendix A

Calculation Example Input ON delay: 0.03 ms Overhead time: 0.193 ms Instruction execution time: 0.001 ms Output ON delay: 0.1 ms Position of OUT: Beginning of program.

I/O Response Time for Pulse and Analog I/O As shown in the following diagram, an MPU in the Motion Control Module directly controls pulse and analog I/O processing with hardware. The cycle time for pulse and analog I/O is thus included in the cycle time of a Motion Control Module. Hardware control means that the most recent data is handled for this I/O.

The pulse and analog input data read with the I/O refresh in one cycle will thus be used immediately and can be output from the ladder program in the next cycle.

Interrupt Response Times

Motion Control Module Interrupt Response Times

Input Interrupt Tasks The interrupt response time for an input interrupt task is the time required from when a built-in input on a Motion Control Module turns ON (upward differentiation) or turns OFF (downward differentiation) until the input interrupt task is actually executed. The interrupt response time for an input interrupt task would be the total of the hardware and software response times given in the following table.

  • Response Times for Built-in Inputs

Item Description Hardware response time Upward differentiation: 0.03 ms Downward differentiation: 0.2 ms Software response time 72 to 82 µs (See note 2.)

servicing, or overseeing processes. (During user program execution, instruction execution is sus- pended to execute the interrupt task.) The response time is not affected by the type of process being executed when the input interrupt is generated. An input interrupt task, however, will not be executed immediately if another interrupt task is already being executed. Execution of the next interrupt task will wait until the current interrupt task has completed execution and then interrupt tasks will be ex- ecuted in order of priority after the Software interrupt response time.

(2) For the FQM1-MMA21, interrupt processing is prohibited during analog I/O conversion. A minimum

of 72 to 130 µs will be required.

(3) If an interrupt occurs during an instruction that is processed using hardware, interrupt task execution

will be postponed until the instruction has finished execution. A minimum of 10 µs will be required.

The interrupt response time for an input interrupt task is shown below.

Input interrupt response time = Input ON delay + Software interrupt response time

Show 11 more labels / short text on this page
Pulse inputs read · Analog output conversion · Analog input conversion · I/O refresh · Overseeing Processing · Internal processing · Instruction execution · Instruction execution · Pulse/analog input · Pulse/analog output · Analog output
Page 319 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 319 · click to enlarge
Page 319

Programming Appendix A

Input ON delay time

Accepting next interrupt signal enabled

Software interrupt response time

Input interrupt task interrupt response time

Task program execution time

Return time from input interrupt task

Cyclic task execution (main program)

61 µs is required from when execution of input interrupt task program is completed until returning to cyclic task execution.

Scheduled Interrupt Task The interrupt response time of scheduled interrupt tasks is the time taken from after the scheduled time speci- fied by the STIM(980) instruction has elapsed until the interrupt task is actually executed. The maximum inter- rupt response time for scheduled interrupt tasks is 0.1 ms.

Also, a dedicated timer is used for the specified scheduled interrupt time (minimum of 0.5 ms), so there is essentially no error in the time.

servicing, or overseeing processes. (During user program execution, instruction execution is suspended to execute the interrupt task.) The response time is not affected by the type of process being executed when the input interrupt is generated. A schedule interrupt task, however, will not be executed immedi- ately if another interrupt task is already being executed. Execution of the next scheduled interrupt task will wait until the current interrupt task has completed execution and then start after the software inter- rupt response time.

Software interrupt response time

Motion Control Module Interrupt Processing Times This section describes the processing time required to generate the interrupt and call the interrupt task, and the processing time to return to the original location after completing the interrupt task. This information applies to the following four types of interrupt.

  • Input interrupts
  • Interval timer interrupts
  • High-speed counter interrupts
  • Pulse output interrupts
Show 7 more labels / short text on this page
Input · Interrupt signal accepted · Interrupt task executed · Scheduled interrupt time · Internal timer · Scheduled interrupt · task
Page 320 of the Omron Motion Controller Module (FQM1-CM001) user manual — Maximum Response Time
Page 320 · click to enlarge
Page 320

Programming Appendix A

Processing Time The time required from when the interrupt factor occurs until the interrupt task is called and the time required from completing the interrupt task until program execution returns to the original position are shown below.

1 Interrupt input ON delay This is the additional time required from when the interrupt input contact turns ON until the interrupt is generated. This time applies only to input interrupts.

↓ Interrupt condition established ↓

2 Waiting for interrupt pro- hibition to be released

Time may be required to wait for interrupt prohibition to be released. See below for details.

See below.

↓ 3 Switchover time This is the time required to switch over to interrupt processing. 72 µs

↓ Interrupt processing routine executed ↓

4 Return This is the time from the END(001) in the interrupt task until returning to the process that was being performed when the interrupt occurred.

  • Online Editing: If online editing is performed during operation, operation will be stopped for a maximum of 65 ms, during which time interrupts will be prohibited and the program will be overwritten.
  • Data Exchange with Coordinator Module: Interrupts will be prohibited for 10 µ s when data is exchanged with the Coordinator Module.
  • Analog I/O Refreshing: Interrupts will be prohibited for approximately 40 µ s while analog conversion is being performed for analog I/O.
  • Hardware-supported Instructions: Some FQM1 ladder instructions are implemented using hardware. Interrupts will be placed on standby during execution of hardware-supported instructions that require time to process, such as XFER(070) and BSET(071).

Interrupt Response Time Calculation Example The interrupt response times from the interrupt input turning ON until the interrupt task is started for when an input interrupt occurs under the following conditions are given below.

  • No 1-ms timers are being used.
  • No non-fatal errors occur or are cleared.
  • Online editing is not performed.

Minimum Response Time

Interrupt input ON delay: 10 µs Interrupt prohibition release time: 0 µs + Switchover time: 72 µs

TotalMinimum response time: 82 µ s

Maximum Response Time

Interrupt input ON delay: 30 µs Interrupt prohibition release time: 10 µs + Switchover time: 72 µs

TotalMinimum response time: 112 µ s

interrupt task and 61 µs are required in addition to the above response time.

Item Description Time · 30 µs · 61 µs

Page 321 of the Omron Motion Controller Module (FQM1-CM001) user manual — Programming Appendix A
Page 321 · click to enlarge
Page 321

Programming Appendix A

(2) When using interrupt tasks frequently, be sure to consider the time required for interrupt processing

and its affect on the overall system.

(3) The results of executing an interrupt task can be output immediately from within the interrupt task

by using the IORF(097) instruction. (This can also be performed to output the results of execution in the main program immediately after execution.)

(4) The results of executing an interrupt task can be output immediately from within the interrupt task

by selecting Immediate refresh in the System Setup and then using the SPED(885) and ACC(888) instructions. (This can also be performed to output the results of execution in the main program im- mediately after execution.)

Page 322 of the Omron Motion Controller Module (FQM1-CM001) user manual — S
Page 322 · click to enlarge
Page 322

Appendix B

I/O Memory

Overview of I/O Memory

Introduction

This section describes the I/O Memory and other parts of memory in the Modules other than that containing the user program.

I/O Memory This region of memory contains the data areas which can be accessed by instruction operands. The data areas include the CIO Area, Work Area, Auxiliary Area, DM Area, Timer Area, Counter Area, Index Registers, Condition Flag Area, and Clock Pulse Area.

S

D

Parameter Area This region of memory contains various settings that cannot be specified by instruction operands; they can be specified from the CX-Programmer only. The settings include the System Setup.

Instruction I/O Memory · CX-Programmer · Parameter Area

Page 323 of the Omron Motion Controller Module (FQM1-CM001) user manual — OK
Page 323 · click to enlarge
Page 323

I/O Memory Appendix B

I/O Memory Structure

Coordinator Module

The following table shows the basic structure of the I/O Memory for the Coordinator Module.

Area Size Range Task usage

ON

I/O Area 24 bits (2 words)

CIO 0000 to CIO 0001

Shared by all tasks

OK Cleared Cleared OK

Serial PLC Link Area

320 bits (20 words)

CIO 0080 to CIO 0099

--- OK

Cyclic Refresh Bit Area

600 bits (40 words)

CIO 0100 to CIO 0139

--- OK

Synchro- nous Data Link Bit Area

320 bits (20 words)

CIO 0200 to CIO 0219

--- OK

2,784 bits (174 words)

CIO 0002 to CIO 0079 CIO 0140 to CIO 0199 CIO 0220 to CIO 0255

--- OK

Work Area 4,096 bits (256 words)

--- OK Cleared Cleared OK

Auxiliary Area 10,400 bits (650 words)

--- OK Cleared Main- tained

TR Area 16 bits TR0 to TR15

--- OK --- OK OK No Cleared Cleared No

DM Area 30,000 words

--- No OK Cleared Main- tained

--- No OK Main- tained (See note.)

Timer Area 256 words

--- OK --- OK OK OK Cleared Cleared OK

Counter Area 256 words

--- OK --- OK OK OK Cleared Main- tained

OK

in flash memory. The contents of flash memory is read out each time the power is turned ON.

Show 32 more labels / short text on this page
External · Bit access · Word access · Access Change · Status · Status · Forc- · I/O allo- · Read Write · from CX-Pro- · at power · at mode change · ing · cation · bit sta- · gram- · mer · tus · CIO Area · OK Coordi- nator Module · Internal I/O Areas · W000 to W255 · A000 to A649 · No · D00000 to D29999 · No · 2,768 words · D30000 to D32767 · Main- tained · No · T0000 to T0255 · C0000 to C0255
Page 324 of the Omron Motion Controller Module (FQM1-CM001) user manual — OK
Page 324 · click to enlarge
Page 324

I/O Memory Appendix B

Motion Control Modules

The following table shows the basic structure of the I/O Memory Area for the Motion Control Modules.

Area Size Range Task usage

ON

I/O Area 20 bits (2 words)

CIO 0000 to CIO 0001

Shared by all tasks

OK Motion Control Module

OK Cleared Cleared OK

Cyclic Refresh Bit Area

160 bits (10 words)

CIO 0100 to CIO 0109

--- OK

Synchro- nous Data Link Bit Area

320 bits (20 words)

CIO 0200 to CIO 0219

--- OK

3,584 bits (224 words)

CIO 0002 to CIO 0099 CIO 0110 to CIO 0199 CIO 0220 to CIO 0255

--- OK

Work Area 4,096 bits (256 words)

--- OK Cleared Cleared OK

Auxiliary Area 10,400 bits (650 words)

--- OK Cleared Main- tained

TR Area 16 bits TR0 to TR15

--- OK --- OK OK No Cleared Cleared No

DM Area 30,000 words

--- No OK Cleared Main- tained

--- No OK Main- tained (See note.)

Timer Area 256 words

--- OK --- OK OK OK Cleared Cleared OK

Counter Area 256 words

--- OK --- OK OK OK Cleared Main- tained

OK

ON, these words are cleared to all zeros.

Show 31 more labels / short text on this page
External · Bit access · Word access · Access Change · Status · Status · Forc- · I/O allo- · from CX-Pro- · at power · at mode change · ing · cation · Read Write · bit sta- · gram- · mer · tus · CIO Area · Internal I/O Areas · W000 to W255 · A000 to A649 · No · D00000 to D29999 · No · 2,768 words · D30000 to D32767 · Main- tained · No · T0000 to T0255 · C0000 to C0255
Page 325 of the Omron Motion Controller Module (FQM1-CM001) user manual — CIO 0220 CIO 0219
Page 325 · click to enlarge
Page 325

I/O Memory Appendix B

CIO Area

Overview

It is not necessary to input the “CIO” prefix when specifying an address in the CIO Area. The CIO Area is gen- erally used for data exchanges, such as I/O refreshing between Modules (Coordinator Module and Motion Control Modules). Words that are not allocated to Modules may be used as work words and work bits in the program only.

15 0 CIO 0000

CIO 0001 (CIO 0002)

(CIO 0080)

(CIO 0099) CIO 0100

Serial PLC Link Bit Area

Cyclic Refresh Bit Area

CIO 0140 (CIO 0139)

CIO 0200 CIO 0199

Synchronous Data Link Bit Area

CIO 0220 CIO 0219

CIO 0255

following area ranges are different.

  • Serial PLC Link Bit Area: Not provided
  • Cyclic Refresh Bit Area: CIO 0100 to CIO 0109
  • Work Area: CIO 0002 to CIO 0099 CIO 0110 to CIO 0199

The CIO Area includes the following four areas.

  • I/O Bit Area
  • Cyclic Refresh Bit Area
  • Synchronous Data Link Bit Area
  • Work Areas
  • Serial PLC Link Bit Areas (Coordinator Module only)

I/O Bit Area: CIO 0000 and CIO 0001 These words are allocated to built-in I/O terminals the Coordinator Module or Motion Control Module.

Cyclic Refresh Bit Area: CIO 0100 to CIO 0139 (CIO 0100 to CIO 0109 for Motion Control Modules) In the Coordinator Module, 10 words are refreshed every cycle for each Motion Control Module. These words contain Motion Control Module status, general-purpose I/O, and other information. (Refreshing these words is not necessarily synchronized with the Motion Control Module Cycles.)

Show 4 more labels / short text on this page
I/O Bit Area · Work Area · Work Area · Work Area
Page 326 of the Omron Motion Controller Module (FQM1-CM001) user manual — CIO 0000.01
Page 326 · click to enlarge
Page 326

I/O Memory Appendix B

This area can be used to transfer information between Modules that does not required high-speed exchange. The user can allocate the information to be transferred and the information can be used accessed from the lad- der programs in the Coordinator Module and Motion Control Modules to coordinate programming.

Synchronous Data Link Bit Area: CIO 0200 to 0219 Each Module (Coordinator Module and Motion Control Modules) broadcasts up to two items (four words) of data at the specified cycle. The data can be specified separately for each Module and is allocated for this area. All of the linked Modules can access the data that is broadcast by other Modules.

Work Areas: CIO 0002 to CIO 0079, CIO 0140 to CIO 0199, and CIO 0220 to CIO 0255 (CIO 0002 to CIO 0099, CIO 0110 to CIO 0199, and CIO 0220 to CIO 0255 for Motion Control Modules) These words can be used only in the program; they cannot be used for I/O exchange with external I/O termi- nals. Be sure to use the work words provided in the Work Area before allocating words in the Internal I/O Areas.

Serial PLC Link Bit Area: CIO 0080 to CIO 0099 These words are allocated for use with the Serial PLC Link, for data links with a PLC.

  • CIO 0080 to (CIO 0080 + No. of linked words − 1): CJ1M to FQM1 Coordinator Module
  • CIO 0090 to (CIO 0090 + No. of linked words − 1): FQM1 Coordinator Module to CJ1M

Addresses not used for Serial PLC Link can be used only in the program, the same as the Work Area.

I/O Refresh

The ON/OFF status of external devices and I/O bits is updated during the I/O refresh. In doing so, the ON/OFF status of external devices, such as pushbuttons, limit switches, photoelectric sensors, and other input devices is reflected in the input bits in the I/O Area (CIO 0000). Also, the status of output bits in the I/O Area (CIO 0001) is output to actuators and other external devices.

There are two methods that can be used for the I/O refresh.

END Refresh With an END refresh, all I/O is refreshed once every cycle after the entire user program has been executed.

0001.01 OUT 0001.01

0000.01 LD 0000.01

The ON/OFF status of the external switch connected to the built-in input terminal allocated to CIO 0000.01 is refreshed once a cycle.

The ON/OFF status of CIO 0001.01 allocated to the exter- nal device connected to the built-in output terminal is output once a cycle.

Correspond CIO 0001.01

CIO 0000.01

SW01

Refreshed once each cycle

Built-in output Refreshed once each cycle

Show 8 more labels / short text on this page
Inputs Outputs · Ladder Mnemonic · Ladder Mnemonic · Build-in input · Coordinator Module · Coordinator Module · Correspond · Actuator
Page 327 of the Omron Motion Controller Module (FQM1-CM001) user manual — Temporary Relay Area (TR)
Page 327 · click to enlarge
Page 327

I/O Memory Appendix B

Immediate Refresh I/O can also be refreshed on the timing specified by the user using immediate refreshing. Any I/O refreshed using an immediate refresh will also be refreshed for the END refresh.

Refreshing Using the IORF(097) Instruction

When IORF(097) is executed for CIO 0000 and CIO 0001, the status of input terminals are input to input bits and the status of output bits is output to output terminals.

IORF

SW0

The status of CIO 0000 is input from the external devices.

SW16

SW1

SW17

SW15

SW31

Status read just prior to execution of IORF(097).

When IORF(097) is executed for CIO 0000 and CIO 0001, the status of input terminals are input to input bits and the status of output bits is output to output terminals.

IORF

CIO 0001

CIO 0101

The status of CIO 0001 is output to the external devices.

Work Area: W000 to W255 (W000.00 to W255.15), 4,096 Bits

Words in the Work Area can be used only in the program; they cannot be used for I/O exchange with external I/O terminals. Use this area for work words and bits before any other words in the CIO Area.

Auxiliary Area: A000 to A649 (A000.00 to A649.15)

The Auxiliary Area contains flags (controlled by the system) and control bits (controlled by the user) used to monitor and control FQM1 operation. The functions of these flags and bits are predetermined and include error flags from self-diagnosis, initial settings, operation controls, and operation status monitor data.

The bits and words in this area can be read and written from the program or from the CX-Programmer.

The bits in this area cannot be force-set or force-reset continuously.;

The CX-Programmer read/write operations include setting and resetting bits online (not forced), changing present values from address monitor displays, and transfer operations to the FQM1 after editing FQM1 data tables on the CX-Programmer. Refer to the CX-Programmer Operation Manual (Cat. No. W437) for details.

Temporary Relay Area (TR)

The TR Area contains bits that record the ON/OFF input condition status at program branches. The TR bits are used with mnemonics only.

  • TR0 to TR15 can be used in any order and any number of times.
  • TR bits can be used only in OUT and LD instructions. OUT instructions (OUT TR0 to OUT TR15) are used to store the input conditions at branch points. LD instructions (LD TR0 to LD TR15) are used to read the input conditions previously stored at branch points.
Show 10 more labels / short text on this page
Inputs · 0000 0001 · Module Built-in inpuits · Outputs · 0000 0001 · Module · Correspond · Built-in outputs · Actuators · IORF(097) executed
Page 328 of the Omron Motion Controller Module (FQM1-CM001) user manual — Timer Area
Page 328 · click to enlarge
Page 328

I/O Memory Appendix B

  • Each TR bit can be used only once in one program section.
  • The status of TR bits cannot be changed from the CX-Programmer.

TB bits are used in the following cases.

  • When there are two outputs with different LD instructions after the last branch point:
Omron Motion Controller Module (FQM1-CM001) — I/O Memory Appendix B diagram (page 328)
Fig. 112 · I/O Memory Appendix B

0002.03 LD 0000.00 OR 0000.01 OUT TR 0 AND 0000.02 OUT 0002.03 LD TR 0 AND 0000.04 OUT 0002.05

  • When there is no LD instruction on the lower rung after a branch point:
Omron Motion Controller Module (FQM1-CM001) — I/O Memory Appendix B diagram (page 328)
Fig. 113 · I/O Memory Appendix B

LD 0000.00 OUT TR 0 AND OUT 0002.02 LD TR 0 OUT 0002.03

are on the bottom rung. TR bits are not required in these types of branches.

Omron Motion Controller Module (FQM1-CM001) — I/O Memory Appendix B diagram (page 328)
Fig. 114 · I/O Memory Appendix B

Timer Area

The 256 timer numbers (T0000 to T0255) are shared by the TIM, TIMH(015), and TMHH(540) instructions. Timer Completion Flags and present values (PVs) for these instructions are accessed with the timer numbers.

When a timer number is used in an operand that requires bit data (e.g., in LD, AND, or OR instructions), the timer number accesses the Completion Flag of the timer. When a timer number is used in an operand that requires word data (e.g., in MOV(021) or CMP(020) instructions), the timer number accesses the PV of the timer. Timer Completion Flags can be used as often as necessary as normally open and normally closed con- ditions and the values of timer PVs can be read as normal word data.

Timer Completion Flags can be force-set and force-reset.

Timer PVs cannot be force-set or force-reset, although the PVs can be refreshed indirectly by force-setting/ resetting the Completion Flag.

There are no restrictions in the order of using timer numbers or in the number of NC or NO conditions that can be programmed. Timer PVs can be read as word data and used in programming.

operate correctly if they are timing simultaneously. (If two or more timer instructions use the same timer number, an error will be generated during the program check, but the timers will operate as long as the instructions are not executed in the same cycle.)

Page 329 of the Omron Motion Controller Module (FQM1-CM001) user manual — ILC)
Page 329 · click to enlarge
Page 329

I/O Memory Appendix B

The following table shows when timer PVs and Completion Flags will be reset.

FQM1 startup Operation in jumps (JMP-JME) or tasks on

(IL-ILC)

RUN/MONITOR

TIMERTIM PV → 0 Flag → OFF

PV → SV (Reset to SV.) Flag → OFF HIGH-SPEED TIMER: TIMH(015)

PV → 0 Flag → OFF

PVs refreshed in operat- ing timers

ONE-MS TIMER: TMHH(540)

jumped between JMP and JME instructions.

Counter Area

The 256 counter numbers (C0000 to C0255) are shared by the CNT and CNTR(012) instructions. Counter Completion Flags and present values (PVs) for these instructions are accessed with the counter numbers.

When a counter number is used in an operand that requires bit data, the counter number accesses the Completion Flag of the counter. When a counter number is used in an operand that requires word data, the counter number accesses the PV of the counter.

counters will not operate correctly if they are counting simultaneously. If two or more counter instructions use the same counter number, an error will be generated during the program check, but the counters will operate as long as the instructions are not executed in the same cycle.

The following table shows when counter PVs and Completion Flags will be reset.

Instruction Reset Mode change

At reset input Operation in interlocks (IL-

ILC)

RUN/MONITOR

COUNTERCNT PV → 0000 Flag → OFF

Maintained Reset Reset Maintained REVERSIBLE COUNTER: CNTR(012)

Counter Completion Flags can be force-set and force-reset.

Counter PVs cannot be force-set or force-reset, although the PVs can be refreshed indirectly by force- setting/resetting the Completion Flag.

There are no restrictions in the order of using counter numbers or in the number of NC or NO conditions that can be programmed. Counter PVs can be read as word data and used in programming.

Show 6 more labels / short text on this page
Instruction Mode change · Operation in interlocks · between PROGRAM and · standby · FQM1 startup · between PROGRAM and
Page 330 of the Omron Motion Controller Module (FQM1-CM001) user manual — Condition Flags
Page 330 · click to enlarge
Page 330

I/O Memory Appendix B

Data Memory (DM) Area

D00000

D30000

D32767

The DM Area contains 32,768 words with addresses ranging from D00000 to D32767. This data area is used for general data storage and manipulation and is accessible only by word.

Data in D00000 to D29999 is cleared to all zeros when the power supply is cycled, but is held when the operat- ing mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa.

Data in the D30000 to D32767 is held when the FQM1’s power is cycled or the operating mode is changed from PROGRAM mode to RUN/MONITOR mode or vice-versa. (These words are backed up by a super capac- itor in a Motion Control Module and by flash memory in the Coordinator Module.)

Bits in the DM Area cannot be accessed directly and cannot be force-set or force-reset.

Words in the DM Area can be indirectly addressed in two ways: binary-mode and BCD-mode.

Binary-mode Addressing (@D)

When a “@” character is input before a DM address, the content of that DM word is treated as binary and the instruction will operate on the DM word at that binary address. The entire DM Area (D00000 to D32767) can be indirectly addressed with hexadecimal values 0000 to 7FFF.

0100 D00256 Example@D00100

Address actually used.

BCD-mode Addressing ( * D)

When a “*” character is input before a DM address, the content of that DM word is treated as BCD and the instruction will operate on the DM word at that BCD address. Only part of the DM Area (D00000 to D09999) can be indirectly addressed with BCD values 0000 to 9999.

0100 D00100 Example*D00100

Address actually used.

Condition Flags

These flags include the Error Flag and Carry Flag, which indicate the results of instruction execution. In earlier PLCs, these flags were in the SR Area.

The Condition Flags are specified with labels, such as CY and ER, or with symbols, such as P_Carry and P_Instr_Error, rather than addresses. The status of these flags reflects the results of instruction execution, but the flags are read-only; they cannot be written directly from instructions or CX-Programmer.

All Condition Flags are cleared when the program switches tasks, so the status of the ER and AER flags are maintained only in that cycle and in the task in which the error occurred.

Word addresses · Held words

Page 331 of the Omron Motion Controller Module (FQM1-CM001) user manual — I/O Memory Appendix B
Page 331 · click to enlarge
Page 331

I/O Memory Appendix B

The Condition Flags cannot be force-set and force-reset except for the Carry Flag, which can be manipulated with the STC(040) and CLC(041) instructions.

Summary of the Condition Flags The following table summarizes the functions of the Condition Flags, although the functions of these flags will vary slightly from instruction to instruction. Refer to the description of the instruction for complete details on the operation of the Condition Flags for a particular instruction.

Error Flag P_ER Turned ON when the operand data in an instruction is incorrect (an instruction processing error) to indicate that an instruction ended because of an error. Access Error Flag P_AER Turned ON when an Illegal Access Error occurs. The Illegal Access Error indi- cates that an instruction attempted to access an area of memory that should not be accessed. Carry Flag P_CY Turned ON when there is a carry in the result of an arithmetic operation or a “1” is shifted to the Carry Flag by a Data Shift instruction. The Carry Flag is part of the result of some Data Shift and Math instructions.

Greater Than Flag P_GT Turned ON when the first operand of a Comparison Instruction is greater than the second or a value exceeds a specified range. Equals Flag P_EQ Turned ON when the two operands of a Comparison Instruction are equal or the result of a calculation is 0. Less Than Flag P_LT Turned ON when the first operand of a Comparison Instruction is less than the second or a value is below a specified range. Negative Flag P_N Turned ON when the most significant bit (sign bit) of a result is ON.

Overflow Flag P_OF Turned ON when the result of calculation overflows the capacity of the result word(s). Underflow Flag P_UF Turned ON when the result of calculation underflows the capacity of the result word(s). Greater Than or Equals Flag

P_GE Turned ON when the first operand of a Comparison Instruction is greater than or equal to the second. Not Equal Flag P_NE Turned ON when the two operands of a Comparison Instruction are not equal.

Less Than or Equals Flag

P_LE Turned ON when the first operand of a Comparison Instruction is less than or equal to the second.

Always ON Flag P_On Always ON. (Always 1.) Always OFF Flag P_Off Always OFF. (Always 0.)

Using the Condition Flags The Condition Flags are shared by all of the instructions, so their status may change often in a single cycle. Be sure to read the Condition Flags immediately after the execution of instruction, preferably in a branch from the same input condition.

Omron Motion Controller Module (FQM1-CM001) — I/O Memory Appendix B diagram (page 331)
Fig. 115 · I/O Memory Appendix B

The result from instruction A is reflected in the Equals Flag.

from its expected course by interruption of a single task. Be sure to consider the effects of Condition Flags when writing the program. Refer to Condition Flags on page 281 for details.

(2) The Condition Flags are cleared when the program switches tasks, so the status of a Condition Flag

cannot be passed to another task.

Name CX-Programmer · Function · symbol

Page 332 of the Omron Motion Controller Module (FQM1-CM001) user manual — I/O Memory Appendix B
Page 332 · click to enlarge
Page 332

I/O Memory Appendix B

Clock Pulses

The Clock Pulses are flags that are turned ON and OFF at regular intervals by the system.

Omron Motion Controller Module (FQM1-CM001) — I/O Memory Appendix B diagram (page 332)
Fig. 116 · I/O Memory Appendix B

0.02 s Clock Pulse 0.02s P_0_02s ON for 0.01 s OFF for 0.01 s

0.1 s Clock Pulse 0.1s P_0_1s ON for 0.05 s OFF for 0.05 s

0.2 s Clock Pulse 0.2s P_0_2s ON for 0.1 s OFF for 0.1 s

1 s Clock Pulse 1s P_1s ON for 0.5 s OFF for 0.5 s

1 min Clock Pulse 1min P_1min ON for 30 s OFF for 30 s

The Clock Pulses are specified with labels (or symbols) rather than addresses.

The Clock Pulses are read-only; they cannot be overwritten from instructions or the CX-Programmer.

The Clock Pulses are cleared at the start of operation.

Using the Clock Pulses The following example turns CIO 0001.00 ON and OFF at 0.5 s intervals.

Omron Motion Controller Module (FQM1-CM001) — I/O Memory Appendix B diagram (page 332)
Fig. 117 · I/O Memory Appendix B
Page 333 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup
Page 333 · click to enlarge
Page 333

I/O Memory Appendix B

Parameter Area

Unlike the data areas in I/O Memory, which can be used in instruction operands, the Parameter Area can be accessed only from the CX-Programmer. The Parameter Area is made up of the following parts.

  • The System Setup
  • The Routing Tables

System Setup

The user can customize the basic specifications of the Coordinator Module and Motion Control Modules with the settings in the System Setups. The System Setups contain settings such as the serial port communications settings and constant cycle time setting.

Page 334 of the Omron Motion Controller Module (FQM1-CM001) user manual — Prohibit System Interrupt of the Sync Mode
Page 334 · click to enlarge
Page 334

Appendix C

System Setup, Auxiliary Area Allocations,

and Built-in I/O Allocations

Overview of System Setups

A System Setup contains software settings that the user can change to customize FQM1 operation. Module functions are set using its System Setup.

The Coordinator Module and Motion Control Modules all have System Setups, which are set from the CX-Pro- grammer to customize operation for the following types of applications.

Cases when settings must be changed Setting(s) to be changed

  • When programming the FQM1 for the first time and the Motion Control Modules are being programmed before the Coordinator Module.
  • When editing or debugging the program in a specific Motion Control Module.
  • When you want the FQM1 to go into RUN mode or MONITOR mode and start operating immediately after startup.
  • When you want the operating mode to be other than RUN mode when the power is turned ON.

When the peripheral port will not be used with the CX-Programmer (periph- eral bus) communications speed auto-detection and will not be used with the default Host Link communications settings, such as 9,600 bps.

When the RS-232C port will not be used with the CX-Programmer (periph- eral bus) communications speed auto-detection and will not be used with the default Host Link communications settings, such as 9,600 bps.

Host Link Port Settings

When you want to communicate with a PT via an NT Link. Peripheral Port Settings or Host Link Port Settings

You want a constant (minimum) cycle time setting to create a consistent I/O refresh cycle or cycle time.

You want to set a maximum cycle time other than 50 ms (1 ms to 100 ms). Watch Cycle Time

You want to extend peripheral servicing time because peripheral services are being executed over several cycles, delaying completion of servicing (want to set a specific time rather than a percent of the cycle time).

Set Time to All Events

The addresses given for the settings in the System Setup are not required for actually making the settings. Use the menus of the CX-Programmer Ver. 5.0@.

System Setup in the Coordinator Module

Sync Settings between Modules (CX-Programmer: Module Settings Tab Page)

Allow Writing to User Memory

Address Settings Function Related flags and

+304 00 0Writing enabled 1: Writing disabled Default: Writing enabled

Sets and releases write-protection for the user memory and System Setup.

--- When disablingAt power ON or at start of operation When enabling: When changed

Prohibit System Interrupt of the Sync Mode

Address Settings Function Related flags and

+304 08 0Not prohibited 1: Prohibited Default: Not prohibited

Sets and releases prohibition of system interrupts during program execution. Set to 1: Prohibit coordinating (match- ing) the operation start timings among Modules in Sync Mode.

--- At start of opera- tion

Show 10 more labels / short text on this page
Sync Mode · Startup Mode · Peripheral Port Settings · Cycle Time · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 335 of the Omron Motion Controller Module (FQM1-CM001) user manual — Watch Cycle Time
Page 335 · click to enlarge
Page 335

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Sync Cycle Time

Address Settings Function Related flags and

+319 00 to 14 0000 hex: Default (Coordina- tor Module cycle time) 0001 to 0064 hex: 0.1 to 10.0 ms (unit: 0.1 ms) Default: Coordinator Module cycle time

Sets the cycle time for the Coordinator Module when high-speed synced oper- ation is to be used only between Motion Control Modules.

A404.06 (Sync Cycle Time Too Long Flag)

Sync Mode

Address Settings Function Related flags and

+319 15 0Sync mode 1: Async mode Default: Sync mode

Sets either Sync Mode or Async Mode. Sync Mode is used to sync operation between the Coordinator Module and Motion Control Modules. Async Mode is convenient for debug- ging Motion Control Modules even if Sync Mode is to be used for actual operation.

--- At power ON

Startup Mode Setting (CX-Programmer: Startup Tab Page)

Startup Mode

Address Settings Function Related flags and

+81 00 to 11 00 hex: PROGRAM mode 01 hex: MONITOR mode 02 hex: RUN mode

Sets the mode in which the Coordinator Module will start. The mode set here can also be enabled and disabled. If this setting is disabled, the Coordinator Module will start in RUN mode.

--- At power ON

15 00Setting disabled 01: Setting enabled Default: Setting disabled

Cycle Time Settings (CX-Programmer: Timer/Peripheral Service)

Cycle Time

Address Settings Function Related flags and

+307 00 to 15 0001 to 03E8 hex: 0.1 to 100.0 ms (unit: 0.1 ms) Default: 0000 hex (variable cycle time)

Set to 0001 to 03E8 hex to specify a constant (minimum) cycle time. If the cycle time is less than this setting, it will be extended until this time passes. Leave this setting at 0000 for a variable cycle time.

A404.05 (Constant Cycle Time Exceeded Flag)

At start of opera- tion (cannot be changed during operation)

Watch Cycle Time

Address Settings Function Related flags and

+308 00 to 15 0001 to 0064 hex: 1 to 100 ms (unit: 0.1 ms) Default: 0000 hex (50 ms)

Change this setting only when you want to change the default maximum cycle time. The Cycle Time Too Long Flag (A401.08) will be turned ON if the actual cycle time exceeds this setting.

A208 to A209 (Present Cycle Time)

At start of opera- tion (cannot be changed during operation)

Show 16 more labels / short text on this page
When setting is · read Word Bits · words · At power ON · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 336 of the Omron Motion Controller Module (FQM1-CM001) user manual — Baud Rate
Page 336 · click to enlarge
Page 336

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Peripheral Port Settings (CX-Programmer: Peripheral Port Tab Page)

Communications Settings

Address Settings Function Related flags and

+144 00 to 07 Setting Data length

At next cycle (Also can be changed with STUP (237).) 00 hex: 7 1 2 Even

Start bits Stop bits Parity Sets the communi- cations conditions for the peripheral port.

A412.15 (Periph- eral Port Settings Changing Flag)

01 hex7 1 2 Odd
02 hex7 1 2 None
04 hex7 1 1 Even
05 hex7 1 1 Odd
06 hex7 1 1 None
08 hex8 1 2 Even
09 hex8 1 2 Odd
0A hex8 1 2 None
0C hex8 1 1 Even
0D hex8 1 1 Odd
0E hex8 1 1 None
Default00

Peripheral Port Settings for Host Link

Standard/Custom Setting

Address Settings Function Related flags and

+144 15 0Standard 1: Custom Default: 0

The standard settings are for 1 start bit, 7-bit data, even parity, 2 stop bits, and 9,600 baud.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Serial Communications Mode

Address Settings Function Related flags and

+144 08 to 11 00 hex: Host Link Default: 00 hex

This setting determines whether the peripheral port will operate in Host Link mode or another serial communications mode. Set 00 for Host Link Mode.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Baud Rate

Address Settings Function Related flags and

+145 00 to 07 00 hex: 9,600 01 hex: 300 02 hex: 600 03 hex: 1,200 04 hex: 2,400 05 hex: 4,800 06 hex: 9,600 07 hex: 19,200 08 hex: 38,400 09 hex: 57,600 Unit: bit/s Default: 00 hex

This setting is valid when the peripheral port is set for the Host Link Serial Com- munications Mode. Set the Standard/ Custom setting to 1 to enable this set- ting.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 12 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 337 of the Omron Motion Controller Module (FQM1-CM001) user manual — Serial Communications Mode
Page 337 · click to enlarge
Page 337

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Host Link Unit Number

Address Settings Function Related flags and

+147 00 to 07 00 to 1F hex: Unit number 0 to 31 Default: 00 hex

This setting determines the Coordinator Module's unit number when it is con- nected in a 1-to-N (N=2 to 32) Host Link.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Peripheral Port Settings for NT Link

Serial Communications Mode

Address Settings Function Related flags and

+144 08 to 11 02 hex: NT Link Default: 0 hex

This setting determines whether the peripheral port will operate in NT Link mode or another serial communications mode. Set 02 for NT Link Mode. Note Communications will not be pos- sible with PTs set for 1:1 NT Links.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Baud Rate

Address Settings Function Related flags and

+145 00 to 07 08 hex: Standard NT Link Default: 00 hex

Only the standard setting of 38,400 can be used for the NT Link Serial Commu- nications Mode.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Maximum Unit Number for NT Link (NT Link Max.)

Address Settings Function Related flags and

+150 00 to 03 0 to 7 hex Default: 0 hex

This setting determines the highest unit number of PT that can be connected to the FQM1.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Peripheral Port Settings for Peripheral Bus (ToolBus)

Standard/Customer Setting

Address Settings Function Related flags and

+144 15 0Standard 1: Custom Default: 0

The standard setting is for 9,600 baud. A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Serial Communications Mode

Address Settings Function Related flags and

+144 08 to 11 04 hex: Peripheral bus Default: 0 hex

This setting determines whether the peripheral port will operate in Periph- eral Bus Mode or another serial com- munications mode. Set 04 for Peripheral Bus Mode. Peripheral Bus Mode is used to com- municate with the CX-Programmer.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 18 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 338 of the Omron Motion Controller Module (FQM1-CM001) user manual — Baud Rate
Page 338 · click to enlarge
Page 338

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Baud Rate

Address Settings Function Related flags and

+145 00 to 07 00 hex: 9,600 06 hex: 9,600 07 hex: 19,200 08 hex: 38,400 09 hex: 57,600 Unit: bit/s Default: 00 hex

Only settings 00 hex and 06 to 09 hex can be used in peripheral bus mode.

A412.15 (Peripheral Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-232C Port Settings (CX-Programmer: Host Port Tab Page)

RS-232C Port Settings for Host Link

Serial Communications Mode

Address Settings Function Related flags and

+160 08 to 11 00 hex: Host Link 05 hex: Host Link Default: 00 hex

This setting determines whether the RS-232C port will operate in Host Link mode or another serial communications mode. Specify either 00 or 05 for Host Link Mode.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Format

Address Settings Function Related flags and

+160 15 0Default format 1: Custom Default: 00 hex

The standard settings are for 1 start bit, 7-bit data, even parity, 2 stop bits, and 9,600 baud.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

03 07-bit 1: 8-bit Default: 0

Sets the data length.

02 02 bits 1: 1 bit Default: 0

Sets the number of stop bits.

00 and 01 00Even 01: Odd 10: None Default: 00 hex

Sets the parity.

Baud Rate

Address Settings Function Related flags and

+161 00 to 07 00 hex: 9,600 01 hex: 300 02 hex: 600 03 hex: 1,200 04 hex: 2,400 05 hex: 4,800 06 hex: 9,600 07 hex: 19,200 08 hex: 38,400 09 hex: 57,600 Unit: bit/s Default: 00 hex

Sets the Host Link baud rate. Set the Standard/Custom setting to 1 to enable this setting.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 12 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 339 of the Omron Motion Controller Module (FQM1-CM001) user manual — Serial Communications Mode
Page 339 · click to enlarge
Page 339

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Host Link Unit Number

Address Settings Function Related flags and

+163 00 to 07 00 to 1F hex: 0 to 31 Default: 00 hex

This setting determines the Coordinator Module's unit number when it is con- nected in a 1-to-N (N=2 to 32) Host Link.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-232C Port Settings for NT Link

Serial Communications Mode

Address Settings Function Related flags and

+160 08 to 11 02 hex: NT Link Default: 00 hex

This setting determines whether the RS-232C port will operate in NT Link mode or another serial communications mode. Set 02 for NT Link Mode. Note Communications will not be pos- sible with PTs set for 1:1 NT Links.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Baud Rate

Address Settings Function Related flags and

+161 00 to 07 08 hex: Standard setting Default: 00 hex

Only the standard setting of 38,400 can be used for the NT Link Serial Commu- nications Mode.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Maximum Unit Number for NT Link (NT Link Max.)

Address Settings Function Related flags and

+166 00 to 03 0 to 7 hex Default: 00 hex

This setting determines the highest unit number of PT that can be connected to the FQM1.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-232C Port Settings for Peripheral Bus (ToolBus)

Standard/Custom Setting

Address Settings Function Related flags and

+160 15 0Standard 1: Custom Default: 0

The standard setting is for 9,600 baud. A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Serial Communications Mode

Address Settings Function Related flags and

+160 08 to 11 04 hex: Peripheral bus Default: 0 hex

This setting determines whether the RS-232C port will operate in Peripheral Bus Mode or another serial communi- cations mode. Set 04 for Peripheral Bus Mode. Peripheral Bus Mode is used to com- municate with the CX-Programmer.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 18 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 340 of the Omron Motion Controller Module (FQM1-CM001) user manual — Send Delay
Page 340 · click to enlarge
Page 340

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Baud Rate

Address Settings Function Related flags and

+161 00 to 07 00 hex: 9,600 06 hex: 9,600 07 hex: 19,200 08 hex: 38,400 09 hex: 57,600 Unit: bit/s Default: 00 hex

Only settings 00 hex and 06 to 09 hex can be used in peripheral bus mode.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-232 Port Settings for No-protocol Communications (RS-232C)

Serial Communications Mode

Address Settings Function Related flags and

+160 08 to 11 03 hex: No-protocol Default: 00 hex

This setting determines whether the RS-232C port will operate in No-proto- col mode or another serial communica- tions mode. Set 03 for No-protocol Mode.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Data Format

Address Settings Function Related flags and

+160 15 0Default format 1: Custom Default: 00 hex

The standard settings are for 1 start bit, 7-bit data, even parity, 2 stop bits, and 9,600 baud.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

03 07-bit 1: 8-bit Default: 0

Sets the data length.

02 02 bits 1: 1 bit Default: 0

Sets the number of stop bits.

00 and 01 00Even 01: Odd 10: None Default: 00 hex

Sets the parity.

Baud Rate

Address Settings Function Related flags and

+161 00 to 07 00 hex: 9,600 01 hex: 300 02 hex: 600 03 hex: 1,200 04 hex: 2,400 05 hex: 4,800 06 hex: 9,600 07 hex: 19,200 08 hex: 38,400 09 hex: 57,600 Unit: bit/s Default: 00 hex

This setting is valid when the RS-232C port is set for the No-protocol Serial Communications Mode. Set the Data Format setting to 1 to enable this set- ting.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Send Delay

Address Settings Function Related flags and

+162 00 to 15 Send delay time, 0 to 99,990 ms (0000 to 270F hex, unit: 10 ms) Default: 0000 hex

When TXD(236) is executed, data will be sent from the RS-232C port after the delay time set here.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 15 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 341 of the Omron Motion Controller Module (FQM1-CM001) user manual — PLC Link Unit No. (PC Link Unit Number)
Page 341 · click to enlarge
Page 341

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Start Code and End Code

Address Settings Function Related flags and

+164 00 to 07 00 to FF hex Default: 00 hex

The frame format for no-protocol commu- nications data (mes- sages) can be specified.

Specifies the end code. This setting is valid when bits 08 to 09 of +165 are set to 01.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

08 to 15 00 to FF hex Default: 00 hex

Specifies the start code. This setting is valid when bit 12 of +165 is set to 1.

+165 12 0Don’t add start code 1: Add start code Default: 0

Specifies whether the frame format for no-protocol commu- nications is speci- fied.

Specifies whether to add a start code.

08 and 09 00: Don’t add end code and use number of received bytes setting 01: Add end code 11: Add CR+LF Default: 00

Specifies whether to add an end code.

Number of Received Bytes

Address Settings Function Related flags and

+165 00 to 07 00 hex: 256 bytes 01 to FF hex: 1 to 255 Default: 00 hex

Specifies the data length to send and receive for no-protocol communica- tions. The start code and end code are not included in the data length. This setting is valid only when bits 08 and 09 of +165 are set to 00. The default setting for each TXD(236)/ RXD(235) instruction is 256 bytes. This setting can be set to 01 to FF to set 255 bytes or less.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-232C Port Settings for PLC Link (PC Link (Slave))

Serial Communications Mode

Address Settings Function Related flags and

+160 08 to 11 07 hex: Serial PLC Link Slave (Polled Unit) Default: 00 hex

This setting determines whether the RS-232C port will operate in Serial PLC Link Slave mode or another serial com- munications mode. Set 07 for Serial PLC Link Slave Mode.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Baud Rate

Address Settings Function Related flags and

+161 00 to 07 00 hex: Standard setting Default: 00 hex

Only the standard setting of 38,400 can be used for the Serial PLC Link Slave Serial Communications Mode.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

PLC Link Unit No. (PC Link Unit Number)

Address Settings Function Related flags and

+167 00 to 03 0 to 7 hex Default: 0 hex

Sets the unit number of the FQM1 as a Serial PLC Link Slave.

A410.15 (RS-232C Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 15 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 342 of the Omron Motion Controller Module (FQM1-CM001) user manual — Send Delay Time
Page 342 · click to enlarge
Page 342

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

RS-422A Port Settings (CX-Programmer: Drive Tab Page)

RS-422A Port Settings for Serial Gateway

Standard/Custom Setting

Address Settings Function Related flags and

+360 15 0Standard settings Default: 0

The standard settings are for 1 start bit, 7-bit data, even parity, 2 stop bits, and 9,600 baud.

A414.15 (RS-422A Port Settings Changing Flag)

Serial Communications Mode

Address Settings Function Related flags and

+360 08 to 11 00 or 09 hex: Serial Gateway Default: 00 hex

This setting determines whether the RS-422A port will operate in Serial Gateway mode or another serial com- munications mode. Set 00 or 09 for Serial Gateway Mode.

A414.15 (RS-422A Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-422A Response Timeout Time (RS422 Response Timeout of Command)

Address Settings Function Related flags and

+367 00 to 15 0001 to 00FF hex: 0.1 to 25.5 s Default: 0000 hex (5 s)

Sets the timeout time for a response from the Servo Driver.

A414.15 (RS-422A Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

RS-422A Port Settings for No-protocol Communications (Non-procedural)

Serial Communications Mode

Address Settings Function Related flags and

+360 08 to 11 03 hex: No-protocol Default: 00 hex

This setting determines whether the RS-422A port will operate in no-proto- col mode or another serial communica- tions mode. Set 03 for No-protocol Mode.

A414.15 (RS-422A Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Send Delay Time

Address Settings Function Related flags and

+362 00 to 15 Send delay time, 0 to 99,990 ms (0000 to 270F hex, unit: 10 ms) Default: 0000 hex

When TXD(236) is executed, data will be sent from the RS-422A port after the delay time set here.

A414.15 (RS-422A Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Show 15 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 343 of the Omron Motion Controller Module (FQM1-CM001) user manual — Peripheral Service Time
Page 343 · click to enlarge
Page 343

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Start Code and End Code

Address Settings Function Related flags and

+364 00 to 07 00 to FF hex Default: 00 hex

The frame format for no-protocol communications data (messages) can be specified.

Specifies the end code. This setting is valid when bits 08 to 09 of +365 are set to 01.

A414.15 (RS-422A Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

08 to 15 00 to FF hex Default: 00 hex

Specifies the start code. This setting is valid when bit 12 of +365 is set to 1.

+365 12 0Don’t add start code 1: Add start code Default: 0

Specifies whether the frame format for no-protocol communications is specified.

Specifies whether to add a start code.

08 and 09 00: Don’t add end code and use number of received bytes setting 01: Add end code 11: Add CR+LF Default: 00

Specifies whether to add an end code.

Number of Received Bytes

Address Settings Function Related flags and

+365 00 to 07 00 hex: 256 bytes 01 to FF hex: 1 to 255 Default: 00 hex

Specifies the data length to send and receive for no-protocol communica- tions. The start code and end code are not included in the data length. This setting is valid only when bits 08 and 09 of +365 are set to 00. The default setting for each TXD(236)/ RXD(235) instruction is 256 bytes. This setting can be set to 01 to FF to set 255 bytes or less.

A414.15 (RS-422A Port Settings Changing Flag)

At next cycle (Also can be changed with STUP (237).)

Peripheral Service Time Settings (CX-Programmer: Timer/Peripheral Tab Page)

Fixed Service Time Enable Setting (Set Time to All Events)

Address Settings Function Related flags and

+218 15 0Default (6.25% of cycle time) 1: Custom Default: 0

Sets the default service time or enables setting of a custom service time.

--- At start of opera- tion (cannot be changed during operation)

Peripheral Service Time

Address Settings Function Related flags and

+218 00 to 07 00 to FF hex: 0.0 to 25.5 ms (unit: 0.1 ms) Default: 00 hex

Sets the time to allocate to peripheral servicing. Bit 15 of +218 must be set to 1 to enable this setting.

--- At start of opera- tion (cannot be changed during operation)

Show 12 more labels / short text on this page
When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words · When setting is · read Word Bits · words
Page 344 of the Omron Motion Controller Module (FQM1-CM001) user manual — CX-Programmer: Cycle Time Tab Page
Page 344 · click to enlarge
Page 344

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

System Setup in Motion Control Modules

Settings Used by All Motion Control Modules

CX-Programmer: Module Settings Tab Page

Address Bits Function Remarks When setting is read

+304 00 Allow writing to user memory (user memory protection)

0 hex: Writing enabled 1 hex: Writing disabled Note Set this bit to 1 to disable writing the fol- lowing areas from the CX-Programmer: user program and System Setup

When disablingAt power ON or at start of operation When enabling: When changed

08 Prohibit system interruption of the sync mode

0 hex: Allow interrupts 1 hex: Prohibit interrupts Set this bit to 1 to prohibit system interrupts during program execution and I/O memory refreshing to maintain synced operation between Modules in Sync Mode.

12 Detect cycle time over warming (detec- tion of cycle times longer than 10 ms)

0 hex: Detect long cycles 1 hex: Do not detect long cycles Note CIO 0105.09 will turn ON if this bit is set to 0 and the cycle time exceeds 10 ms.

At start of operation

+305 00 to 03 Interrupt Input Settings, Input 0 (CIO 0000.00) function 0 hex: Normal 1 hex: Interrupt input (at rising edge) 2 hex: Interrupt input (at falling edge) 3 hex: Interrupt input (at both edges) Note Interrupt input settings of 1 to 3 hex apply to input interrupt mode and counter mode.

04 to 07 Interrupt Input Settings, Input 1 (CIO 0000.01) function

08 to 11 Interrupt Input Settings, Input 2 (CIO 0000.02) function

12 to 15 Interrupt Input Settings, Input 3 (CIO 0000.03) function

+306 00 to 07 Select Synchro- nous Data

Upper 2 words (+0 and +1)

00 hex: Normal (via Ladder) 01 hex: High-speed counter PV (Counter 1 val- ues) 02 hex: High-speed counter PV (Counter 2 val- ues) 03 hex: Pulse output 1 PV 04 hex: Pulse output 2 PV 05 hex: Analog input 06 hex: Reserved 07 hex: Analog output 1 value 08 hex: Analog output 2 value 09 hex: Built-in input value (Inner I/O input) 5A hex: No data

08 to 15 Lower 2 words (+2 and +3)

CX-Programmer: Cycle Time Tab Page

Address Bits Function Remarks When setting is read

+307 00 to 15 Cycle time 0000 hex: Variable cycle time 0001 to 03E8 hex: Constant (minimum) cycle time of 0.1 to 100.0 ms (unit: 0.1 ms) If the actual cycle time is less than this setting, it will be extended until this time passes. Note A404.05 will turn ON if the minimum cycle time set here is exceeded.

At start of operation

+308 00 to 15 Watch cycle time Change this setting only when you want to change the default maximum cycle time. The Cycle Time Too Long Flag (A401.08) will be turned ON if the actual cycle time exceeds this setting.

At start of operation

CX-Programmer: Other Tab Page These settings are reserved for future expansion of Motion Control Module functionality.

At power ON · At power ON

Page 345 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 345 · click to enlarge
Page 345

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

FQM1-MMP21 Motion Control Modules with Pulse I/O

CX-Programmer: Pulse Input Tab Page

Address Bits Function Remarks When setting is

+320 00 to 03 High-speed counter 1 (Counter 1)

Input method 0 hex: Phase differential x1 1 hex: Phase differential x2 2 hex: Phase differential x4 3 hex: Increment/decrement pulse inputs 4 hex: Pulse + direction inputs

04 to 07 Reset method 0 hex: Software reset 1 hex: Phase Z and software reset

08 to 11 Counting speed 0 hex: 50 kHz 1 hex: 500 kHz

12 to 15 Counter operating mode (Counter opera- tion)

0 hex: Linear counter 1 hex: Circular counter 2 hex: Absolute linear counter (CW−) 3 hex: Absolute circular counter 4 hex: Absolute linear counter (CW+) Note When setting any mode except for a linear counter (0 hex), be sure to set the Circular Maxi- mum Count/Absolute Encoder Resolution.

+321 00 to 03 Counter data to moni- tor (Counter data dis- play)

0 hex: Do not monitor (Non-monitor) 1 hex: Counter PV changes (Counter movements (mode 1)) 2 hex: Frequency (mode 2) Note The frequency (mode 2) can be set only for high-speed counter 1.

04 to 15 Reserved

+322 00 to 15 Sampling time (for mode 1 only)

Sets the sampling time for monitoring counter PV changes (mode 1) 0000: Cycle time 0001 to 270F hex: 1 to 9,999 ms (unit: 1 ms) Note This setting is valid only when the Counter Data Display (bits 00 to 03 of +321) is set to 1 hex (mode 1).

read · At power ON

Page 346 of the Omron Motion Controller Module (FQM1-CM001) user manual — CX-Programmer: Pulse Output Tab Page
Page 346 · click to enlarge
Page 346

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Function Remarks When setting is

+323 00 to 03 High-speed counter 2 (Counter 2)

Input method Same as for high-speed counter 1 except that fre- quency measurement (Counter data to monitor, bit 00 to 03 of +324: 02 hex) cannot be set for high-speed counter 2.

04 to 07 Reset method

08 to 11 Counting speed

12 to 15 Counter operating mode (Counter opera- tion)

+324 00 to 03 Counter data to moni- tor (Counter data dis- play)

04 to 15 Reserved

+325 00 to 15 Sampling time (for mode 1 only)

+326 to 327 00 to 15 High-speed counter 1 (Counter 1)

Sets the maximum circular counter value. Range: 0000 0001 to FFFF FFFF hex

0000 0001 to 0000 FFFF hex Note Set this value in pulses/rotation according to the encoder dividing ratio set for the Servo Driver and the input method multiplier set for the Module. Example: If the Servo Driver setting is 1,000 and the Module setting is x4, set FA0 (4,000).

+328 to 329 00 to 15 High-speed counter 2 (Counter 2)

Same as for high-speed counter 1.

+330 to 331 00 to 15 High-speed counter 1 (Counter 1)

Absolute offset 8000 0000 to 7FFF FFFF hex

+332 to 333 00 to 15 High-speed counter 2 (Counter 2)

Absolute offset 8000 0000 to 7FFF FFFF hex

CX-Programmer: Pulse Output Tab Page

Address Bits Function Remarks When setting is

+340 00 to 07 Pulse output 1 Operation mode (Refer to 7-6-6 Pulse Output Function Details.)

00 hex: Relative pulse output 01 hex: Absolute pulse output in linear mode 02 hex: Absolute pulse output in circular mode (See note.) 03 hex: Electronic cam control in linear mode (See note.) 04 hex: One-shot pulse output 05 hex: Time measurement using pulse counter 06 hex: Electronic cam control in circular mode (See note.)

08 to 15 Clock 00 hex: 20 MHz Pulse output frequency: 400 Hz to 1 MHz

01 hex10 MHz Pulse output frequency: 200 Hz to 200 kHz
02 hex5 MHz Pulse output frequency: 100 Hz to 100 kHz
03 hex2.5 MHz Pulse output frequency: 40 Hz to 50 kHz
04 hex1.25 MHz Pulse output frequency: 20 Hz to 20 kHz

+341 00 to 07 Pulse output 2 Operation mode Same as for pulse output 1.

08 to 15 Clock

+342 to 343 00 to 15 Pulse output 1 Circular maximum count

Sets the maximum circular counter value when the pulse output mode is set to absolute pulse output in circular mode or electronic cam control in circular mode. Range: 0000 0001 to FFFF FFFF hex (See note.)

00 to 15 Pulse output 2 Circular maximum count

Same as for pulse output 1.

Show 9 more labels / short text on this page
read · At power ON · Circular maximum count · Absolute encoder res- olution · Circular maximum count · Absolute encoder res- olution · read · At power ON · +344 to +345
Page 347 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-MMA21 Motion Control Modules with Analog I/O
Page 347 · click to enlarge
Page 347

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

FQM1-MMA21 Motion Control Modules with Analog I/O

CX-Programmer: Pulse Input Tab Page

Address Bits Function Remarks When setting

+320 00 to 03 High-speed counter 1 (Counter 1)

Input method 0 hex: Phase differential x1 1 hex: Phase differential x2 2 hex: Phase differential x4 3 hex: Increment/decrement pulse inputs 4 hex: Pulse + direction inputs

04 to 07 Reset method 0 hex: Software reset 1 hex: Phase Z and software reset

08 to 11 Counting speed 0 hex: 50 kHz 1 hex: 500 kHz

12 to 15 Counter operating mode (Counter opera- tion)

0 hex: Linear counter 1 hex: Circular counter 2 hex: Absolute linear counter (CW−) 3 hex: Absolute circular counter 4 hex: Absolute linear counter (CW+)

+321 00 to 03 Counter data to moni- tor (Counter data dis- play)

0 hex: Do not monitor (Non-monitor) 1 hex: Counter PV changes (Counter movements (mode 1)) 2 hex: Frequency (mode 2) Note The frequency (mode 2) can be set only for high-speed counter 1.

04 to 15 Reserved

+322 00 to 15 Sampling time (for mode 1 only)

Sets the sampling time for monitoring counter PV changes (mode 1) 0000: Cycle time 0001 to 270F hex: 1 to 9,999 ms (unit: 1 ms) Note This setting is valid only when the Counter Data Display (bits 00 to 03 of +321) is set to 1 hex (mode 1).

+323 00 to 03 High-speed counter 2 (Counter 2)

Input method Same as for high-speed counter 1 except that fre- quency measurement (Counter data to monitor, bit 00 to 03 of +324: 02 hex) cannot be set for high- speed counter 2. 04 to 07 Reset method

08 to 11 Counting speed

12 to 15 Counter operating mode (Counter opera- tion)

+324 00 to 03 Counter data to moni- tor (Counter data dis- play)

04 to 15 Reserved

+325 00 to 15 Sampling time (for mode 1 only)

+326 to 327 00 to 15 High-speed counter 1 (Counter 1)

Sets the maximum circular counter value. Range: 0000 0001 to FFFF FFFF hex

0000 0001 to 0000 FFFF hex Note Set this value in pulses/rotation according to the encoder dividing ratio set for the Servo Driver and the input method multiplier set for the Module. Example: If the Servo Driver setting is 1,000 and the Module setting is x4, set FA0 (4,000).

+328 to 329 00 to 15 High-speed counter 2 (Counter 2)

Same as for high-speed counter 1.

Show 6 more labels / short text on this page
is read · At power ON · Circular maximum count · Absolute encoder res- olution · Circular maximum count · Absolute encoder res- olution
Page 348 of the Omron Motion Controller Module (FQM1-CM001) user manual — Details on System Setup Settings
Page 348 · click to enlarge
Page 348

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Function Remarks When setting

+330 to 331 00 to 15 High-speed counter 1 (Counter 1)

Absolute offset 8000 0000 to 7FFF FFFF hex Application origin when using an absolute encoder.

+332 to 333 00 to 15 High-speed counter 2 (Counter 2)

Absolute offset Same as high-speed counter 1.

CX-Programmer: Analog Input/Output Tab Page

Address Bits Function Remarks When setting is read

+350 00 to 03 Analog I/O Input method 0 hex: END refresh 1 hex: Immediate refresh (using PRV(881) instruction)

04 to 07 Output method 0 hex: END refresh (Analog value output to A560 and A561 after executing END(001).) 1 hex: Immediate refresh (using instructions) (Analog value output when SPED(885) or ACC(888) is executed.) (A560 and A561 are used for monitoring.)

+351 00 to 07 Analog input Input range 00 hex: −10 to 10 V 01 hex: 0 to 10 V 02 hex: 1 to 5 V (4 to 20 mA) 03 hex: 0 to 5 V

+353 00 to 07 Analog output 1 Output range 00 hex: −10 to 10 V 01 hex: 0 to 10 V 02 hex: 1 to 5 V 03 hex: 0 to 5 V 5A hex: Output disabled (Can be used to shorten I/O refresh time.) (See note.)

08 to 11 Output stop func- tion

0 hexClear 1 hex: Hold 2 hex: Maximum value

+354 00 to 07 Analog output 2 Output range Same as for analog output 1.

08 to 15 Output stop func- tion

Details on System Setup Settings

Startup Mode This setting determines the operating mode that will be used when the power supply to the Coordinator Module is turned ON.

System Setup mode setting disabled RUN mode

System Setup mode setting enabled Program: PROGRAM mode Monitor: MONITOR mode Run: RUN mode

enabled.

Peripheral Port Settings The standard settings are for Host Link Mode, 1 start bit, 7-bit data, even parity, 2 stop bits, and 9,600 baud. Change the System Setup if any other settings are required.

RS-232C Port Settings (Host Link Port) The standard settings are for Host Link Mode, 1 start bit, 7-bit data, even parity, 2 stop bits, and 9,600 baud. Change the System Setup if any other settings are required. If no-protocol communications are to be used, be sure to change the frame format.

Show 5 more labels / short text on this page
is read · Immediately · At power ON · At power ON · At power ON
Page 349 of the Omron Motion Controller Module (FQM1-CM001) user manual — TXD(236)
Page 349 · click to enlarge
Page 349

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Settings Changing Flag (A410.15) will remain ON from the time STUP (237) is executed until the set- tings have actually been changed.

CM001

RS-232C Port Settings The standard (default) settings are as follows: Host Link Mode 1 start bit 7-bit data Even parity 2 stop bits 9,600 baud rate If any other serial communications mode is being used (e.g., NT Link, no-protocol, peripheral bus, or Host Link), change the baud rate or other settings as requried.

FLEXIBLE MOTION CONTROLLER

RDY RUN ERR PRPHL COMM1 COMM2

ON OFF

PERIPHERAL

PORT

CN1

RS422

TXD(236)

Messages Sent and Received with No-protocol Mode

Data Data ED CR+LF Data

Data Data ED ST ST ST CR+LF Data

Received bytes Data1 to 256 bytes

Constant Cycle Time Set the cycle time to a non-zero value, e.g., to create a consistent motor control cycle. This setting is effective only when the actual cycle time is shorter than the constant cycle time setting. If the actual cycle time is longer than the constant cycle time setting, the actual cycle time will remain unchanged.

Watch Cycle Time If the cycle time exceeds the watch (maximum) cycle time setting, the Cycle Time Too Long Flag (A401.08) will be turned ON and FQM1 operation will be stopped. This setting must be changed if the normal cycle time exceeds the default watch cycle time setting of 50 ms.

Show 9 more labels / short text on this page
Send delay · Data sent · Time · End code · Yes CR+LF No · Start code No · Yes · Constant (minimum) · time
Page 350 of the Omron Motion Controller Module (FQM1-CM001) user manual — Fixed Peripheral Servicing Time
Page 350 · click to enlarge
Page 350

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

OVER

Cycle Time Too Long Flag A401.08

ON

Module operation is stopped.

Fixed Peripheral Servicing Time

This setting determines whether the peripheral servicing for the following processes is performed with the default settings (6.25% of the cycle time) or all together in a fixed servicing time.

Exchange data with Modules when necessary Exchange data with peripheral port Exchange data with serial communications ports

The following table shows a breakdown of the peripheral servicing time.

Peripheral servicing time Default value Setting range

Event service time for Motion Control Modules

6.25% of the previous cycle’s cycle time

Uniform servicing time in ms0.0 to 25.5 ms (unit: 0.1 ms)

Event service time for peripheral port

Same as above.

Event service time for RS-232C port

Same as above.

Event service time for RS-422A port

Same as above.

Show 24 more labels / short text on this page
Watch Cycle · Time Watch Cycle · Time Watch Cycle · Time · Watch Time · Actual Cycle · Actual Cycle · Actual Cycle · Time · Time · Time · ↓ · ↓ · Power ON · Initialization · Common processes · Program execution · Cycle · (Tasks executed) · time · I/O refreshing · Cyclic refreshing · Peripheral servicing · Module
Page 351 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 351 · click to enlarge
Page 351

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

The default value for each servicing process is 6.25% of the last cycle’s cycle time. In general, it is rec- ommended that the default value be used. Set a uniform servicing time only when peripheral servicing is being delayed because each service process is being spread over several cycles.

also be longer.

(2) The fixed peripheral servicing time setting cannot be changed while the Module is in RUN mode or

MONITOR mode.

Page 352 of the Omron Motion Controller Module (FQM1-CM001) user manual — FQM1-MMP21 Motion Control Modules with Pulse I/O
Page 352 · click to enlarge
Page 352

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Auxiliary Area Allocations by Function

The following tables list the words and bits allocated in the Auxiliary Area by function. These tables provide only an overview of the functionality. Refer to Appendix D Auxiliary Area Allocations for details or a list of allocations by address.

Motion Control Modules

Allocations That Are the Same for All Modules

Address Bits Name Function Controlled by

A202 00 Motion Control Module slot 1

ON if the Motion Control Module is in slot 1. Module

01 Motion Control Module slot 2

ON if the Motion Control Module is in slot 2.

02 Motion Control Module slot 3

ON if the Motion Control Module is in slot 3.

03 Motion Control Module slot 4

ON if the Motion Control Module is in slot 4.

FQM1-MMP21 Motion Control Modules with Pulse I/O

Address Bits Name Function Controlled by

A600 00 to 15 High-speed Counter 1 PV Range: 8000 0000 to 7FFF FFFF Note For a Linear Counter, high-speed counter over- flows/underflows are checked when the PV is read (i.e., when Module internal I/O is refreshed).

A601 00 to 15

A602 00 to 15 High-speed Counter 2 PV

A603 00 to 15

00 to 15 High- speed Counter 1

  • For following counter modes
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

PV of abso- lute number of rotations

Contains the number of rotations data (PV) read from the Encoder when the SEN signal is input to the Servo Driver. 8000 0000 to 7FFF FFFF hex

  • For following counter modes
  • Linear counter
  • Circular counter
  • Monitor data
  • When monitoring counter movements (mode 1), contains the absolute value of the amount of change in the PV of the high-speed counter over the specified sampling time as a 8-digit hexadecimal value (0000 0000 to FFFF FFFF hex).
  • When monitoring the counter frequency (mode 2), contains the frequency of the high-speed counter calculated from the PV of the high-speed counter between 0 and 7A120 hex (0 and 500 kHz).

00 to 15 High- speed Counter 2

  • For following counter modes
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

PV of abso- lute number of rotations

Same as for A604 and A605 for high-speed counter 1 except that measuring the high-speed counter fre- quency is not possible for high-speed counter 2.

  • For following counter modes
  • Linear counter
  • Circular counter
Show 4 more labels / short text on this page
Module · A604 to A605 · A606 to A607 · Monitor data
Page 353 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 353 · click to enlarge
Page 353

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A608 00 High-speed counter 1 status

Target Compar- ison In- progress Flag

OFF: Target value comparison is not being performed for CTBL(882). Note This flag is always OFF for range comparison. ON: Target value comparison is being performed for CTBL(882). Note Target comparison is continued without interruption once it has been started (as opposed to range comparison), so this flag can be used to check whether target comparison is in progress.

01 PV Overflow/ Underflow Flag

OFF: There is no counter overflow or underflow in Linear Counter Mode. This flag will always be OFF in Circular Counter Mode. ON: There is a counter overflow or underflow in Linear Counter Mode. The counter PV will be fixed at the overflow or underflow limit. This flag will be cleared when the High-speed Counter Start Bit is turned OFF.

03 Phase Z Input Reset Flag (ON for one cycle)

ON for one cycle when the counter PV is reset with the counter reset method set to a phase Z + software reset. Note This flag will turn ON for one cycle after the counter PV is reset if the phase Z signal (reset input) turns ON while the High- speed Counter Reset Bit (A610.01) is ON.

04 Absolute No. of Rotations Read Error Flag

OFFNo error ON: Error

05 Absolute No. of Rotations Read Completed Flag

OFF: Rotations being read or reading has not been executed. ON: Reading has been completed (Turned ON when serial recep- tion of the number of rotations has been completed.)

06 Measuring Flag (measurement mode 1 or 2)

OFF: Changes in the counter PV or the counter frequency is not being measured. ON: Changes in the counter PV or the counter frequency is being measured. In measurement mode 1, this flag will turn ON at the beginning of the sampling time after the Measurement Start Bit (A610.02) is turned ON. Note Valid when Counter Data Display in System Setup is set to Counter Movements (mode 1) or Frequency (mode 2).

07 High-speed Counter Oper- ating Flag

OFF: Counter is not operating. ON: Counter is operating.

08 Count Latched Flag

OFF: Count has not been latched. ON: Latching the count has been completed for the latch input.

09 to 11 Reserved ---

12 Absolute Off- set Preset Error Flag

OFF: No error occurred when saving the absolute offset. ON: An error occurred when saving the absolute offset.

13 to 15 Reserved ---

by · Module · 02 Reserved ---

Page 354 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 354 · click to enlarge
Page 354

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A609 00 High-speed counter 2 status

Target Compar- ison In- progress Flag

Same as for high-speed counter 1. Module

01 PV Overflow/ Underflow Flag

03 Phase Z Input Reset Flag (ON for one cycle)

04 Absolute No. of Rotations Read Error Flag

05 Absolute No. of Rotations Read Completed Flag

06 Measuring Flag (measurement mode 1 or 2)

07 High-speed Counter Oper- ating Flag

08 Count Latched Flag

09 to 11 Reserved

12 Absolute Off- set Preset Error Flag

13 to 15 Reserved

by · 02 Reserved

Page 355 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 355 · click to enlarge
Page 355

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A610 00 High-speed counter 1 com- mand bits

Start Bit OFF: Stops counter operation. The counter PV will be maintained. ON: Starts counter operation. The counter PV will not be reset.

01 Reset Bit OFF: If a software reset is set in the System Setup, the counter PV will not be reset when internal I/O is refreshed in the Motion Con- trol Module. If a phase Z + software reset is set, disables the phase Z input. ON: If a software reset is set in the System Setup, resets the counter PV to 0 when internal I/O is refreshed in the Motion Control Module. If a phase Z + software reset is set, enables the phase Z input.

02 Measurement Start Bit

OFF: Disables measuring changes in counter PV or the counter frequency. ON: Starts measuring changes in counter PV or the counter fre- quency. Note Measuring the high-speed counter frequency is possible only for high-speed counter 1. Note Valid when Counter Data Display in System Setup is set to Counter Movements (mode 1) or Frequency (mode 2).

03 Measurement Direction Bit (measurement mode 2)

OFF: Forward (up) ON: Reverse (down) This bit specifies the up/down direction of the pulse input for fre- quency measurement. Note Always set this bit before turning ON the Measurement Start Bit.

04 Range Com- parison Results Clear Bit

OFF: Does not clear the execution results (A612) or output bit pat- tern (A613) from CTBL(882) execution for range comparison for the counter. ON: Clears the execution results (A612) or output bit pattern (A613) from CTBL(882) execution for range comparison for the counter.

05 Absolute Off- set Preset Bit

OFF: Does not preset the offset. OFF to ON: Stores the number of multi-turns read from the Servo Driver and the number of initial incremental pulses as an offset in the Absolute Offset value in the System Setup. When establishing the machine origin, the position from the abso- lute encoder origin is set as the Absolute Offset in the System Setup as the machine origin.

06 Absolute Present Value Preset Bit

OFF: Disables the absolute present value preset. OFF to ON: Stores the Absolute PV in the counter 1 PV (A600 and A601). Note Refer to 7-7-6 Absolute Present Value for details on the absolute PV.

07 Absolute Num- ber of Rota- tions Read Bit

OFF: Disables reading the number of rotations data from the Servo Driver. OFF to ON: Outputs the SEN output to the Servo Driver and receives the number of rotations data on the phase A input.

08 Latch Input 1 Enable Bit

OFF: Disables the exterior latch input 1 signal. ON: Enables the exterior latch input 1 signal.

09 Latch Input 2 Enable Bit

OFF: Disables the exterior latch input 2 signal. ON: Enables the exterior latch input 2 signal.

10 to 15 Reserved ---

by · User

Page 356 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 356 · click to enlarge
Page 356

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A611 00 High-speed counter 2 com- mand bits

Start Bit Same as command bits for high-speed counter 1. User

02 Measurement Start Bit

04 Range Com- parison Results Clear Bit

05 Absolute Off- set Preset Bit

06 Absolute Present Value Preset Bit

07 Absolute Num- ber of Rota- tions Read Bit

08 Latch Input 1 Enable Bit

09 Latch Input 2 Enable Bit

10 to 15 Reserved

A612 00 to 15 High-speed counter 1 moni- tor data

Range Com- parison Execu- tion Results Flags

Contains the CTBL(882) execution results for range comparison. Bits 00 to 15 correspond to ranges 1 to 16. OFF: No match ON: Match

A613 00 to 15 Output Bit Pat- tern

Contains the output bit pattern when a match is found for CTBL(882) execution results for range comparison Note If more than one match is found, an OR of the output bit pat- terns with matches will be stored here.

A614 00 to 15 High-speed counter 2 moni- tor data

Same as for high-speed counter 1 monitor data.

A615 00 to 15 Output Bit Pat- tern

Show 5 more labels / short text on this page
by · 01 Reset Bit · 03 Reserved · Module · Range Com- parison Results
Page 357 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 357 · click to enlarge
Page 357

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

00 to 15 Pulse Output 1 PV Note This item applies when the operation mode is relative pulse output, absolute pulse output in linear mode, absolute pulse out- put in circular mode, or elec- tronic cam mode.

Contains the pulse output PV as an 8-digit hexadecimal number. Relative mode: 00000000 to FFFFFFFF hex Absolute linear mode: 80000000 to 7FFFFFFF hex Absolute circular mode: 00000000 to circular maximum count

One-shot Pulse Output 1 ON Time Note This item applies when the operation mode is one-shot out- put mode.

Contains the time that the one-shot pulse output has been ON as an 8-digit hexadecimal number. 0000 0000 to 0000 270F (unit: set by STIM(980))

Pulse Time Measurement 1 Note This item applies when the operation mode is time measure- ment mode using a pulse counter.

Contains the time measured by the pulse counter as an 8-digit hexadecimal number. 0000 0000 to FFFF FFFF hex (unit: set by STIM(980))

00 to 15 Pulse Output 2 PV Same as for Pulse Output 1 PV.

One-shot Pulse Output 2 ON Time

Same as for One-shot Pulse Output 1 ON time.

Pulse Time Measurement 2 Same as for Pulse Time Measurement 1.

A624 00 Pulse Output 1 Status

Pulse Output Completed Flag

OFF: Pulse output not completed (OFF during pulse output). ON: Pulse output completed (ON when pulse distribution has been completed).

01 Pulse Output Set Flag

OFF: Pulse output amount not set by PULS(886). ON: Pulse output amount set by PULS(886).

02 Target Fre- quency Not Reached Flag

OFF: Target speed has been reached during pulse output for PLS2(887). ON: Decelerated before reaching the target speed during pulse output for PLS2(887).

03 Target Compar- ison Flag

OFF: Comparison stopped. ON: Comparison in progress.

04 Independent Pulse Output Flag

OFF: Pulses not being output or being output continuously. ON: Pulses being output.

05 PLS2 Position- ing Flag

OFF: Not positioning. ON: Positioning in progress.

06 Accelerating/ Decelerating Flag

OFF: No output or constant-speed output. ON: Acceleration or deceleration in progress for ACC(888) or PLS2(887).

07 Pulse Output Flag

OFF: Pulse output stopped. ON: Pulse output in progress.

08 to 15 Reserved ---

A625 00 Pulse Output 2 Status

Pulse Output Completed Flag

Same as for Pulse Output 1 Status.

01 Pulse Output Set Flag

02 Target Fre- quency Not Reached Flag

03 Target Compar- ison Flag

04 Independent Pulse Output Flag

05 PLS2 Position- ing Flag

06 Accelerating/ Decelerating Flag

07 Pulse Output Flag

08 to 15 Reserved

Show 4 more labels / short text on this page
by · A620 to A621 · Module · A622 to A623
Page 358 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 358 · click to enlarge
Page 358

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A626 00 Pulse Output 1 Command Bits

PV Reset Bit OFF: Pulse output 1 PV not reset. ON: Resets pulse output 1 PV.

01 Range Com- parison Results Clear Bit

OFF: Does not clear the execution results (A630) or output bit pat- tern (A631) from CTBL(882) execution for range comparison for the pulse output PV. ON: Clears the execution results (A630) or output bit pattern (A631) from CTBL(882) execution for range comparison for the pulse output PV.

02 to 15 Reserved ---

A627 00 Pulse Output 2 Command Bits

PV Reset Bit Same as for Pulse Output 1 Command Bits.

01 Range Com- parison Results Clear Bit

02 to 15 Reserved

A628 00 to 06 Pulse Output Control Bits (Apply to both pulse outputs 1 and 2.)

07 Speed Change Cycle Bit

OFF: Sets the speed change cycle to 2 ms during pulse output for ACC(888) or PLS2(887). ON: Sets the speed change cycle to 1 ms during pulse output for ACC(888) or PLS2(887).

08 to 13 Reserved ---

14 PLS2 Pulse Output Direc- tion Priority Mode Bit

OFF: Sets Direction Priority Mode. In Direction Priority Mode, pulses are output only when the pulse output direction and the direction of the specified absolute position are the same. ON: Sets Absolute Position Priority Mode. In Absolute Position Priority Mode, pulses are always output in the direction of the specified absolute position.

A629 00 to 15 Reserved --- --- ---

A630 00 to 15 Pulse Output 1 Monitor Data

Contains the CTBL(882) execution results for range comparison. Bits 00 to 15 correspond to ranges 1 to 16. OFF: No match ON: Match

A631 00 to 15 Output Bit Pat- tern

Contains the output bit pattern when a match is found for CTBL(882) execution results for range comparison Note If more than one match is found, an OR of the output bit pat- terns with matches will be stored here.

A632 00 to 15 Pulse Output 2 Monitor Data

Same as for Pulse Output 1 Monitor Data.

A633 00 to 15 Output Bit Pat- tern

Show 7 more labels / short text on this page
by · User · Reserved --- · 15 Reserved --- · Range Com- parison Results · Module · Range Com- parison Results
Page 359 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 359 · click to enlarge
Page 359

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

FQM1-MMA21 Motion Control Modules with Analog I/O

Address Bits Name Function Controlled

  • A550 00 to 15 Analog Input PV Contains the value input from the analog input port (using either the END refresh or immediate refresh) in 4-digit hexadecimal. The PV range depends on the input range:
  • 0 to 10 V: FE70 to 20D0 hex
  • 0 to 5 V or 1 to 5 V: FF38 to 1068 hex
  • − 10 to 10 V: DDA0 to 2260 hex

A552 00 Analog Input Sta- tus

OFFNot adjusted ON: Adjustment completed

01 to 06 Reserved

07 Analog Sampling Started OFFNot started
ONStarted

08 Factory Adjustment Data Error

OFFNo Error ON: Error (Checked at power ON.)

09 User Adjustment Data Error

OFFNo Error ON: Error (Checked at power ON.)

10 to 14 Reserved

15 Analog Sampling Overlap OFFNormal sampling

ON: The next sampling operation occurred before the present sampling operation completed.

A559 01 to 15 Number of Analog Samples

Indicates the number of data samples actually input since sampling started.

A560 00 to 15 Analog Output 1 Output Value

  • When an END refresh is selected, the 4-digit hexadecimal value set here by the user is output from analog output port 1. When immediate refreshing is selected, the 4-digit hexadecimal value being output from analog output port 1 is stored here for monitoring. The output value range depends on the output range, as shown below.
  • 0 to 10 V, 0 to 5 V or 1 to 5 V: FF38 to 1068 hex
  • − 10 to 10 V: EA84 to 157C hex Note 1. Set the analog output method (END or immediate refreshing) with the System Setup’s output method setting. A setting of 0 hex specifies an END refresh. This setting applies to both analog output 1 and 2. 2. Specify the output range with the output 1 setting.
With immediate refreshModule With END refresh: User

A561 00 to 15 Analog Output 2 Output Value

This word has the same settings as the analog output 1 output value (A560), above. (When an END refresh is selected, set the value to output from analog output port 2. When an immediate refresh is selected, the output value is stored here for monitoring.) Note 1. Set the analog output method (END or immediate refresh) with the System Setup’s output method setting. A setting of 0 hex specifies an END refresh. This setting applies to both analog output 1 and 2. 2. Specify the output range with the output 2 setting.

by · Module · User Adjustment Com- pleted

Page 360 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 360 · click to enlarge
Page 360

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A562 00 Analog Output 1 Flags

Initial value is 0. Set to 1 if user performs offset/gain adjustment and Returns to factory default setting of 0 if adjustment value is cleared.

01 to 03 Reserved ---

04 Operating ON: ON while the analog output is being changed by ACC(888). OFF: Turned OFF when target value is reached.

05 to 07 Reserved ---

08 Output SV Error ON: ON when the output SV setting is outside of the allowed setting range. OFF: OFF when the output SV is within range. Note Only for END refresh.

09 to 11 Reserved ---

12 Factory Adjustment Value Error

ON: ON when the factory-set data stored in flash memory is invalid. OFF: OFF when the factory-set data stored in flash memory is normal.

14 User Adjustment Value Error

ON: ON when the user-set adjustment value stored in flash memory is invalid. OFF: OFF when the user-set adjustment value stored in flash memory is normal.

A563 00 Analog Output 2 Flags

Same as for Analog Output 1 Flags.

01 to 03 Reserved

05 to 07 Reserved

08 Output SV Error

09 to 11 Reserved

12 Factory Adjustment Value Error

14 User Adjustment Value Error

Show 9 more labels / short text on this page
by · User Adjustment Com- pleted · Module · 13 Reserved --- · 15 Reserved --- · User Adjustment Com- pleted · 04 Operating · 13 Reserved · 15 Reserved
Page 361 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 361 · click to enlarge
Page 361

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled by

A564 00 Analog Output 1 Conversion Enable Bit

ON: Enables D/A conversion (enables analog output). OFF: Disables DA conversion (analog values output according to Output Stop Function specification in Sys- tem Setup). Note This bit is cleared when the Modules operating mode is changed between RUN or MONITOR mode and PROGRAM mode.

01 to 15 Reserved --- ---

A565 00 Analog Output 2 Conversion Enable Bit

ON: Enables D/A conversion (enables analog output). OFF: Disables DA conversion (analog values output according to Output Stop Function specification in Sys- tem Setup). Note This bit is cleared when the Modules operating mode is changed between RUN or MONITOR mode and PROGRAM mode.

01 to 15 Reserved --- ---

A570 00 Adjustment Mode Command Bits (Effective only when A575 is 5A5A hex.)

Adjustment Enable Analog Input OFF: Adjustment disabled. ON: Adjustment enabled. When one of these bits is turned ON, the default value (offset or gain value) corresponding to the selected I/O signal range is transferred to Adjustment Mode Monitor Area (A572 and A573).

02 Analog Out- put 1

03 Analog Out- put 2

04 to 06 Reserved

07 Adjustment Mode Specifier

OFFOffset adjustment ON: Gain adjustment

08 to 11 Reserved

12 Adjustment Value Increment

While this bit is ON, the offset or gain value will be incremented by one resolution unit each 0.5 ms.

13 Adjustment Value Decrement

While this bit is ON, the offset or gain value will be dec- remented by one resolution unit each 0.5 ms.

14 Adjustment Value Clear

OFF to ON: Clears the adjustment data to the factory defaults.

15 Adjustment Value Set

OFF to ON: Reads the present value in the Adjustment Mode Monitor Area (A572 and A573) and saves this value to flash memory. This adjustment value will be used for the next normal mode operation.

A571 00 Adjustment Mode Status

ON when an operational error has been made, such as turning ON both the Analog Input and Analog Output 2 Adjustment Enable Bits at the same time.

01 to 14 Reserved

15 Adjustment Mode Started

ON during adjustment mode operation (when A575 contains 5A5A hex).

  • − 10 to 10 V: FE0C to 01F4 hex
  • 0 to 10 V, 0 to 5 V, 1 to 5 V: FF38 to 00C8 hex

A572 00 to 15 Adjustment Mode Monitor (Effective only when A575 is 5A5A hex.)

Both Analog Input and Analog Out- puts

The values in these words can be over- written directly, with- out using the Adjustment Value Incre- ment/Decre- ment Bits.

A573 00 to 15 Gain Value Monitor

  • − 10 to 10 V: 1194 to 157C hex
  • 0 to 10 V, 0 to 5 V, 1 to 5 V: 0ED8 to 1068 hex

A574 00 to 15 Analog Inputs Number of Average Value Sam- ples in Adjust- ment Mode

Indicates the number of values to be averaged to obtain the Offset/Gain Value Monitor values in adjustment mode. The number of samples can be set between 0000 and 0040 hex (0 to 64). Set this parameter before turning ON the Adjustment Enable Bit.

A575 00 to 15 Adjustment Mode Password 5A5A hex: Adjustment mode enabled. Other value: Adjustment mode disabled.

Show 10 more labels / short text on this page
User · User · User · 01 Reserved · Adjustment Opera- tion Error · Module · Setting Off- set Monitor · Module/User · User · User
Page 362 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 362 · click to enlarge
Page 362

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled by

A600 00 to 15 High-speed Counter 1 PV Range: 8000 0000 to 7FFF FFFF Note For a Linear Counter, high-speed counter over- flows/underflows are checked when the PV is read (i.e., when Module internal I/O is refreshed).

A601 00 to 15

A602 00 to 15 High-speed Counter 2 PV

A603 00 to 15

00 to 15 High- speed Counter 1

  • For following counter modes
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

PV of abso- lute number of rotations

Contains the number of rotations data (PV) read from the Encoder when the SEN signal is input to the Servo Driver. 8000 0000 to 7FFF FFFF hex

  • For following counter modes
  • Linear counter
  • Circular counter
  • Monitor data
  • When monitoring counter movements (mode 1), contains the absolute value of the amount of change in the PV of the high-speed counter over the specified sampling time as a 8-digit hexadecimal value (0000 0000 to FFFF FFFF hex).
  • When monitoring the counter frequency (mode 2), contains the frequency of the high-speed counter calculated from the PV of the high-speed counter between 0 and 7A120 hex (0 and 500 kHz).

00 to 15 High- speed Counter 2

  • For following counter modes
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

PV of abso- lute number of rotations

Same as for A604 and A605 for high-speed counter 1 except that measuring the high-speed counter fre- quency is not possible for high-speed counter 2.

  • For following counter modes
  • Linear counter
  • Circular counter
Show 4 more labels / short text on this page
Module · A604 to A605 · A606 to A607 · Monitor data
Page 363 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 363 · click to enlarge
Page 363

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A608 00 High-speed counter 1 status

Target Compar- ison In- progress Flag

OFF: Target value comparison is not being performed for CTBL(882). Note This flag is always OFF for range comparison. ON: Target value comparison is being performed for CTBL(882). Note Target comparison is continued without interruption once it has been started (as opposed to range comparison), so this flag can be used to check whether target comparison is in progress.

01 PV Overflow/ Underflow Flag

OFF: There is no counter overflow or underflow in Linear Counter Mode. This flag will always be OFF in Circular Counter Mode. ON: There is a counter overflow or underflow in Linear Counter Mode. The counter PV will be fixed at the overflow or underflow limit. This flag will be cleared when the High-speed Counter Start Bit is turned OFF.

03 Phase Z Input Reset Flag (ON for one cycle)

ON for one cycle when the counter PV is reset with the counter reset method set to a phase Z + software reset. Note This flag will turn ON for one cycle after the counter PV is reset if the phase Z signal (reset input) turns ON while the High- speed Counter Reset Bit (A610.01) is ON.

04 Absolute No. of Rotations Read Error Flag

OFFNo error ON: Error

05 Absolute No. of Rotations Read Completed Flag

OFF: Rotations being read or reading has not been executed. ON: Reading has been completed (Turned ON when serial recep- tion of the number of rotations has been completed.)

06 Measuring Flag (measurement mode 1 or 2)

OFF: Changes in the counter PV or the counter frequency is not being measured. ON: Changes in the counter PV or the counter frequency is being measured. In measurement mode 1, this flag will turn ON at the beginning of the sampling time after the Measurement Start Bit (A610.02) is turned ON. Note Valid when Counter Data Display in System Setup is set to Counter Movements (mode 1) or Frequency (mode 2).

07 High-speed Counter Oper- ating Flag

OFF: Counter is not operating. ON: Counter is operating.

08 Count Latched Flag

OFF: Count has not been latched. ON: Latching the count has been completed for the latch input.

09 to 11 Reserved ---

12 Absolute Off- set Preset Error Flag

OFF: No error occurred when saving the absolute offset. ON: An error occurred when saving the absolute offset.

13 to 15 Reserved ---

by · Module · 02 Reserved ---

Page 364 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 364 · click to enlarge
Page 364

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A609 00 High-speed counter 2 status

Target Compar- ison In- progress Flag

Same as for high-speed counter 1. Module

01 PV Overflow/ Underflow Flag

03 Phase Z Input Reset Flag (ON for one cycle)

04 Absolute No. of Rotations Read Error Flag

05 Absolute No. of Rotations Read Completed Flag

06 Measuring Flag (measurement mode 1 or 2)

07 High-speed Counter Oper- ating Flag

08 Count Latched Flag

09 to 11 Reserved

12 Absolute Off- set Preset Error Flag

13 to 15 Reserved

by · 02 Reserved

Page 365 of the Omron Motion Controller Module (FQM1-CM001) user manual — System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C
Page 365 · click to enlarge
Page 365

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A610 00 High-speed counter 1 com- mand bits

Start Bit OFF: Stops counter operation. The counter PV will be maintained. ON: Starts counter operation. The counter PV will not be reset.

01 Reset Bit OFF: If a software reset is set in the System Setup, the counter PV will not be reset when internal I/O is refreshed in the Motion Con- trol Module. If a phase Z + software reset is set, disables the phase Z input. ON: If a software reset is set in the System Setup, resets the counter PV to 0 when internal I/O is refreshed in the Motion Control Module. If a phase Z + software reset is set, enables the phase Z input.

02 Measurement Start Bit

OFF: Disables measuring changes in counter PV or the counter frequency. ON: Starts measuring changes in counter PV or the counter fre- quency. Note Measuring the high-speed counter frequency is possible only for high-speed counter 1. Note Valid when Counter Data Display in System Setup is set to Counter Movements (mode 1) or Frequency (mode 2).

03 Measurement Direction Bit (measurement mode 2)

OFF: Forward (up) ON: Reverse (down) This bit specifies the up/down direction of the pulse input for fre- quency measurement. Note Always set this bit before turning ON the Measurement Start Bit.

04 Range Com- parison Results Clear Bit

OFF: Does not clear the execution results (A612) or output bit pat- tern (A613) from CTBL(882) execution for range comparison for the counter. ON: Clears the execution results (A612) or output bit pattern (A613) from CTBL(882) execution for range comparison for the counter.

05 Absolute Off- set Preset Bit

OFF: Does not preset the offset. OFF to ON: Stores the number of multi-turns read from the Servo Driver and the number of initial incremental pulses as an offset in the Absolute Offset value in the System Setup. When establishing the machine origin, the position from the abso- lute encoder origin is set as the Absolute Offset in the System Setup as the machine origin.

06 Absolute Present Value Preset Bit

OFF: Disables the absolute present value preset. OFF to ON: Stores the Absolute PV in the counter 1 PV (A600 and A601). Note Refer to 7-7-6 Absolute Present Value for details on the absolute PV.

07 Absolute Num- ber of Rota- tions Read Bit

OFF: Disables reading the number of rotations data from the Servo Driver. OFF to ON: Outputs the SEN output to the Servo Driver and receives the number of rotations data on the phase A input.

08 Latch Input 1 Enable Bit

OFF: Disables the external latch input 1 signal. ON: Enables the external latch input 1 signal.

09 Latch Input 2 Enable Bit

OFF: Disables the external latch input 2 signal. ON: Enables the external latch input 2 signal.

10 to 15 Reserved ---

by · User

Page 366 of the Omron Motion Controller Module (FQM1-CM001) user manual — Input Interrupts
Page 366 · click to enlarge
Page 366

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled

A611 00 High-speed counter 2 com- mand bits

Start Bit Same as command bits for high-speed counter 1. User

02 Measurement Start Bit

04 Range Com- parison Results Clear Bit

05 Absolute Off- set Preset Bit

06 Absolute Present Value Preset Bit

07 Absolute Num- ber of Rota- tions Read Bit

08 Latch Input 1 Enable Bit

09 Latch Input 2 Enable Bit

10 to 15 Reserved

A612 00 to 15 High-speed counter 1 moni- tor data

Range Com- parison Execu- tion Results Flags

Contains the CTBL(882) execution results for range comparison. Bits 00 to 15 correspond to ranges 1 to 16. OFF: No match ON: Match

A613 00 to 15 Output Bit Pat- tern

Contains the output bit pattern when a match is found for CTBL(882) execution results for range comparison Note If more than one match is found, an OR of the output bit pat- terns with matches will be stored here.

A614 00 to 15 High-speed counter 2 moni- tor data

Same as for high-speed counter 1 monitor data.

A615 00 to 15 Output Bit Pat- tern

Allocations Related to Built-in Inputs

Input Interrupts

Address Bits Name Function Controlled by

A520 00 to 15 Interrupt Counter 0 Counter SV

Used for interrupt input 0 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 000 will start when interrupt counter 0 has counted this number of pulses. Setting range: 0000 to FFFF

A521 00 to 15 Interrupt Counter 1 Counter SV

Used for interrupt input 1 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 001 will start when interrupt counter 1 has counted this number of pulses. Setting range: 0000 to FFFF

A522 00 to 15 Interrupt Counter 2 Counter SV

Used for interrupt input 2 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 002 will start when interrupt counter 2 has counted this number of pulses. Setting range: 0000 to FFFF

A523 00 to 15 Interrupt Counter 3 Counter SV

Used for interrupt input 3 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 003 will start when interrupt counter 3 has counted this number of pulses. Setting range: 0000 to FFFF

Show 6 more labels / short text on this page
by · 01 Reset Bit · 03 Reserved · Module · Range Com- parison Results · User
Page 367 of the Omron Motion Controller Module (FQM1-CM001) user manual — Error Log and Error Code
Page 367 · click to enlarge
Page 367

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled by

A524 00 to 15 Interrupt Counter 0 Counter PV

These words contain the interrupt counter PVs for interrupt input 0 to 3 operating in counter mode. The counter PV starts decrementing from the counter SV. When the counter PV reaches the 0, the PV is automatically reset to the SV. Range: 0000 to FFFF

A525 00 to 15 Interrupt Counter 1 Counter PV

A526 00 to 15 Interrupt Counter 2 Counter PV

A527 00 to 15 Interrupt Counter 3 Counter PV

Allocations That Are the Same for the Coordinator Module and Motion Control Modules

System Flags

Address Bits Name Function Controlled by

00 to 15 Subroutine Input Condi- tion Flags

These flags contain the status of the input condition for JSB(982) when JSB(982) is used to call a subroutine.

A000 00 to 15 SBN000 to SBN015

A001 00 to 15 SBN016 to SBN031

A002 00 to 15 SBN032 to SBN047

A015 00 to 15 SBN240 to SBN255

00 to 15 Maximum Cycle Time These words store the maximum cycle time every cycle. The cycle time is recorded in 8-digit hexadecimal (unit: 0.01 ms).

00 to 15 Present Cycle Time These words store the present cycle time every cycle in 8-digit hexa- decimal (unit: 0.01 ms).

Program Error Flags

Address Bits Name Function Controlled by

A401 09 Program Error Flag (fatal error)

ON when program contents are incorrect. Module operation will stop.

A405 11 No END Error Flag ON when there isn’t an END(001) instruction in each program within a task.

12 Task Error Flag ON when a task error has occurred. The following conditions generate a task error. There isn’t a program allocated to the task.

13 Differentiation Overflow Error Flag

The allowed value for Differentiation Flags which correspond to differ- entiation instructions has been exceeded.

14 Illegal Instruction Error Flag

ON when a program that cannot be executed has been stored.

15 UM Overflow Error Flag ON when the last address in UM (User Memory) has been exceeded.

Other Error Flags and Bits

Error Log and Error Code

Address Bits Name Function Controlled by

00 to 15 Error Log Area When an error has occurred, the error code and error contents are stored in the Error Log Area.

A408 00 to 15 Error Log Pointer When an error occurs, the Error Log Pointer (binary) is incremented by 1 to indicate the location where the next error will be recorded as an offset from the beginning of the Error Log Area (A100 to A199).

Show 11 more labels / short text on this page
Module · A000 to A015 · Module · Address Corresponding subroutines · Word Bits · to to to · A206 to A207 · A208 to A209 · Module · A100 to A199 · Module
Page 368 of the Omron Motion Controller Module (FQM1-CM001) user manual — Module Errors
Page 368 · click to enlarge
Page 368

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Address Bits Name Function Controlled by

A500 14 Error Log Pointer Reset and Memory Not Held Flag OFF Bit

The error log pointer in A408 is reset to 0000 hex and Memory Not Held Flag (A404.14) is turned OFF when this bit is turned ON.

A400 00 to 15 Error code When a non-fatal error (user-defined FAL(006) or system error) or a fatal error (user-defined FALS(007) or system error) occurs, the hexa- decimal error code is written to this word.

FAL/FALS Errors

Address Bits Name Function Controlled by

A401 06 FALS Error Flag (fatal error)

Turns ON when a non-fatal error is generated by the FALS(006) instruction. The FQM1 will stop operating.

A402 15 FAL Error Flag (non-fatal error)

Turns ON when a non-fatal error is generated by executing FAL(006). The FQM1 will continue operating.

Memory Errors

Address Bits Name Function Controlled by

A401 15 Memory Error Flag (fatal error)

Turns ON when there is an error in the memory. FQM1 operation will stop and the ERR indicators on the front of the Modules will light.

A403 00 UM Error Flag Turns ON when there is an error in the user memory.

04 System Setup Error Flag

Turns ON when there is an error in the System Setup in the Coordina- tor Module or Motion Control Module.

10 Flash Memory Error Flag

Turns ON when the flash memory is physically destroyed.

13 Analog Offset/Gain Error Flag

Turns ON when there is an error in the analog I/O offset/gain adjust- ment value in flash memory.

14 Flash Memory DM Checksum Error Flag

Turns ON when there is an error in the DM Area data backed up in flash memory in the Coordinator Module.

A404 14 Memory Not Held Flag Turns ON when corruption is found in the check performed after turn- ing ON power in the areas backed up during power interruptions (DM Area (Coordinator Module only) and Error Log Area).

System Setup

Address Bits Name Function Controlled by

A402 10 System Setup Error Flag

Turns ON when there is a setting error in the System Setup. Module

A409 00 to 15 System Setup Error Location

When there is a setting error in the System Setup, the location of that error is written to A409 in 4-digit hexadecimal.

I/O Errors

Address Bits Name Function Controlled by

A401 10 I/O Setting Error Flag Turns ON when more than four Motion Control Modules are connected to the Coordinator Module.

Module Errors

Address Bits Name Function Controlled by

A402 05 Motion Control Module Monitoring Error Flag (Coordinator Module only)

Turns ON in the Coordinator Module when a system error, such as a WDT error, occurs in any of the Motion Control Modules.

13 Coordinator Module WDT Error Flag (Motion Control Modules only)

Turns ON in the Motion Control Modules when a WDT error occurs in the Coordinator Module.

14 Coordinator Module Fatal Error Flag (Motion Control Modules only)

Turns ON in the Motion Control Modules when a fatal error occurs in the Coordinator Module.

Show 6 more labels / short text on this page
User · Module · Module · Module · Module · Module
Page 369 of the Omron Motion Controller Module (FQM1-CM001) user manual — Peripheral Port
Page 369 · click to enlarge
Page 369

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Other

Address Bits Name Function Controlled by

A401 08 Cycle Time Too Long Flag (fatal error)

Turns ON if the cycle time exceeds the maximum cycle time set in the System Setup (the Watch Cycle Time).

A404 05 Constant Cycle Time Exceeded Flag

Turns ON when the actual cycle time exceeds the specified constant (minimum) cycle time.

06 Sync Cycle Time Too Long Flag

Turns ON when one of the Modules exceeds the specified sync cycle time. (Coordinator Module only)

A509 15 Constant Cycle Time Exceeded Error Clear Bit

Used to enable the constant cycle time function again after the con- stant cycle time has been exceeded.

Allocations Related to DM Data Transfer (Coordinator Module Only)

Address Bits Name Function Controlled by

A530 00 DM Write Request Bit (Coordinator Module to Motion Control Module)

DM data transfer is executed from the Coordinator Module to Motion Control Module when this bit turns ON.

01 DM Read Request Bit (Motion Control Module to Coordinator Module)

DM data transfer is executed from the Motion Control Module to Coor- dinator Module when this bit turns ON.

A531 00 to 15 Slot No. of Motion Con- trol Module for DM Transfer

Specifies the slot number (in 4-digit hexadecimal) for the Motion Con- trol Module with which DM data is to be transferred. 0001: Motion Control Module #1 0002: Motion Control Module #2 0003: Motion Control Module #3 0004: Motion Control Module #4

A532 00 to 15 DM Transfer Size (num- ber of words)

Specifies the size, in number of words, of the DM data to be trans- ferred. 0001 to 01F3 hex (1 to 499 words)

A533 00 to 15 First DM Transfer Source Word

Specifies the first address of the DM transfer source in the Coordinator Module or Motion Control Module. 0000 to 7FFF hex

A534 00 to 15 First DM Transfer Desti- nation Word

Specifies the first address of the DM transfer destination in the Coordi- nator Module or Motion Control Module. 0000 to 7FFF hex

A535 14 Transfer Error Flag Turns ON when a DM data transfer error occurs.

15 Transfer Busy Flag Turns ON during DM data transfer and turns OFF when the transfer has been completed.

Communications

Peripheral Port

Address Bits Name Function Controlled by

A412 02 to 05 Peripheral Port Error Flags

Indicates the status of the error flags that turn ON when an error has occurred at the peripheral port.

08 Peripheral Port Commu- nications Error Flag

Turns ON when a communications error has occurred at the peripheral port.

15 Peripheral Port Settings Changing Flag

Turns ON while the peripheral port’s communications settings are being changed.

A502 01 Peripheral Port Restart Bit

Turn this bit ON to restart the peripheral port. This bit is turned OFF automatically when the restart processing is completed.

Show 5 more labels / short text on this page
Module · User · User · Module · User
Page 370 of the Omron Motion Controller Module (FQM1-CM001) user manual — Built-in I/O Allocations
Page 370 · click to enlarge
Page 370

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

RS-232C Port

Address Bits Name Function Controlled by

A410 02 to 05 RS-232C Port Error Flags

Indicates the status of the error flags that turn ON when an error has occurred at the RS-232C port.

08 RS-232C Port Commu- nications Error Flag

Turns ON when a communications error has occurred at the RS-232C port.

09 RS-232C Port Send Ready Flag (no-protocol mode)

Turns ON when the RS-232C port is ready to send data in no-protocol mode.

10 RS-232C Port Recep- tion Completed Flag (no-protocol mode)

Turns ON when the RS-232C port has completed the reception in no- protocol mode.

11 RS-232C Port Recep- tion Overflow Flag (no- protocol mode)

Turns ON when a data overflow occurred during reception through the RS-232C port in no-protocol mode.

15 RS-232C Port Settings Changing Flag

Turns ON while the RS-232C port’s communications settings are being changed.

A411 00 to 15 RS-232C Port Recep- tion Counter (no-proto- col mode)

Indicates (in binary) the number of bytes of data received when the RS-232C port is in no-protocol mode.

A502 00 RS-232C Port Restart Bit

Turn this bit ON to restart the RS-232C port. This bit is turned OFF automatically when the restart processing is completed.

RS-422A Port

Address Bits Name Function Controlled by

A414 02 to 05 RS-422A Port Error Flags

Indicates the status the error flags that turn ON when an error has occurred at the RS-422A port.

08 RS-422A Port Commu- nications Error Flag

Turns ON when a communications error has occurred at the RS-422A port.

09 RS-422A Port Send Ready Flag (no-protocol mode)

Turns ON when the RS-422A port is ready to send data in no-protocol mode.

10 RS-422A Port Recep- tion Completed Flag (no-protocol mode)

Turns ON when the RS-422A port has completed the reception in no- protocol mode.

11 RS-422A Port Recep- tion Overflow Flag (no- protocol mode)

Turns ON when a data overflow occurred during reception through the RS-422A port in no-protocol mode.

15 RS-422A Port Settings Changing Flag

Turns ON while the RS-422A port’s communications settings are being changed.

A415 00 to 15 RS-422A Port Recep- tion Counter (no-proto- col mode)

Indicates (in binary) the number of bytes of data received when the RS-422A port is in no-protocol mode.

A502 02 RS-422A Port Restart Bit

Turn this bit ON to restart the RS-422A port. This bit is turned OFF automatically when the restart processing is completed.

Allocations Directly Related to Instructions

Address Bits Name Function Controlled by

A200 11 First Cycle Flag ON for one cycle after FQM1 operation begins. Module

12 Step Flag ON for one cycle when step execution is started with STEP(008).

00 to 15 Macro Area Input Words Before the subroutine specified in MCRO(099) is executed, the con-

tents of the five words specified in the operand to be passed to the subroutine are stored here.

00 to 15 Macro Area Output Words

After the subroutine specified in MCRO(099) has been executed, the results of the subroutine are transferred to these five words.

Built-in I/O Allocations

The Coordinator Module and Motion Control Modules all have built-in I/O. The I/O Area allocations to the con- tacts on the Modules are given in the following tables.

Show 6 more labels / short text on this page
Module · User · Module · User · A510 to A514 · A515 to A519
Page 371 of the Omron Motion Controller Module (FQM1-CM001) user manual — Outputs (26-pin General-purpose I/O Connector)
Page 371 · click to enlarge
Page 371

System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations Appendix C

Coordinator Module Built-in I/O Allocations

Inputs (40-pin General-purpose I/O Connector)

Name I/O Area allocations

External input 0 CIO 0000.00

External input 1 CIO 0000.01

External input 15 CIO 0000.15

Outputs (40-pin General-purpose I/O Connector)

Name I/O Area allocations

External output 0 CIO 0001.00

External output 1 CIO 0001.01

External output 7 CIO 0010.07

Motion Control Module Built-in I/O Allocations

Inputs (26-pin General-purpose I/O Connector)

Name I/O Area allocations

External input 0 (interrupt) CIO 0000.00

External input 1 (interrupt) CIO 0000.01

External input 2 (interrupt) CIO 0000.02

External input 3 (interrupt) CIO 0000.03

External input 11 CIO 0000.11

Outputs (26-pin General-purpose I/O Connector)

Name I/O Area allocations

External output 0 CIO 0001.00

External output 1 CIO 0001.01

External output 7 CIO 0001.07

Show 4 more labels / short text on this page
to to · to to · to to · to to
Page 372 of the Omron Motion Controller Module (FQM1-CM001) user manual — Appendix D
Page 372 · click to enlarge
Page 372

Appendix D

Auxiliary Area Allocations

Auxiliary Area Allocations in Order of Address

The following table lists the Auxiliary Area allocations in order of address. Refer to Auxiliary Area Allocations by Function on page 329 for a list of allocations by function.

Read-only WordsA000 to A447, Read/Write Words: A448 to A649

Address Bits Name Function

00 to 15 Subroutine Input Condition Flags These flags contain the status of the input condition for JSB(982) when JSB(982) is used to call a subroutine.

A000 00 to 15 SBN000 to SBN015

A001 00 to 15 SBN016 to SBN031

A002 00 to 15 SBN032 to SBN047

A015 00 to 15 SBN240 to SBN255

00 to 15 Error Log Area When an error has occurred, the error code and error contents are stored in the Error Log Area.

A200 11 First Cycle Flag ON for one cycle after FQM1 operation begins.

12 Step Flag ON for one cycle when step execution is started with STEP(008).

A202 00 Motion Control Module slot 1 ON if the Motion Control Module is in slot 1.

01 Motion Control Module slot 2 ON if the Motion Control Module is in slot 2.

02 Motion Control Module slot 3 ON if the Motion Control Module is in slot 3.

03 Motion Control Module slot 4 ON if the Motion Control Module is in slot 4.

00 to 15 Maximum Cycle Time These words store the maximum cycle time every cycle. The cycle time is recorded in 8-digit hexadecimal (unit: 0.01 ms).

00 to 15 Present Cycle Time These words stores the present cycle time every cycle in 8-digit hexadecimal (unit: 0.01 ms).

A400 00 to 15 Error code When a non-fatal error (user-defined FAL(006) or system error) or a fatal error (user-defined FALS(007) or system error) occurs, the hexadecimal error code is written to this word.

A401 06 FALS Error Flag (fatal error)

Turns ON when a non-fatal error is generated by the FALS(006) instruction. The FQM1 will stop operating.

08 Cycle Time Too Long Flag (fatal error) Turns ON if the cycle time exceeds the maximum cycle time set in the System Setup (the Watch Cycle Time).

09 Program Error Flag (fatal error)

ON when program contents are incorrect. Module operation will stop.

10 I/O Setting Error Flag Turns ON when more than four Motion Control Modules are con- nected to the Coordinator Module.

14 I/O Bus Error Flag Turns ON when an error occurs in transferring data between the Coordinator Module and Motion Control Modules. Module opera- tion will stop.

15 Memory Error Flag (fatal error) Turns ON when there is an error in the memory. FQM1 operation will stop and the ERR indicators on the front of the Modules will light.

A402 05 Motion Control Module Monitoring Error Flag (Coordinator Module only)

Turns ON in the Coordinator Module when a system error, such as a WDT error, occurs in any of the Motion Control Modules.

10 System Setup Error Flag Turns ON when there is a setting error in the System Setup.

13 Coordinator Module WDT Error Flag (Motion Control Modules only)

Turns ON in the Motion Control Modules when a WDT error occurs in the Coordinator Module.

14 Coordinator Module Fatal Error Flag (Motion Control Modules only)

Turns ON in the Motion Control Modules when a fatal error occurs in the Coordinator Module.

15 FAL Error Flag (non-fatal error)

Turns ON when a non-fatal error is generated by executing FAL(006). The FQM1 will continue operating.

Show 7 more labels / short text on this page
A000 to A015 · Address Corresponding · subroutines Word Bits · to to to · A100 to A199 · A206 to A207 · A208 to A209
Page 373 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 373 · click to enlarge
Page 373

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A403 00 UM Error Flag Turns ON when there is an error in the user memory.

04 System Setup Error Flag Turns ON when there is an error in the System Setup in the Coor- dinator Module or Motion Control Module.

10 Flash Memory Error Flag Turns ON when the flash memory is physically destroyed.

13 Analog Offset/Gain Error Flag Turns ON when there is an error in the analog I/O offset/gain adjustment value in flash memory.

14 Flash Memory DM Checksum Error Flag (Coordinator Module only)

Turns ON when there is an error in the DM Area data backed up in flash memory in the Coordinator Module.

A404 05 Constant Cycle Time Exceeded Flag Turns ON when the actual cycle time exceeds the specified con- stant (minimum) cycle time.

06 Sync Cycle Time Too Long Flag Turns ON when one of the Modules exceeds the specified sync cycle time. (Coordinator Module only)

14 Memory Not Held Flag Turns ON when corruption is found in the check performed after turning ON power in the areas backed up during power interrup- tions (DM Area (Coordinator Module only) and Error Log Area).

A405 11 No END Error Flag ON when there isn’t an END(001) instruction in each program within a task.

12 Task Error Flag ON when a task error has occurred. The following conditions gen- erate a task error. There isn’t a program allocated to the task.

13 Differentiation Overflow Error Flag The allowed value for Differentiation Flags which correspond to differentiation instructions has been exceeded.

14 Illegal Instruction Error Flag ON when a program that cannot be executed has been stored.

15 UM Overflow Error Flag ON when the last address in UM (User Memory) has been exceeded.

A408 00 to 15 Error Log Pointer When an error occurs, the Error Log Pointer (binary) is incre- mented by 1 to indicate the location where the next error will be recorded as an offset from the beginning of the Error Log Area (A100 to A199).

A409 00 to 15 System Setup Error Location When there is a setting error in the System Setup, the location of that error is written to A409 in 4-digit hexadecimal.

A410 02 RS-232C Port Error Flags

Parity Error Flag These error flags turn ON when an error has occurred at the RS- 232C port. 03 Framing Error Flag

04 Overrun Error Flag

05 Timeout Error Flag

08 RS-232C Port Communications Error Flag Turns ON when a communications error has occurred at the RS- 232C port.

09 RS-232C Port Send Ready Flag (no-protocol mode)

Turns ON when the RS-232C port is ready to send data in no-pro- tocol mode.

10 RS-232C Port Reception Completed Flag (no- protocol mode)

Turns ON when the RS-232C port has completed the reception in no-protocol mode.

11 RS-232C Port Reception Overflow Flag (no-pro- tocol mode)

Turns ON when a data overflow occurred during reception through the RS-232C port in no-protocol mode.

15 RS-232C Port Settings Changing Flag Turns ON while the RS-232C port’s communications settings are being changed.

A411 00 to 15 RS-232C Port Reception Counter (no-protocol mode)

Indicates (in binary) the number of bytes of data received when the RS-232C port is in no-protocol mode.

A412 02 Periph- eral Port Error Flags

Parity Error Flag These error flags turn ON when an error has occurred at the peripheral port. 03 Framing Error Flag

04 Overrun Error Flag

05 Timeout Error Flag

08 Peripheral Port Communications Error Flag Turns ON when a communications error has occurred at the peripheral port.

15 Peripheral Port Settings Changing Flag Turns ON while the peripheral port’s communications settings are being changed.

Page 374 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 374 · click to enlarge
Page 374

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A414 02 RS-422A Port Error Flags

Parity Error Flag These error flags turn ON when an error has occurred at the RS- 422A port. 03 Framing Error Flag

04 Overrun Error Flag

05 Timeout Error Flag

08 RS-422A Port Communications Error Flag Turns ON when a communications error has occurred at the RS- 422A port.

09 RS-422A Port Send Ready Flag (no-protocol mode)

Turns ON when the RS-422A port is ready to send data in no-pro- tocol mode.

10 RS-422A Port Reception Completed Flag (no- protocol mode)

Turns ON when the RS-422A port has completed the reception in no-protocol mode.

11 RS-422A Port Reception Overflow Flag (no-pro- tocol mode)

Turns ON when a data overflow occurred during reception through the RS-422A port in no-protocol mode.

15 RS-422A Port Settings Changing Flag Turns ON while the RS-422A port’s communications settings are being changed.

A415 00 to 15 RS-422A Port Reception Counter (no-protocol mode)

Indicates (in binary) the number of bytes of data received when the RS-422A port is in no-protocol mode.

A500 14 Error Log Pointer Reset and Memory Not Held Flag OFF Bit

The error log pointer in A408 is reset to 0000 hex and Memory Not Held Flag (A404.14) is turned OFF when this bit is turned ON.

A502 00 RS-232C Port Restart Bit Turn this bit ON to restart the RS-232C port. This bit is turned OFF automatically when the restart processing is completed.

01 Peripheral Port Restart Bit Turn this bit ON to restart the peripheral port. This bit is turned OFF automatically when the restart processing is completed.

02 RS-422A Port Restart Bit Turn this bit ON to restart the RS-422A port. This bit is turned OFF automatically when the restart processing is completed.

A507 00 to 15 Data Trace Period Data will be traced using the period specified here when tracing each cycle is specified from the CX-Programmer. 0000 hex: Each cycle 0001 to 000F hex: Every 2 to 16 cycles

A508 09 Differentiate Monitor Completed Flag Turns ON when the differentiate monitor condition has been established during execution of differentiation monitoring. (This flag will be turned OFF when differentiation monitoring starts.)

11 Trace Trigger Monitor Flag Turns ON when a trigger condition is established by the Trace Start Bit (A508.14). OFF when the next Data Trace is started by the Sampling Start bit (A508.15).

12 Trace Completed Flag Turns ON when sampling of a region of trace memory has been completed during execution of a Trace. Turns OFF when the next time the Sampling Start Bit (A508.15) is turned from OFF to ON.

13 Trace Busy Flag Turns ON when the Sampling Start Bit (A508.15) is turned from OFF to ON. Turns OFF when the trace is completed.

14 Trace Start Bit Turn this bit ON to establish the trigger condition. The offset indi- cated by the delay value (positive or negative) determines which data samples are valid.

15 Sampling Start Bit When a data trace is started by turning this bit from OFF to ON from the CX-Programmer, the FQM1 will begin storing data in Trace Memory by one of the three following methods: 1) Data is sampled at regular intervals (10 to 2,550 ms). 2) Data is sampled when TRSM(045) is executed in the program. 3) Data is sampled at the end of every cycle. The operation of A508.15 can be controlled only from the CX-Pro- grammer.

A509 15 Constant Cycle Time Exceeded Error Clear Bit Used to enable the constant cycle time function again after the constant cycle time has been exceeded.

00 to 15 Macro Area Input Words Before the subroutine specified in MCRO(099) is executed, the contents of the five words specified in the operand to be passed to the subroutine are stored here.

00 to 15 Macro Area Output Words After the subroutine specified in MCRO(099) has been executed, the results of the subroutine are transferred to these five words.

A510 to A514 · A515 to A519

Page 375 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 375 · click to enlarge
Page 375

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A520 00 to 15 Interrupt Counter 0 Counter SV Used for interrupt input 0 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 000 will start when interrupt counter 0 has counted this num- ber of pulses. Setting range: 0000 to FFFF

A521 00 to 15 Interrupt Counter 1 Counter SV Used for interrupt input 1 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 001 will start when interrupt counter 1 has counted this num- ber of pulses. Setting range: 0000 to FFFF

A522 00 to 15 Interrupt Counter 2 Counter SV Used for interrupt input 2 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 002 will start when interrupt counter 2 has counted this num- ber of pulses. Setting range: 0000 to FFFF

A523 00 to 15 Interrupt Counter 3 Counter SV Used for interrupt input 3 in counter mode. Sets the count value at which the interrupt task will start. Interrupt task 003 will start when interrupt counter 3 has counted this num- ber of pulses. Setting range: 0000 to FFFF

A524 00 to 15 Interrupt Counter 0 Counter PV These words contain the interrupt counter PVs for interrupt input 0 to 3 operating in counter mode. The counter PV starts decrementing from the counter SV. When the counter PV reaches the 0, the PV is automatically reset to the SV. Range: 0000 to FFFF

A525 00 to 15 Interrupt Counter 1 Counter PV

A526 00 to 15 Interrupt Counter 2 Counter PV

A527 00 to 15 Interrupt Counter 3 Counter PV

A530 00 DM Write Request Bit (Coordinator Module to Motion Control Module)

DM data transfer is executed from the Coordinator Module to Motion Control Module when this bit turns ON.

01 DM Read Request Bit (Motion Control Module to Coordinator Module)

DM data transfer is executed from the Motion Control Module to Coordinator Module when this bit turns ON.

A531 00 to 15 Slot No. of Motion Control Module for DM Trans- fer

Specifies the slot number (in 4-digit hexadecimal) for the Motion Control Module with which DM data is to be transferred. 0001: Motion Control Module #1 0002: Motion Control Module #2 0003: Motion Control Module #3 0004: Motion Control Module #4

A532 00 to 15 DM Transfer Size (number of words) Specifies the size, in number of words, of the DM data to be trans- ferred. 0001 to 01F3 hex (1 to 499 words)

A533 00 to 15 First DM Transfer Source Word Specifies the first address of the DM transfer source in the Coor- dinator Module or Motion Control Module. 0000 to 7FFF hex

A534 00 to 15 First DM Transfer Destination Word Specifies the first address of the DM transfer destination in the Coordinator Module or Motion Control Module. 0000 to 7FFF hex

A535 14 Transfer Error Flag Turns ON when a DM data transfer error occurs.

15 Transfer Busy Flag Turns ON during DM data transfer and turns OFF when the trans- fer has been completed.

  • A550 00 to 15 Analog Input PV Contains the value input from the analog input port (using either the END refresh or immediate refresh) in 4-digit hexadecimal. The PV range depends on the input range:
  • 0 to 10 V: FE70 to 20D0 hex
  • 0 to 5 V or 1 to 5 V: FF38 to 1068 hex
  • − 10 to 10 V: DDA0 to 2260 hex

A552 00 Analog Input Status User Adjustment Completed

OFFNot adjusted ON: Adjustment completed

07 Analog Sampling Started

OFFNot started ON: Started

08 Factory Adjustment Data Error

OFFNo Error ON: Error (Checked at power ON.)

09 User Adjustment Data Error

OFFNo Error ON: Error (Checked at power ON.)

15 Analog Sampling Overlap

OFF: Normal sampling ON: The next sampling operation occurred before the present sampling operation com- pleted.

Page 376 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 376 · click to enlarge
Page 376

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A559 00 to 15 Number of Analog Samples Indicates the number of data samples actually input since sam- pling started.

  • A560 00 to 15 Analog Output 1 Output Value When an END refresh is selected, the 4-digit hexadecimal value set here by the user is output from analog output port 1. When immediate refreshing is selected, the 4-digit hexadecimal value being output from analog output port 1 is stored here for monitoring. The output value range depends on the output range, as shown below.
  • 0 to 10 V, 0 to 5 V or 1 to 5 V: FF38 to 1068 hex
  • − 10 to 10 V: EA84 to 157C hex Note 1. Set the analog output method (END or immediate refreshing) with the System Setup’s output method setting. A setting of 0 hex specifies an END refresh. This setting applies to both analog output 1 and 2. 2. Specify the output range with the output 1 setting.

A561 00 to 15 Analog Output 2 Output Value This word has the same settings as the analog output 1 output value (A560), above. (When an END refresh is selected, set the value to output from analog output port 2. When an immediate refresh is selected, the output value is stored here for monitoring.) Note 1. Set the analog output method (END or immediate refresh) with the System Setup’s output method setting. A setting of 0 hex specifies an END refresh. This setting applies to both analog output 1 and 2. 2. Specify the output range with the output 2 setting.

A562 00 Analog Output 1 Flags User Adjustment Completed

Initial value is 0. Set to 1 if user performs offset/gain adjustment and Returns to factory default setting of 0 if adjustment value is cleared.

04 Operating ON: ON while the analog output is being changed by ACC(888). OFF: Turned OFF when target value is reached.

08 Output SV Error ON: ON when the output SV setting is outside of the allowed set- ting range. OFF: OFF when the output SV is within range.

12 Factory Adjust- ment Value Error

ON: ON when the factory-set data stored in flash memory is invalid. OFF: OFF when the factory-set data stored in flash memory is normal.

14 User Adjustment Value Error

ON: ON when the user-set adjustment value stored in flash mem- ory is invalid. OFF: OFF when the user-set adjustment value stored in flash memory is normal.

A563 00 Analog Output 2 Flags User Adjustment Completed

Same as for Analog Output 1 Flags.

08 Output SV Error

12 Factory Adjust- ment Value Error

14 User Adjustment Value Error

A564 00 Analog Output 1 Conversion Enable Bit ON: Enables D/A conversion (enables analog output). OFF: Disables D/A conversion (analog values output according to Output Stop Function specification in System Setup). Note This bit is cleared when the Modules operating mode is changed between RUN or MONITOR mode and PROGRAM mode.

A565 00 Analog Output 2 Conversion Enable Bit ON: Enables D/A conversion (enables analog output). OFF: Disables D/A conversion (analog values output according to Output Stop Function specification in System Setup). Note This bit is cleared when the Modules operating mode is changed between RUN or MONITOR mode and PROGRAM mode.

04 Operating

Page 377 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 377 · click to enlarge
Page 377

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A570 00 Adjustment Mode Command Bits (Effective only when A575 is 5A5A hex.)

Analog Input OFF: Adjustment disabled. ON: Adjustment enabled. When one of these bits is turned ON, the default value (offset or gain value) corre- sponding to the selected I/O signal range is transferred to Adjustment Mode Monitor Area (A572 and A573).

02 Analog Output 1

03 Analog Output 2

07 Adjustment Mode Specifier

OFFOffset adjustment ON: Gain adjustment

12 Adjustment Value Increment

While this bit is ON, the offset or gain value will be incremented by one resolution unit each 0.5 ms.

13 Adjustment Value Decre- ment

While this bit is ON, the offset or gain value will be decremented by one resolution unit each 0.5 ms.

14 Adjustment Value Clear

OFF to ON: Clears the adjustment data to the factory defaults.

15 Adjustment Value Set

OFF to ON: Reads the present value in the Adjustment Mode Monitor Area (A572 and A573) and saves this value to flash mem- ory. This adjustment value will be used for the next normal mode operation.

A571 00 Adjustment Mode Status Adjustment Operation Error

ON when an operational error has been made, such as turning ON both the Analog Input and Analog Output 2 Adjustment Enable Bits at the same time.

15 Adjustment Mode Started

ON during adjustment mode operation (when A575 contains 5A5A hex).

A572 00 to 15 Adjustment Mode Monitor (Effective only when A575 is 5A5A hex.)

Both Analog Input and Ana- log Outputs

The values in these words can be over- written directly, without using the Adjustment Value Increment/Decre- ment Bits.

  • − 10 to 10 V: FE0C to 01F4 hex
  • 0 to 10 V, 0 to 5 V, 1 to 5 V: FF38 to 00C8 hex
  • A573 00 to 15 Gain Value Monitor
  • − 10 to 10 V: 1194 to 157C hex
  • 0 to 10 V, 0 to 5 V, 1 to 5 V: 0ED8 to 1068 hex

A574 00 to 15 Analog Inputs Number of Average Value Samples in Adjustment Mode

Indicates the number of values to be aver- aged to obtain the Offset/Gain Value Moni- tor values in adjustment mode. The number of samples can be set between 0000 and 0040 hex (0 to 64). Set this parameter before turning ON the Adjustment Enable Bit.

A575 00 to 15 Adjustment Mode Password 5A5A hex: Adjustment mode enabled. Other value: Adjustment mode disabled.

A600 00 to 15 High-speed Counter 1 PV Range: 8000 0000 to 7FFF FFFF Note For a Linear Counter, high-speed counter overflows/under- flows are checked when the PV is read (i.e., when Module inter- nal I/O is refreshed).

A601 00 to 15

A602 00 to 15 High-speed Counter 2 PV

A603 00 to 15

00 to 15 High- speed Counter 1

  • For following counter modes
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

PV of absolute number of rota- tions

Contains the number of rotations data (PV) read from the Encoder when the SEN signal is input to the Servo Driver. 8000 0000 to 7FFF FFFF hex

  • For following counter modes
  • Linear counter
  • Circular counter
  • Monitor data
  • When monitoring counter movements (mode 1), contains the absolute value of the amount of change in the PV of the highspeed counter over the specified sampling time as a 8-digit hexadecimal value (0000 0000 to FFFF FFFF hex).
  • When monitoring the counter frequency (mode 2), contains the frequency of the high-speed counter calculated from the PV of the high-speed counter between 0 and 7A120 hex (0 and 500 kHz).

Adjustment Enable · Setting Offset Mon- itor · A604 to A605

Page 378 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 378 · click to enlarge
Page 378

Auxiliary Area Allocations Appendix D

Address Bits Name Function

00 to 15 High- speed Counter 2

  • For following counter modes
  • Absolute linear (CW − )
  • Absolute circular
  • Absolute linear (CW+)

PV of absolute number of rota- tions

Same as for A604 and A605 for high-speed counter 1 except that measuring the high-speed counter frequency is not possible for high-speed counter 2.

  • For following counter modes
  • Linear counter
  • Circular counter

A608 00 High- speed counter 1 status

Target Comparison In-progress Flag OFF: Target value comparison is not being performed for CTBL(882). Note This flag is always OFF for range comparison. ON: Target value comparison is being performed for CTBL(882). Note Target comparison is continued without interruption once it has been started (as opposed to range comparison), so this flag can be used to check whether target comparison is in progress.

01 PV Overflow/Underflow Flag OFF: There is no counter overflow or underflow in Linear Counter Mode. This flag will always be OFF in Circular Counter Mode. ON: There is a counter overflow or underflow in Linear Counter Mode. The counter PV will be fixed at the overflow or underflow limit. This flag will be cleared when the High-speed Counter Start Bit is turned OFF.

03 Phase Z Input Reset Flag (ON for one cycle)

ON for one cycle when the counter PV is reset with the counter reset method set to a phase Z + software reset. Note This flag will turn ON for one cycle after the counter PV is reset if the phase Z signal (reset input) turns ON while the High- speed Counter Reset Bit (A610.01) is ON.

04 Absolute No. of Rotations Read Error Flag

OFFNo error ON: Error

05 Absolute No. of Rotations Read Completed Flag

OFF: Rotations being read or reading has not been executed. ON: Reading has been completed (Turned ON when serial recep- tion of the number of rotations has been completed.)

06 Measuring Flag (measurement mode 1 or 2) Note Valid when Counter Data Dis- play in System Setup is set to Counter Movements (mode 1) or Fre- quency (mode 2).

OFF: Changes in the counter PV or the counter frequency is not being measured. ON: Changes in the counter PV or the counter frequency is being measured. In measurement mode 1, this flag will turn ON at the beginning of the sampling time after the Measurement Start Bit (A610.02) is turned ON.

07 High-speed Counter Operating Flag OFF: Counter is not operating. ON: Counter is operating.

08 Count Latched Flag OFF: Count has not been latched. ON: Latching the count has been completed for the latch input.

12 Absolute Offset Preset Error Flag OFF: No error occurred when saving the absolute offset. ON: An error occurred when saving the absolute offset.

A609 00 High- speed counter 2 status

Target Comparison In-progress Flag Same as for high-speed counter 1.

01 PV Overflow/Underflow Flag

03 Phase Z Input Reset Flag (ON for one cycle)

04 Absolute No. of Rotations Read Error Flag

05 Absolute No. of Rotations Read Completed Flag

06 Measuring Flag (measurement mode 1 or 2)

07 High-speed Counter Operating Flag

08 Count Latched Flag

12 Absolute Offset Preset Error Flag

A606 to A607 · Monitor data

Page 379 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 379 · click to enlarge
Page 379

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A610 00 High- speed counter 1 com- mand bits

Start Bit OFF: Stops counter operation. The counter PV will be main- tained. ON: Starts counter operation. The counter PV will be reset.

01 Reset Bit OFF: If a software reset is set in the System Setup, the counter PV will not be reset when internal I/O is refreshed in the Motion Control Module. If a phase Z + software reset is set, disables the phase Z input. ON: If a software reset is set in the System Setup, resets the counter PV to 0 when internal I/O is refreshed in the Motion Con- trol Module. If a phase Z + software reset is set, enables the phase Z input.

02 Measurement Start Bit OFF: Disables measuring changes in counter PV or the counter frequency. ON: Starts measuring changes in counter PV or the counter fre- quency. Note Measuring the high-speed counter frequency is possible only for high-speed counter 1. Note Valid when Counter Data Display in System Setup is set to Counter Movements (mode 1) or Frequency (mode 2).

03 Measurement Direction Bit (mea- surement mode 2)

OFF: Forward (up) ON: Reverse (down) This bit specifies the up/down direction of the pulse input for fre- quency measurement. Note Always set this bit before turning ON the Measurement Start Bit.

04 Range Comparison Results Clear Bit OFF: Does not clear the execution results (A612) or output bit

pattern (A613) from CTBL(882) execution for range comparison for the counter. ON: Clears the execution results (A612) or output bit pattern (A613) from CTBL(882) execution for range comparison for the counter.

05 Absolute Offset Preset Bit OFF: Does not preset the offset. OFF to ON: Stores the number of multi-turns read from the Servo Driver and the number of initial incremental pulses as an offset in the Absolute Offset value in the System Setup. When establishing the machine origin, the position from the abso- lute encoder origin is set as the Absolute Offset in the System Setup as the machine origin.

06 Absolute Present Value Preset Bit OFF: Disables the absolute present value preset. OFF to ON: Stores the Absolute PV in the counter 1 PV (A600 and A601). Note Refer to 7-7-6 Absolute Present Value for details on the absolute PV.

07 Absolute Number of Rotations Read Bit

OFF: Disables reading the number of rotations data from the Servo Driver. OFF to ON: Outputs the SEN output to the Servo Driver and receives the number of rotations data on the phase A input.

08 Latch Input 1 Enable Bit OFF: Disables the external latch input 1 signal. ON: Enables the external latch input 1 signal.

09 Latch Input 2 Enable Bit OFF: Disables the external latch input 2 signal. ON: Enables the external latch input 2 signal.

A611 00 High- speed counter 2 com- mand bits

Start Bit Same as command bits for high-speed counter 1.

02 Measurement Start Bit

04 Range Comparison Results Clear Bit

05 Absolute Offset Preset Bit

06 Absolute Present Value Preset Bit

07 Absolute Number of Rotations Read Bit

08 Latch Input 1 Enable Bit

09 Latch Input 2 Enable Bit

01 Reset Bit · 03 Reserved

Page 380 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 380 · click to enlarge
Page 380

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A612 00 to 15 High- speed counter 1 monitor data

Range Comparison Execution Results Flags

Contains the CTBL(882) execution results for range comparison. Bits 00 to 15 correspond to ranges 1 to 16. OFF: No match ON: Match

A613 00 to 15 Output Bit Pattern Contains the output bit pattern when a match is found for CTBL(882) execution results for range comparison Note If more than one match is found, an OR of the output bit patterns with matches will be stored here.

A614 00 to 15 High- speed counter 2 monitor data

Range Comparison Results Same as for high-speed counter 1 monitor data.

A615 00 to 15 Output Bit Pattern

00 to 15 Pulse Output 1 PV Note This item applies when the operation mode is relative pulse output, absolute pulse output in linear mode, absolute pulse output in circular mode, or electronic cam mode.

Contains the pulse output PV as an 8-digit hexadecimal number. Relative mode: 00000000 to FFFFFFFF hex Absolute linear mode: 80000000 to 7FFFFFFF hex Absolute circular mode: 00000000 to circular maximum count

One-shot Pulse Output 1 ON Time Note This item applies when the operation mode is one-shot output mode.

Contains the time that the one-shot pulse output has been ON as an 8-digit hexadecimal number. 0000 0000 to 0000 270F (unit: set by STIM(980))

Pulse Time Measurement 1 Note This item applies when the operation mode is time measurement mode using a pulse counter.

Contains the time measured by the pulse counter as an 8-digit hexadecimal number. 0000 0000 to FFFF FFFF hex (unit: set by STIM(980))

00 to 15 Pulse Output 2 PV Same as for Pulse Output 1 PV.

One-shot Pulse Output 2 ON Time Same as for One-shot Pulse Output 1 ON time.

Pulse Time Measurement 2 Same as for Pulse Time Measurement 1.

A624 00 Pulse Output 1 Status

Pulse Output Completed Flag OFF: Pulse output not completed (OFF during pulse output). ON: Pulse output completed (ON when pulse distribution has been completed).

01 Pulse Output Set Flag OFF: Pulse output amount not set by PULS(886). ON: Pulse output amount set by PULS(886).

02 Target Frequency Not Reached Flag OFF: Target speed has been reached during pulse output for PLS2(887). ON: Decelerated before reaching the target speed during pulse output for PLS2(887).

03 Target Comparison Flag OFF: Comparison stopped. ON: Comparison in progress.

04 Independent Pulse Output Flag OFF: Pulses not being output or being output continuously. ON: Pulses being output.

05 PLS2 Positioning Flag OFF: Not positioning. ON: Positioning in progress.

06 Accelerating/Decelerating Flag OFF: No output or constant-speed output. ON: Acceleration or deceleration in progress for ACC(888) or PLS2(887).

07 Pulse Output Flag OFF: Pulse output stopped. ON: Pulse output in progress.

A625 00 Pulse Output 2 Status

Pulse Output Completed Flag Same as for Pulse Output 1 Status.

01 Pulse Output Set Flag

02 Target Frequency Not Reached Flag

03 Target Comparison Flag

04 Independent Pulse Output Flag

05 PLS2 Positioning Flag

07 Pulse Output Flag

A620 to A621 · A622 to A623 · 06 Accelerating/Decelerating Flag

Page 381 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 381 · click to enlarge
Page 381

Auxiliary Area Allocations Appendix D

Address Bits Name Function

A626 00 Pulse Output 1 Com- mand Bits

PV Reset Bit OFF: Pulse output 1 PV not reset. ON: Resets pulse output 1 PV.

01 Range Comparison Results Clear Bit OFF: Does not clear the execution results (A630) or output bit

pattern (A631) from CTBL(882) execution for range comparison for the pulse output PV. ON: Clears the execution results (A630) or output bit pattern (A631) from CTBL(882) execution for range comparison for the pulse output PV.

A627 00 Pulse Output 2 Com- mand Bits

PV Reset Bit Same as for Pulse Output 1 Command Bits.

01 Range Comparison Results Clear Bit

A628 07 Pulse Output Control Bits (Apply to both pulse outputs 1 and 2.)

Speed Change Cycle Bit OFF: Sets the speed change cycle to 2 ms during pulse output to ACC(888) or PLS2(887). ON: Sets the speed change cycle to 1 ms during pulse output to ACC(888) or PLS2(887).

14 PLS2 Pulse Output Direction Priority Mode Bit

OFF: Sets Direction Priority Mode. In Direction Priority Mode, pulses are output only when the pulse output direction and the direction of the specified absolute posi- tion are the same. ON: Sets Absolute Position Priority Mode. In Absolute Position Priority Mode, pulses are always output in the direction of the specified absolute position.

A630 00 to 15 Pulse Output 1 Monitor Data

Range Comparison Results Contains the CTBL(882) execution results for range comparison. Bits 00 to 15 correspond to ranges 1 to 16. OFF: No match ON: Match

A631 00 to 15 Output Bit Pattern Contains the output bit pattern when a match is found for CTBL(882) execution results for range comparison Note If more than one match is found, an OR of the output bit patterns with matches will be stored here.

A632 00 to 15 Pulse Output 2 Monitor Data

Range Comparison Results Same as for Pulse Output 1 Monitor Data.

A633 00 to 15 Output Bit Pattern

Page 382 of the Omron Motion Controller Module (FQM1-CM001) user manual — Error Codes and Error Flags
Page 382 · click to enlarge
Page 382

Auxiliary Area Allocations Appendix D

Detailed Explanations on the Auxiliary Area

Error Log Area: A100 to A199

A100

A101

A102

A103

A104

A195

Error code Error contents

A196

A197

A198

A199

The following data would be generated in an error record if a memory error (error code 80F1) occurred with the error located in the System Setup (04 hex).

80 F1 00 04

01

The following data would be generated in an error record if an FALS error with FALS number 001 occurred

01

Error Codes and Error Flags

Classification Error code Meaning Error flags System-defined fatal errors

80F1 Memory error A403

80C0 I/O bus error --- 80CE No End Cover ---

80CF Sync bus error 80E0 I/O setting error ---

80F0 Program error A405 809F Cycle time too long error ---

009B System Setup setting error A409

C101 to C2FF FALS instruction executed (See note 1.) ---

4101 to 42FF FAL instruction executed (See note 2.) ---

(2) Codes 4101 to 42FF will be stored for FAL numbers 001 to 511.

(3) Only the contents of A405 is stored as the error flag contents for program errors.

(4) 0000 hex will be stored as the error flag contents.

Show 7 more labels / short text on this page
Error code · Error contents · Error record · Error record · System-defined non-fatal errors · User-defined fatal errors · User-defined non-fatal errors
Page 383 of the Omron Motion Controller Module (FQM1-CM001) user manual — Memory Configuration
Page 383 · click to enlarge
Page 383

Auxiliary Area Allocations Appendix D

FQM1 Memory Addresses

FQM1 memory addresses are set in Index Registers (IR0 or IR1) to indirectly address I/O memory. Normally, FQM1 memory addresses are set into the Index Registers automatically when calling subroutines with JSB(982).

Some instructions, such as FIND MAXIMUM (MAX(182)) and FIND MINIMUM (MIN(183)), output the results of processing to an Index Register to indicate an FQM1 memory address.

There are also instructions for which Index Registers can be directly designated to use the FQM1 memory addresses stored in them by other instructions. These instructions include DOUBLE MOVE (MOVL(498)), some symbol comparison instructions (=L,L, L,=L), DOUBLE COMPARE (CMPL(060)), DOUBLE INCREMENT BINARY (++L(591)), DOUBLE DECREMENT BINARY (– –L(593)), DOUBLE SIGNED BINARY ADD WITHOUT CARRY (+L(401)), and DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY (–L(411)).

The FQM1 memory addresses all are continuous and the user must be aware of the order and boundaries of the memory areas. As reference, the FQM1 memory addresses are provided in the next page.

memory addresses are set in the program, the program will be less compatible with new Modules for which changes have been made to the layout of the memory.

Memory Configuration

There are two classifications of the RAM memory (with capacitor backup) in the FQM1.

Parameter Areas: These areas contain Coordinator Module system setting data, such as the System Setup. An illegal access error will occur if an attempt is made to access any of the parameter areas from an instruction in the user program.

I/O Memory Areas: These are the areas that can be specified as operands in the instructions in user pro- grams.

Page 384 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 384 · click to enlarge
Page 384

Auxiliary Area Allocations Appendix D

Memory Map

Classification FQM1 memory addresses (hex)

Parameter areas 00000 to 0B0FF --- System Setup Area Profile Area

I/O memory areas 0B100 to 0B1FF --- Reserved for system.

0B200 to 0B7FF --- Reserved for system.

0B800 to 0B801 TK0000 to TK0031 Task Flag Area

0B802 to 0B83F --- Reserved for system.

0B840 to 0B9FF A000 to A447 Read-only Auxiliary Area

0BA00 to 0BACB A448 to A649 Read/Write Auxiliary Area

0BACA to 0BBFF --- Reserved for system.

0BC00 to 0BDFF --- Reserved for system.

0BE00 to 0BE0F T0000 to T0255 Timer Completion Flags

0BE10 to 0BEFF --- Reserved for system.

0BF00 to 0BF0F C0000 to C0255 Counter Completion Flags

0BF10 to 0BFFF --- Reserved for system.

0C000 to 0C0FF CIO 0000 to CIO 0255 CIO Area

0C100 to 0D7FF --- Reserved for system.

0D800 to 0D9FF --- Reserved for system.

0DA00 to 0DDFF --- Reserved for system.

0DE00 to 0DEFF W000 to W255 Work Area

0DF00 to 0DFFF --- Reserved for system.

0E000 to 0E0FF T0000 to T0250 Timer PVs

0E100 to 0EFFF --- Reserved for system.

0F000 to 0F0FF C0000 to C0255 Counter PVs

0F100 to 0FFFF --- Reserved for system.

10000 to 17FFF D00000 to D32767 DM Area

18000 to FFFFF --- Reserved for system.

User addresses Area

Page 385 of the Omron Motion Controller Module (FQM1-CM001) user manual — DIFFERENTIATE DOWN
Page 385 · click to enlarge
Page 385

Auxiliary Area Allocations Appendix D

FQM1 Instruction Execution Times and Number of Steps

The following table lists the execution times for all instructions that are available for the FQM1.

The total execution time of instructions within one whole user program is the process time for program execu- tion when calculating the cycle time. (See note.)

isfy interrupt conditions.

Execution times for most instructions differ depending on the conditions when the instruction is executed. The execution time can also vary when the execution condition is OFF.

The following table also lists the length of each instruction in the Length (steps) column. The number of steps required in the user program area for each of the instructions varies from 1 to 7 steps, depending upon the instruction and the operands used with it. The number of steps in a program is not the same as the number of instructions.

word. Most instructions are supported in differentiated form (indicated with ↑, ↓, @, and %). Specifying differentiation will increase the execution times by the following amounts.

↑ or ↓ +0.5 @ or % +0.5

(2) Use the following time as a guideline when instructions are not executed.

Approx. 0.2 to 0.5 µs

Sequence Input Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

LOAD LD --- 1 0.10 Yes ---

LOAD NOT LD NOT --- 1 0.10 Yes ---

AND AND --- 1 0.10 Yes ---

AND NOT AND NOT --- 1 0.10 Yes ---

OR OR --- 1 0.10 Yes ---

OR NOT OR NOT --- 1 0.10 Yes ---

AND LOAD AND LD --- 1 0.05 Yes ---

OR LOAD OR LD --- 1 0.05 Yes ---

table.

Sequence Output Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

OUTPUT OUT --- 1 0.35 Yes ---

OUTPUT NOT OUT NOT --- 1 0.35 Yes ---

KEEP KEEP 011 1 0.40 Yes ---

DIFFERENTIATE UP DIFU 013 2 0.50 Yes ---

DIFFERENTIATE DOWN

DIFD 014 2 0.50 Yes ---

SET SET --- 1 0.30 Yes ---

RESET RSET --- 1 0.30 Yes ---

Show 7 more labels / short text on this page
Symbol µs · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 386 of the Omron Motion Controller Module (FQM1-CM001) user manual — LD, AND, OR +<>+S 307
Page 386 · click to enlarge
Page 386

Auxiliary Area Allocations Appendix D

table.

Sequence Control Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

END END 001 1 7.0 Yes ---

NO OPERATION NOP 000 1 0.05 Yes ---

INTERLOCK IL 002 1 0.15 Yes ---

INTERLOCK CLEAR ILC 003 1 0.15 Yes ---

JUMP JMP 004 2 0.95 Yes ---

JUMP END JME 005 2 --- --- ---

table.

Timer and Counter Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

TIMER TIM --- 3 1.30 Yes ---

COUNTER CNT --- 3 1.30 Yes ---

HIGH-SPEED TIMER TIMH 015 3 1.80 Yes ---

ONE-MS TIMER TMHH 540 3 1.75 Yes ---

REVERSIBLE COUNTER

CNTR 012 3 24.8 --- ---

table.

Comparison Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

Input Comparison Instructions (unsigned)

LD, AND, OR += 300 4 0.35 Yes ---

LD, AND, OR + <> 305

LD, AND, OR + < 310

LD, AND, OR +<= 315

LD, AND, OR +> 320

LD, AND, OR +>= 325

Input Comparison Instructions (double, unsigned)

LD, AND, OR +=+L 301 4 0.35 Yes ---

LD, AND, OR +<>+L 306

LD, AND, OR +<+L 311

LD, AND, OR +<=+L 316

LD, AND, OR +>+L 321

LD, AND, OR +>=+L 326

Input Comparison Instructions (signed)

LD, AND, OR +=+S 302 4 0.35 Yes ---

LD, AND, OR +<>+S 307

LD, AND, OR +<+S 312

LD, AND, OR +<=+S 317

LD, AND, OR +>+S 322

LD, AND, OR +>=+S 327

Show 9 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 387 of the Omron Motion Controller Module (FQM1-CM001) user manual — SINGLE WORD DISTRIBUTE
Page 387 · click to enlarge
Page 387

Auxiliary Area Allocations Appendix D

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

Input Comparison Instructions (double, signed)

LD, AND, OR +=+SL 303 4 0.35 Yes ---

LD, AND, OR +<>+SL 308

LD, AND, OR +<+SL 313

LD, AND, OR +<=+SL 318

LD, AND, OR +>+SL 323

LD, AND, OR +>=+SL 328

COMPARE CMP 020 3 0.10 Yes ---

DOUBLE COMPARE CMPL 060 3 0.50 Yes ---

SIGNED BINARY COMPARE

CPS 114 3 0.30 Yes ---

DOUBLE SIGNED BINARY COMPARE

CPSL 115 3 0.50 Yes ---

TABLE COMPARE TCMP 085 4 30.3 --- ---

MULTIPLE COMPARE MCMP 019 4 47.5 --- ---

UNSIGNED BLOCK COMPARE

BCMP 068 4 50.3 --- ---

EXPANDED BLOCK COMPARE

BCMP2 502 4 15.3 --- Number of data words: 1

689.1 --- Number of data words: 255

AREA RANGE COMPARE

ZCP 088 3 11.6 --- ---

DOUBLE AREA RANGE COMPARE

ZCPL 116 3 11.4 --- ---

table.

Data Movement Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

MOVE MOV 021 3 0.30 Yes ---

DOUBLE MOVE MOVL 498 3 0.60 Yes ---

MOVE NOT MVN 022 3 0.35 Yes ---

DOUBLE MOVE NOT MVNL 499 3 0.60 Yes ---

MOVE BIT MOVB 082 4 0.50 Yes ---

MOVE DIGIT MOVD 083 4 0.50 Yes ---

BLOCK TRANSFER XFER 070 4 0.8 Yes Transferring 1 word

650.2 Yes Transferring 1,000 words

BLOCK SET BSET 071 4 0.55 Yes Setting 1 word

400.2 Yes Setting 1,000 words

DATA EXCHANGE XCHG 073 3 0.80 Yes ---

SINGLE WORD DISTRIBUTE

DIST 080 4 10.5 --- ---

DATA COLLECT COLL 081 4 10.5 --- ---

table.

Show 6 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 388 of the Omron Motion Controller Module (FQM1-CM001) user manual — DOUBLE DECREMENT BCD
Page 388 · click to enlarge
Page 388

Auxiliary Area Allocations Appendix D

Data Shift Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

SHIFT REGISTER SFT 010 3 12.4 --- Shifting 1 word

368.1 --- Shifting 1,000 words

REVERSIBLE SHIFT REGISTER

SFTR 084 4 14.0 --- Shifting 1 word

1.44 ms --- Shifting 1,000 words

ASYNCHRONOUS SHIFT REGISTER

ASFT 017 4 13.9 --- Shifting 1 word

3.915 ms --- Shifting 1,000 words

WORD SHIFT WSFT 016 4 9.7 --- Shifting 1 word

728.1 --- Shifting 1,000 words

ARITHMETIC SHIFT LEFT

ASL 025 2 0.45 Yes ---

DOUBLE SHIFT LEFT ASLL 570 2 0.80 Yes ---

ARITHMETIC SHIFT RIGHT

ASR 026 2 0.45 Yes ---

DOUBLE SHIFT RIGHT

ASRL 571 2 0.80 Yes ---

ROTATE LEFT ROL 027 2 0.45 Yes ---

DOUBLE ROTATE LEFT

ROLL 572 2 0.80 Yes ---

ROTATE LEFT WITHOUT CARRY

RLNC 574 2 0.45 Yes ---

DOUBLE ROTATE LEFT WITHOUT CARRY

RLNL 576 2 0.80 Yes ---

ROTATE RIGHT ROR 028 2 0.45 Yes ---

DOUBLE ROTATE RIGHT

RORL 573 2 0.80 Yes ---

ROTATE RIGHT WITHOUT CARRY

RRNC 575 2 0.45 Yes ---

DOUBLE ROTATE RIGHT WITHOUT CARRY

RRNL 577 2 0.80 Yes ---

ONE DIGIT SHIFT LEFT

SLD 074 3 10.1 --- Shifting 1 word

1.208 ms --- Shifting 1,000 words

ONE DIGIT SHIFT RIGHT

SRD 075 3 11.7 --- Shifting 1 word

1.775 ms --- Shifting 1,000 words

table.

Increment/Decrement Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

INCREMENT BINARY ++ 590 2 0.45 Yes ---

DOUBLE INCREMENT BINARY

++L 591 2 0.80 Yes ---

DECREMENT BINARY – – 592 2 0.45 Yes ---

DOUBLE DECREMENT BINARY

– –L 593 2 0.80 Yes ---

INCREMENT BCD ++B 594 2 12.1 --- ---

DOUBLE INCREMENT BCD

++BL 595 2 9.37 --- ---

DECREMENT BCD – –B 596 2 11.5 --- ---

DOUBLE DECREMENT BCD

– –BL 597 2 9.3 --- ---

Show 6 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 389 of the Omron Motion Controller Module (FQM1-CM001) user manual — DOUBLE UNSIGNED BINARY DIVIDE
Page 389 · click to enlarge
Page 389

Auxiliary Area Allocations Appendix D

table.

Symbol Math Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

SIGNED BINARY ADD WITHOUT CARRY

+ 400 4 0.30 Yes ---

DOUBLE SIGNED BINARY ADD WITHOUT CARRY

+L 401 4 0.60 Yes ---

SIGNED BINARY ADD WITH CARRY

+C 402 4 0.40 Yes ---

DOUBLE SIGNED BINARY ADD WITH CARRY

+CL 403 4 0.60 Yes ---

BCD ADD WITHOUT CARRY

+B 404 4 16.3 --- ---

DOUBLE BCD ADD WITHOUT CARRY

+BL 405 4 22.9 --- ---

BCD ADD WITH CARRY

+BC 406 4 17.2 --- ---

DOUBLE BCD ADD WITH CARRY

+BCL 407 4 24.1 --- ---

SIGNED BINARY SUBTRACT WITHOUT CARRY

– 410 4 0.3 Yes ---

DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY

–L 411 4 0.60 Yes ---

SIGNED BINARY SUBTRACT WITH CARRY

–C 412 4 0.40 Yes ---

DOUBLE SIGNED BINARY SUBTRACT WITH CARRY

–CL 413 4 0.60 Yes ---

BCD SUBTRACT WITHOUT CARRY

–B 414 4 16.3 --- ---

DOUBLE BCD SUBTRACT WITHOUT CARRY

–BL 415 4 23.1 --- ---

BCD SUBTRACT WITH CARRY

–BC 416 4 18.1 --- ---

DOUBLE BCD SUBTRACT WITH CARRY

–BCL 417 4 24.2 --- ---

SIGNED BINARY MULTIPLY

* 420 4 0.65 Yes ---

DOUBLE SIGNED BINARY MULTIPLY

*L 421 4 12.8 --- ---

UNSIGNED BINARY MULTIPLY

*U 422 4 0.75 Yes ---

DOUBLE UNSIGNED BINARY MULTIPLY

*UL 423 4 12.4 --- ---

BCD MULTIPLY *B 424 4 16.9 --- ---

DOUBLE BCD MULTIPLY

*BL 425 4 34.7 --- ---

SIGNED BINARY DIVIDE

/ 430 4 0.70 Yes ---

DOUBLE SIGNED BINARY DIVIDE

/L 431 4 11.9 --- ---

UNSIGNED BINARY DIVIDE

/U 432 4 0.8 Yes ---

DOUBLE UNSIGNED BINARY DIVIDE

/UL 433 4 11.9 --- ---

ON execution · Hardware implementation · Conditions

Page 390 of the Omron Motion Controller Module (FQM1-CM001) user manual — DOUBLE COMPLEMENT
Page 390 · click to enlarge
Page 390

Auxiliary Area Allocations Appendix D

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

BCD DIVIDE /B 434 4 18.3 --- ---

DOUBLE BCD DIVIDE /BL 435 4 26.7 --- ---

table.

Conversion Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

BCD-TO-BINARY BIN 023 3 0.40 Yes ---

DOUBLE BCD-TODOUBLE BINARY

BINL 058 3 7.4 --- ---

BINARY-TO-BCD BCD 024 3 8.0 --- ---

DOUBLE BINARY-TODOUBLE BCD

BCDL 059 3 8.0 --- ---

2’S COMPLEMENT NEG 160 3 0.35 Yes ---

DOUBLE 2’S COMPLEMENT

NEGL 161 3 0.60 Yes ---

ASCII CONVERT ASC 086 4 11.8 --- Converting 1 digit into ASCII

18.1 --- Converting 4 digits into ASCII

ASCII TO HEX HEX 162 4 12.2 --- Converting 1 digit

table.

Logic Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

LOGICAL AND ANDW 034 4 0.30 Yes ---

DOUBLE LOGICAL AND

ANDL 610 4 0.60 Yes ---

LOGICAL OR ORW 035 4 0.45 Yes ---

DOUBLE LOGICAL OR ORWL 611 4 0.60 Yes ---

EXCLUSIVE OR XORW 036 4 0.45 Yes ---

DOUBLE EXCLUSIVE OR

XORL 612 4 0.60 Yes ---

EXCLUSIVE NOR XNRW 037 4 0.45 Yes ---

DOUBLE EXCLUSIVE NOR

XNRL 613 4 0.60 Yes ---

COMPLEMENT COM 029 2 0.45 Yes ---

DOUBLE COMPLEMENT

COML 614 2 0.80 Yes ---

table.

Show 9 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 391 of the Omron Motion Controller Module (FQM1-CM001) user manual — FLOATING-POINT ADD
Page 391 · click to enlarge
Page 391

Auxiliary Area Allocations Appendix D

Special Math Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

ARITHMETIC PROCESS

APR 069 4 24.3 --- Linear approximation specifica- tion, normal

12.1 --- Linear approximation table trans- fer, 1 word

126.1 --- Linear approximation table trans- fer, 128 words

241.3 --- Linear approximation table trans- fer, 256 words

21.5 --- Linear approximation buffer specifi- cation, 256 words, beginning

186.9 --- Linear approximation buffer specifi- cation, 256 words, end

104.5 --- Linear approximation buffer specifi- cation, 128 words, end

BIT COUNTER BCNT 067 4 0.65 Yes Counting 1 word

VIRTUAL AXIS AXIS 981 4 47.9 --- Relative mode

48.1 --- Absolute mode

8.3 --- Stopping processing

table.

Floating-point Math Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

FLOATING TO 32-BIT FIXL 451 3 7.4 --- ---

32-BIT TO FLOATING FLTL 453 3 7.0 --- ---

FLOATING-POINT ADD

+F 454 4 11.4 --- ---

FLOATING-POINT SUBTRACT

–F 455 4 11.0 --- ---

FLOATING-POINT DIVIDE

/F 457 4 11.1 --- ---

FLOATING-POINT MULTIPLY

*F 456 4 11.0 --- ---

DEGREES TO RADIANS

RAD 458 3 9.7 --- ---

RADIANS TO DEGREES

DEG 459 3 9.4 --- ---

SINE SIN 460 3 15.8 --- ---

COSINE COS 461 3 15.5 --- ---

TANGENT TAN 462 3 17.5 --- ---

ARC SINE ASIN 463 3 42.7 --- ---

ARC COSINE ACOS 464 3 42.5 --- ---

ARC TANGENT ATAN 465 3 21.3 --- ---

SQUARE ROOT SQRT 466 3 25.5 --- ---

EXPONENT EXP 467 3 18.1 --- ---

LOGARITHM LOG 468 3 16.1 --- ---

EXPONENTIAL POWER

PWR 840 4 31.5 --- ---

Show 6 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 392 of the Omron Motion Controller Module (FQM1-CM001) user manual — MACRO MCRO 099 4 47.4 --- ---
Page 392 · click to enlarge
Page 392

Auxiliary Area Allocations Appendix D

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

LD, AND, OR +=F 329 3 8.9 --- ---

LD, AND, OR +<>F 330

LD, AND, OR +<F 331

LD, AND, OR +<=F 332

LD, AND, OR +>F 333

LD, AND, OR +>=F 334

table.

Table Data Processing Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

FIND MAXIMUM MAX 182 4 13.0 --- Searching for 1 word

1.41 ms --- Searching for 1,000 words

FIND MINIMUM MIN 183 4 12.8 --- Searching for 1 word

1.412 ms --- Searching for 1,000 words

table.

Data Control Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

SCALING SCL 194 4 22.7 --- ---

SCALING 2 SCL2 486 4 21.8 --- ---

SCALING 3 SCL3 487 4 26.1 --- ---

AVERAGE AVG 195 4 27.9 --- Average of an operation

27.9 --- Average of 64 operations

table.

Subroutine Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

SUBROUTINE CALL SBS 091 2 25.5 Yes ---

SUBROUTINE ENTRY SBN 092 2 --- --- ---

SUBROUTINE RETURN

RET 093 1 21.9 Yes ---

MACRO MCRO 099 4 47.4 --- ---

JUMP TO SUBROUTINE

JSB 982 4 34.9 --- ---

table.

Show 13 more labels / short text on this page
ON execution · Hardware implementation · Conditions · Floating Symbol Com- parison · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 393 of the Omron Motion Controller Module (FQM1-CM001) user manual — HIGH-SPEED COUNTER PV READ
Page 393 · click to enlarge
Page 393

Auxiliary Area Allocations Appendix D

Interrupt Control Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

SET INTERRUPT MASK

MSKS 690 3 7.6 --- ---

READ INTERRUPT MASK

MSKR 692 3 5.2 --- ---

CLEAR INTERRUPT CLI 691 3 7.2 --- ---

DISABLE INTERRUPTS

DI 693 1 5.3 --- ---

ENABLE INTERRUPTS

EI 694 1 5.6 --- ---

INTERVAL TIMER STIM 980 4 9.5 --- One-shot timer

11.0 --- One-shot pulse output

9.5 --- Scheduled interrupt

10.8 --- Reading timer PV

7.4 --- Stopping timer

17.8 --- Starting pulse counting

14.7 --- Stopping pulse counting

table.

High-speed Counter and Pulse Output Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

MODE CONTROL INI 880 4 16.7 --- Starting high-speed counter com- parison

12.7 --- Stopping high-speed counter com- parison

13.3 --- Changing pulse output PV

10.9 --- Changing high-speed counter cir- cular value

16.7 --- Starting pulse output comparison

12.6 --- Stopping pulse output comparison

14.9 --- Changing pulse output PV

13.1 --- Changing pulse output circular value

12.5 --- Stopping pulse output

10.1 --- Stopping sampling counter com- parison

14.5 --- Changing sampling counter PV

13.9 --- Changing sampling counter circu- lar value

HIGH-SPEED COUNTER PV READ

PRV 881 4 13.5 --- Reading pulse output PV

15.1 --- Reading high-speed counter PV

50.8 --- Reading analog input PV

14.3 --- Reading high-speed counter travel distance

12.1 --- Reading high-speed counter latched value

Show 6 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 394 of the Omron Motion Controller Module (FQM1-CM001) user manual — I/O Refresh Instruction
Page 394 · click to enlarge
Page 394

Auxiliary Area Allocations Appendix D

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

COMPARISON TABLE LOAD

CTBL 882 4 36.5 --- Registering target value table and starting comparison for 1 target value

259.6 --- Registering target value table and starting comparison for 48 target values

22.1 --- Executing range comparison for 1 range

113.7 --- Executing range comparison for 16 ranges

22.1 --- Only registering target value table for 1 target value

240.1 --- Only registering target value table for 48 target values

20.9 --- Registering a sampling counter target value table and starting comparison

42.8 --- Analog output

SPEED OUTPUT SPED 885 4 23.7 --- Continuous mode

32.7 --- Independent mode

42.9 --- Analog output

SET PULSES PULS 886 4 15.9 --- Setting pulse output in relative mode

16.1 --- Setting pulse output in absolute mode

31.5 --- Absolute output mode (electronic cam)

PULSE OUTPUT PLS2 887 4 53.5 --- ---

ACCELERATION CONTROL

ACC 888 4 42.5 --- Continuous mode

44.1 --- Independent mode

18.7 --- Analog output

Step Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

STEP DEFINE STEP 008 2 24.3 --- Step control bit ON

13.0 --- Step control bit OFF

STEP START SNXT 009 2 9.1 --- ---

table.

I/O Refresh Instruction

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

I/O REFRESH IORF 097 3 7.7 --- Refreshing 1 input word

7.6 --- Refreshing 1 output word

table.

Show 9 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions
Page 395 of the Omron Motion Controller Module (FQM1-CM001) user manual — BLOCK PROGRAM BEGIN
Page 395 · click to enlarge
Page 395

Auxiliary Area Allocations Appendix D

Serial Communications Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

TRANSMIT TXD 236 4 24.1 --- Sending 1 byte

342.6 --- Sending 256 bytes

RECEIVE RXD 235 4 36.2 --- Storing 1 byte

348.9 --- Storing 256 bytes

CHANGE SERIAL PORT SETUP

STUP 237 3 441.1 --- ---

table.

Debugging Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

TRACE MEMORY SAMPLING

TRSM 045 1 34.6 --- Sampling 1 bit and 0 words

148.3 --- Sampling 31 bits and 6 words

table.

Failure Diagnosis Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

FAILURE ALARM FAL 006 3 157.1 --- Recording errors

56.0 --- Deleting errors (in order of priority)

457.0 --- Deleting errors (all errors)

53.6 --- Deleting errors (individually)

SEVERE FAILURE ALARM

FALS 007 3 --- --- ---

table.

Other Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

SET CARRY STC 040 1 0.15 Yes ---

CLEAR CARRY CLC 041 1 0.15 Yes ---

table.

Block Programming Instructions

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

BLOCK PROGRAM BEGIN

BPRG 096 2 20.3 --- ---

BLOCK PROGRAM END

BEND 801 1 17.2 --- ---

Show 14 more labels / short text on this page
ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Hardware implementation · Conditions · ON execution · Conditions
Page 396 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 396 · click to enlarge
Page 396

Auxiliary Area Allocations Appendix D

Instruction Mnemonic Code Length (steps)

time (µs)

(See note.)

Branching IF (input condition)

802 1 6.8 Yes IF true

12.2 IF false

Branching IF (relay number)

802 2 11.0 Yes IF true

16.5 IF false

Branching (NOT) IF NOT (relay num- ber)

802 2 11.5 Yes IF true

16.8 IF false

Branching ELSE 803 1 11.4 Yes IF true

13.4 IF false

Branching IEND 804 1 13.5 Yes IF true

7.0 IF false

table.

ON execution · Conditions

Page 397 of the Omron Motion Controller Module (FQM1-CM001) user manual — Auxiliary Area Allocations Appendix D
Page 397 · click to enlarge
Page 397

Auxiliary Area Allocations Appendix D

Page 398 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of Contents
Page 398 · Contents
Contents

Contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 399 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 399 · click to enlarge
Page 399

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 400 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 400 · click to enlarge
Page 400

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 401 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 401 · click to enlarge
Page 401

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 402 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 402 · click to enlarge
Page 402

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 403 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 403 · click to enlarge
Page 403

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 404 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 404 · click to enlarge
Page 404

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 405 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 405 · click to enlarge
Page 405

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 406 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 406 · click to enlarge
Page 406

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 407 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 407 · click to enlarge
Page 407

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 408 of the Omron Motion Controller Module (FQM1-CM001) user manual — Table of contents
Page 408 · click to enlarge
Page 408

Table of contents

FQM1 Seriesp.2FQM1-CM001 FQM1-MMP21 FQM1-MMA21p.2Flexible Motion Controllerp.2PRECAUTIONSp.121 Intended Audiencep.132 General Precautionsp.133 Safety Precautionsp.133-1 Operating Environment Precautionsp.143-2 Application Precautionsp.154 Conformance to EC Directivesp.184-1 Applicable Directivesp.184-2 Conceptsp.184-3 Conformance to EC Directivesp.184-4 EMC Directive Conformance Conditionsp.184-5 Relay Output Noise Reduction Methodsp.195 Data Backupp.21SECTION 1 Features and System Configurationp.241-1 Outline of FQM1 Flexible Motion Controllerp.251-2 FQM1 Configurationp.271-3 Modulesp.291-4 CX-Programmerp.311-5 Expanded System Configurationp.321-5-1 Serial Communicationsp.321-5-2 Systemsp.321-6 Basic Operating Procedurep.361-6-1 Examplesp.381-7 Function Tables Arranged by Purposep.421-7-1 Sync Cycles and Synchronized datap.421-7-2 Position and Speed Controlp.441-7-3 Measuring Input Pulsesp.481-7-4 High-speed Analog I/O Controlp.491-7-5 Controlling Timingp.51SECTION 2 Specifications and Nomenclaturep.542-1 List of Modelsp.552-2 General Specificationsp.552-3 Coordinator Modulep.572-4 Motion Control Modulesp.602-5 Dimensionsp.662-6 Module Current Consumptionp.682-7 Memory Block Diagramp.70SECTION 3 Installation and Wiringp.723-1 Installationp.733-1-1 Installation and Wiring Precautionsp.733-1-2 Installation in a Control Panelp.763-1-3 Assembled Appearance and Dimensionsp.773-1-4 Connecting FQM1 Componentsp.793-1-5 DIN Track Installationp.803-2 Wiringp.833-2-1 Wiring Power Supply Unitsp.833-2-2 RS-232C Port Wiringp.873-3 Wiring Module Connectorsp.903-3-1 Connector Pin Arrangementp.903-3-2 External Connection Diagramsp.933-3-3 Wiring Examplesp.943-3-4 Wiring Methodsp.973-4 Wiring Servo Relay Unitsp.983-5 List of FQM1 Connecting Cablesp.1063-6 Wiring Precautionsp.1083-6-1 Reducing Electrical Noisep.1083-6-2 Connecting I/O Devicesp.110SECTION 4 Operationp.1144-1 Coordinator Modulep.1154-1-1 Outlinep.1154-1-2 Coordinator Module Operationp.1164-1-3 I/O Refreshing and Peripheral Servicingp.1174-1-4 Startup Initializationp.1174-2 Motion Control Modulesp.1184-2-1 Outlinep.1184-2-2 Description of Each Areap.1184-2-3 Motion Control Module Operationp.1194-3 Operating Modesp.1224-3-1 Operating Modesp.1224-3-2 Status and Operations in Each Operating Modep.1224-3-3 Operating Mode Changes and I/O Memoryp.1234-4 Power OFF Operationp.1234-4-1 Power OFF Operationp.1234-4-2 Instruction Execution for Power Interruptionsp.125SECTION 5 Module Functions and Data Exchangep.1265-1 Synchronous Operation between Modulesp.1275-2 Data Exchange between Modulesp.1285-3 Cyclic Refreshp.1295-3-1 Outlinep.1295-3-2 Applicationsp.1295-3-3 Cyclic Refresh Area Detailsp.1305-3-4 Cyclic Refresh Area Allocationsp.1315-4 Synchronous Data Refreshp.1325-4-1 Outlinep.1325-4-2 Applicationsp.1325-4-3 Synchronous Data Link Bit Areap.1335-4-4 Settingsp.1345-5 DM Data Transferp.1355-5-1 Outlinep.1355-5-2 Settings Detailsp.1365-5-3 Executing DM Data Transferp.1365-6 Cycle Time Settingsp.1375-6-1 Constant Cycle Time Functionp.1375-6-2 Watch Cycle Time Functionp.1395-6-3 Cycle Time Monitoring Functionp.1395-6-4 Clearing Constant Cycle Time Exceeded Errorsp.1405-7 Operation Settings at Startup and Maintenance Functionsp.1415-7-1 Specifying the Startup Modep.1415-7-2 Program Protectionp.1415-7-3 Flash Memoryp.1425-8 Diagnostic Functionsp.1435-8-1 Error Logp.1435-8-2 Failure Alarm Functionsp.144SECTION 6 Coordinator Module Functionsp.1466-1 Serial Communicationsp.1476-1-1 Host Link Communicationsp.1496-1-2 No-protocol Communications (RS-232C Port)p.1526-1-3 NT Link (1:N Mode)p.1546-1-4 Serial PLC Linksp.1556-1-5 Serial Gatewayp.1576-1-6 No-protocol Communications (RS-422A Port)p.159SECTION 7 Motion Control Module Functionsp.1607-1 Overviewp.1627-2 Interrupt Functionsp.1637-2-1 Overviewp.1637-2-2 Interrupt Priorityp.1637-2-3 Disabling and Enabling All Interruptsp.1647-3 Input Interruptsp.1657-3-1 Applicable Modelsp.1657-3-2 Overview of the Input Interrupt Functionp.1657-3-3 Interrupt Modesp.1657-3-4 Input Interrupt Specificationsp.1657-3-5 Using Input Interruptsp.1667-3-6 Application Examplep.1687-4 Interval Timer Interruptsp.1697-4-1 Applicable Modelsp.1697-4-2 Overviewp.1697-4-3 Interval Timer Interrupt Modesp.1697-4-4 Using Interval Timer Interruptsp.1697-4-5 Application Examplep.1707-5 Pulse Inputsp.1717-5-1 Applicable Modelsp.1717-5-2 Outlinep.1717-5-3 Specificationsp.1717-5-4 Pulse Input Specificationsp.1737-5-5 Latch Input Specificationsp.1757-5-6 Applicable Instructionsp.1757-5-7 Internal Circuit Configurationsp.1757-5-8 Pulse Input Function Descriptionp.1767-5-9 Pulse Input Function Proceduresp.1837-5-10 Pulse Input Function Example Applicationp.1857-6 Pulse Outputsp.1907-6-1 Applicable Modelsp.1907-6-2 Outlinep.1907-6-3 Specificationsp.1917-6-4 Pulse Output Specificationsp.1927-6-5 Applicable Instructionsp.1937-6-6 Pulse Output Function Detailsp.1947-6-7 One-shot Pulse Output Functionp.1997-6-8 Time Measurement with the Pulse Counterp.2017-6-9 Target-value Comparison Interrupts from Pulse Output PVsp.2027-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVsp.2057-6-11 Acceleration/Deceleration Rates in ACC(888) and PLS2(887) Instructionsp.2057-6-12 PLS2(887) Pulse Output Direction Priority Modep.2067-6-13 Pulse Output Function Proceduresp.2077-6-14 Pulse Output Function Examplesp.2127-6-15 Pulse Output Starting Conditionsp.2177-7 Functions for Servo Drivers Compatible with Absolute Encodersp.2227-7-1 Applicable Modelsp.2227-7-2 Overviewp.2227-7-3 Data Format of Absolute Encoder Outputp.2237-7-4 Counter Operationp.2247-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605)p.2257-7-6 Absolute Present Valuep.2257-7-7 Absolute Present Value Presetp.2267-7-8 Absolute Offset Presetp.2267-7-9 Related Areasp.2277-7-10 Overview of Absolute Encoder Output Data Acquirep.2307-7-11 Timing Chart of the Functions for Servo Drivers Compatible with Absolute Encodersp.2327-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)p.2327-8 Virtual Pulse Output Functionp.2357-8-1 Applicable Modelsp.2357-8-2 Overviewp.2357-8-3 AXIS Instruction (For Virtual Pulse Outputs)p.2367-8-4 Application Examplep.2387-9 Analog Input Functionsp.2387-9-1 Applicable Modelsp.2387-9-2 Overviewp.2387-9-3 Analog Input Function Specificationsp.2407-9-4 Related Areas and Settingsp.2417-9-5 Applicable Instructionsp.2457-9-6 A/D Conversion Valuep.2457-9-7 High-speed Analog Sampling (FQM1-MMA21 Only)p.2467-10 Analog Outputsp.2487-10-1 Applicable Modelsp.2487-10-2 Outlinep.2487-10-3 Analog Output Function Specificationsp.2497-10-4 Applicable Instructionsp.2517-10-5 Procedurep.2527-10-6 Application Examplep.253SECTION 8 Connecting the CX-Programmerp.2568-1 CX-Programmerp.2578-2 Connecting the CX-Programmerp.2588-2-1 System Configurationp.2588-2-2 CX-Programmer Connecting Cablesp.261SECTION 9 Error Processingp.2649-1 Error Logp.2659-2 Error Processingp.2669-2-1 Error Categoriesp.2669-2-2 Error Informationp.2669-2-3 Error Codesp.2679-2-4 Error Processing Flowchartp.2689-2-5 Error Tablesp.2699-2-6 Power Supply Checkp.2749-2-7 Memory Error Checkp.2759-2-8 Program Error Checkp.2759-2-9 Cycle Time Overrun Error Checkp.2769-2-10 System Setup Error Checkp.2769-2-11 I/O Setting Error Checkp.2779-2-12 I/O Checkp.2789-2-13 Environmental Conditions Checkp.2799-3 Troubleshooting Problems in Modulesp.279SECTION 10 Inspection and Maintenancep.28210-1 Inspectionsp.28310-1-1 Inspection Pointsp.28310-1-2 Module Replacement Precautionsp.284Appendix A Programmingp.286Appendix B I/O Memoryp.322Appendix C System Setup, Auxiliary Area Allocations, and Built-in I/O Allocationsp.334Appendix D Auxiliary Area Allocationsp.372Indexp.398Revision Historyp.410Terms and Conditions of Salep.413Certain Precautions on Specifications and Usep.413Contact Informationp.414
Page 409 of the Omron Motion Controller Module (FQM1-CM001) user manual — Index
Page 409 · click to enlarge
Page 409

Index

Page 410 of the Omron Motion Controller Module (FQM1-CM001) user manual — Cat. No. O010-E1-01
Page 410 · click to enlarge
Page 410

Revision History

A manual revision code appears as a suffix to the catalog number on the front cover of the manual.

Cat. No. O010-E1-01

The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.

Revision code Date Revised content 01 November 2004 Original production

Revision code

Page 411 of the Omron Motion Controller Module (FQM1-CM001) user manual — Revision History
Page 411 · click to enlarge
Page 411
Page 411 of the Omron Motion Controller Module (FQM1-CM001) user manual — Revision History
Page 412 of the Omron Motion Controller Module (FQM1-CM001) user manual — Revision History
Page 412 · click to enlarge
Page 412

OMRON CORPORATION FA Systems Division H.Q. 66 Matsumoto Mishima-city, Shizuoka 411-8511 Japan Tel: (81)55-977-9181/Fax: (81)55-977-9045

OMRON EUROPE B.V. Wegalaan 67-69, NL-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square, Singapore 239920 Tel: (65)6835-3011/Fax: (65)6835-2711

Regional Headquarters

Page 413 of the Omron Motion Controller Module (FQM1-CM001) user manual — Certain Precautions on Specifications and Use
Page 413 · click to enlarge
Page 413

Terms and Conditions of Sale

1. Offer; Acceptance. These terms and conditions (these "Terms") are deemed part of all quotes, agreements, purchase orders, acknowledgments, price lists, catalogs, manuals, brochures and other documents, whether electronic or in writing, relating to the sale of products or services (collectively, the "Products") by Omron Electronics LLC and its subsidiary companies (“Omron”). Omron objects to any terms or conditions proposed in Buyer’s purchase order or other documents which are inconsistent with, or in addition to, these Terms. 2. Prices; Payment Terms. All prices stated are current, subject to change with- out notice by Omron. Omron reserves the right to increase or decrease prices on any unshipped portions of outstanding orders. Payments for Products are due net 30 days unless otherwise stated in the invoice. 3. Discounts. Cash discounts, if any, will apply only on the net amount of invoices sent to Buyer after deducting transportation charges, taxes and duties, and will be allowed only if (i) the invoice is paid according to Omron’s payment terms and (ii) Buyer has no past due amounts. 4. Interest. Omron, at its option, may charge Buyer 1-1/2% interest per month or the maximum legal rate, whichever is less, on any balance not paid within the stated terms. 5. Orders. Omron will accept no order less than $200 net billing. 6. Governmental Approvals. Buyer shall be responsible for, and shall bear all costs involved in, obtaining any government approvals required for the impor- tation or sale of the Products. 7. Taxes. All taxes, duties and other governmental charges (other than general real property and income taxes), including any interest or penalties thereon, imposed directly or indirectly on Omron or required to be collected directly or indirectly by Omron for the manufacture, production, sale, delivery, importa- tion, consumption or use of the Products sold hereunder (including customs duties and sales, excise, use, turnover and license taxes) shall be charged to and remitted by Buyer to Omron. 8. Financial. If the financial position of Buyer at any time becomes unsatisfactory to Omron, Omron reserves the right to stop shipments or require satisfactory security or payment in advance. If Buyer fails to make payment or otherwise comply with these Terms or any related agreement, Omron may (without liabil- ity and in addition to other remedies) cancel any unshipped portion of Prod- ucts sold hereunder and stop any Products in transit until Buyer pays all amounts, including amounts payable hereunder, whether or not then due, which are owing to it by Buyer. Buyer shall in any event remain liable for all unpaid accounts. 9. Cancellation; Etc. Orders are not subject to rescheduling or cancellation unless Buyer indemnifies Omron against all related costs or expenses. 10. Force Majeure. Omron shall not be liable for any delay or failure in delivery resulting from causes beyond its control, including earthquakes, fires, floods, strikes or other labor disputes, shortage of labor or materials, accidents to machinery, acts of sabotage, riots, delay in or lack of transportation or the requirements of any government authority. 11. Shipping; Delivery. Unless otherwise expressly agreed in writing by Omron: a. Shipments shall be by a carrier selected by Omron; Omron will not drop ship

ITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. Omron further disclaims all warranties and responsibility of any type for claims or expenses based on infringement by the Products or oth- erwise of any intellectual property right. (c) Buyer Remedy. Omron’s sole obli- gation hereunder shall be, at Omron’s election, to (i) replace (in the form originally shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-complying Product, (ii) repair the non-complying Product, or (iii) repay or credit Buyer an amount equal to the purchase price of the non-complying Product; provided that in no event shall Omron be responsi- ble for warranty, repair, indemnity or any other claims or expenses regarding the Products unless Omron’s analysis confirms that the Products were prop- erly handled, stored, installed and maintained and not subject to contamina- tion, abuse, misuse or inappropriate modification. Return of any Products by Buyer must be approved in writing by Omron before shipment. Omron Compa- nies shall not be liable for the suitability or unsuitability or the results from the use of Products in combination with any electrical or electronic components, circuits, system assemblies or any other materials or substances or environ- ments. Any advice, recommendations or information given orally or in writing, are not to be construed as an amendment or addition to the above warranty. See http://oeweb.omron.com or contact your Omron representative for pub- lished information. 14. Limitation on Liability; Etc. OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY. Further, in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted. 15. Indemnities. Buyer shall indemnify and hold harmless Omron Companies and their employees from and against all liabilities, losses, claims, costs and expenses (including attorney's fees and expenses) related to any claim, inves- tigation, litigation or proceeding (whether or not Omron is a party) which arises or is alleged to arise from Buyer's acts or omissions under these Terms or in any way with respect to the Products. Without limiting the foregoing, Buyer (at its own expense) shall indemnify and hold harmless Omron and defend or set- tle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party. 16. Property; Confidentiality. Any intellectual property in the Products is the exclu- sive property of Omron Companies and Buyer shall not attempt to duplicate it in any way without the written permission of Omron. Notwithstanding any charges to Buyer for engineering or tooling, all engineering and tooling shall remain the exclusive property of Omron. All information and materials supplied by Omron to Buyer relating to the Products are confidential and proprietary, and Buyer shall limit distribution thereof to its trusted employees and strictly prevent disclosure to any third party. 17. Export Controls. Buyer shall comply with all applicable laws, regulations and licenses regarding (i) export of products or information; (iii) sale of products to “forbidden” or other proscribed persons; and (ii) disclosure to non-citizens of regulated technology or information. 18. Miscellaneous. (a) Waiver. No failure or delay by Omron in exercising any right and no course of dealing between Buyer and Omron shall operate as a waiver of rights by Omron. (b) Assignment. Buyer may not assign its rights hereunder without Omron's written consent. (c) Law. These Terms are governed by the law of the jurisdiction of the home office of the Omron company from which Buyer is purchasing the Products (without regard to conflict of law princi- ples). (d) Amendment. These Terms constitute the entire agreement between Buyer and Omron relating to the Products, and no provision may be changed or waived unless in writing signed by the parties. (e) Severability. If any provi- sion hereof is rendered ineffective or invalid, such provision shall not invalidate any other provision. (f) Setoff. Buyer shall have no right to set off any amounts against the amount owing in respect of this invoice. (g) Definitions. As used herein, “including” means “including without limitation”; and “Omron Compa- nies” (or similar words) mean Omron Corporation and any direct or indirect subsidiary or affiliate thereof.

except in “break down” situations. b. Such carrier shall act as the agent of Buyer and delivery to such carrier shall

constitute delivery to Buyer; c. All sales and shipments of Products shall be FOB shipping point (unless oth-

erwise stated in writing by Omron), at which point title and risk of loss shall pass from Omron to Buyer; provided that Omron shall retain a security inter- est in the Products until the full purchase price is paid; d. Delivery and shipping dates are estimates only; and e. Omron will package Products as it deems proper for protection against nor-

mal handling and extra charges apply to special conditions. 12. Claims. Any claim by Buyer against Omron for shortage or damage to the Products occurring before delivery to the carrier must be presented in writing to Omron within 30 days of receipt of shipment and include the original trans- portation bill signed by the carrier noting that the carrier received the Products from Omron in the condition claimed. 13. Warranties. (a) 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. (b) Limitations. OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT NON-INFRINGEMENT, MERCHANTABIL-

Certain Precautions on Specifications and Use

1. 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. This information by itself is not sufficient for a complete determination of the suitability of the Prod- uct in combination with the end product, machine, system, or other application or use. Buyer shall be solely responsible for determining appropriateness of the particular Product with respect to Buyer’s application, product or system. Buyer shall take application responsibility in all cases but the following is a non-exhaustive list of applications for which particular attention must be given: (i) Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this document. (ii) Use in consumer products or any use in significant quantities. (iii) Energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equip- ment, and installations subject to separate industry or government regulations. (iv) Systems, machines and equipment that could present a risk to life or prop- erty. Please know and observe all prohibitions of use applicable to this Prod- uct. NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO

ADDRESS THE RISKS, AND THAT THE OMRON’S PRODUCT IS PROP- ERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM. 2. Programmable Products. Omron Companies shall not be responsible for the user’s programming of a programmable Product, or any consequence thereof. 3. Performance Data. Data presented in Omron Company websites, catalogs and other materials is provided as a guide for the user in determining suitabil- ity and does not constitute a warranty. It may represent the result of Omron’s test conditions, and the user must correlate it to actual application require- ments. Actual performance is subject to the Omron’s Warranty and Limitations of Liability. 4. Change in Specifications. Product specifications and accessories may be changed at any time based on improvements and other reasons. It is our prac- tice to change part numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifica- tions of the Product may be changed without any notice. When in doubt, spe- cial part numbers may be assigned to fix or establish key specifications for your application. Please consult with your Omron’s representative at any time to confirm actual specifications of purchased Product. 5. Errors and Omissions. Information presented by Omron Companies has been checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical or proofreading errors or omissions.

Page 414 of the Omron Motion Controller Module (FQM1-CM001) user manual — 885 Milner Avenue Toronto, Ontario M 1 B 5 V 8 416.286.6465
Page 414 · click to enlarge
Page 414
Omron Motion Controller Module (FQM1-CM001) — Contact Information diagram (page 414)
Fig. 118 · Contact Information

1 Commerce Drive Schaumburg, IL 60173 847.843.7900 For US technical support or other inquiries: 800.556.6766

885 Milner Avenue Toronto, Ontario M 1 B 5 V 8 416.286.6465

O010-E1-01 11/05 ©2005 OMRON ELECTRONICS LLC Specifications subject to change without notice. Printed in the U.S.A.

Display codes

Error codes

What the fault codes shown on the display mean and how to clear them.

CodeMeaningFix
80F1Memory error p.382
80C0I/O bus error p.382
80CENo End Cover p.382
80CFSync bus error p.382
80E0I/O setting error p.382
80F0Program error p.382
809FCycle time too long error p.382
009BSystem Setup setting error p.382
C101 to C2FFFALS instruction executed (See note 1.) p.382
4101 to 42FFFAL instruction executed (See note 2.) p.382

Ask about the Omron Motion Controller Module (FQM1-CM001)

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Omron Motion Controller Module (FQM1-CM001)

Be the first to ask — other owners or our team will answer.

Original document

Omron Motion Controller Module (FQM1-CM001) manual PDF

414 pages·7 MB·Home Security System·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…