Omron Home Security System FQM1 CM001 User Manual

Cat. No. O010-E1-01  
FQM1 Series  
FQM1-CM001  
FQM1-MMP21  
FQM1-MMA21  
Flexible Motion Controller  
OPERATION MANUAL  
Download from Www.Somanuals.com. All Manuals Search And Download.  
FQM1 Series  
FQM1-CM001  
FQM1-MMP21  
FQM1-MMA21  
Flexible Motion Controller  
Operation Manual  
Produced November 2004  
Download from Www.Somanuals.com. All Manuals Search And Download.  
iv  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
!WARNING  
!Caution  
Indicates an imminently hazardous situation which, if not avoided, will result in death or  
serious injury.  
Indicates a potentially hazardous situation which, if not avoided, could result in death or  
serious injury.  
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.  
Note Indicates information of particular interest for efficient and convenient opera-  
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.  
v
Download from Www.Somanuals.com. All Manuals Search And Download.  
vi  
Download from Www.Somanuals.com. All Manuals Search And Download.  
1
2
3
4
5
Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
General Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Data Backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
xiv  
xiv  
xiv  
xix  
xxii  
SECTION 1  
1-1 Outline of FQM1 Flexible Motion Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2 FQM1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3 Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-4 CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-5 Expanded System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-6 Basic Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-7 Function Tables Arranged by Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2
4
6
8
9
13  
19  
SECTION 2  
2-1 List of Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-2 General Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-3 Coordinator Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-4 Motion Control Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-5 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-6 Module Current Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-7 Memory Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
32  
32  
34  
37  
43  
45  
47  
SECTION 3  
3-1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3 Wiring Module Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-4 Wiring Servo Relay Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5 List of FQM1 Connecting Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-6 Wiring Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
50  
60  
67  
75  
83  
85  
SECTION 4  
4-1 Coordinator Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2 Motion Control Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-3 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
92  
95  
99  
vii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
4-4 Power OFF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
100  
SECTION 5  
5-1 Synchronous Operation between Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-2 Data Exchange between Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3 Cyclic Refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-4 Synchronous Data Refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-5 DM Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-6 Cycle Time Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-7 Operation Settings at Startup and Maintenance Functions . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-8 Diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
104  
105  
106  
109  
112  
114  
118  
120  
SECTION 6  
6-1 Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
124  
SECTION 7  
7-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2 Interrupt Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3 Input Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4 Interval Timer Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5 Pulse Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6 Pulse Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7 Functions for Servo Drivers Compatible with Absolute Encoders . . . . . . . . . . . . . . . . . . . .  
7-8 Virtual Pulse Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9 Analog Input Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-10 Analog Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
139  
140  
142  
146  
148  
167  
199  
212  
215  
225  
SECTION 8  
8-1 CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
234  
8-2 Connecting the CX-Programmer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
235  
SECTION 9  
9-1 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2 Error Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-3 Troubleshooting Problems in Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
242  
243  
256  
viii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
TABLE OF CONTENTS  
x
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
Name  
Cat. No.  
Contents  
FQM1 Series  
O010  
This 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-CM001, FQM1-MMP21, FQM1-MMA21  
Flexible Motion Controller Operation Manual  
(this manual)  
FQM1 Series  
FQM1-CM001, FQM1-MMP21, FQM1-MMA21  
Flexible Motion Controller  
O011  
W437  
Describes the ladder diagram programming instruc-  
tions supported by FQM1-series Flexible Motion Con-  
troller. Use this manual together with the Operation  
Manual (Cat. No. O010).  
Instructions Reference Manual  
SYSMAC WS02-CXP@@-E  
CX-Programmer Operation Manual Version 5.@  
Provides information on how to use the CX-Program-  
mer, 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.  
xi  
Download from Www.Somanuals.com. All Manuals Search And Download.  
xii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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
2
3
4
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
xiv  
xiv  
xiv  
xix  
xix  
xix  
xix  
xx  
4-1  
4-2  
4-3  
4-5  
Applicable Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Conformance to EC Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Relay Output Noise Reduction Methods . . . . . . . . . . . . . . . . . . . . .  
5
Data Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
xxii  
xiii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 exe-  
cuted. 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 out-  
put transistors. As a countermeasure for such problems, external safety  
measures must be provided to ensure safety in the system.  
xiv  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Safety Precautions  
3
• When the 24-VDC output (service power supply to the FQM1) is over-  
loaded 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 tem-  
perature  
• 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:  
xv  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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, Mo-  
tion 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 param-  
eter 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 momen-  
tarily malfunction and the control outputs may temporarily not operate cor-  
rectly.  
xvi  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Safety Precautions  
3
• Outputs may remain ON due to a malfunction in the built-in transistor out-  
puts 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 lad-  
der 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-cir-  
cuiting in external wiring. Insufficient safety measures against short-cir-  
cuiting may result in burning.  
• Be sure that all the terminal screws and cable connector screws are tight-  
ened 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 malfunc-  
tion.  
• 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.  
xvii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 burn-  
ing.  
• 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 oper-  
ation.  
• 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 Mod-  
ule to any external device other than the NT-AL001 or CJ1W-CIF11 Con-  
version 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 stop-  
ping the FQM1.  
xviii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:  
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 sup-  
plies.  
3. Motion Controllers complying with EC Directives also conform to the Com-  
mon Emission Standard (EN61000-6-4). Radiated emission characteris-  
tics (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%  
xix  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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  
AC DC  
Yes Yes  
Required element  
If the load is a relay or solenoid, there The capacitance of the capacitor must  
CR method  
is a time lag between the moment the be 1 to 0.5 µF per contact current of  
circuit is opened and the moment the  
load is reset.  
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.  
C
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.  
R
Power  
supply  
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.  
xx  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Conformance to EC Directives  
4
Circuit  
Current  
AC DC  
Yes  
Characteristic  
Required element  
No  
The diode connected in parallel with  
the load changes energy accumulated of the diode must be at least 10 times  
The reversed dielectric strength value  
Diode method  
by the coil into a current, which then  
flows into the coil so that the current  
as large as the circuit voltage value.  
The forward current of the diode must  
will be converted into Joule heat by the be the same as or larger than the load  
resistance of the inductive load. current.  
This time lag, between the moment the The reversed dielectric strength value  
circuit is opened and the moment the of the diode may be two to three times  
load is reset, caused by this method is larger than the supply voltage if the  
Power  
supply  
longer than that caused by the CR  
method.  
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.  
Varistor method  
Power  
supply  
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 1  
Countermeasure 2  
R
OUT  
R
OUT  
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  
Relay Unit  
Model  
XW2B-80J7-1A  
Cable length  
---  
Controller Connect- XW2Z-050J-A28  
0.5 m  
1 m  
ing Cables  
XW2Z-100J-A28  
XW2Z-050J-A30  
XW2Z-100J-A30  
XW2Z-050J-A31  
XW2Z-100J-A31  
0.5 m  
1 m  
0.5 m  
1 m  
xxi  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Flash memory  
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  
96.2 hours  
(4.01days)  
After 10 years  
90.8 hours  
(3.78 days)  
Ta = 25°C  
101.61 hours  
(4.23 days)  
Ta = 40°C  
26.39 hours  
(1.09 days)  
15.28 hours  
4.16 hours  
Super Capacitor Backup Times  
120  
25°C: 101.61 h  
25°C: 96.20 h  
25°C: 90.80 h  
96  
72  
48  
40°C: 26.39 h  
24  
40°C: 15.28 h  
0
40°C: 4.16 h  
25  
35  
45  
55  
65  
75  
Ambient temperature (°C)  
Initial value,  
After 5 years,  
After 10 years  
Note  
1. The times give above assume that the capacitor is completely charged.  
Power must be supply to the FQM1 for at least 20 minutes to completely  
charge the capacitor.  
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-  
xxii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
xxiii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Data Backup  
5
xxiv  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 1  
Features and System Configuration  
1-1 Outline of FQM1 Flexible Motion Controller . . . . . . . . . . . . . . . . . . . . . . . .  
1-2 FQM1 Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3 Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-4 CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-5 Expanded System Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-5-1 Serial Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-5-2 Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-6 Basic Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-6-1 Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-7 Function Tables Arranged by Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-7-1 Sync Cycles and Synchronized data. . . . . . . . . . . . . . . . . . . . . . . . .  
1-7-2 Position and Speed Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-7-3 Measuring Input Pulses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-7-4 High-speed Analog I/O Control . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-7-5 Controlling Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2
4
6
8
9
9
9
13  
15  
19  
19  
21  
25  
26  
28  
1
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
PT (Monitor  
parameter  
settings)  
Host Controller  
or  
Coordinator Module  
Power Supply Unit  
Motion Control Modules  
End Module  
Peripheral port  
RS-422A  
RS-232C port  
Servo Relay Units  
CX-Programmer  
Servomotors and  
Servo Drivers  
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.  
2
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Outline of FQM1 Flexible Motion Controller  
Section 1-1  
Motion Control  
Module #1  
Motion Control  
Module #2  
Motion Control  
Module #3  
Motion Control  
Module #4  
Coordinator Module  
CX-  
Programmer  
Periph-  
Ladder  
Ladder  
Ladder  
Ladder  
Ladder  
eral port  
program  
program  
program  
program  
program  
RS-232C  
PT, host  
computer,  
etc.  
RS-422A  
Normal 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  
Special I/O  
(pulse or  
analog I/O)  
Basic I/O  
Servo Driver  
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.  
3
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Note  
FQM1 Patch Software must be installed for CX-Programmer Ver. 5.0.  
1-2 FQM1 Configuration  
Coordinator Module  
Motion Control Modules  
Power Supply Unit  
End Module  
Peripheral port  
RS-422A  
RS-232C port  
Servo Relay Units  
CX-Programmer  
Servomotors/  
Servo Drivers  
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.)  
Note  
The number of Motion Control Modules with Analog I/O that can be connected  
is limited by the output capacity of the Power Supply Unit.  
4
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
FQM1 Configuration  
Section 1-2  
FQM1-CM001 Coordinator  
Module  
One Coordinator Module is required in an FQM1. The Coordinator Module  
provides the following:  
I/O:  
16 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 out-  
puts).  
• 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 capacity:  
Pulse inputs:  
5 Ksteps  
2
2
Pulse outputs:  
General-purpose inputs: 12  
General-purpose outputs:8  
Analog I/O Motion  
Control Module  
FQM1-MMA21 Program capacity: 5 Ksteps  
Pulse inputs:  
2
1
2
Analog inputs:  
Analog outputs:  
General-purpose inputs: 12  
General-purpose outputs: 8  
• Rotary Encoders, Linear Sensors, Servos, Inverters, etc., can be con-  
nected 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.  
5
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Item  
Details  
Functions Interfaces for  
peripheral  
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)  
devices  
Sharing data with The 10 words are allocated for each Motion Control Module in the Cyclic Refresh Bit Area  
each Motion  
Control Module  
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  
(each Coordina- Area of each Motion Control Module.  
tor Module cycle)  
• 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  
User-specified synchronous data (see following list) can be allocated to CIO 0200 to CIO  
sharing of special 0219 in the Synchronous Data Link Bit Area of the Coordinator Module and each Motion  
data between  
Control Module, 4 words at a time (2 types of data × 2 words). The allocations are fixed,  
Modules (broad- starting with the Coordinator Module and followed by Motion Control Modules in order of  
cast at specified slot number.  
sync cycle)  
• 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 DM data (499 words max.) can be transferred in the specified direction between the speci-  
with specific  
Motion Control  
Modules (as  
required)  
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.  
I/O  
Serial communi- • Peripheral port: Peripheral bus (for CX-Programmer)  
cations  
• One RS-232C port: NT Link (for OMRON PTs), Host Link (for host computers), or no pro-  
tocol (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 General-purpose inputs: 16  
I/O 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)  
6
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Modules  
Section 1-3  
Outline of Internal Data Exchange and I/O  
Coordinator  
Module  
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)  
CX-Programmer  
DM  
DM  
DM data transfer  
(as required)  
Peripheral port  
RS-232C  
PT  
16 inputs  
8 outputs  
12 inputs Special I/O 12 inputs Special I/O  
8 outputs 8 outputs  
12 inputs Special I/O  
8 outputs  
12 inputs Special I/O  
8 outputs  
RS-422A  
(for parameter settings)  
PLC  
W-series/  
SMART  
STEP  
W-series/  
SMART  
STEP  
Servo  
Servo  
Driver  
Driver  
Coordinator  
Module  
• 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 Syn-  
chronous 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 Syn-  
chronous Data Link Bit Area, which is shared each Module cycle  
7
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
FQM1 Series  
Note CX-Programmer can also be used for SYSMAC CS/CJ-  
series PLCs.  
OS  
Microsoft Windows Microsoft Windows Microsoft Windows  
95, 98, or NT4.0  
Service Pack 6  
2000 or Me  
XP  
Personal computers IBM PC/AT or com- IBM PC/AT or com- IBM PC/AT or com-  
patible patible patible  
Connection method Peripheral port or built-in RS-232C port on the Coordinator  
Module  
Communications  
Peripheral Bus or Host Link  
protocol with FQM1  
Offline functions  
Online functions  
Main functions  
Programming, editing of I/O memory, System Setup, printing  
Transferring comparing data, monitoring, System Setup  
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.  
Note  
The CX-Programmer can be connected online to FQM1 Coordinator Modules  
and Motion Control Modules at the same time. If the default baud rate is  
changed when Coordinator and Motion Control Modules are connected at the  
same time, set the baud rate to 38.4 kpps max.  
8
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
Host computer  
CX-Programmer  
Peripheral Automatic detection of  
port  
communications parameters  
Host Link  
RS-232C port  
Coordinator Module  
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  
communications  
instructions  
Host Link (SYS-  
MAC WAY)  
Personal computer  
Communications between the  
host computer and the Module  
Host Link commands/ FINS  
commands  
OMRON Programmable Termi-  
nals (PTs)  
No-protocol (cus- General-purpose external devices No-protocol communications with TXD(236) instruction and  
tom) communica-  
tions  
general-purpose devices, host  
controllers, and Servo Drivers  
RXD(235) instruction  
Servo Drivers  
Host controllers  
NT Links (1: N)  
OMRON Programmable Termi-  
nals (PTs)  
High-speed communications with None  
Programmable Terminals via  
direct access  
Peripheral Bus  
(Toolbus)  
CX-Programmer  
OMRON PLC  
Communications between the  
CX-Programmer running on a  
computer and the FQM1  
None  
Serial PLC Link  
Slave  
Communications between  
OMRON PLC and the FQM1  
None  
Serial Gateway  
OMRON Programmable Termi-  
nals (PTs)  
Communications between a PT  
and W-series or SMARTSTEP  
Servo Drivers via the FQM1  
FINS commands  
Servo Drivers  
9
Download from Www.Somanuals.com. All Manuals Search And Download.  
                         
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.  
Host computer  
Applicable Ports  
Coordinator Module  
RS-232C  
Peripheral port RS-232C port  
Yes  
Yes  
(See note.)  
Host link commands  
or FINS commands  
embedded in Host Link  
commands  
Note: Turn ON pin 2 on the DIP switch on the front of the  
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.  
Coordinator Module  
Applicable Ports  
Coordinator Module  
Peripheral  
No  
RS-232C  
Yes  
RS-422A  
Yes  
Note Set the serial communications  
mode in the System Setup to  
"non-procedural."  
RXD(235) instruction  
RS-232C  
TXD(236) instruction  
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).  
10  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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  
Applicable Ports  
Coordinator Module  
Peripheral port RS-232C port  
Yes  
(See note.)  
Yes  
RS-232C  
RS-232C to RS-422A/485  
Note Turn ON pin 2 on the DIP  
switch on the front of the  
Coordinator Module and set  
the serial communications  
mode in the System Setup to  
an NT Link.  
Conversion Adapter  
RS-422A/485  
PT  
PT  
PT  
Note  
(1) The FQM1 can be connected to any PT port that supports 1:N NT Links.  
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  
Note  
Use a CJ1W-CIF11 RS-232C to RS-422A/485 Conversion Adapter when con-  
necting more than one FQM1 to the same CJ1M CPU Unit (1:N, where N = 8  
max.).  
11  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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)  
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)  
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.  
12  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Basic Operating Procedure  
Wiring I/O terminals and connectors. Refer to 3-3 Wiring Module Connec-  
tors for details.  
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  
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.  
Note If the Coordinator and Motion Control Modules are connected at  
the same time, set the baud rate to 38.4 kpps max.  
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.  
14  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
Basic Operating Procedure  
Section 1-6  
1-6-1 Examples  
1. Installation  
Connect the Power Supply Unit, Coordinator Module, Motion Control Mod-  
ules, and End Module to assemble the FQM1.  
L1  
AC  
10  
0
-24  
0V  
INP  
UT  
L2/N  
NC  
NC  
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.  
PA202  
CM001  
MMP21  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
OFF  
0
0
1
2
3
4
5
6
7
1
2
3
4
5
6
1
2
1
2
PERIPHERAL  
7
8
L1  
9
AC100  
-240V  
INPUT  
10  
11  
L2/N  
26  
25  
CN1  
RS422  
CN2  
PORT  
CN1  
NC  
NC  
39  
A
40  
B
39  
A
40  
B
2
1
B
A
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.  
Note  
When devices other than the CX-Programmer are connected to the peripheral  
port and RS-232C port, turn ON pin 2.  
CM001  
FLEXIBLE  
RDY  
RUN  
ERR  
MOTION  
CONTROLLER  
PRPHL  
COMM1  
COMM2  
ON  
OFF  
15  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Basic Operating Procedure  
Section 1-6  
4. Turning ON Power and Checking Initial Operation  
Note  
The System Setup and user programs are backed up in built-in flash memory.  
When the data is being backed up, a message indicating the data is being  
transferred will be displayed on the CX-Programmer. Never turn OFF the  
power supply to the FQM1 while data is being backed up.  
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.  
2. When going online to Motion Control Modules through the Coordinator  
Module, the node set for the FINS destination address in the network set-  
tings on the Change PC Type Window determines the Motion Control Mod-  
ule that is connected. Normally the node number is automatically allocated  
for the Motion Control Module when Insert - PC is executed.  
16  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
Coordinator Module  
Trial Operation  
Select PC - Mode - MONITOR.  
Peripheral  
port  
Actual operation  
Select PC - Mode - RUN.  
CX-Programmer  
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.  
17  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
18  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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 Simple control  
Synchronizing  
Sync Mode,  
5-1 Synchronous Operation between Modules  
or more axes  
of all axes oper- all Motion Con- Sync Cycle  
ations from the trol Modules to Time  
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-  
from the Coordinator Module ladder program.  
Coordinator  
Module  
Coordinator  
Module cycle  
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  
high-speed counter PVs from pulse inputs, etc.  
Constant Cycle 5-1 Synchronous Operation between Modules  
Time (Coordina-  
tor Module)  
The cycle time of the Coordinator Module can be  
made constant using the Constant Cycle Time  
Sync Cycle  
Time (matches  
cycle time)  
function.  
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 5-4-4 Settings  
Interruption of  
the Sync Mode  
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.  
19  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                 
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Function used  
Details  
Synchronizing 3 Make control  
Synchronizing  
Motion Control  
Sync Mode,  
Sync Cycle  
Time  
5-1 Synchronous Operation between Modules  
or more axes  
cycle as short  
as possible with Modules only  
Modules syn-  
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.  
chronized  
The Sync Cycle Time can be set to any value.  
Synchronous  
Data Link Bit  
Area  
Same as “Synchronous Data Link Bit Area,”  
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 Same as “Prohibit System Interruption of the  
Interruption of  
the Sync Mode  
Control opera-  
Synchronizing  
Synchronous  
Data Selection  
5-4 Synchronous Data Refresh  
tion using pulse Motion Control  
and analog data Modules to  
simultaneously Coordinator  
Module cycle or  
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  
synchronizing  
between Motion  
Control Mod-  
ules only  
• Analog input values  
• Built-in I/O inputs  
Fast control  
loops  
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.  
20  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Function Tables Arranged by Purpose  
Section 1-7  
1-7-2 Position and Speed Control  
Purpose  
Operation  
Main functions  
used  
PTP positioning Using Servo  
using pulse I/O Driver compati- tioning speed  
Controlling posi- • Relative pulse 7-6-6 Pulse Output Function Details  
output func-  
tions  
Set operating mode to Relative Pulse Output.  
ble with an  
incremental  
encoder or step-  
ping Servomo-  
tor/Servo Driver  
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.  
• Pulse output  
instructions  
(SPED(885)(8  
85), ACC(888),  
PULS(886),  
and  
• 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  
PLS2(887))  
• For stepping motors, combination with basic  
Controlling trap- • PLS2(887)  
ezoidal position- instruction  
7-6-12 PLS2(887) Pulse Output Direction Prior-  
ity Mode  
ing speed  
control  
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  
Speed Change 7-6-11 Acceleration/Deceleration Rates in  
Cycle Selection ACC(888) and PLS2(887) Instructions  
(2 ms/1 ms)  
The speed change cycle of ACC(888) and  
PLS2(887) instructions can be selected.  
reach target speed or to reduce positioning time.  
Defining the ori- PulseOutputPV 7-5-8 Pulse Input Function Description  
gin  
Reset  
Turn ON the Pulse Output PV Reset Bit at the  
origin.  
2) turn ON.  
Using Servo  
Drivers compati- tioning speed  
ble with an  
Absolute  
Encoder  
Controlling posi- • Absolute Pulse 7-6-6 Pulse Output Function Details  
Output  
Change operating mode to Absolute Pulse Out-  
put.  
• Pulse output  
instructions  
(SPED(885)(8  
85), ACC(888),  
PULS(886),  
and  
The number of pulses in the command is han-  
dled as an absolute position. Everything else is  
the same as relative pulse output.  
PLS2(887))  
Controlling trap- PLS2(887)  
ezoidal position- instruction  
incremental encoder, outlined above.  
ing speed  
Pulse Output  
7-6-12 PLS2(887) Pulse Output Direction Prior-  
Direction/Abso- ity Mode  
lute Position Pri-  
ority Mode  
Setting  
Can switch between giving priority to CW/CCW  
output direction specification for PLS2(887)  
instructions or absolute position specification to  
determine output direction.  
21  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Reading PV  
Main functions  
used  
7-7 Functions for Servo Drivers Compatible with  
PTP positioning Using Servo  
• Absolute  
using pulse I/O Drivers compati- from Servo  
counter opera- Absolute Encoders  
ble with an  
Absolute  
Encoder  
Driver  
tion (absolute  
linear/circular)  
Set counter operation to Absolute Linear (CW),  
Absolute Circular, or Absolute Linear (CW+).  
• High-speed  
counter abso-  
lute encoder  
read  
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  
before operation starts.  
Presetting the  
absolute posi-  
tion to the pulse vert (INI(880)  
output counter. instruction)  
Pulse output  
counter PV con-  
7-6-6 Pulse Output Function Details  
Reflects in the pulse output instruction the abso-  
instruction outlined above.  
PTP positioning Using Servo  
using analog I/O Driver compati- in semi-closed  
Position control • Virtual axis  
7-8 Virtual Pulse Output Function  
(AXIS instruc-  
tion)  
• High-speed  
counter (FB  
pulse)  
Uses virtual axis (AXIS instruction) in relative  
mode.  
ble with an  
incremental  
encoder  
loop using vir-  
tual pulse output  
function  
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.  
• Analog output  
instructions  
with position  
deviation using  
virtual axis and  
high-speed  
counter  
Use Servo Driv- Position control As above  
7-8 Virtual Pulse Output Function  
ers compatible  
with Absolute  
Encoder  
in semi-closed  
loop using vir-  
tual pulse output  
function  
Uses virtual axis (AXIS instruction) in absolute  
mode. Everything else is the same as above.  
Reading current • Absolute  
Same as PTP positioning with pulse I/O when  
position from  
Servo Driver  
counter mode Servo Drivers compatible with Absolute Encoder  
(absolute lin-  
ear/circular)  
used.  
• High-speed  
counter abso-  
lute encoder  
read  
Presets abso-  
lute position in  
AXIS instruction  
• High-speed  
counter PV  
• MOVL instruc-  
tion  
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.  
22  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Main functions  
used  
Details  
7-10 Analog Outputs  
PTP positioning Simple position- Stepped or  
using analog I/O ing using invert- sloped analog  
Target value  
match instruc-  
tion  
(CTBL(882)  
instruction) for  
high-speed  
counter  
• Analog output  
instruction  
(SPED(885)  
instruction) or  
analog output  
Used when positioning only using speed com-  
mand according to analog output.  
ers  
output corre-  
sponding to the  
high-speed  
Applicable when speed patterns have been  
determined based on specified positions.  
counter PV  
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.  
slope variation Fine speed control loops can be included using  
(ACC(888) the FQM1 high-speed cycle time and analog  
instruction) in output conversion functions (approx. 40 µs).  
interrupt tasks  
Path control  
Drawing path  
with linear inter- tronic cam con-  
polation  
Executing elec- • Virtual axis  
7-8 Virtual Pulse Output Function  
(AXIS instruc-  
tion)  
• Create path  
tables using  
ladderprogram  
(APR instruc-  
tion)  
Pulse output operation mode set to electronic  
cam control mode (linear).  
trol for 2 axes  
synchronized to  
virtual axis  
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.  
• Electronic cam  
pulse output  
(PULS(886)  
instruction)  
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- As above  
cal and other  
As above  
special locus  
Synchronous  
control  
Slave axis con- Electronic cam: • High-speed  
7-6-14 Pulse Output Function Examples  
trol synchro-  
nized to real  
axis.  
Changing target counter PV  
Set pulse output operation mode to electronic  
cam control mode (linear) or electronic cam con-  
trol mode (circular).  
position and  
speed every  
cycle based on  
input pulse  
• Cam curve  
generation or  
cam curve  
table every  
cycle based on  
ladder pro-  
gramming  
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.  
(position or  
angle for one  
rotation, etc.) to  
execute posi-  
tioning.  
If cam curves are generated using ladder pro-  
gramming, the cam curves can be changed dur-  
ing operation.  
(APR instruc-  
tion)  
• Pulse output  
with specified  
target position  
and frequency  
(PULS(886)  
High-precision, synchronized control with exter-  
nal axes is possible with FQM1 high-speed  
cycle.  
instruction)  
• Constant cycle  
time  
23  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Main functions  
used  
Synchronous  
control  
Slave axis con- Electronic cam: • Virtual axis  
7-8 Virtual Pulse Output Function  
trol synchro-  
nized to virtual  
axis.  
Changing target (AXIS instruc-  
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.  
position and  
tion)  
speed every  
• Cam curve  
generation or  
cam curve  
table every  
cycle based on  
ladder pro-  
gramming  
cycle based on  
virtual pulse out-  
put (position or  
speed) to exe-  
cute positioning.  
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.  
(APR instruc-  
tion)  
• Pulse output  
with specified  
target position  
and frequency  
(PULS(886)  
instruction)  
• Constant cycle  
time  
Control of a par- Electronic gear • High-speed  
ticular axis oper- operation: Pulse counter PV  
7-6-13 Pulse Output Function Procedures  
Set pulse output operating mode to electronic  
cam control (circular).  
ation at a speed outputs based  
• Straight-line  
table (APR  
instruction)  
• Pulse outputs  
with specified  
target position  
and frequency  
(PULS(886)  
with a uniform  
ratio applied  
on input pulses  
multiplied by a  
set factor.  
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-  
instruction)  
• Constant cycle  
time  
Speed control  
Creating any  
trapezoidal  
speed control  
pattern (e.g., S- position and  
curve accelera- speed every  
tion/decelera-  
tion) (fine  
control of accel- perform posi-  
eration/deceler- tioning.  
ation using time)  
Electronic cam • Cam curve  
operation: generation or  
Changing target cam curve  
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).  
table every  
cycle based on  
ladder pro-  
gramming  
(APR instruc-  
tion)  
Used for applications such as creating ideal Ser-  
vomotor control patterns.  
cycle according  
to time axis and  
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.  
• Pulse output  
with specified  
target position  
and frequency The time unit can be set to milliseconds, allow-  
(PULS(886)  
instruction)  
ing fine control in FQM1 high-speed cycles.  
• Constant cycle  
time  
24  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Speed control Torque control  
Operation  
Main functions  
used  
Switching  
• Analog input  
7-9 Analog Input Functions  
7-10 Analog Outputs  
(position +  
torque control)  
between posi-  
tion and torque  
control modes.  
• Pulse input (for  
Servo Drivers  
compatible  
with Absolute  
Encoders)  
Uses 2 analog outputs for speed and torque  
commands for Servo Driver.  
Individual axis  
control for mold- During torque  
ing equipment  
and similar  
applications  
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.  
control, perform-  
ing speed con-  
trol using high-  
speed control  
loops based on  
feedback from  
torque sensors.  
• Analog output  
• Feedback cal-  
culations using  
ladder pro-  
grams  
Fine speed control is possible in FQM1 high-  
Line control  
(winding/feed-  
ing control)  
Performing ana- • Analog input  
7-9 Analog Input Functions  
7-10 Analog Outputs  
log output con-  
trol based on  
feedback using  
analog inputs  
• Analog output  
• Feedback cal-  
culations using  
ladder pro-  
grams  
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.  
Tension control,  
etc.  
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 ezoidal analog  
axis using  
inverter  
Controlling  
stepped or trap-  
• Timer instruc- 7-10 Analog Outputs  
tions  
• Analog output  
instructions  
Used to create any speed change pattern using  
an inverter.  
outputs based  
on time  
The speed pattern is based on the time axis,  
and the speed can be changed to any value  
once a set time has passed.  
(SPED(885)  
and ACC(888)  
instructions)  
1-7-3 Measuring Input Pulses  
Purpose  
Operation  
Main functions  
used  
Detecting posi- High-precision  
tion and length positioning  
using rotary  
Counts high-  
speed encoder 2 MHz (phase  
output using  
high-speed  
counter  
Counting at  
7-5-8 Pulse Input Function Description  
Set counter operation to phase differential × 4  
and counting speed to 500 kHz.  
differential × 4)  
encoder inputs  
Can be used when high-speed pulse inputs  
positioning in µm-units.  
Reading high-  
speed counter  
PV when mark PV when sen-  
has gone past  
mark sensor  
Latching high-  
speed counter  
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.  
sor turns ON for  
latch input  
The values can be read using the PRV(881)  
instruction.  
Can be quickly read using hardware latch cir-  
cuits.  
25  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Main functions  
used  
Detecting speed Detecting speed Measuring dis- Monitoring High- 7-5-8 Pulse Input Function Description  
using rotary  
and use in out- placement of  
speed Counter  
Movement  
(cycle time)  
Outputs the change in the high-speed counter  
PV each cycle, while outputting number of input  
pulses as high-speed counter PV.  
encoder inputs put control while workpiece per  
managing posi- unit time  
tion using  
Used for applications such as detecting speed of  
trol.  
encoder inputs  
Monitoring High- 7-5-8 Pulse Input Function Description  
speed Counter  
Movement  
(sampling time  
specified)  
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  
ified time (not used for output control).  
Monitoring  
Measure input  
pulse cycle  
Counter fre-  
7-5-8 Pulse Input Function Description  
speed while  
managing work-  
piece position  
using encoder  
input  
quency mea-  
surement (pulse  
input 1 only)  
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  
used  
Measuring  
High-speed  
Storing analog  
• Interval timer  
interrupts  
• PRV(881)  
instruction  
7-9-3 Analog Input Function Specifications  
undulation, dis- tracing of analog input value in  
tortion, thick-  
ness, height, or external signal  
diameter, etc., of turns ON  
an object  
Can perform analog sampling at a constant  
cycle, using scheduled interrupt processing in  
analog input immediate refresh mode.  
data when  
memory at  
specified time  
(constant cycle)  
Sampling can be executed at small time inter-  
vals using analog input conversion (40 µs).  
Data stored in memory can also be displayed on  
High-speed  
tracing of analog inputs to DM  
data synchro-  
nized with tar-  
get object  
Storing analog  
High-speed  
analog sam-  
pling function  
7-9-7 High-speed Analog Sampling (FQM1-  
MMA21 Only)  
Area synchro-  
nous with posi-  
tion (pulse input)  
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.  
position  
Used for applications such as generating dis-  
placement data for the measurement object  
from one position to another position.  
26  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Main functions  
used  
Control using  
measurement  
results for undu- on measure-  
lation,distortion, ment results  
thickness,  
height, diame-  
ter, etc., of an  
Judgment pro-  
cessing based  
Reading analog Analog input +  
7-9 Analog Input Functions  
input values in  
high-speed  
ladder program-  
ming  
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.  
cycles and per-  
forming judg-  
mentprocessing  
using ladder  
program  
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).  
object  
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  
Position control Performing sync Synchronous  
7-6 Pulse Outputs  
using measure- control using  
Data Link Bit  
Area  
7-9 Analog Input Functions  
ment results  
high-speed  
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.  
counter PV posi-  
tion information  
andanaloginput  
information  
simultaneously  
MMP21 and MMA21 used together for this appli-  
cation.  
Responding  
quickly to exter- log output  
nal signals with amount as soon log output  
Changing ana- Immediate  
• Settings for  
immediate  
refresh  
• SPED(885)/AC  
C(888) instruc-  
tions  
7-10 Analog Outputs  
refresh of ana-  
SPED(885) or ACC(888) instructions can be  
used to directly refresh analog outputs.  
analog control  
as signal turns  
ON  
Used to change output amount immediately  
Reading analog Immediate  
• Settings for  
immediate  
refresh  
• PRV(881)  
instructions  
7-9 Analog Input Functions  
input value as  
soon as signal  
turns ON  
refresh of ana-  
log input  
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.  
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.  
27  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Function Tables Arranged by Purpose  
Section 1-7  
1-7-5 Controlling Timing  
Purpose  
Operation  
Main functions  
used  
Details  
Responding  
Executing pro-  
Starting inter-  
• Input function 7-3 Input Interrupts  
quickly to exter- cessing as soon rupt processing  
settings  
- Input Interrupt Mode  
nal signals and as change in  
when an input  
bit turns ON  
• Interrupt inputs  
(MSKS(690)  
instructions)  
Set input function to Interrupt inputs.  
operate  
external input  
signal detected and/or OFF.  
Executes interrupt tasks when Motion Control  
Module built-in input bits (input No. 0.00 to 0.03)  
Executing pro-  
cessing after set rupt processing  
amount of exter- once the speci-  
nal signal  
changes  
counted  
Starting inter-  
• Input function 7-3 Input Interrupts  
settings  
- Counter Mode  
• Counting inter-  
rupts in  
Set input function to Interrupt input and counter  
mode using MSKS(690) instructions.  
fied number of  
input bit rising  
edges, falling  
edges, or both  
have been  
counter mode  
(MSKS(690)  
instruction)  
Decrements the PV each time the Motion Con-  
trol Module built-in input bit (input numbers  
counted  
Repeating pro- Starting inter-  
• Interval timer  
interrupt  
(scheduled  
interrupt:  
STIM(980)  
instruction)  
7-4 Interval Timer Interrupts  
- 7-4-3 Interval Timer Interrupt Modes  
cesses each  
time specified  
period passes  
rupt processing  
at scheduled  
time  
Repeats interrupt task execution at scheduled  
intervals.  
Can be used within interrupt tasks because spe-  
Executing pro-  
cessing once  
specified timer  
interval passes specified inter-  
after startup sig- val has elapsed  
nal input  
Starting inter-  
rupt processing  
once only, after  
• Interval timer  
interrupt (one- - 7-4-3 Interval Timer Interrupt Modes  
shot interrupt:  
STIM(980)  
7-4 Interval Timer Interrupts  
Executes interrupt task once only after specified  
period elapses.  
instruction)  
Starting inter-  
rupt processing  
once periods of  
any set time  
have elapsed  
from timer start  
• Pulse output  
7-6-9 Target-value Comparison Interrupts from  
Pulse Output PVs  
Target value  
comparison  
interrupt  
(CTBL(882)  
instruction)  
Executes specified interrupt task when target  
value in registered table matches the pulse out-  
Starting pro-  
cessing when  
high-speed  
counter PV  
reaches set  
value  
Starting inter-  
rupt processing  
when high-  
speed counter  
PV reaches  
• High-speed  
counter target  
value compari-  
son interrupt  
(CTBL(882)  
instruction)  
7-5 Pulse Inputs  
Executes specified interrupt task when target  
value in registered table matches high-speed  
counter PV.  
specified value  
28  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Function Tables Arranged by Purpose  
Section 1-7  
Purpose  
Operation  
Main functions  
used  
Details  
Operation with Increasing accu- High-precision  
• One-shotpulse 7-5 Pulse Inputs  
highly precise  
timing  
racy of external ON outputs, with outputs  
output ON time. minimum unit of (STIM(980)  
Set pulse output operation mode to one-shot  
output.  
(Feeding, hole  
opening, tape  
winding, gluing,  
and other appli-  
cations)  
0.01 ms  
instruction)  
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.  
special timer.  
Highly accurate Starting/stop-  
measurement of ping high-preci-  
• Pulse output  
counter mea-  
surement  
mode (time  
measurement)  
(Unit:0.001 ms  
min.)  
7-6-8 Time Measurement with the Pulse  
Counter  
external input  
sion timer at  
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.  
signal ON/OFF 0.001-ms unit  
time  
min.  
Note Pulse output 1 or pulse output 2 must be  
System Setup.  
Various pro-  
cessing (instruc- ON/OFF pat-  
Outputting  
• Pulse output  
counter mea-  
7-6-8 Time Measurement with the Pulse  
Counter  
tion execution)  
at each one of  
multiple time  
intervals, using value range.  
high-precision  
tern when pulse surement  
Can be used to obtain output pattern each time  
interval elapsed after timer start.  
output counter  
PV is within set  
mode (time  
measurement)  
Timer accuracy can be selected from as low as  
0.001 ms.  
• Range com-  
parison bit pat-  
tern output  
timer  
Timing output  
according to  
workpiece posi- speed counter  
tion PV  
Timing output  
using high-  
Outputting  
• High-speed  
counter range  
comparison bit  
pattern output  
(Executes  
comparison at  
execution of  
CTBL(882)  
7-5-8 Pulse Input Function Description  
ON/OFF pat-  
tern when high-  
speed counter  
PV within cer-  
tain range  
Outputs set bit pattern when high-speed counter  
PV enters the range between set upper and  
lower limits.  
instructions)  
29  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Function Tables Arranged by Purpose  
Section 1-7  
30  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 2  
Specifications and Nomenclature  
This section provides the specifications of the FQM1 and describes the parts and their functions on the Coordinator Module  
2-1 List of Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-2 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-3 Coordinator Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-4 Motion Control Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-5 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-6 Module Current Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-7 Memory Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
32  
32  
34  
37  
43  
45  
47  
31  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
List of Models  
Section 2-1  
2-1 List of Models  
Name  
Type  
Model  
Specifications  
Program capacity: 5 Ksteps  
Coordinator Mod- Standard  
FQM1-CM001  
ule  
(with built-in I/O)  
16 general-purpose inputs, 8 general-purpose outputs  
Peripheral port, RS-232C port, RS-422A port  
Motion Control  
Modules  
Pulse I/O  
Analog I/O  
Standard  
FQM1-MMP21  
FQM1-MMA21  
Program capacity: 5 Ksteps  
2 pulse inputs, 2 pulse outputs, 12 general-purpose  
inputs, 8 general-purpose outputs  
Program capacity: 5 Ksteps  
2 pulse inputs, 1 analog input, 2 analog outputs,  
12 general-purpose inputs, 8 general-purpose outputs  
End Module  
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  
Set for analog I/O FQM1S-MC222  
A set including the CJ1W-PA202, FQM1-CM001, FQM1-  
MMP21, and FQM1-TER01  
A set including the CJ1W-PA205R, FQM1-CM001,  
FQM1-MMA21, and FQM1-TER01  
Programming  
Device  
CX-Programmer WS02-CXPC1-E-V5@ Used for System Setup setting, programming, and moni-  
Ver. 5.0 or later  
(See note.)  
toring for Coordinator Modules and Motion Control Mod-  
ules. The FQM1 patch file is used with CX-Programmer  
Ver. 5.0.  
Note  
If CX-Programmer Ver. 5.0 is used with the FQM1, the FQM1 Patch Software  
must be installed.  
2-2 General Specifications  
General Specifications  
Item  
Specifications  
Insulation resistance  
Dielectric strength  
20 Mmin. (at 500 VDC) between AC external and GR terminals (See note 1.)  
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)  
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)  
Vibration resistance  
147 m/s2 3 times each in X, Y, and Z directions (conforming to JIS C0041)  
Shock resistance  
Ambient operating tem-  
perature  
0 to 55°C  
Ambient operating  
humidity  
10% to 90% (with no condensation)  
Atmosphere  
Must be free from corrosive gases  
Ambient storage temper- 20 to 75°C  
ature  
Grounding  
Enclosure  
Less than 100 Ω  
Mounted in a panel.  
Dimensions  
Weight  
49 × 90 × 80 mm (W × H × D) (not including cables)  
All models are each 5 kg max.  
Safety measures  
Conforms to EC directives, C-Tick, and cULus.  
32  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                     
General Specifications  
Section 2-2  
Note  
(1) 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 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  
CJ1W-PA202  
Power Supply Unit CJ1W-PA205R  
Supply voltage  
100 to 240 V AC (wide-range), 50/60 Hz  
85 to 264 V AC, 47 to 63 Hz  
Operating voltage  
and frequency  
ranges  
Power consumption 100 VA max.  
50 VA max.  
Inrush current  
(See note 1.)  
At 100 to 120 V AC:  
At 100 to 120 V AC:  
15 A/8 ms max. for cold start at room temperature 20 A/8 ms max. for cold start at room temperature  
At 200 to 240 V AC:  
At 200 to 240 V AC:  
30 A/8 ms max. for cold start at room temperature 40 A/8 ms max. for cold start at room temperature  
Output capacity  
5.0 A, 5 VDC (including supply to Modules)  
0.8 A, 24 VDC  
2.8 A, 5 VDC (including supply to Modules)  
0.4 A, 24 VDC  
Total 25 W max.  
Total 14 W max.  
Output terminal  
RUN output  
Not provided.  
Contact configuration: SPST-NO  
Not provided.  
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)  
Insulation resis-  
tance  
20 Mmin. (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)  
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)  
Vibration resistance  
147 m/s2 3 times each in X, Y, and Z directions (conforming to JIS C0041)  
Shock resistance  
Ambient operating 0 to 55°C  
temperature  
Ambient operating 10% to 90% (with no condensation)  
humidity  
Atmosphere  
Must be free from corrosive gases.  
Ambient storage  
temperature  
20 to 75°C  
Grounding  
Enclosure  
Less than 100 Ω  
Mounted in a panel.  
Weight  
5 kg. total max.  
Dimensions  
Safety measures  
80 × 90 × 65 mm (W × H × D)  
Conforms to cULus and EC Directives.  
45 × 90 × 65 mm (W × H × D)  
33  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Coordinator Module  
Section 2-3  
Note  
(1) The inrush current is given for a cold start at room temperature with an  
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  
Indicators  
CM001  
FLEXIBLE  
RDY  
RUN  
ERR  
MOTION  
CM001  
OFF  
CONTROLLER  
Peripheral  
PRPHL  
COMM1  
COMM2  
ON  
OFF  
FLEXIBLE  
RDY  
port baud rate  
detection/System  
Setup switch  
MOTION  
RUN  
CONTROLLER  
ERR  
1
2
PERIPHERAL  
PRPHL  
Peripheral  
port  
ON  
COMM1  
COMM2  
40-pin connector  
CN1  
PORT  
24 general-purpose  
I/O points and RS-422A㧕  
RS-232C  
port  
RS422  
40  
39  
Coordinator Module  
Note  
Cover the peripheral port and RS-232C port with the supplied covers when  
the ports are not being used to prevent dust contamination.  
Indicators  
Indicator Color  
Name  
Status  
Meaning  
RDY  
RUN  
ERR  
Green Module operation Lit  
The Module is operating normally.  
Not lit Module error (e.g., WDT error).  
Green Program execution Lit  
Executing internal Module program.  
Not lit Internal Module program stopped.  
Red  
Module error  
Lit  
Fatal error.  
Flash- Non-fatal error.  
ing  
Not lit Module operating normally.  
34  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Coordinator Module  
Section 2-3  
Indicator Color  
Name  
Status  
Meaning  
PRPHL  
Yellow Peripheral port  
communications  
Lit  
Communicating via the peripheral  
port.  
Not lit All other times.  
COMM1 Yellow RS-232C commu- Lit  
nications  
Communicating via the RS-232C  
port.  
Not lit All other times.  
COMM2 Yellow RS-422A commu- Lit  
nications  
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  
RDY  
RUN  
ERR  
MOTION  
CONTROLLER  
PRPHL  
COMM1  
COMM2  
ON  
OFF  
SW2  
SW1  
Peripheral port baud rate  
detection/System Setup  
ON  
System Setup settings  
OFF  
---  
Automatic baud rate detection  
Reserved  
Function Specifications  
Item  
Control method  
Specifications  
Stored program  
I/O control method  
Programming  
Cyclic scan  
Ladder diagram  
1 to 7 steps per instruction  
Approx. 260  
Instruction length  
Ladder instructions  
Execution time Basic instructions  
0.1 µs min.  
Special instructions 0.3 µs min.  
Common processing (overhead)  
time  
Sync Mode: 390 µs  
ASync Mode: 180 µs  
Program  
capacity  
Ladder  
5 Ksteps  
Comment storage None  
Cyclic tasks: 1, interrupt tasks: 50  
Number of tasks  
Subroutines  
256  
256  
24  
JMP instructions  
Number of basic I/O  
35  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Coordinator Module  
Section 2-3  
Item  
Specifications  
16 bits (CIO 0000): CIO 0000.00 to CIO 0000.15  
8 bits (CIO 0001): CIO 0001.00 to CIO 0001.07  
CIO Area  
Input Bit Area  
Output Bit Area  
Cyclic Refresh Bit 640 bits (40 words): CIO 0100 to CIO 0139  
Area 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 320 bits (20 words): CIO 0200 to CIO 0219  
Link Bit Area  
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 320 bits (20 words): CIO 0080 to CIO 0099  
Area  
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  
Work Area  
2,784 bits: CIO 0002 to CIO 0079, CIO 0140 to CIO 0199, and CIO 0220 to 0255  
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  
Temporary Area  
Holding Area  
100 words: A100 to A199 (20 records)  
16 bits: TR0 to TR15  
None  
Timer Area  
256 timers: T0000 to T0255 (1-ms, 10-ms, and 100-ms timers)  
256 counters: C0000 to C0255 (decrementing counters and reversible counters)  
Note Status not retained when power turned OFF.  
30 Kwords: D00000 to D29999 (Status not retained when power is turned OFF.)  
Counter Area  
DM Area  
Read/Write (not  
retained)  
Read/Write  
(retained)  
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  
Data Registers  
IR0 and IR1 used with JSB instruction.  
None  
Interrupt Func- Input interrupts  
None  
tions  
Timer interrupts  
1 (Scheduled or one-shot interrupt)  
Super capacitor  
Power interruption hold function  
(momentary power interruption)  
Memory backup  
Super capaci-  
tor backup  
Error log  
Flash memory User programs, System Setup, part of DM Area  
4,000 words  
Trace memory  
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  
Program check  
CPU errors (WDT) and memory errors  
Programs checked from the CX-Programmer.  
Approximately 100 hours at 25°C  
None  
Super-capacitor backup time  
Clock  
Fixed Power OFF detection time  
AC: 10 to 25 ms (variable)  
User-set Power OFF detection time 0 to 10 ms  
36  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Motion Control Modules  
Section 2-4  
Item  
Specifications  
RUN output  
1 (when CJ1W-PA205R used)  
Individual func- Serial communica- Peripheral port: Peripheral bus (Toolbus), Host Links, NT Links  
tions  
tions  
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  
Item  
Specifications  
Inputs  
Number of inputs  
Input voltage  
Input response  
16  
20.4 to 26.4 V  
Inputs for normal input (16 points):  
ON delay time: 100 µs  
OFF delay time: 1 ms max.  
8 points/common  
Outputs  
Number of outputs  
Output type  
8
NPN transistor  
Switching capacity 4.5 to 30 V DC, 0.3 A per output  
ON delay time  
OFF delay time  
0.1 ms max.  
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) 40-pin connector  
Pulse outputs: 2  
General-purpose General-purpose inputs: 12  
26-pin connector  
I/O  
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 vir-  
tual 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  
37  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Motion Control Modules  
Section 2-4  
FQM1-MMA21 (Analog I/O)  
Item  
Specifications  
I/O  
Pulse inputs  
Analog I/O  
Pulse inputs: 2 (compatible with Servo Drivers with absolute encoders)  
40-pin  
connector  
• 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 General-purpose inputs: 12  
26-pin  
connector  
I/O  
General-purpose outputs: 8  
Functions Analog output  
• Slope  
• Output hold  
• Offset/gain adjustment  
Analog input  
• Offset/gain adjustment  
Program Program capacity 5 Ksteps  
Nomenclature  
Indicators  
Pulse I/O  
indicators  
MMP21  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MMP21  
IN  
OUT  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
0
0
1
2
3
4
5
6
7
1
2
3
4
5
General-purpose  
I/O indicators  
6
1
2
7
IN  
OUT  
8
9
10  
11  
0
0
1
2
3
4
5
6
7
1
2
3
26  
25  
CN1  
1
4
40-pin connector  
Special I/O  
5
6
1
2
CN2  
7
26-pin connector  
20 general-purpose  
I/O points  
8
9
10  
11  
39  
40  
2
Motion Control Module  
Indicators  
Indicator Color  
Name  
Status  
Meaning  
RDY  
RUN  
ERR  
Green Module  
Lit  
Module operating normally.  
operation  
Not lit  
Lit  
Module error (e.g., WDT error)  
Executing internal Module program  
Internal Module program stopped.  
Fatal error.  
Green Program  
execution  
Not lit  
Lit  
Red  
Module  
error  
Flashing Non-fatal error.  
Not lit  
Lit  
Module operating normally.  
IN0 to  
IN11  
Yellow Inputs  
Input signal ON  
Input signal OFF  
Output signal ON  
Output signal OFF  
Input signal ON  
Input signal OFF  
Not lit  
Lit  
0UT0 to  
OUT7  
Yellow Outputs  
Not lit  
Lit  
A1/B1  
A2/B2  
Yellow Pulse  
inputs  
Not lit  
Note  
IN0 to IN 11, OUT0 to OUT7, and A1 to B2 are all controlled by hardware.  
38  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Motion Control Modules  
Section 2-4  
Performance Specifications  
Item  
Specifications  
Control method  
Stored program  
I/O control method  
Programming language  
Instruction length  
Cyclic scan  
Ladder diagram  
1 to 7 steps per instruction  
Approx. 270  
Number of instructions  
Instruction Basic instructions 0.1 µs min.  
execution  
time  
Special instructions 0.3 µs min.  
Common  
processing  
time (over-  
head)  
MMP21  
MMA21  
Sync Mode: 250 µs  
ASync Mode: 190 µs  
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  
Ladder  
5 Ksteps  
Comment storage None  
Number of tasks  
Subroutines  
Cyclic tasks: 1, interrupt tasks: 50  
256  
JMP instructions  
Number of basic I/O  
256  
20 per Module  
CIO Area  
Input Bit Area  
Output Bit Area  
12 bits (CIO 0000): CIO 0000.00 to CIO 0000.11  
8 bits (CIO 0001): CIO 0001.00 to CIO 0001.07  
Cyclic Refresh Bit 160 bits (10 words): CIO 0100 to CIO 0109  
Area 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 320 bits (20 words): CIO 0200 to CIO 0219  
Link Bit Area  
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  
WR Area  
3,584 bits: CIO 0002 to CIO 0099, CIO 0110 to CIO 0199, and CIO 0220 to CIO 0255  
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  
Holding Area  
Timer Area  
16 bits: TR0 to TR15  
None  
256 timers: T0000 to T0255 (1-ms, 10-ms, and 100-ms timers)  
256 counters C0000 to C0255 (decrementing counters and reversible counters)  
Note Status not retained when power turned OFF.  
30 Kwords: D00000 to D29999 (Status not retained when power is turned OFF.)  
Counter Area  
DM Area  
Read/write (not  
retained)  
Read/write  
(retained)  
2,768 words: D30000 to D32767 (Retained by super capacitor)  
System Setup  
System Setup Area (Coordinator Module/Motion Control Module settings),  
motion parameter setting area  
Index Registers  
Data Registers  
IR0 and IR1 used with JSB instruction  
None  
Interrupt  
Functions  
Input interrupts  
Timer interrupts  
4 (with adjustment down mode)  
1(Scheduled or one-shot interrupt)  
39  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Motion Control Modules  
Section 2-4  
Item  
Specifications  
Power interruption hold function Super capacitor  
(momentary power interruption)  
Memory backup  
Super capacitor backup  
Error log, part of DM Area (backup for momentary power  
interruptions)  
Flash memory  
4,000 words  
User programs, System Setup  
Trace memory  
Peripheral servicing  
Self-diagnosis function  
Program check  
Event requests from Coordinator Module  
CPU errors (WDT) and memory errors  
Programs checked from the CX-Programmer.  
Approximately 100 hours at 25°C  
None  
Super-capacitor backup time  
Clock  
Individual  
functions  
High-speed  
counters  
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)  
High-speed pulse CW and CCW (1 MHz: Line-driver)  
outputs  
One-shot pulse output  
High-speed  
counters  
Single phase pulse inputs/Up/down pulse inputs /Pulse + direction  
pulse inputs (50 kHz/1 MHz)  
FQM1-MMA21  
(analog I/O)  
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  
Input voltage  
Input response  
12 inputs  
20.4 to 26.4 V  
Interrupt input (4 points ON delay time: 30 µs  
with one common)  
OFF delay time: 0.2 ms max.  
Normal input (8 points ON delay time: 100 µs  
with one common)  
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  
OFF delay time  
0.1 ms max.  
1 ms max.  
40  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
Signal levels  
Input method  
Two words each for phase A, phase B, and phase Z.  
24 V DC, line-driver  
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)  
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 turns to  
the Module.  
Pulse  
outputs  
Number of outputs  
Output signal  
2
CW/CCW  
Signal levels  
Line-driver (equivalent to AM26LS31)  
Max. output current: 20 mA  
Output speed  
Number of outputs  
Output type  
1 MHz  
One-  
shot  
pulse  
outputs  
2
Open collector (NPN)  
Max. switching  
capacity  
80 mA/5 to 24 V DC 10%  
Min. switching  
capacity  
7 mA/5 to 24 VDC 10%  
Output pulse width Set time 1 µs or 0.1% of set time  
41  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Signal levels  
Two words each for phase A, phase B, and phase Z.  
CH1: 24 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.  
Analog Number of analog  
1
input  
inputs  
Input signals  
Voltage inputs:  
10 to 10 V  
0 to 10 V  
Current inputs:  
4 to 20 mA  
1 to 5 V  
0 to 5 V  
Resolution  
10 to 10 V:  
0 to 10 V:  
0 to 5 V:  
14 bits (1/16,000)  
13 bits (1/8,000)  
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 Number of outputs  
2
outputs  
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:  
0 to 5 V:  
1 to 5 V:  
12 bits (1/4,000)  
12 bits (1/4,000)  
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.  
42  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Dimensions  
Section 2-5  
2-5 Dimensions  
FQM1-CM001 Coordinator Module  
49 mm  
80 mm  
CM001  
OFF  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
MOTION  
CONTROLLER  
ON  
1
2
PERIPHERAL  
90 mm  
CN1  
PORT  
RS422  
40  
39  
FQM1-MMP21/MMA21 Motion Control Modules  
49 mm  
80 mm  
MMP21  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
IN  
OUT  
0
0
1
2
3
4
5
1
2
3
4
5
6
6
7
1
2
7
8
9
10  
11  
90 mm  
26  
25  
CN2  
CN1  
39  
40  
2
1
FQM1-TER01 End Module  
2.7  
90  
2.7  
14.7  
43  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Dimensions  
Section 2-5  
Power Supply Units  
CJ1W-PA202  
PA202  
POWER  
L1  
AC100  
-240V  
INPUT  
L2/N  
90  
NC  
NC  
65  
81.6  
45  
CJ1W-PA205R  
PA205R  
POWER  
L1  
AC100-240V  
INPUT  
L2/N  
90  
RUN  
OUTPUT  
AC240V  
DC24V  
65  
80  
81.6  
44  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Module Current Consumption  
Section 2-6  
XW2B-80J7-1A Servo Relay Unit  
Terminating resistance switch  
160  
Signal switches  
4.5 dia.  
Phase B switches  
100  
90  
41.7  
30.7  
15.9  
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.  
Power Supply  
Unit  
Max. current consumption  
Max. total  
power con-  
sumption  
5-V system  
24-V system  
(analog)  
24-V system  
(service)  
(internal logic)  
CJ1W-PA202  
2.8 A  
0.4 A  
0.8 A  
None  
None  
14 W  
25 W  
CJ1W-PA205R 5.0 A  
Current Consumption for Each Module  
Current Consumption for 5-V System  
Name  
Model  
5-V system current  
consumption (A)  
0.47 (See note.)  
Coordinator Module  
FQM1-CM001  
Note The listed value includes the  
current consumption for the  
CX-Programmer.  
End Module  
FQM1-TER01  
Included in Coordinator  
Module current consumption  
Note  
The current consumption increases by 0.15 A/Module if NT-AL001 Link Adapt-  
ers are used.  
45  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Module Current Consumption  
Section 2-6  
Motion Control Modules  
Name  
Type  
Model  
5-V system current  
consumption (A)  
Motion Control Module Pulse I/O  
Analog I/O  
FQM1-MMP21 0.836  
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  
Coordinator  
Module  
FQM1-CM001  
1
0.47 A  
---  
Motion Control  
Module  
FQM1-MMP21  
FQM1-MMA21  
Calculation  
1
1
0.836 A  
0.843 A  
---  
0.104 A  
0.104 A  
Current con-  
sumption  
0.47 + 0.836 +  
0.843  
Result  
2.15 A (2.8 A) 0.104 × 24 V =  
2.5 W  
Power con-  
sumption  
Calculation  
Result  
2.15 × 5 V =  
---  
10.75 W  
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 Power Supply Unit  
Modules  
FQM1-MMP21  
FQM1-MMA21  
2
4
1
0
2
1
0
3
2
1
0
4
3
2
1
0
0
1
0
1
2
0
1
2
3
0
1
2
3
4
CJ1W-PA202 (or  
CJ1W-PA205R)  
CJ1W-PA205R  
6
8
Not possible  
(See note.)  
Note  
These combinations are not possible because the current consumption  
exceeds the capacity of the Power Supply Unit.  
46  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
Area  
Backup method  
Flash memory  
Flash memory  
User memory  
I/O memory area (part of DM Area)  
• Motion Control Modules  
Area  
User memory  
Backup method  
Flash memory  
Super capacitor  
I/O memory area (part of DM Area)  
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  
Internal RAM  
I/O Memory Area  
I/O bit area  
Work bit areas  
Cyclic refresh bit area  
Sync data link bit area  
DM Area  
Backup  
D30000 to D32767  
(See note 2.)  
Super capacitor  
Flash memory  
User Program  
Parameter Area  
(See note 1.)  
Note  
(1) The parameter area stores the Coordinator Module system information,  
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.  
47  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Memory Block Diagram  
Section 2-7  
48  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 3  
Installation and Wiring  
3-1 Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-1 Installation and Wiring Precautions . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-2 Installation in a Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-3 Assembled Appearance and Dimensions . . . . . . . . . . . . . . . . . . . . .  
3-1-4 Connecting FQM1 Components. . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-5 DIN Track Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2-1 Wiring Power Supply Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2-2 RS-232C Port Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3 Wiring Module Connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3-1 Connector Pin Arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3-2 External Connection Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3-3 Wiring Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3-4 Wiring Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-4 Wiring Servo Relay Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5 List of FQM1 Connecting Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-6 Wiring Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-6-1 Reducing Electrical Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-6-2 Connecting I/O Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
50  
50  
53  
54  
56  
57  
60  
60  
64  
67  
67  
70  
71  
74  
75  
83  
85  
85  
87  
49  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 con-  
ditioner.  
Fan  
Control  
panel  
FQM1  
Flexible  
Motion  
Controller  
Louver  
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.  
50  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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 equip-  
ment.  
• Install the FQM1 at least 200 mm away from power lines.  
Power lines  
200 mm min.  
FQM1  
200 mm min.  
• Ground the mounting plate between the FQM1 and the mounting surface.  
51  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Installation  
Section 3-1  
FQM1 Orientation  
• The FQM1 must be mounted in an upright position to provide proper cool-  
ing.  
PA202  
CM001  
MMP21  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
OFF  
0
0
1
2
3
4
5
6
7
1
2
3
4
5
6
1
2
1
2
PERIPHERAL  
7
8
L1  
9
AC100  
-240V  
INPUT  
10  
11  
L2/N  
26  
25  
CN1  
CN2  
PORT  
CN1  
NC  
NC  
RS422  
40  
39  
39  
40  
2
1
• Do not install the FQM1 in any of the following positions.  
C N  
C N  
/ N 2 L  
T U P N I  
V 0 4 2 -  
0 0 1 C A  
L 1  
C
C
1
/N  
N
N
L
2
0
T
V
L
0
0
U
1
4
P
C
-2  
IN  
A
52  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Installation  
Section 3-1  
3-1-2 Installation in a Control Panel  
The FQM1 must be mounted inside a control panel on DIN Track.  
L1  
AC  
10  
0
-24  
0V  
INP  
UT  
L2/N  
NC  
NC  
Note  
The FQM1 must be mounted on DIN Track. It cannot be mounted with screws.  
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.  
Duct  
20 mm min.  
DIN Track  
Unit  
20 mm min.  
Duct  
Wiring Duct Example  
The following example shows the proper installation of wiring ducts.  
PLC  
30 mm  
30 mm  
Mounting  
bracket  
FQM1  
40 mm  
Duct  
80.0 mm  
Note  
Tighten terminal block screws and cable screws to the following torques.  
Terminal Screws  
M4: 1.2 N·m  
M3: 0.5 N·m  
53  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Input duct  
Output duct  
Power duct  
200 mm min.  
PLC  
Breakers,  
fuses  
FMQ1  
FMQ1  
FMQ1  
FQM1  
L1  
AC1  
00  
-240  
V
INPU  
T
L2/N  
NC  
NC  
Power  
equipment  
such as  
transformers  
and  
magnetic  
relays  
Fuses, relays, timers, etc.  
(NOT heat-generating  
equipment, power  
Terminal blocks  
for FQM1  
Terminal blocks  
for power  
equipment  
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.  
L1  
AC  
10  
0
-24  
0V  
INP  
UT  
L2/N  
NC  
NC  
54  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Installation  
Section 3-1  
Assembled Dimensions  
PA202  
CM001  
MMP21  
MMA21  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
IN  
OUT  
OFF  
0
0
1
2
3
4
5
6
7
0
0
1
2
3
4
5
6
7
1
1
2
2
27  
3
3
4
4
5
5
1
2
6
1
2
6
1
2
PERIPHERAL  
7
7
8
8
L1  
9
9
AC100  
10  
11  
10  
11  
-240V  
INPUT  
L2/N  
26  
25  
26  
25  
CN1  
1
90  
35.4  
CN1  
CN2  
CN2  
PORT  
CN1  
NC  
NC  
RS422  
40  
27.6  
39  
39  
40  
39  
40  
2
1
2
W
80  
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  
45 mm  
Power Supply  
Unit  
CJ1W-PA202  
100 to 240 V AC, 14 W  
CJ1W-PA205R 100 to 240 V AC, 25 W  
80 mm  
Coordinator Module width: 49 mm  
Name  
Model  
FQM1-CM001  
Module width  
Coordinator Module  
49 mm  
Motion Control Module width: 49 mm  
Name  
Model  
Module width  
Motion Control Module  
Pulse I/O  
FQM1-MMP21 49 mm  
FQM1-MMA21  
Analog I/O  
End Module width: 14.7 mm  
Name  
Model  
FQM1-TER01  
Module width  
14.7 mm  
End Module  
Installation Dimensions  
PA202  
CM001  
MMP21  
A1  
B1  
A2  
B2  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
OFF  
0
0
1
2
3
4
5
6
7
1
2
3
4
5
1
2
6
1
2
PERIPHERAL  
7
8
L1  
9
AC100  
10  
11  
-240V  
INPUT  
L2/N  
26  
25  
CN1  
CN2  
PORT  
CN1  
NC  
NC  
RS422  
40  
39  
39  
40  
2
1
55  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
Approx. 115 mm to 165 mm  
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.  
L1  
AC  
100  
-24  
0V  
INP  
UT  
L2/N  
NC  
NC  
56  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Slide the sliders towards the back  
cover until they click into place.  
Lock  
Unlock  
L1  
AC  
10  
0
-24  
0V  
INP  
UT  
L2/N  
NC  
NC  
Slider  
Note  
If the locking tabs are not secured properly, the FQM1 may not function prop-  
erly. Be sure to slide the locking tabs until they are securely in place.  
3. Attach the End Module to the Module on the far right side of the FQM1.  
PA202  
CM001  
MMP21  
MMA21  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
IN  
OUT  
OFF  
0
0
1
2
3
4
5
6
7
0
0
1
2
3
4
5
6
7
1
1
2
2
3
3
4
4
5
5
1
2
6
1
2
6
1
2
PERIPHERAL  
7
7
8
8
L1  
9
9
AC100  
-240V  
INPUT  
10  
11  
10  
11  
L2/N  
26  
25  
26  
25  
CN1  
CN2  
CN2  
PORT  
CN1  
CN1  
NC  
NC  
RS422  
40  
39  
39  
40  
39  
40  
2
1
2
1
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.  
Release  
DIN Track  
mounting pins  
57  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
1
DIN Track  
2
3. Lock the pins on the backs of the Modules.  
1
P2  
M
M
1
1
2
2
A
B
A
B
Y
N
R
D
U
R
R
R
E
T
U
O
001  
M
C
0
1
2
3
4
5
6
7
2
IN  
0
1
2
3
4
5
6
7
8
9
1
1
F
F
O
Y
D
U
R
R
R
E
R
M
M
N
R
L
1
2
12  
N
O
FLEXIBLE  
H
M
P
MOTION  
P
CONTROLLER  
O
C
C
M
O
2
0
1
L
A
R
E
2
N
R
H
E
IP  
C
W
O
ER  
5
202  
P
2
P
PA  
1
1
N
C
1
N
C
1
L
0
4
T
R
0
0
1
O
P
C
A
V
0
4
2
-
T
U
P
N
/N  
I
2
RS422  
L
1
0
4
C
C
N
N
DIN Track  
mounting pins  
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.  
2
1
End Plates  
58  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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)  
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  
16  
28-25 × 4.5 oblong holes  
4.5  
30 0.3  
27  
24  
29.2  
1.5  
25  
25  
15  
25  
25 15  
1
10  
10  
1000  
PFP-100N/50N DIN Track  
7.3 0.15  
4.5  
35 0.3  
27 0.15  
15  
25  
25  
25  
25  
15 (5)*  
1
10  
10  
1000 (500)*  
* PFP-50N dimensions are  
given in parentheses.  
DIN Track End Plates (2 Required)  
Model number: PFP-M  
59  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Wiring  
Section 3-2  
3-2 Wiring  
3-2-1 Wiring Power Supply Units  
PA202  
POWER  
M4 self-raising screws  
AC power supply  
L1  
AC100  
-240V  
INPUT  
Isolation  
AC power supply  
transformer 1:1  
100 to 240 V  
L2/N  
NC  
NC  
RUN output (See note.)  
ON when Coordinator Module  
is in RUN or MONITOR mode.  
OFF when in PROGRAM mode  
or during a fatal error.  
Power  
supply  
Note  
The RUN output function is provided only for the CJ1W-PA205R Power Sup-  
ply Unit. It is not provided on the CJ1W-PA202 Power Supply Unit.  
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.  
60  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Wiring  
Section 3-2  
Terminal Screws and  
Crimp Terminals  
The terminals on the Power Supply Unit use M4, self-raising terminal screws.  
Note  
(1) Use crimp terminals for wiring.  
(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.  
Note  
(1) Supply power to all of the Power Supply Units from the same source.  
(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  
L1  
AC100-240V  
INPUT  
LG (Noise-filtered neutral terminal)  
L2/N  
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  
OUTPUT  
AC240V  
DC24V  
• GR is the ground terminal. To help prevent electric shock, ground this ter-  
minal to less than 100 and use special ground wire (minimum cross-  
sectional area of 2 mm2).  
61  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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).  
Control panel  
FQM1  
ground terminal  
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 opera-  
tion.  
62  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring  
Section 3-2  
FQM1  
Other equipment  
LG  
GR  
GR  
Ground to  
100 or less.  
Ground to  
100 or less.  
FQM1  
Other equipment  
LG  
GR  
GR  
Ground to  
100 or less.  
Ground to  
100 or less.  
FQM1  
Other equipment  
LG  
GR  
GR  
Terminal Screws and  
Crimp Terminals  
The terminals on the Power Supply Unit use M4 self-raising terminal screws.  
Note  
(1) Use crimp terminals for wiring.  
(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.  
63  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring  
Section 3-2  
3-2-2 RS-232C Port Wiring  
Connector Pin Arrangement  
Pin No.  
Signal  
Name  
Protection earth  
Direction  
1
2
3
4
5
6
7
8
9
FG  
---  
SD (TXD)  
RD (RXD)  
RS (RTS)  
CS (CTS)  
5V  
Send data  
Output  
Input  
Output  
Input  
---  
Receive data  
Request to send  
Clear to send  
Power supply  
Data set ready  
Data terminal ready  
Signal ground  
Protection earth  
DR (DSR)  
ER (DTR)  
SG (0V)  
Input  
Output  
---  
Connector hood FG  
---  
6
9
5
Note  
Do not connect the 5-V power supply on pin number 6 of the RS-232C port to  
any devices other than a NT-AL0001 Converter. Doing so may damage the  
external device and the Coordinator Module.  
Connection Methods  
1:1 Connections with  
Personal Computers  
Host Link Serial Communications Mode  
Coordinator Module  
IBM PC/AT or compatible  
Signal  
Pin  
Signal  
Pin  
No.  
No.  
FG  
SD  
RD  
RS  
CS  
5V  
DR  
ER  
SG  
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  
CI  
RS-232C  
interface  
RS-232C  
interface  
9-pin D-sub  
connector (male)  
9-pin D-sub  
connector (female)  
64  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Wiring  
Section 3-2  
Peripheral Bus (Toolbus) Serial Communications Mode  
Coordinator Module  
IBM PC/AT or compatible  
Signal  
Pin  
Signall  
Pin  
No.  
No.  
FG  
SD  
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
CD  
RD  
SD  
RS-232C RD  
RS-232C  
interface  
RS  
CS  
5V  
DR  
ER  
SG  
ER interface  
SG  
DR  
RS  
CS  
CI  
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  
XM2A-0901  
XM2S-0911-E  
Specifications  
Used together  
Plug  
9-pin male  
Hood  
9-pin, millimeter screws,  
static resistant  
IBM PC/AT or Compatible Connector (9-pin, Male)  
Item  
Model  
XM2D-0901  
XM2S-0913  
Specifications  
Used together  
Plug  
9-pin female  
Hood  
9-pin, inch screws, static  
resistant  
Connecting to an IBM PC/AT or Compatible  
IBM PC/AT or  
compatible  
(9-pin, male)  
Coordinator Module  
Plug: XM2D-0901  
(9-pin, female)  
RS-232C  
port  
Hood: XM2S-0913  
Recommended cable  
Hood: XM2S-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)  
Note  
Use the special cables provided from OMRON for all connections whenever  
possible. If cables are produced in-house, be sure they are wired correctly.  
External devices and the Coordinator Module may be damaged if general-pur-  
pose (e.g., computer to modem) cables are used or if wiring is not correct.  
65  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Wiring  
Section 3-2  
Connection Example to Programmable Terminal (PT)  
Direct Connection from RS-232C to RS-232C  
RS-232C port  
PT  
RS-232C  
1:N NT Link  
Coordinator Unit  
PT  
Signal  
Signal  
Pin  
No.  
Pin  
No.  
FG Shell  
Shell FG  
FG  
SD  
RD  
RS  
CS  
5V  
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
SD  
RD  
RS  
CS  
5V  
RS-232C  
interface  
RS-232C  
interface  
DR  
ER  
SG  
SG  
9-pin D-sub  
(male)  
9-pin D-sub  
(male)  
• 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  
Communications method Half duplex  
Specification  
Synchronization  
Baud rate  
Asynchronous  
0.3, 0.6, 1.2, 2.4, 4.8, 9.6, 19.2, 38.4, or 57.6 kbps  
(See note.)  
Transmission distance  
Interface  
15 m max.  
EIA RS-232C  
Protocol  
Host Link, 1:N NT Link, No-protocol, or Peripheral Bus  
(Toolbus)  
Note  
Baud rates for the RS-232C are specified only up to 19.2 kbps. The FQM1  
supports serial communications from 38.4 kbps to 57.6 kbps, but some com-  
puters cannot support these speeds. Lower the baud rate if necessary.  
66  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Name  
Address  
1
3
5
7
9
External input 0  
External input 1  
External input 2  
External input 3  
External input 4  
External input 5  
External input 6  
External input 7  
CIO 0000.00  
CIO 0000.01  
CIO 0000.02  
CIO 0000.03  
CIO 0000.04  
CIO 0000.05  
CIO 0000.06  
CIO 0000.07  
---  
2
4
6
8
External input 8  
External input 9  
External input 10  
External input 11  
External input 12  
External input 13  
External input 14  
External input 15  
CIO 0000.08  
CIO 0000.09  
CIO 0000.10  
CIO 0000.11  
CIO 0000.12  
CIO 0000.13  
CIO 0000.14  
CIO 0000.15  
2
1
10  
12  
14  
16  
18  
11  
13  
15  
17  
Common for external  
inputs 0 to 7  
Common for external  
inputs 8 to 15  
19  
21  
23  
25  
27  
External output 0  
External output 1  
External output 2  
External output 3  
CIO 0001.00  
CIO 0001.01  
CIO 0001.02  
CIO 0001.03  
20  
22  
24  
26  
28  
External output 4  
External output 5  
External output 6  
External output 7  
CIO 0001.04  
CIO 0001.05  
CIO 0001.06  
CIO 0001.07  
CN1  
Common for external  
outputs 0 to 8  
Power supply for exter-  
nal outputs 0 to 8  
29  
31  
33  
35  
37  
39  
Not used.  
30  
32  
34  
36  
38  
40  
Not used.  
Not used.  
Not used.  
40  
39  
SDA(RS-422A)  
SDB+ (RS-422A)  
Not used.  
RDA(RS-422A)  
RDB+ (RS-422A)  
Not used.  
Not used.  
Not used.  
67  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Wiring Module Connectors  
Section 3-3  
FQM1-MM@21 Motion Control Modules  
General-purpose I/O 26-pin Connector  
Pin  
No.  
Name  
Address  
Pin  
No.  
Name  
Not used.  
Address  
26  
Not used.  
25  
24  
22  
20  
18  
External input 0  
(interrupt input)  
CIO 0000.00  
CIO 0000.01  
CIO 0000.02  
CIO 0000.03  
23  
21  
19  
17  
External input 6  
External input 7  
External input 8  
External input 9  
CIO 0000.06  
CIO 0000.07  
CIO 0000.08  
CIO 0000.09  
External input 1  
(interrupt input)  
25  
26  
External input 2  
(interrupt input)  
External input 3  
(interrupt input)  
16  
14  
12  
External input 4  
External input 5  
CIO 0000.04  
CIO 0000.05  
15  
13  
11  
External input 10  
External input 11  
CIO 0000.10  
CIO 0000.11  
CN1  
Common for external  
inputs 0 to 3  
Common for external  
inputs 4 to 11  
10  
8
External output 0  
External output 1  
External output 2  
External output 3  
CIO 0001.00  
CIO 0001.01  
CIO 0001.02  
CIO 0001.03  
9
7
5
3
1
External output 4  
External output 5  
External output 6  
External output 7  
CIO 0001.04  
CIO 0001.05  
CIO 0001.06  
CIO 0001.07  
2
1
6
4
2
Common for external  
outputs 0 to 7  
Power supply for exter-  
nal outputs 0 to 7  
FQM1-MMP21 Pulse I/O 40-pin Connector  
2
1
CN2  
40  
39  
Pin No.  
Name  
Pin No.  
Name  
1
Counter 1  
Phase A 24 V  
Phase A LD+  
Phase A LD/0 V  
Phase B 24 V  
Phase B LD+  
Phase B LD/0 V  
Phase Z 24 V  
Phase Z LD+  
Phase Z LD/0 V  
2
Counter 2  
Phase A 24 V  
Phase A LD+  
3
4
5
6
Phase A LD/0 V  
Phase B 24 V  
7
8
9
10  
12  
14  
16  
18  
20  
22  
Phase B LD+  
11  
13  
15  
17  
19  
21  
Phase B LD/0 V  
Phase Z 24 V  
Phase Z LD+  
Phase Z LD/0 V  
Latch signal 2 input  
Latch signal common  
Latch signal 1 input  
Latch signal common  
68  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Wiring Module Connectors  
Section 3-3  
Pin No.  
Name  
Pin No.  
Name  
23  
Counter 1 SEN  
output signal for  
absolute Servo  
Driver  
SEN output  
24  
Counter 2 SEN  
output signal for  
absolute Servo  
Driver  
SEN output  
25  
27  
29  
31  
33  
35  
37  
39  
SEN_0 V  
26  
28  
30  
32  
34  
36  
38  
40  
Power supply for 5-V GND  
pulse outputs  
5-V power for SEN output  
5-V power for pulse outputs  
Pulse 1  
CW+  
Pulse 2  
CW+  
CW−  
CCW+  
CW−  
CCW+  
CCW−  
One-shot pulse output 1  
CCW−  
One-shot pulse output 2  
Common for one-shot pulse  
output  
24-V power for one-shot pulse  
output  
FQM1-MMA21 Analog I/O 40-pin Connector  
2
1
CN2  
40  
39  
Pin.  
No.  
Name  
Pin.  
No.  
Name  
1
3
5
7
9
Counter 1  
Phase A 24 V  
Phase A LD+  
2
Counter 2  
Not used.  
4
Phase A LD+  
Phase A LD/0 V  
Not used.  
Phase A LD/0 V  
Phase B 24 V  
Phase B LD+  
6
8
10  
12  
14  
16  
18  
20  
22  
24  
Phase B LD+  
Phase B LD/0 V  
Not used.  
11  
13  
15  
17  
19  
21  
23  
Phase B LD/0 V  
Phase Z 24 V  
Phase Z LD+  
Phase Z LD+  
Phase Z LD/0 V  
Latch signal 2 input  
Latch signal common  
SEN output  
Phase Z LD/0 V  
Latch signal 1 input  
Latch signal common  
SEN output  
Counter 1 SEN  
output signal for  
absolute Servo  
Driver  
Counter 2 SEN  
output signal for  
absolute Servo  
Driver  
25  
27  
29  
31  
SEN_0 V  
26  
28  
30  
32  
---  
Not used.  
Not used.  
Not used.  
Not used.  
5-V power for SEN output  
Not used.  
---  
Not used.  
69  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring Module Connectors  
Section 3-3  
Pin.  
No.  
Name  
Pin.  
No.  
Name  
33  
Analog input  
Voltage input (+)  
34  
Analog input  
Current input (See note.)  
(Current input common)  
35  
37  
39  
Voltage input ()  
36  
38  
40  
Analog output 1 Voltage output (+)  
Analog output 2 Voltage output (+)  
Voltage output ()  
Voltage output ()  
Note  
Connect the voltage input (+) and the current input when using with a current  
input between 4 and 20 mA.  
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  
Positioning Completed Signal  
W-series Servo Driver  
General-  
Inputs  
INP1  
Positioning completed output  
PurposeI/O  
Connector  
(26 pin)  
Origin Proximity Input Signal  
CCW Limit Input  
CW Limit Input  
Outputs  
Servo ON  
RUN  
RESET  
ECRST  
+Z  
RUN command input  
Alarm reset input  
Alarm reset  
Error Counter Reset  
Phase Z LD+  
Error Counter Reset Input  
Encoder output phase Z  
Encoder output phase Z  
Forward pulse  
Special I/O Inputs  
Connector  
Phase Z LD−  
Pulse output CCW  
Pulse output CW  
Z  
CCW  
CW  
(40 pin)  
Outputs  
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  
Servo ON  
Outputs  
RUN  
RESET  
+A  
Run command input  
Alarm reset  
Alarm reset input  
Special I/O Inputs  
Connector  
(40 pin)  
Phase A LD+  
Encoder output phase A  
Encoder output phase A  
Encoder output phase B  
Encoder output phase B  
Encoder output phase Z  
Encoder output phase Z  
Speed command input  
Speed command input  
Torque command input  
Torque command input  
Phase A LD−  
Phase B LD+  
A  
+B  
Phase B LD−  
Phase Z LD+  
B  
+Z  
Phase Z LD−  
Z  
Outputs  
Analog output 1 (+)  
Analog output 1 ()  
Analog output 2 (+)  
Analog output 2 ()  
REF  
AGND  
TREF  
AGND  
70  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Wiring Module Connectors  
Section 3-3  
3-3-3 Wiring Examples  
Connecting Pulse  
Inputs (FQM1-MMP21/  
MMA21)  
Connect the output from an encoder to the connector in the following way,  
according to the port's counter operation.  
Port 1  
Port 2  
Signal name  
Encoder output  
Pin number Pin number  
Phase Differential  
Input Mode  
Increment/Decrement Pulse + Direction  
Pulse Input Mode  
Input Mode  
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  
Note  
The numbers in parentheses are the pin numbers on the negative side.  
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.  
FQM1  
Differential phase input mode  
1
5
7
Pulse input 1: Phase A, 24 V  
Pulse input 1: Phase A, 0 V  
Pulse input 1: Phase B, 24 V  
Phase A  
Phase B  
Black  
Encoder  
(Power supply: 24 V DC)  
White  
11 Pulse input 1: Phase B, 0 V  
13 Pulse input 1: Phase Z, 24 V  
17 Pulse input 1: Phase Z, 0 V  
Orange  
Phase Z  
+Vcc  
Example:  
E6B2-CWZ6C  
NPN open-  
Brown  
Blue  
collector output  
0 V (COM)  
24-V DC power supply  
0 V  
24 V  
Do not share the power supply with other I/O)  
Power  
Power supply  
Encoder  
0 V  
24 V  
supply  
0 V  
FQM1  
+
Shielded twisted-pair cable  
1
5
IA  
Phase A  
7
IB  
11  
Phase B  
13  
17  
IZ  
Phase Z  
71  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Wiring Module Connectors  
Section 3-3  
• The wiring for an encoder with a line-driver output (Am26LS31 or equiva-  
lent) is shown below.  
FQM1  
Differential phase input mode  
A+  
Black  
3
5
Pulse input 1: Phase A, LD +  
Pulse input 1: Phase A, LD  
Pulse input 1: Phase B, LD +  
Pulse input 1: Phase B, LD −  
Pulse input 1: Phase Z, LD +  
Pulse input 1: Phase Z, LD −  
A−  
B+  
B−  
Z+  
Z−  
Black striped  
White  
Encoder  
9
White striped  
Orange  
11  
15  
17  
Example:  
E6B2-CWZ1X  
line driver output  
Orange striped  
5-V DC power supply  
5 V DC  
0 V  
Brown  
Blue  
5 V  
0 V  
Power supply  
Encoder  
FQM1  
Shielded twisted-pair cable  
3
5
A+  
A  
9
B+  
11  
B−  
15  
17  
Z+  
Z−  
Connecting a Servo Driver (OMRON's W Series) Compatible with an Absolute  
Encoder (FQM1-MMP21/MMA21)  
OMRON W-series Servo Driver Compatible  
with Absolute Encoder  
FQM1  
Shielded twisted-pair  
cable  
Encoder phase A  
output  
3
5
4
6
IA  
Encoder phase B  
output  
9
10  
IB  
11 12  
15 16  
Encoder phase Z  
output  
IZ  
17 18  
23 24  
27  
SEN  
External  
power  
supply  
(5 V)  
SENGND  
25  
72  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Wiring Module Connectors  
Section 3-3  
Connecting Pulse Outputs (FQM1-MMP21)  
5 V-DC  
power  
FQM1-MMP21  
supply  
Servo Driver  
(for 5-V inputs)  
+
28  
26  
5-V DC  
power  
supply for  
output  
(+)  
29/30  
31/32  
CW pulse  
output  
()  
(+)  
33/34  
35/36  
CCW pulse  
output  
()  
Example  
Connections with a Servo Driver are given below, as an example.  
5-V DC  
power  
supply  
FQM1-MMP21  
Servo Driver  
(Line receiver input)  
+
28  
26  
5-V DC  
power  
supply for  
outputs  
SG (See note.)  
(+)  
29/30  
31/32  
CW pulse  
outputs  
()  
(+)  
33/34  
35/36  
CCW pulse  
outputs  
()  
Note: When connecting a line receiver, connect the  
signal ground (SG for the Servo Driver's line  
receiver input and the GND for the 5-V DC  
power supply.  
73  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Wiring Module Connectors  
Section 3-3  
Connecting Analog  
Outputs (FQM1-  
MMA21)  
Output signals are connected as shown in the following diagram.  
FQM1-MMA21  
40-pin connector  
Pin No.  
38 (V2+)  
+
Analog output 2  
Analog output 1  
40 (V2)  
37 (V1+)  
+
39 (V1)  
Shield  
Connecting Analog Inputs (FQM1-MMA21)  
Voltage Input  
FQM1  
Special I/O connector  
Pin No.  
33 (V1+)  
+
Analog input  
35 (V1)  
Shield  
Current Input  
FQM1  
Special I/O connector  
Pin No.  
34 Current input  
33 (V1+)  
+
Analog input  
35 (V1)  
Shield  
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.  
Note  
(1) Do not apply voltages that exceed the maximum switching capacity of  
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.  
pins  
26 pins  
40 pins  
(OMRON)  
XG4M-2630-T  
XG4M-4030-T  
Pressure welded  
FRC5-A026-3T0S  
FRC5-A040-3T0S  
74  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Wiring Servo Relay Units  
Section 3-4  
Applicable Connector-Terminal Block Conversion Units  
Connecting Cable  
Connector-Terminal Block Number of  
Size  
Conversion Unit  
pins  
XW2Z-@@@K  
XW2D-40G6  
40 pins  
Miniature  
Standard  
Standard  
Miniature  
XW2B-40G5  
XW2B-40G4  
XW2D-34G6  
XW2Z-@@@J-A28  
34 pins  
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.  
0
se  
rv  
o1  
_C  
A
B
S
W
-
C
1
9
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.  
75  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Wiring Servo Relay Units  
Section 3-4  
Nomenclature and Functions  
6. Signal switches  
7. Terminating resistance switch  
4. RS-422 connectors  
8. Servo Driver # 2  
phase B switch  
8. Servo Driver # 1  
phase B switch  
1. Motion  
Control  
Module 40-pin  
connector  
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 Mo-  
tion Control Module general-purpose I/O is allocated to the clamp terminal  
block.  
3. Servo Driver Connectors  
Connects to two Servo Drivers.  
Motion Control  
Module  
Corresponding  
connecting cable  
Servo Driver  
cable  
Servo Driver  
FQM1-MMP21  
XW2Z-@@@J-A28 XW2Z-@@@J-B9 W-series Servo  
XW2Z-@@@J-A30  
Driver  
XW2Z-@@@J-B10 SMARTSTEP  
FQM1-MMA21  
XW2Z-@@@J-A28 XW2Z-@@@J-B13 W-series Servo  
XW2Z-@@@J-A31  
Driver  
4. RS-422 Connector  
Pin No.  
Signal  
TXD−  
1
2
TXD+  
---  
3
4
---  
5
---  
6
RXD−  
---  
7
8
RXD+  
---  
9
Case  
FG  
5. Screw-less, Clamp Terminal Block (80 Terminals)  
The clamp terminal block is used for the Motion Control Module general-  
purpose I/O and the Servo Driver control signals. It is also used for external  
device connections, such as analog inputs and latch signal inputs.  
76  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Wiring Servo Relay Units  
Section 3-4  
60  
79  
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
Upper terminal block  
Lower terminal block  
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
0
0
19  
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  
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  
Note  
(1) Allocated when connecting an FQM1-MMA21 Analog I/O Motion Control  
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.  
77  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring Servo Relay Units  
Section 3-4  
6. Signal Switches  
TER_A  
TER_Z  
X axis  
CUR  
TER_B  
SER_A  
CNT1  
SER_B  
CNT1  
SER_Z  
CNT1  
Y axis  
DA2  
VOL  
AD  
Switch  
Setting details  
CNT1  
SER_A  
SER_A  
Connects the Servo #1 phase A to the Motion Control  
Module's CNT1 phase A.  
TER_A  
SER_B  
TER_B  
SER_Z  
Connects the external encoder phase A to the Motion  
Control Module's CNT1 phase A. (See note a.)  
CNT1  
SER_B  
Connects the Servo #1 phase B to the Motion Control  
Module's CNT1 phase B.  
Connects the external encoder phase B to the Motion  
Control Module's CNT1 phase B. (See note a.)  
CNT1  
SER_Z  
Connects the Servo #1 phase Z to the Motion Control  
Module's CNT1 phase Z.  
TER_Z  
Y axis  
Outputs the Servo #1 phase Z output from the terminal.  
DA2  
AD  
Connects FQM1-MMA21 analog output 2 to Servo #2  
REF.  
X axis  
Connects FQM1-MMA21 analog output 2 to Servo #1  
TREF.  
VOL  
Sets analog inputs as voltage inputs.  
CUR  
Sets analog inputs as current inputs. (See note b.)  
Note (a) An external encoder with a line-driver output can be connected.  
(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  
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  
Servo #1  
phase B switch phase B switch  
servo2  
ABS_CW-  
servo1  
ABS_CW-  
INC  
INC  
78  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring Servo Relay Units  
Section 3-4  
External Dimensions  
Terminating resistance switch  
160  
Signal switches  
4.5 dia.  
Phase B switches  
100  
90  
41.7  
30.7  
15.9  
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.  
Manufacturer  
Model  
AI-0.5-10  
Applicable wire  
0.5 mm2 (20AWG)  
Phoenix Contact Inc.  
0.75 mm2 (18AWG)  
1.25 mm2 (16AWG)  
0.5 mm2 (20AWG)  
0.75 mm2 (18AWG)  
1.25 mm2 (16AWG)  
AI-0.75-10  
AI-1.5-10  
Nihon Weidmuller Co. Ltd. H 0.5/16 D  
H 0.75/16 D  
H 1.5/16 D  
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.  
Small minus screwdriver  
2
+
V
0
3
+
V
0
4
+
V
0
5
+
1
0
6
+
V
2
0
7
+
V
3
0
8
4
Release button  
The following screwdriver can be used when removing wires.  
79  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Wiring Servo Relay Units  
Section 3-4  
Recommended Screwdriver  
Model Manufacturer  
SZF1 Phoenix Contact Inc.  
Side  
Front  
0.6 mm  
3.5 mm  
80  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring Servo Relay Units  
Section 3-4  
Wiring when Using Servo Relay Units  
CX-Programmer  
Programmable  
Terminal (PT)  
SYSMAC PLC  
RS-232C connection or  
RS-422A/485 connection  
via CJ1W-CIF11  
CS1W-CN226/626  
Peripheral Port Cable  
PA202  
CM001  
OFF  
MMP21  
MMA21  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
IN  
OUT  
0
0
1
2
3
4
5
6
7
0
0
1
2
3
4
5
6
7
End Cover  
1
1
2
2
Power Supply Unit  
3
3
4
4
5
5
1
2
6
1
2
6
1
2
PERIPHERAL  
7
7
8
8
L1  
9
9
AC100  
10  
11  
10  
11  
-240V  
INPUT  
L2/N  
26  
25  
26  
25  
CN1  
1
CN1  
CN2  
CN2  
PORT  
CN1  
NC  
NC  
Servo Relay Unit Cable  
RS422  
40  
39  
39  
40  
39  
40  
2
1
2
Servo Relay Unit Cable  
Coordinator Module  
Motion Control Modules  
(Up to 4 Modules can  
be connected)  
RS-422A Cable  
XW2Z-@@@K Connector-  
Terminal Block  
Conversion Unit Cable  
XW2D-40G6 or other  
Connecter-Terminal Block  
Conversion Unit  
Servo Relay Unit  
Servo Relay Unit  
Servo Driver  
Cable  
RS-422A Cable  
(Modified by user)  
Servo Driver  
Servomotor Cable  
Servomotor  
81  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
60  
79  
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
Upper  
terminal  
block  
5 V  
0
9
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
Lower  
terminal  
block  
24 V  
0
0
19  
Upper Terminal Block Arrangement  
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79  
5 V  
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59  
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  
24 V  
82  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
PA202  
CM001  
MMP21  
MMA21  
FLEXIBLE  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
RDY  
RUN  
ERR  
A1  
B1  
A2  
B2  
MOTION  
POWER  
CONTROLLER  
ON  
IN  
OUT  
IN  
OUT  
OFF  
0
0
1
2
3
4
5
6
7
0
0
1
2
3
4
5
6
7
1
1
2
2
3
3
4
4
5
5
1
2
6
1
2
6
1
2
PERIPHERAL  
7
7
8
8
L1  
9
9
AC100  
-240V  
INPUT  
10  
11  
10  
11  
L2/N  
26  
25  
26  
25  
CN1  
1
CN1  
CN2  
CN2  
PORT  
CN1  
NC  
NC  
2. Servo Relay Unit Cable  
3. Servo Relay Unit Cable  
RS422  
40  
39  
39  
40  
39  
40  
2
1
2
Coordinator Module  
Motion Control Modules  
4. RS-422A Cable  
1. Connector-Terminal  
Block Conversion Unit  
Cable  
XW2D-40G6 Connector  
Terminal Block  
Conversion Unit  
7. RS-422A Cable  
(Modified by user)  
5. Servo Driver  
Cables  
Servo Driver  
6. Servomotor Cable  
Servomotor  
Connecting Cable Models  
1,2,3...  
1. Connector-Terminal Block Conversion Unit Cables (for FQM1-CM001, 40-  
pin MIL Connector)  
Specifications  
Model  
XW2Z-100K  
XW2Z-150K  
XW2Z-200K  
XW2Z-300K  
XW2Z-500K  
Connects FQM1-CM001 and XW2D-40G6 1 m  
Connector-Terminal Block Conversion Unit.  
1.5 m  
2 m  
3 m  
5 m  
2. Servo Relay Unit Connecting Cables (for FQM1-MMP21/MMA21, 26-pin  
MIL Connector)  
Specifications  
Model  
Connects FQM1-MMP21 and Servo Relay 0.5 m  
XW2Z-050J-A28  
XW2Z-100J-A28  
Unit.  
1 m  
83  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 0.5 m  
XW2Z-050J-A30  
XW2Z-100J-A30  
XW2Z-050J-A31  
XW2Z-100J-A31  
Unit.  
1 m  
Connects FQM1-MMA21 and Servo Relay 0.5 m  
Unit.  
1 m  
4. RS-422A Connecting Cables (with 9-pin D-sub Connector)  
Specifications  
Model  
Connects RS-422A between Servo Relay  
Units.  
1 m  
2 m  
XW2Z-100J-C1  
XW2Z-200J-C1  
5. Servo Driver Connecting Cables (Servo Relay Unit to Servo Driver)  
Specifications  
Model  
XW2Z-100J-B9  
XW2Z-200J-B9  
FQM1-MMP21 Connects Servo Relay  
Unit and W-series Servo  
Driver.  
1 m  
2 m  
Connects Servo Relay  
Unit and SMARTSTEP.  
1 m  
2 m  
1 m  
2 m  
XW2Z-100J-B10  
XW2Z-200J-B10  
XW2Z-100J-B13  
XW2Z-200J-B13  
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  
TXD−  
1
2
3
4
5
6
7
8
9
TXD+  
---  
---  
---  
RXD−  
---  
RXD+  
---  
Case  
FG  
84  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring Precautions  
Section 3-6  
• Attach the modified cable to the XW2D-40G6 Connector-Terminal Block  
Conversion Unit.  
XW2D-40G6 Connector-  
Terminal Block Conversion Unit  
XW2Z-100J-C1 or  
XW2Z-200J-C1  
RS-422A Cable  
RS-422A Connecting Cable  
No. Signal  
Connector-Terminal Block  
Conversion Unit terminal  
number  
2
1
8
6
SDB+  
A18  
SDA−  
RDB+  
RDA−  
A17  
B18  
B17  
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.  
1 = I/O cables  
2 = Power cables  
1
1
2
1
2
2
Suspended ducts  
Conduits  
In-floor ducts  
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.  
85  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
L
IN  
Diode  
COM  
OUT  
Relay output or  
triac output  
L
DC input  
Surge suppressor  
COM  
OUT  
+
Relay output or  
transistor output  
Diode  
COM  
Note  
Use surge suppressors and diodes with the following specifications.  
Surge suppressor specifications  
Diode specifications  
Breakdown voltage: 3 times load voltage min.  
Mean rectification current: 1 A  
Resistor: 50 Ω  
Capacitor: 0.47 µF  
Voltage: 200 V  
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.  
Low-current cables  
FQM1 I/O wiring  
300 mm min.  
Control cables  
FQM1 power supply and  
general control circuit wiring  
300 mm min.  
Control cables  
Power lines  
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  
FQM1 I/O wiring  
Power lines  
control wiring  
Steel sheet metal  
200 mm min.  
Ground to 100 or less  
86  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Contact output  
IN  
DC input  
COM  
Two-wire DC output  
IN  
DC input  
+
Sensor  
power  
supply  
COM  
+
NPN open-collector output  
Sensor power  
supply  
+
DC input  
+
Output  
IN  
COM  
7 mA  
0 V  
87  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Wiring Precautions  
Section 3-6  
NPN current output  
+
Current  
regulator  
Output  
DC input  
+
IN  
+
7 mA  
0 V  
Sensor  
power  
supply  
COM  
PNP current output  
+
Sensor power  
supply  
Output  
DC input  
IN  
7 mA  
0 V  
COM  
Voltage output  
+
+
COM  
IN  
Output  
0 V  
DC input  
Sensor  
power  
supply  
• The circuit below should NOT be used for I/O devices having a voltage  
output.  
Sensor  
+
power  
DC input  
IN  
supply  
Output  
0 V  
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]  
88  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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]  
DC input  
RIN  
VR  
R
Two-wire sensor  
VCC  
VCC: Power voltage  
VON: FQM1 ON voltage  
VOFF: FQM1 OFF voltage  
VR: Sensor output residual voltage  
IOUT: Sensor control current (load current)  
Ileak: Sensor leakage current  
ION  
IOFF: FQM1 OFF current  
RIN: FQM1 input impedance  
:
FQM1 ON current  
R:  
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  
0000  
#0001  
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.  
89  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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
OUT  
+
FQM1  
R
COM  
Method 2  
Add a control resistor as shown in the following diagram.  
R
L
OUT  
+
FQM1  
COM  
90  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
SECTION 4  
Operation  
4-1 Coordinator Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-1-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-1-2 Coordinator Module Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-1-3 I/O Refreshing and Peripheral Servicing . . . . . . . . . . . . . . . . . . . . .  
4-1-4 Startup Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2 Motion Control Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2-2 Description of Each Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2-3 Motion Control Module Operation. . . . . . . . . . . . . . . . . . . . . . . . . .  
4-3 Operating Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-3-1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-3-2 Status and Operations in Each Operating Mode. . . . . . . . . . . . . . . .  
4-3-3 Operating Mode Changes and I/O Memory . . . . . . . . . . . . . . . . . . .  
4-4 Power OFF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-4-1 Power OFF Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-4-2 Instruction Execution for Power Interruptions . . . . . . . . . . . . . . . . .  
92  
92  
93  
94  
94  
95  
95  
95  
96  
99  
99  
99  
100  
100  
100  
102  
91  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Coordinator Module  
User program  
Cyclic task  
Access  
I/O memory  
Automatic  
backup  
Auto-  
matic  
backup  
PLC Set-  
up and  
other pa-  
rameters  
Flash memory  
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).  
Note  
Install the FQM1 Patch Software for CX-Programmer Ver. 5.0. CX-Program-  
mer Ver. 4.0 or earlier cannot be used. Refer to 8-1 CX-Programmer for  
details.  
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.  
92  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
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.  
Power ON  
Startup  
initialization  
Initialize hardware memory  
and system work area.  
Detect connected Motion  
Control Modules.  
Clear I/O memory.  
Check user memory.  
Clear forced status, etc.  
Common  
processing  
Read DIP switch settings.  
Check I/O bus.  
Check user program memory.  
Operation processing: Execute the user programming.  
Error processing: Turn OFF outputs.  
Program  
execution  
After error: Clear I/O memory (unless a FALS instruction caused  
the error.)  
I/O  
refreshing  
Refresh built-in I/O.  
Cycle  
time  
Cyclic  
refreshing  
(See note.)  
Exchange cyclic data with Motion Control Modules. (Refreshing is  
stopped if there is a bus error.)  
Note: Cyclic refreshing occurs in PROGRAM mode as well.  
Peripheral  
servicing  
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  
93  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
Servicing  
Contents  
Motion Control Mod- • Non-scheduled servicing for FINS commands from Motion  
ule event servicing  
Control Modules.  
• Non-scheduled servicing for FINS commands from the Coor-  
dinator Module to the Motion Control Modules.  
Peripheral port ser- • Non-scheduled servicing for FINS or Host Link commands  
vicing  
received via the peripheral or RS-232C ports from the CX-  
Programmer, PTs, or host computers (e.g., requests for pro-  
gram transfer, monitoring, forced-set/reset operations, or  
online editing).  
RS-232C port ser-  
vicing  
• Non-scheduled servicing from the Coordinator Module trans-  
mitted from the peripheral or RS-232C port.  
RS-422A port servic- • Non-scheduled servicing to Servo Driver.  
ing  
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  
94  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
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.  
Motion Control Module  
User program (See note 1.)  
RAM and flash memory  
I/O memory  
D00000  
General-purpose  
Read/Write DM Area  
to  
RAM (See note 2.)  
D32767  
System Setup Area  
(See note 1.)  
RAM and flash memory  
Note  
(1) User Memory (UM) Protect  
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.  
95  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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  
• Sync Mode  
• ASync Mode  
Module Settings  
Synchronization between  
Modules  
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.  
96  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Motion Control Modules  
Section 4-2  
Motion Control Module  
Coordinator Module  
Initialization at power ON  
Initialization at power ON  
Basic  
inputs  
(12)  
Common processing  
Program execution  
Common processing  
Program execution  
Basic  
outputs  
(8)  
I/O refreshing in Module  
1. Basic I/O refreshing  
2. Special I/O refreshing  
3. Refreshing with  
RUN/STOP and  
other commands  
Pulse  
inputs (2)  
or analog  
input (1)  
Cyclic refreshing  
Peripheral servicing  
Coordinator Module  
General-purpose  
I/O, e.g., status  
Pulse or  
analog  
outputs (2)  
Peripheral servicing  
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.)  
Note  
(1) This depends on the sync cycle time set in the System Setup of the Co-  
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.  
97  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Motion Control Modules  
Section 4-2  
Start operation (RUN mode entered)  
Operation  
Operation  
Operation  
(See note.)  
PROGRAM  
Coordinator  
Module  
(See note.)  
(See note.)  
1 cycle later  
Start operation (RUN start)  
Operation Operation  
Program  
(See note.) (See note.)  
PROGRAM  
Cycle  
Motion  
Control  
Module  
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  
Program Execution  
Common processing, which does not depend on special I/O, is performed.  
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  
Note  
(1) Special I/O refreshing refreshes high-speed counter present values and  
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.  
98  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
RUN  
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.  
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.  
Note  
(1) The operating mode of Motion Control Modules cannot be changed inde-  
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.  
Mode  
Program  
I/O  
External  
I/O Memory  
CX-Programmer operations  
execu- refresh outputs  
Cleared Retained  
I/O  
Program Program transfers Program System Program Force-  
Chang- Chang- Chang-  
tion  
(See  
note.)  
areas  
areas  
Memory monitor-  
check  
Setup changes set/reset ing timer/ ing timer/ ing I/O  
changes  
FQM1 to Com-  
monitor-  
ing  
ing  
counter counter Memory  
com-  
puter  
puter to  
FQM1  
SV  
PV  
PV  
PROGRAM Stopped Exe-  
cuted  
OFF  
Con-  
Clear  
Retained OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
RUN  
Per-  
formed  
Exe-  
cuted  
Controlled by pro- OK  
trolled by gram  
program  
OK  
OK  
×
×
×
×
×
×
×
×
×
MONITOR Per-  
formed  
Exe-  
cuted  
Con-  
trolled by gram  
program  
Controlled by pro- OK  
OK  
×
×
OK  
OK  
OK  
OK  
OK  
Note  
The following table shows the relationship of operating modes to tasks.  
Mode  
PROGRAM  
RUN  
Cyclic task status  
Disabled  
Enabled  
Interrupt task status  
Stopped  
Executed if interrupt condition is  
met.  
MONITOR  
99  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Power OFF Operation  
Section 4-4  
4-3-3 Operating Mode Changes and I/O Memory  
Mode Changes  
Cleared areas  
• I/O bits  
Retained areas  
• DM Area  
• Data Link bits  
• Work bits  
• Counter PV  
• Timer PV  
RUN or MONITOR to Cleared (See note 1.)  
PROGRAM  
Retained  
Retained  
Retained  
PROGRAM to RUN Cleared (See note 1.)  
or MONITOR  
RUN to MONITOR or Retained (See note 2.)  
MONITOR to RUN  
Note  
(1) The cycle time will increase by approximately 10 ms when the operating  
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.  
Note  
The User-set Power OFF Detection Time appears in the System Setup simply  
as the “Power OFF Detection Time.”  
100  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Power OFF Operation  
Section 4-4  
85% of the rated voltage or less  
10 ms  
25 ms  
Time  
0
0 to 10 ms  
Momentary power  
interruption not detected  
and operation continues.  
Power supply  
voltage  
10 to 25 ms  
Power supply  
voltage  
25 ms  
Operation will continue or stop  
depending on whether or not a  
momentary power interruption  
is detected.  
Power supply  
voltage  
Momentary power  
interruption detected  
and operation stops.  
Note  
The above timing chart shows an example when the User-set Power OFF  
Detection Time is set to 0 ms.  
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  
Processing time after  
power supply after power  
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.  
OFF detection: 10 ms.  
Power OFF confirmed  
Power OFF detected  
User-set Power  
OFF Detection  
Time: 0 to 10 ms  
(set in System  
Setup)  
Fixed Power OFF  
Detection Time:  
Default is 10 to  
25 ms (Power OFF  
undetermined)  
Power OFF  
detected signal  
Program execution  
status  
Cyclic task or interrupt tasks not associated with power OFF  
Stopped  
Reset signal  
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.  
101  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
102  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
SECTION 5  
Module Functions and Data Exchange  
This section describes the functions common to both the Coordinator Module and Motion Control Modules and the  
5-1 Synchronous Operation between Modules . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-2 Data Exchange between Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3 Cyclic Refresh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3-2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3-3 Cyclic Refresh Area Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3-4 Cyclic Refresh Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-4 Synchronous Data Refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-4-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-4-2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-4-3 Synchronous Data Link Bit Area . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-4-4 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-5 DM Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-5-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-5-2 Settings Details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-5-3 Executing DM Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-6 Cycle Time Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-6-1 Constant Cycle Time Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-6-2 Watch Cycle Time Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-6-3 Cycle Time Monitoring Function . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-6-4 Clearing Constant Cycle Time Exceeded Errors . . . . . . . . . . . . . . .  
5-7 Operation Settings at Startup and Maintenance Functions . . . . . . . . . . . . . . .  
5-7-1 Specifying the Startup Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-7-2 Program Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-7-3 Flash Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-8 Diagnostic Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-8-1 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-8-2 Failure Alarm Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
104  
105  
106  
106  
106  
107  
108  
109  
109  
109  
110  
111  
112  
112  
113  
113  
114  
114  
116  
116  
117  
118  
118  
118  
119  
120  
120  
121  
103  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
Module Settings Tab Page Sync Mode  
Default  
Settings  
Use in Sync Mode (default).  
Synchronization between  
Modules  
Sync Cycle Time = 0 ms  
To operate only the Motion Control Modules with high-speed  
synchronous operation, set a value for the Coordinator Mod-  
ule sync cycle time.  
Coordinator Module 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  
Set to ASync Mode.  
Module Settings Tab Page Sync Mode  
Synchronization between  
Modules  
104  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
Method  
Outline  
Description  
1. Cyclic refresh Exchanges data each  
A Cyclic Refresh Area is allocated for each Motion Control  
Coordinator Module cycle. Module in the Coordinator Module.  
2. Synchronous Broadcasts data at a spec- Specified synchronous data is broadcast from each Motion  
data refresh ified sync cycle.  
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 is transferred in the specified direction between the  
data between a specified specified DM Area words of a specified Motion Control  
Motion Control Module and Module and the specified DM Area words of the Coordina-  
the Coordinator Module  
when required.  
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.  
Coordinator  
Module  
Motion Control  
Module #1  
Motion Control  
Module #2  
Motion Control  
Module #3  
Motion Control  
Module #4  
Cyclic  
Refresh  
Area  
Cyclic  
Refresh  
Area  
Cyclic  
Refresh  
Area  
Cyclic  
Refresh  
Area  
Cyclic  
Refresh  
Area  
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  
105  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
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).  
Motion Control  
Module #1  
Motion Control  
Module #2  
Motion Control  
Module #3  
Motion Control  
Module #4  
Coordinator  
Module  
CIO 0100  
to  
CIO 0100  
to  
CIO 0100  
to  
CIO 0100  
to  
CIO 0000  
CIO 0104  
CIO 0105  
to  
CIO 0104  
CIO 0105  
to  
CIO 0104  
CIO 0105  
to  
CIO 0104  
CIO 0105  
to  
to  
CIO 0099  
CIO 0100  
to  
CIO 0109  
CIO 0109  
CIO 0109  
CIO 0109  
CIO 0104  
CIO 0105  
to  
CIO 0109  
CIO 0110  
to  
CIO 0114  
CIO 0115  
to  
CIO 0119  
CIO 0120  
to  
CIO 0124  
CIO 0125  
to  
CIO 0129  
CIO 0130  
to  
CIO 0134  
CIO 0135  
to  
CIO 0139  
Note  
Cyclic refreshing between the Coordinator Module and Motion Control Mod-  
ules is asynchronous. Information may take up to 2 cycles to be received.  
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.  
106  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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.  
CM:  
MM:  
Coordinator Module  
Motion Control Module  
Word  
address  
Bits  
Details  
CIO 0100 to 00 to  
CM Output Refresh Area (CM to MM)  
CIO 0104  
15  
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  
09  
Refresh Area for CM Input  
MM #1 Refresh Area  
Reserved  
Cycle time over warning  
(MM to CM)  
OFF: No error  
ON: Cycle time exceeded 10 ms.  
The data in the  
MM Output  
Refresh Area  
(MM to CM) for OFF: No non-fatal error  
MM #1 is allo-  
cated here.  
10  
11  
MM #1 non-fatal error (including FAL instructions)  
ON: Non-fatal error  
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 00 to  
CIO 0109 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 00 to  
CIO 0119 15  
Refresh Area for Same as for MM #1.  
MM #2  
These areas can be used as work bits by the Coordinator Module when no  
Motion Control Modules are connected.  
CIO 0120 to 00 to  
CIO 0129 15  
Refresh Area for  
MM #3  
CIO 0130 to 00 to  
CIO 0139 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.  
CM: Coordinator Module  
MM Motion Control Module  
Word  
address  
Bits  
Details  
CIO 0100 00 to 15 MM Input Refresh Area (CM  
General-purpose refresh data from CM to MM.  
to this MM)  
CIO 0101 00 to 15  
The data in the Coordinator  
Module's CM Output Refresh  
Area (CM to MM) is allocated  
to this area.  
CIO 0102 00 to 15  
CIO 0103 00 to 15  
CIO 0104 00 to 15  
107  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Cyclic Refresh  
Section 5-3  
Word  
address  
Bits  
Details  
CIO 0105 00 to 07 MM Output Refresh Area  
Reserved  
Reserved  
(This MM to CM)  
08  
Data from this area is allo-  
09  
Cycle time over warning  
cated to the Coordinator Mod-  
OFF: No error  
ON: MM cycle time exceeded 10 ms.  
ule's CM Input Refresh Area  
(MM to CM).  
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  
15  
Reserved  
Program status for this Motion Control Module  
OFF: Stopped (PROGRAM mode)  
ON: Executing (RUN or MONITOR mode)  
CIO 0106 00 to 15  
CIO 0107 00 to 15  
CIO 0108 00 to 15  
CIO 0109 00 to 15  
General-purpose refresh data from MM to CM  
5-3-4 Cyclic Refresh Area Allocations  
CM: Coordinator Module  
MM: Motion Control Module  
Direc-  
tion  
Motion Control Module  
allocation  
Coordinator Module allocation  
Word  
address  
Bits  
Details  
#1  
#2 #3  
#4  
Word  
address  
Bit  
Word  
address  
Bit  
Word  
address  
Bit  
Word  
address  
Bit  
CM to 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  
MM  
pose 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  
CIO 0101 00 to 15 CIO 0111 00 to 15 CIO 0121 00 to 15 CIO 0131 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 0113 00 to 15 CIO 0123 00 to 15 CIO 0133 00 to 15  
CIO 0104 00 to 15 CIO 0114 00 to 15 CIO 0124 00 to 15 CIO 0134 00 to 15  
CIO 0105 00 to 07 CIO 0115 00 to 07 CIO 0125 00 to 07 CIO 0135 00 to 07  
MM to CIO 0105 00 to 07 Reserved  
CM  
08  
09  
Reserved  
08  
09  
08  
09  
08  
09  
08  
09  
Cycle time  
over warning  
10  
11  
Non-fatal  
error  
10  
10  
10  
10  
Fatal error  
11  
11  
11  
11  
12 to 14 Reserved  
15 Program sta-  
tus  
12 to 14  
15  
12 to 14  
15  
12 to 14  
15  
12 to 14  
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  
pose refresh  
CIO 0107 00 to 15  
CIO 0108 00 to 15  
CIO 0109 00 to 15  
CIO 0107 00 to 15 CIO 0117 00 to 15 CIO 0127 00 to 15 CIO 0137 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 0119 00 to 15 CIO 0129 00 to 15 CIO 0139 00 to 15  
data from  
MM to CM  
108  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.)  
Note  
Set the Sync Cycle Time longer than the longest cycle time among the syn-  
chronized Motion Control Modules.  
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 Motion Control  
Motion Control Motion Control  
Coordinator  
Module  
Module #1  
Module #2  
Module #3  
Module #4  
CIO 200  
to  
CIO 203  
#0  
(4 words)  
#0  
(4 words)  
#0  
(4 words)  
#0  
(4 words)  
#0  
(4 words)  
CIO 204  
to  
CIO 207  
#1  
(4 words)  
#1  
(4 words)  
#1  
(4 words)  
#1  
(4 words)  
#1  
(4 words)  
CIO 208  
to  
CIO 211  
#2  
(4 words)  
#2  
(4 words)  
#2  
(4 words)  
#2  
(4 words)  
#2  
(4 words)  
CIO 212  
to  
CIO 215  
#3  
(4 words)  
#3  
(4 words)  
#3  
(4 words)  
#3  
(4 words)  
#3  
(4 words)  
CIO 216  
to  
CIO 219  
#4  
(4 words)  
#4  
(4 words)  
#4  
(4 words)  
#4  
(4 words)  
#4  
(4 words)  
Synchronous  
data transfer  
109  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Synchronous Data Refresh  
Section 5-4  
Synchronous Data  
Normal (via Ladder)  
Counter 1 values  
Counter 2 values  
Pulse output 1  
System Setup  
Select Synchronous  
Data  
Set in upper  
2 words  
4 words of data transferred for each Module  
Example: 4 words of data sent  
by Motion Control Module #1  
Counter 1 values  
Pulse output 1  
+0  
+1  
+2  
+3  
Pulse output 2  
Analog input  
Transfer  
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.  
Analog output 1  
Analog output 2  
Inner I/O input  
(Built-in input)  
Note  
(1) Synchronous data for Coordinator Modules is fixed to general-purpose  
(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  
Synchronous Data  
Link Bit Areas in  
Coordinator and  
Motion Control  
Modules  
Word  
address  
(See note  
1.)  
Bits  
Method for selecting type of synchronous data  
Sent from Coordina- CIO 0200  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
Fixed to general-purpose data (e.g., ladder execution results)  
Fixed to general-purpose data (e.g., ladder execution results)  
tor Module  
CIO 0201  
CIO 0202  
CIO 0203  
Sent from Motion  
Control Module #1  
CIO 0204  
CIO 0205  
CIO 0206  
CIO 0207  
CIO 0208  
CIO 0209  
CIO 0210  
CIO 0211  
CIO 0212  
CIO 0213  
CIO 0214  
CIO 0215  
Set using upper 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #1.  
Set using lower 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #1.  
Sent from Motion  
Control Module #2  
Set using upper 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #2.  
Set using lower 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #2.  
Sent from Motion  
Control Module #3  
Set using upper 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #3.  
Set using lower 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #3.  
110  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Synchronous Data Refresh  
Section 5-4  
Synchronous Data  
Link Bit Areas in  
Coordinator and  
Motion Control  
Modules  
Word  
address  
(See note  
1.)  
Bits  
Method for selecting type of synchronous data  
Sent from Motion  
Control Module #4  
CIO 0216  
CIO 0217  
CIO 0218  
CIO 0219  
00 to 15  
00 to 15  
00 to 15  
00 to 15  
Set using upper 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #4.  
Set using lower 2 words of Select Synchronous Data in the System  
Setup for Motion Control Module #4.  
Note  
(1) Addresses are the same for the Coordinator Module and all Motion Con-  
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  
Sync  
Description  
Auxiliary Area  
Flags  
Enabled  
Module Settings Tab Page Sync/Async  
Sync Mode  
Synchronization  
between Modules  
---  
At power ON  
Sync Cycle Time  
Name  
Settings  
Default  
Description  
Auxiliary Area  
Flags  
Enabled  
Module Settings Tab Page Default (cycle time) CM cycle time Sync cycle time  
(0.1 to 10.0 ms) (unit: 0.1 ms)  
A404.06  
Sync Cycle Time  
Too Long Flag  
At power ON  
Sync Cycle Time  
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.  
111  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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  
Select Syn- Upper 2 words  
Settings  
Enabled  
Module  
Settings  
Normal (via Ladder)  
Counter 1 values  
Counter 2 values  
Pulse output 1  
Pulse output 2  
Analog input  
At power  
ON  
chronous  
Data  
(+0 and +1)  
Lower 2 words  
(+2 and +3)  
Reserved  
Analog output 1  
Analog output 2  
Inner I/O input (built-in input)  
No data (See note.)  
Note  
The time for synchronous data exchange can be shortened by selecting No  
data.  
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 Prohibit system interrup- OFF: Allow system interruption of the sync At start of operation  
tion of the sync mode  
mode  
Execution Process  
ON: Prohibit 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.  
Note  
Settings are made using the CX-Programmer Ver. 5.0@ menus.  
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.  
112  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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 A530.00  
Module to Motion Control Module)  
DM data transfer is executed from the Coordinator Mod- Enabled  
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 A531  
for DM Transfer  
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  
A533  
A534  
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  
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  
Specifies the first address of the DM transfer destination  
in the Coordinator Module or Motion Control Module.  
0000 to 7FFF hex  
Transfer Error Flag  
Transfer Busy Flag  
A535.14  
A535.15  
Turns ON when a DM data transfer error occurs.  
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  
Turns ON when transfer  
has been completed if an  
error has occurred.  
Error cleared at start of transfer.  
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  
113  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                     
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).  
000.00  
CM  
Set to slot #1, the slot for  
the Motion Control  
Module for the DM data  
transfer.  
@MOV  
#0001  
A531  
D00200 to D00299  
@MOV  
Transfer of 100 words  
of DM data  
DM Transfer Size:  
Set to 100 (64 hex).  
#0064  
A532  
MM  
First DM Transfer  
Source Word (in CM):  
Set to C8 Hex (D00200).  
@MOV  
D00100 to D00199  
#00C8  
A533  
First DM Transfer  
Destination Word (in  
MM):  
@MOV  
#0064  
A534  
Set to 64 Hex (D00100).  
A530.00 (CM to MM  
transfer request)  
Note  
When executing a DM data transfer from a Motion Control Module to the  
Coordinator Module (DM read request), do not set the First DM Transfer  
Source Word to D30000 or higher  
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).  
Constant cycle  
time (enabled)  
Constant cycle  
time (enabled)  
Constant cycle  
time (enabled)  
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.  
114  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Cycle Time Settings  
Section 5-6  
Constant cycle time  
Constant cycle time  
Constant cycle time (enabled)  
Real time  
Real time  
Real time  
System Setup  
Tab page  
Name  
Settings  
Default  
Variable  
Timer/Peripheral servicing or Cycle Time  
Cycle Time  
0.1 to 100.0 ms,  
0.1 ms units  
Constant Cycle Time Exceeded Flag  
Name  
Address  
Description  
Constant Cycle Time A404.05  
Exceeded Flag  
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 A509.15  
Exceeded Error  
Clear Bit  
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.  
Constant cycle time  
Constant cycle time  
Coordinator  
Module  
Waiting to  
synchronize  
Waiting to  
synchronize  
Motion  
Control  
Module  
Processing  
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.  
115  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Cycle Time Settings  
Section 5-6  
Constant cycle time  
Constant cycle time  
Coordinator  
Module  
Waiting for I/O refresh Waiting to  
Waiting for I/O refresh  
to become constant  
Waiting to  
synchronize  
to become constant  
synchronize  
Motion  
Control  
Module  
I/O refresh  
I/O refresh  
Processing  
Processing  
Constant I/O  
refresh timing  
Constant I/O  
refresh timing  
Note  
When the constant cycle time function is enabled for the Motion Control Mod-  
ule in ASync Mode, the Motion Control Module's cycle time will be constant.  
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  
Variable  
Timer/Peripheral Servic- Cycle Time  
ing or Cycle Time  
0.1 to 100.0 ms  
(unit: 0.1 ms)  
Watch Cycle Time 1 to 100 ms  
(unit: 1 ms)  
50 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.  
Note  
Cycle Time Too Long Flag  
The settings are made using CX-Programmer Ver. 5.0@ menus.  
Name  
Address  
Details  
Cycle Time Too Long A401.08  
Flag  
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  
Name  
Addresses  
Meaning  
Maximum Cycle  
Time  
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.  
Note  
The FQM1 can skip program areas that do not need to be executed by using  
the JMP-JME instructions to shorten cycle times.  
116  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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.  
Cycle time  
Constant cycle time cleared  
Constant cycle  
time value  
Constant cycle  
time  
Real cycle time  
Time  
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.  
Cycle time  
Constant cycle  
time  
Constant cycle time cleared  
Constant cycle time  
enabled again  
Constant cycle  
time  
Real cycle time  
Time  
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  
OFF to ON:  
Constant cycle time exceeded  
error cleared.  
Controlled by  
User  
Constant Cycle Time A509.15  
Exceeded Error  
Clear Bit  
117  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Power ON  
System Setup  
Tab page  
Name  
Details  
Settings  
Default  
Startup  
Startup  
Mode  
Specifies the  
initial operating  
mode when the  
power is turned  
ON.  
System Setup disabled  
• RUN mode  
SystemSetup  
disabled  
System Setup enabled  
• PROGRAM mode  
• MONITOR mode  
• RUN mode  
Note  
The operating mode at startup for Motion Control Modules will be the same as  
that for the Coordinator Module when in Sync Mode, but will be RUN mode  
when in ASync 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.  
Note  
(1) If you forget the password, the program in the FQM1 cannot be trans-  
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.  
118  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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 Coordina-  
tor Module).  
• The automatic backup is executed whenever the Module user program or  
parameter area is written (e.g., for data transfer operations from the CX-  
Programmer and online editing).  
• The user program and parameter data written to flash memory is auto-  
matically transferred to user memory at startup.  
Data transfer from  
CX-Programmer  
Module  
Online editing from  
CX-Programmer  
User program  
User memory  
Transfer operation  
Parameters  
Automatic backup  
Automatically restored when Module is turned ON.  
Flash memory  
Note  
The backup status will be displayed in a Memory Backup Status Window by  
the CX-Programmer when backing up data from the CX-Programmer for  
transfer operations other than normal data transfers (PLC/Transfer). To  
obtain this window, display of the backup status dialog box must be selected  
119  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
Name  
Address  
Meaning  
Flash Memory Error A403.10  
Flag  
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.  
Note  
A user-defined error is generated when FAL(006) or FALS(007) is executed in  
the program. The input conditions of these instructions constitute the user-  
defined error conditions. FAL(006) generates a non-fatal error and FALS(007)  
generates a fatal error that stops program execution.  
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.  
120  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Diagnostic Functions  
Section 5-8  
Order of  
occurrence  
Error code  
4102  
Error Log Area  
1
2
Error code  
Error contents  
A100  
A101  
A102  
A103  
A104  
A105  
A106  
A107  
A108  
A109  
4
1
0
2
0
0
0
C
1
1
1
1
0
0
0
0
1
1
1
1
C101  
Error code  
Error contents  
0
0
0
1
1
1
0
0
0
1
1
1
80C0  
20  
A195  
A196  
A197  
A198  
A199  
8
0
C
0
Error code  
Error contents  
0
0
0
1
1
1
0
0
0
1
1
1
A408  
Error Log Pointer  
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.  
Note  
The FQM1 does not support a clock and the time data in the error log will  
always be 0101.  
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. (Pro-  
gram execution will stop.)  
Operation of FAL(006)  
A
FAL  
002  
#0000  
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.  
121  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
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  
003  
#0000  
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.  
122  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
SECTION 6  
Coordinator Module Functions  
6-1 Serial Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-1 Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-2 No-protocol Communications (RS-232C Port) . . . . . . . . . . . . . . . .  
6-1-3 NT Link (1:N Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-4 Serial PLC Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-5 Serial Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-6 No-protocol Communications (RS-422A Port) . . . . . . . . . . . . . . . .  
124  
126  
129  
131  
132  
134  
136  
123  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
OK  
OK  
Not al-  
lowed  
OMRON PT  
(Programmable  
Terminal)  
Host computer  
Monitor and  
set parameters  
or  
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.  
No-protocol  
Communicate with general- Not  
purpose devices connected allowed  
to the RS-232C port without  
a command–response for-  
mat. The TXD(236) and  
OK  
Not al-  
lowed  
General-purpose  
external device  
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  
Data can be exchanged with OK  
PTs without using a commu-  
nications program in the  
OK  
Not al-  
lowed  
OMRON PT  
(Programmable Terminal)  
Coordinator Module.  
for 1:1 con-  
nections.)  
Serial PLC  
Link Slave  
Up to ten words per Module Not  
OK  
Not al-  
lowed  
For NS-  
series PT:  
NS-AL002  
CJ1M CPU Unit  
Master  
can be shared with up to  
eight Coordinator Modules  
as slaves using a CJM1 CPU  
Unit as the maser.  
allowed  
RS-422A/485  
CJ1W-CIF11  
connected to  
RS-232C port  
(See note.)  
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.  
FQM1  
FQM1  
8 Units max.  
CJ1M CPU Unit  
Master  
RS-232C  
The Serial PLC Links can  
also include PTs as slaves  
via NT Links (1:N) combined  
with Coordinator Modules.  
FQM1  
124  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Serial Communications  
Section 6-1  
Protocol  
Connections  
Description  
Ports  
RS-  
232C  
OK  
Peripheral  
RS-  
422A  
Peripheral  
Bus  
Provides high-speed commu- OK  
nications with the CX-Pro-  
grammer.  
Not al-  
lowed  
Programming Device  
(CX-Programmer)  
(Remote programming  
through modems is not sup-  
ported.)  
Serial Gate-  
way  
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.  
Not  
allowed  
Not al- OK  
lowed  
OMRON PT  
(Programmable  
Terminal)  
Host computer  
or  
Servo Drivers  
No-protocol  
TXD(236) and RXD(235)  
Not  
Not al- OK  
lowed  
FQM1  
instructions in the Coordina- allowed  
tor Module program can be  
used to send data to and  
receive data from Servo Driv-  
ers.  
Servo Drivers  
Note  
The CJ1W-CIF11 is not insulated and the total transmission distance is 50  
meters max. If the total transmission distance is greater than 50 meters, use  
the insulated NT-AL001 and do not use the CJ1W-CIF11. If only the NT-  
AL001 is used, the total transmission distance is 500 meters max.  
125  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
flow  
Command type  
Communica-  
tions method  
Configuration  
Application and  
remarks  
Create frame in  
the host com-  
puter and send  
command to  
the FQM1.  
Use this method  
when communi-  
cating primarily  
from the host com-  
puter to the FQM1.  
Directly connect the host computer in a 1:1 or  
1:N system.  
Host computer  
to FQM1  
C-mode (Host Link)  
commands  
Host Link command  
OR  
Receive the  
response from  
the FQM1.  
To use FINS com-  
mands, the host  
computer must  
send the com-  
mands using a  
Host Link header  
and terminator.  
Command  
FINS command (with  
Host Link header  
and terminator)  
Directly connect the host computer in a 1:1  
or 1:N system.  
FINS  
OR  
Header  
Terminator  
Command  
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.  
Power OFF  
Connect the Coordiator Module  
to the general-purpose external  
device using RS-232C.  
Power ON  
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.  
126  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Type  
Header  
code  
Name  
CIO AREA READ  
PV READ  
Function  
Reading I/O  
memory  
RR  
Reads the contents of the specified number of CIO Area  
words, starting from the specified word.  
RC  
RG  
Reads the contents of the specified number of timer/counter  
PVs (present values), starting from the specified  
timer/counter.  
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  
RJ  
DM AREA READ  
AR AREA READ  
CIO AREA WRITE  
PV WRITE  
Reads the contents of the specified number of DM Area  
words, starting from the specified word.  
Reads the contents of the specified number of Auxiliary Area  
words, starting from the specified word.  
Writing I/O  
memory  
WR  
WC  
WD  
WJ  
R#  
Writes the specified data (word units only) to the CIO Area,  
starting from the specified word.  
Writes the PVs (present values) of the specified number of  
timers/counters, starting from the specified timer/counter.  
DM AREA WRITE  
AR AREA WRITE  
SV READ 1  
Writes the specified data (word units only) to the DM Area,  
starting from the specified word.  
Writes the specified data (word units only) to the Auxiliary  
Area, starting from the specified word.  
Changing  
Reads the 4-digit BCD constant or word address in the SV of  
the specified timer/counter instruction.  
timer/counter  
set values  
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.  
Status com-  
mands  
W#  
W$  
SV CHANGE 1  
SV CHANGE 2  
Changes the 4-digit BCD constant or word address in the SV  
of the specified timer/counter instruction.  
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%  
MS  
SV CHANGE 3  
STATUS READ  
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.  
Reads the operating status of the Coordinator Module (operat-  
ing mode, force-set/reset status, fatal error status).  
SC  
MF  
STATUS CHANGE  
ERROR READ  
FORCE SET  
Changes the Coordinator Module’s operating mode.  
Reads errors in the Coordinator Module (non-fatal and fatal).  
Force-sets the specified bit.  
Force-set/reset KS  
commands  
KR  
FORCE RESET  
Force-resets the specified bit.  
FK  
KC  
MULTIPLE FORCE  
SET/RESET  
Force-sets, force-resets, or clears the forced status of the  
specified bits.  
FORCE SET/RESET CAN- Cancels the forced status of all force-set and force-reset bits.  
CEL  
Reading model MM  
codes  
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.  
127  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Serial Communications  
Section 6-1  
Type  
Header  
code  
Name  
PROGRAM READ  
PROGRAM WRITE  
Function  
Program area  
access com-  
mands  
RP  
Reads the contents of the Coordinator Module’s user program  
area in machine language (object code).  
WP  
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  
QQIR  
COMPOUND COMMAND Registers the desired bits and words in a table.  
COMPOUND READ  
Reads the registered words and bits from I/O memory.  
Processing Host XZ  
Link communi-  
ABORT (command only)  
Aborts the Host Link command that is currently being pro-  
cessed.  
cations  
**  
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.  
Type  
Command  
Name  
Function  
code  
I/O Memory  
Area Access  
01  
01  
01  
01  
MEMORY AREA READ  
MEMORY AREA WRITE  
MEMORY AREA FILL  
Reads consecutive data from the I/O memory area.  
Writes consecutive data to the I/O memory area.  
02  
03  
Fills the specified range of I/O memory with the same  
data.  
01  
01  
04  
05  
MULTIPLE MEMORY AREA  
READ  
Reads non-consecutive data from the I/O memory area.  
MEMORY AREA TRANSFER  
Copies and transfers consecutive data from one part of  
the I/O memory area to another.  
Parameter  
Area Access  
02  
02  
02  
01  
02  
03  
PARAMETER AREA READ  
PARAMETER AREA WRITE  
PARAMETER AREA FILL  
Reads consecutive data from the parameter area.  
Writes consecutive data to the parameter area.  
Fills the specified range of the parameter area with the  
same data.  
Program Area 03  
06  
07  
08  
01  
PROGRAM AREA READ  
PROGRAM AREA WRITE  
PROGRAM AREA CLEAR  
RUN  
Reads data from the user program area.  
Writes data to the user program area.  
Access  
03  
03  
Clears the specified range of the user program area.  
Execution  
Control  
04  
Switches the Coordinator Module to RUN or MONITOR  
mode.  
04  
02  
01  
02  
01  
20  
STOP  
Switches the Coordinator Module to PROGRAM mode.  
Reads Coordinator Module information.  
Configuration 05  
CONTROLLER DATA READ  
CONNECTION DATA READ  
Read  
05  
Reads the model numbers of the specified Units.  
Status Read  
06  
06  
CONTROLLER STATUS READ Reads the Coordinator Module’s status information.  
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  
0C  
01  
02  
ACCESS RIGHT ACQUIRE  
Acquires the access right if no other device holds it.  
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  
02  
03  
ERROR CLEAR  
Clears errors and error messages.  
Reads the error log.  
21  
21  
ERROR LOG READ  
ERROR LOG CLEAR  
Clears the error log pointer to zero.  
128  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Serial Communications  
Section 6-1  
Type  
Command  
code  
Name  
Function  
Forced Status 23  
23  
01  
FORCED SET/RESET  
Force-sets, force-resets, or clears the forced status of  
the specified bits.  
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  
TXD/RXD  
instructions  
RS-232C port  
No protocol  
RS-232C  
General-purpose external device  
The following table lists the no-protocol communications functions available  
for the FQM1.  
Send/receive  
Transfer  
direction  
Method  
Max.  
amount of  
data  
Frame format  
Other functions  
Start code  
End code  
Sending data FQM1 to Gen- Execute  
256 bytes  
Yes: 00 to FF  
No: None  
Yes: 00 to FF  
CR+LF  
• Send delay time  
(delay between  
TXD(236) execution  
and sending data  
from specified port):  
0 to 99,990 ms (unit:  
10 ms)  
eral-purpose  
external  
TXD(236) in  
the program  
None  
device  
(Specify recep-  
tion data size to  
between 1 and  
256 bytes when  
set to none.)  
• RS and ER signal  
ON/OFF  
Receiving  
data  
General-pur-  
pose external RXD(235) in  
device to  
FQM1  
Execute  
256 bytes  
Monitoring of CS and  
DR signals  
the program  
129  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Power OFF  
Connect the Coordinator Module and the  
general-purpose external device using  
RS-232C  
Power ON  
General-purpose external  
device FQM1  
FQM1 General-purpose  
external device  
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  
Yes  
No  
CR+LF  
Start code No  
setting  
Data  
256 bytes max.  
CR+LF  
Data  
ED  
Data  
256 bytes max.  
ST Data  
256 bytes max.  
256 bytes max.  
Yes  
ST  
Data  
256 bytes max.  
CR+LF  
ST  
Data  
256 bytes max.  
ED  
• 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.  
Note  
The transmission of data after the execution of TXD(236) can be delayed by a  
specified transmission delay time, as shown in the following diagram.  
130  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Serial Communications  
Section 6-1  
Transmission  
delay time  
Transmission  
Time  
TXD(236) instruction  
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  
Host Link  
Enabled  
Mode  
Delay  
RS-232C  
Each cycle  
0 to 99,990 ms (unit: 10 ms)  
00 to FF hex  
0 ms  
End Code  
00 hex  
Start Code  
00 to FF hex  
00 hex  
Received bytes  
Use of end code  
Use of start code  
1 to 255 bytes  
256 bytes  
Received bytes  
None  
Received bytes or CR+LF  
None  
Note  
The settings are made using CX-Programmer Ver. 5.0@ menus.  
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).  
Note  
Communications are not possible using the 1:1-mode NT Link protocol. Also,  
the standard baud rate must be used.  
The settings can be made using System Setup and the PT system menu.  
System Setup  
Communi-  
cations  
port  
Name  
Settings  
contents  
Default  
Other  
conditions  
Peripheral Mode  
port  
NT Link (1:N  
mode)  
Host Link  
Turn ON pin 2  
on the Coordi-  
nator Module  
DIP switch.  
Baud  
Standard NT  
Link  
Standard NT  
Link  
NT Link max.  
Mode  
0 to 7  
0
---  
---  
RS-232C  
port  
NT Link (1:N  
mode)  
Host Link  
Baud  
Standard NT  
Link  
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. High-  
speed communications are not possible.  
131  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
Note  
Use a CJ1W-CIF11 RS-232C to RS-422A/485 Conversion Adapter when con-  
necting more than one FQM1 to the same CJ1M CPU Unit (1:N, where N = 8  
max.).  
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)  
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)  
132  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
CJ1M CPU Unit (master)  
FQM1 (slave) No. 0  
FQM1 (slave) No. 1  
FQM1 (slave) No. 2  
Serial PLC Link Bit Area  
Serial PLC Link Bit Area  
Serial PLC Link Bit Area  
CIO 3100 to CIO 3109  
CIO 0080 to CIO 0089  
CIO 0090 to CIO 0099  
CIO 0080 to CIO 0089  
CIO 0090 to CIO 0099  
CIO 0080 to CIO 0089  
CIO 0090 to CIO 0099  
CIO 3110 to CIO 3119  
CIO 3120 to CIO 3129  
CIO 3130 to CIO 3139  
CIO 3140 to CIO 3149  
CIO 3150 to CIO 3159  
CIO 3160 to CIO 3169  
CIO 3170 to CIO 3179  
CIO 3180 to CIO 3189  
No. 0  
No. 1  
No. 2  
No. 3  
No. 4  
No. 5  
No. 6  
No. 7  
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.  
Send direction  
No. of link words  
Send words  
3 words  
1 word  
2 words  
...  
10 words  
CJ1M (master) to  
(FQM1) slave  
(CIO 3100) (CIO 3100 to (CIO 3100 to ... (CIO 3100 to  
CIO 3101) CIO 3102) CIO 3109)  
CJ1M to FQM1 No. 0 CIO 0080 CIO 0080 to CIO 0080 to ... CIO 0080 to  
CIO 0081  
CIO 0082  
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  
Note  
CJ1M CPU Unit I/O memory addresses are given in parentheses.  
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.  
133  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Serial Communications  
Section 6-1  
Settings  
CJ1M (Master) PLC Setup  
Item  
Address  
Word  
Serial communica- 160  
Set value  
Default  
0 hex  
Refresh timing  
Bits  
RS-232C  
08 to 11  
00 to 07  
8 hex: Serial PLC Links  
Polling Unit  
Every cycle  
port setting tions mode  
Port baud rate  
161  
00 to 09 hex: Standard  
00 hex  
0
(0A hex: High-speed can-  
not be used.)  
Link method  
166  
15  
ON: Polling Unit links  
(OFF: Complete links  
cannot be used.)  
Number of link  
words  
04 to 07  
00 to 03  
1 to A hex  
0 hex (See  
note 1.)  
Highest unit num-  
ber  
0 to 7 hex  
0 hex  
Note  
(1) Automatically allocates 10 words (A hex) when the default setting of 0  
hex is used.  
(2) Connection to the FQM1 is not possible at 115,200 bits/s.  
FQM1 (Slave) System Setup  
Item  
Set value  
Default  
Host Link  
Refresh timing  
RS-232C port Mode  
7 hex: PC Link (Slave)  
00 to 09 hex: Standard  
(0A hex: High-speed cannot be used.)  
0 to 7 hex  
Every cycle  
settings  
Baud  
Standard  
(38,400:1, 8, 1, 0)  
PC Link Unit No.  
0 hex  
Note  
The settings are made using CX-Programmer Ver. 5.0@ menus.  
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  
134  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Serial Communications  
Section 6-1  
NS-series PT  
Smart Active Parts  
NT Link  
Coordinator Module  
FQM1  
Servo parameters or  
other data  
Protocol  
conversion  
RS-422A  
W-series or  
SMARTSTEP  
Servo Driver  
W-series or  
SMARTSTEP  
Servo Driver  
Note  
When the Serial Gateway function is used, the FQM1 receives FINS com-  
mands (encapsulated W-series or SMARTSTEP commands) via the RS-422A  
port from NT-series PTs or personal computers and converts them to W-  
series or SMARTSTEP Servo Driver commands (removes the encapsulation)  
and transfers them to the W-series or SMARTSTEP Servo Drivers.  
System Setup  
Item  
Drive Tab Page Mode  
Settings  
Default  
Enabled  
Each cycle  
Serial Gateway or Non-procedural  
(no-protocol)  
Serial Gateway  
RS-422 Response Time- 0.1 to 25.5 s (unit: 0.1 s)  
5 s  
out of Command  
Note  
The settings are made using CX-Programmer Ver. 5.0@ menus.  
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.  
135  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Serial Communications  
Section 6-1  
6-1-6 No-protocol Communications (RS-422A Port)  
Coordinator Module  
FQM1  
Coordinator Module ladder program  
TXD/RXD  
instructions  
RS-232C port  
RS-422A port  
No-protocol  
No-protocol  
RS-232C  
RS-422A  
General-  
Servo Driver  
Servo Driver  
purpose  
external  
device  
RS-422A Settings  
Item  
Settings  
Default  
Enabled  
Mode  
No-protocol  
Serial Gateway Each cycle  
Delay  
0 to 99,990 ms (unit: 10 ms)  
00 to FF hex  
0 ms  
End code  
Start code  
00 hex  
00 to FF hex  
00 hex  
Received bytes 01 to FF hex: 1 to 255 bytes  
Use of end code Received bytes or CR+LF  
256 bytes  
Received bytes  
No  
Use of start  
code  
No  
Yes  
Note  
The settings are made using CX-Programmer Ver. 5.0@ menus.  
136  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
SECTION 7  
Motion Control Module Functions  
7-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2 Interrupt Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2-2 Interrupt Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2-3 Disabling and Enabling All Interrupts . . . . . . . . . . . . . . . . . . . . . . .  
7-3 Input Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-2 Overview of the Input Interrupt Function. . . . . . . . . . . . . . . . . . . . .  
7-3-3 Interrupt Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-4 Input Interrupt Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-5 Using Input Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-6 Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4 Interval Timer Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4-2 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4-3 Interval Timer Interrupt Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4-4 Using Interval Timer Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4-5 Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5 Pulse Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-2 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-3 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-4 Pulse Input Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-5 Latch Input Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-6 Applicable Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-7 Internal Circuit Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-8 Pulse Input Function Description . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-9 Pulse Input Function Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5-10 Pulse Input Function Example Application . . . . . . . . . . . . . . . . . . .  
7-6 Pulse Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-2 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-3 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-4 Pulse Output Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-5 Applicable Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-6 Pulse Output Function Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-7 One-shot Pulse Output Function. . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-8 Time Measurement with the Pulse Counter . . . . . . . . . . . . . . . . . . .  
7-6-9 Target-value Comparison Interrupts from Pulse Output PVs. . . . . .  
139  
140  
140  
140  
141  
142  
142  
142  
142  
142  
143  
145  
146  
146  
146  
146  
146  
147  
148  
148  
148  
148  
150  
152  
152  
152  
153  
160  
162  
167  
167  
167  
168  
169  
170  
171  
176  
178  
179  
137  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
7-6-10 Range Comparison Bit Pattern Outputs from Pulse Output PVs . . .  
182  
and PLS2(887) Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
182  
183  
184  
189  
194  
199  
199  
199  
200  
201  
202  
202  
203  
203  
204  
207  
7-6-12 PLS2(887) Pulse Output Direction Priority Mode . . . . . . . . . . . . . .  
7-6-13 Pulse Output Function Procedures . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-14 Pulse Output Function Examples . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6-15 Pulse Output Starting Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7 Functions for Servo Drivers Compatible with Absolute Encoders . . . . . . . . .  
7-7-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-3 Data Format of Absolute Encoder Output. . . . . . . . . . . . . . . . . . . . .  
7-7-4 Counter Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-5 Absolute Number of Rotations PV (Counter 1: A604 and A605) . .  
7-7-6 Absolute Present Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-7 Absolute Present Value Preset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-8 Absolute Offset Preset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-9 Related Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-7-10 Overview of Absolute Encoder Output Data Acquire. . . . . . . . . . . .  
with Absolute Encoders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
209  
209  
212  
212  
212  
213  
215  
215  
215  
215  
217  
218  
222  
222  
223  
225  
225  
225  
226  
228  
229  
230  
7-7-12 Sample Programs (Connecting an OMRON W-series Servo Driver)  
7-8 Virtual Pulse Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-8-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-8-2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-8-3 AXIS Instruction (For Virtual Pulse Outputs). . . . . . . . . . . . . . . . . .  
7-8-4 Application Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9 Analog Input Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9-2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9-3 Analog Input Function Specifications. . . . . . . . . . . . . . . . . . . . . . . .  
7-9-4 Related Areas and Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9-5 Applicable Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9-6 A/D Conversion Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-9-7 High-speed Analog Sampling (FQM1-MMA21 Only). . . . . . . . . . .  
7-10 Analog Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-10-1 Applicable Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-10-2 Outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-10-3 Analog Output Function Specifications . . . . . . . . . . . . . . . . . . . . . .  
7-10-4 Applicable Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-10-5 Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-10-6 Application Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
138  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Overview  
Section 7-1  
7-1 Overview  
The FQM1 Modules have the following functions.  
Main function  
(Applicable Modules)  
Sub-functions  
Basic interrupt functions  
(FQM1-MMP21/MMA21)  
Input Interrupts (4 points) (Input Interrupt Mode or Counter Mode)  
Interval Timer Interrupt (1 point)  
Scheduled Interrupts  
One-shot Interrupts  
Setting range: 0.5 to 99,990 ms  
Unit: 0.1 ms  
Constant Cycle Time Exceeded Error Clear Function  
High-speed Counters  
High-speed Counter PVs (2 points)  
No interrupts  
(FQM1-MMP21/MMA21)  
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.)  
Absolute Number of Rotations PV  
Functions for Servo Drivers  
Compatible with Absolute  
Encoders  
Absolute PV  
Absolute PV Preset Function  
(FQM1-MMP21/MMA21)  
Absolute Offset Preset Function  
Pulse Outputs  
Pulse Outputs (2 points)  
(FQM1-MMP21 only)  
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 No interrupts  
settings can be set for the Pulse Out-  
Target Value Comparison Interrupts  
puts, One-shot Pulse Outputs, and  
(Count check interrupts)  
Pulse Counter Functions listed above.  
Range Comparison and Bit Pattern Outputs  
Virtual Pulse Outputs  
The AXIS instruction generates trapezoidal acceleration/deceleration in a virtual axis.  
(FQM1-MMP21/MMA21)  
Analog Outputs  
Sloped Output by Instruction (2 points)  
(FQM1-MMA21 only)  
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.  
139  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Note  
In addition to interrupts, bit patterns can be output internally when the PV is  
within a specified range in Range Comparison Mode. High-speed counter  
PVs, pulse output PVs, pulse counter timer PVs, and one-shot pulse elapsed  
times can be used as the PVs for bit pattern output.  
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 inter-  
rupt 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).  
140  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
Interrupt Functions  
Section 7-2  
This situation can be avoided with the programming methods shown in the fol-  
lowing diagram.  
Method 2:  
Method 1:  
Executing the routine in the main program instead of  
the interrupt task, where it could not be executed.  
Disabling all interrupts  
in the main program  
(Main program)  
(Interrupt task)  
P_On  
MSKS  
0100  
CTBL  
PRV  
0000  
0000  
0001  
0000  
D00000  
0001  
0002  
Always  
ON  
D00000  
@PLS2  
0002.00  
0001  
0000  
D00010  
P_ER  
@CTBL  
SET 0002.00  
0001  
0000  
ER Flag  
D00000  
MSKS  
0200  
0000  
0000  
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  
Note  
Interrupt processing will not be executed for an interrupt that occurs while  
interrupts are disabled, but the interrupt event will be recorded for each type of  
interrupt and interrupt processing will be executed when interrupts are  
enabled.  
Enabling All  
Interrupts  
The EI(694) instruction clears the prohibition on all interrupts that was set with  
the DI(802) instruction.  
(@)EI  
Note  
Executing the EI(694) instruction merely returns the interrupts to the status  
they were in before all interrupts were prohibited (disabled by DI(802)).  
141  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
Motion Control Module for Pulse I/O  
Motion Control Module for Analog I/O  
FQM1-MMP21  
FQM1-MMA21  
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.  
Note  
If the input interrupts are not being used, interrupt tasks 000 to 003 can be  
used as interrupt tasks for other interrupt functions.  
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  
Item  
Specification  
Interrupt condition  
Contact inputs 0 to 3 (CIO 0000.00 to CIO 0000.03) turn ON,  
OFF, or both  
Note Set the interrupt condition in the System Setup.  
Interrupt task num-  
bers  
CIO 0000.00 to CIO 0000.03: Interrupt 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.  
142  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                       
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.  
Note Set the interrupt condition in the System Setup.  
Interrupt task num-  
bers  
CIO 0000.00 to CIO 0000.03: Interrupt tasks 000 to 003  
(fixed)  
Counter operation  
Input method  
Decrementing pulse input  
Single phase  
Counting speed  
Counter value  
2 kHz  
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  
CIO 0000.00  
Interrupt task number  
External interrupt input 0  
External interrupt input 1  
External interrupt input 2  
External interrupt input 3  
000  
001  
002  
003  
CIO 0000.01  
CIO 0000.02  
CIO 0000.03  
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).  
Note The default input setting is for a normal input.  
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.  
Interrupt  
input  
0
1
2
3
CIO 0000.00  
Interrupt input 0  
Interrupt generated.  
CIO 0000.01  
CIO 0000.02  
CIO 0000.03  
Ladder program  
Execute specified task.  
MSKS  
Interrupt control  
Enable interrupt inputs  
END  
Interrupt input 1  
Interrupt input 2  
Interrupt input 3  
System Setup  
Interrupt input  
settings  
143  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
CIO 0000.00  
Interrupt task number  
External interrupt input 0  
External interrupt input 1  
External interrupt input 2  
External interrupt input 3  
000  
001  
002  
003  
CIO 0000.01  
CIO 0000.02  
CIO 0000.03  
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).  
Note The default input setting is for a normal input.  
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
1
2
3
CIO 0000.00  
CIO 0000.01  
CIO 0000.02  
CIO 0000.03  
Interrupt  
input  
Counter 0, 1 kHz  
Interrupt input (counter mode)  
Ladder program  
Interrupt generated.  
See note.  
Execute specified task.  
MSKS  
Interrupt control  
Refresh PV  
(Decrementing)  
END  
Change SV (Decrementing)  
Counter 1, 1 kHz  
Counter 2, 1 kHz  
Counter 3, 1 kHz  
Note: Interrupt used only when  
the counter counts out.  
Counter SV  
Counter 0 A520  
Counter 1 A521  
Counter 2 A522  
Counter 3 A523  
(Auxiliary Area)  
System Setup  
Refresh PV (once each cycle)  
Counter PV  
Interrupt input  
settings  
Counter 0 A524  
Counter 1 A525  
Counter 2 A526  
Counter 3 A527  
(Auxiliary Area)  
144  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
P_First_Cycle  
MOV  
The SV of input interrupt 1 counter  
mode operation is set to 10 in 4-digit  
hexadecimal (000A).  
#000A  
A521  
(ON for the first cycle)  
0002.00  
When CIO 0002.00 is ON, the  
following instructions are executed.  
@CLI  
#0000  
#0001  
(1) Clears any masked interrupts  
for input interrupts 0 and 1.  
@CLI  
#0001  
#0001  
(2) Enables interrupts by input  
interrupt 0 in Input interrupt  
mode.  
@MSKS  
#0000  
#0000  
(3) Enables interrupts by input  
interrupt 1 in counter mode.  
(The counter SV is 10 decimal.)  
@MSKS  
#0001  
#0002  
0002.00  
@MSKS  
When CIO 0002.00 is OFF, MSKS(690)  
masks input interrupts 0 and 1 and  
disables those interrupts.  
#0000  
#0001  
@MSKS  
#0001  
#0001  
P_On (Always ON)  
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.  
CLC  
ADB  
A521  
#000A  
A521  
Interrupt  
task 0  
MSKS  
END  
#0001  
#0002  
Interrupt  
task 1  
When input interrupt 1 counts down  
to 0, interrupt task 001 is called and  
executed.  
END  
145  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Interval Timer Interrupts  
Section 7-4  
The following timing chart shows the operation of the program as it is exe-  
cuted.  
CIO 0000.00  
Interrupt task 000  
CIO 0000.01  
10 counts  
10 counts  
20 counts  
(See note 1.)  
(See note 1.)  
Interrupt task 001  
(See note 2.)  
CIO 0002.00  
Note  
(1) Counting continues even while the interrupt task is being executed.  
(2) The input interrupts are masked after this point.  
7-4 Interval Timer Interrupts  
7-4-1 Applicable Models  
Model number  
FQM1-CM001  
FQM1-MMP21  
FQM1-MMA21  
Functions  
Coordinator Module  
Motion Control Module for Pulse I/O  
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.  
146  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                     
Interval Timer Interrupts  
Section 7-4  
Interval timer  
Generate interrupt.  
Execute interrupt task.  
Ladder Program  
STIM  
INTERVAL TIMER  
Start timer.  
One-shot mode  
END  
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  
MOV  
Sets 4 for the decrementing counter  
set value.  
#0004  
D00010  
Sets 0.6 ms for the decrementing  
time interval.  
#0006  
D00011  
0002.00  
0002.00  
@STIM  
#0003  
The interval timer starts when  
CIO 0002.00 turns ON.  
Task 23 hex = 35 BCD  
D00010  
#0023  
@STIM  
#000A  
0000  
0000  
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.  
Interrupt  
task 35  
Interrupt task program  
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  
Interrupt task  
2.4 ms  
2.4 ms  
2.4 ms  
147  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Pulse Inputs  
Section 7-5  
7-5 Pulse Inputs  
7-5-1 Applicable Models  
Model  
FQM1-MMP21  
FQM1-MMA21  
Functions  
Motion Control Module for Pulse I/O  
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.  
Process  
Description  
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.  
Note  
Interrupts cannot be generated for range comparisons. Only bit patterns are  
output.  
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  
Item  
Specification  
Number of counters  
2
Pulse input operation mode  
(Set in System Setup.)  
Phase differential  
Increment/decrement  
Pulse + direction  
Input pin High-speed  
numbers counter 1  
High-speed  
counter 2  
24 V: 1 (5)  
LD: 3 (5)  
24 V: 2 (6)  
LD: 4 (6)  
Phase A  
Phase B  
Phase Z  
Increment pulse  
Decrement pulse  
Reset pulse  
Pulse  
24 V: 7 (11)  
LD: 9 (11)  
24 V: 8 (12)  
LD: 10 (12)  
Direction pulse  
Reset pulse  
24 V: 13 (17) 24 V: 14 (18)  
LD: 15 (17) LD: 16 (18)  
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.)  
148  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Pulse Inputs  
Section 7-5  
Item  
Specification  
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.  
Note The PVs are refreshed during the Motion Control Module’s I/O  
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.  
Register up to 48 target values and interrupt tasks.  
Control  
method  
Target value comparison  
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.  
Note The counter reset method is set in System Setup.  
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.  
Mea-  
sure-  
ment  
mode  
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)  
Note The high-speed counter value can also be read with the PRV(881)  
instruction.  
Stored Data  
Movement: 8-digit hexadecimal  
Frequency: 8-digit hexadecimal  
Note The data is refreshed during the Motion Control Module’s I/O refresh  
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 dur-  
ing the measurement.  
149  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Pulse Inputs  
Section 7-5  
7-5-4 Pulse Input Specifications  
Item  
Specification  
Number of  
2 inputs  
pulse inputs  
Note High-speed counter 1 can be an RS-422A line-driver input or an input with a voltage of 24 VDC.  
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  
Ports  
Encoder inputs A and B and pulse input Z  
High-speed counters 1 and 2  
High-speed counters 1 and 2  
Input voltage 24 VDC 10%  
Phases A and B  
RS-422A line-driver (AM26LS31 equivalent)  
Phase Z  
Phases A and B  
Phase Z  
Input current 5 mA typical  
ON voltage 19.6 V DC min.  
OFF voltage 4.0 V DC max.  
8 mA typical  
18.6 V DC min.  
4.0 V DC max.  
10 mA typical  
13 mA typical  
---  
---  
---  
---  
150  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Pulse Inputs  
Section 7-5  
Item  
Specification  
Minimum response pulse  
At 50 kHz  
Encoder Inputs A and B  
Encoder Inputs A and B  
Encoder Inputs A and B Waveform  
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.  
Square waveform  
50-kHz pulse with 50% duty ratio  
20 µs min.  
s min. 10 µs min.  
10  
µ
10 µs min.  
10 µs min.  
ON  
ON  
50%  
OFF  
50%  
OFF  
Relationship to Phase Differential Inputs A and B  
3 µs max.  
3 µs max.  
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  
50%  
OFF  
Phase A  
Phase B  
20 µs min.  
ON  
Phase A 50%  
OFF  
ON  
OFF  
ON  
T1  
T3  
T2  
T4  
Phase B  
OFF  
Encoder Input Z or Sensor Input  
Encoder Input Z Waveform  
T1  
T3  
T2  
T4  
The pulse width must be 90 µs min.  
Encoder Input Z or Sensor Input  
Encoder Input Z Waveform  
90 µs min.  
The pulse width must be 90 µs min.  
ON  
90 µs min.  
50%  
OFF  
ON  
50%  
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  
50%  
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  
50%  
OFF  
ON  
OFF  
T1  
T3  
T2  
T4  
Encoder Input Z or Sensor Input  
Encoder Input Z Waveform  
The pulse width must be 10 µs min.  
10 µs min.  
ON  
50%  
OFF  
151  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Pulse Inputs  
Section 7-5  
7-5-5 Latch Input Specifications  
Item  
Specification  
Number of inputs  
Input voltage  
2
20.4 to 26.4 V  
ON response: 30 µs  
OFF response: 200 µs  
Input response  
7-5-6 Applicable Instructions  
Instruction  
(@)CTBL(882) Range comparison  
Target value comparison table regis- Target value comparison table registered and comparison  
tration and starting comparison started.  
Control  
Description  
One range comparison executed.  
Target value comparison table regis- Target value comparison table registered.  
tration  
(@)INI(880)  
Starting comparison  
Comparison started with previously registered target value com-  
parison table.  
Stopping comparison  
Changing PV  
Target value comparison stopped.  
PV of high-speed counter changed.  
Maximum circular value of high-speed counter changed.  
PV of high-speed counter read.  
Changing circular value  
Reading high-speed counter PV  
(@)PRV(881)  
Reading high-speed counter move- Movement or frequency of high-speed counter read.  
ment or frequency  
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Ω  
1
+
2
Phase A and B  
internal circuits  
1
2
24-V input  
Line-driver input  
Phase Z  
3.0 kΩ  
1
+
2
Phase Z  
internal circuit  
1
2
24-V input  
Line-driver input  
152  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                 
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  
Phase A  
Phase B  
0
0
0
1
2
3
6
2
1
1
1
2
×1 multiplier  
×2 multiplier  
×4 multiplier  
1
2
3
4
5
5
4
3
2
2
3
4
1
2
3
4
5
6
7
8
9 1011 12 1110 9  
8
7
6
5
4
3
2
2
3
4
5
6
7 8  
Phase A Phase B  
×1 multiplier  
×2 multiplier  
×4 multiplier  
H
L
L
Increment  
Increment  
---  
Increment  
Increment  
Increment  
Increment  
Decrement  
Decrement  
Decrement  
Decrement  
H
H
L
---  
---  
Increment  
---  
---  
L
---  
---  
H
---  
Decrement  
---  
---  
Decrement  
Decrement  
153  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Pulse Inputs  
Section 7-5  
Increment/Decrement Pulse Inputs  
Pulse + Direction Inputs  
Encoder  
Input A  
(UP input)  
Encoder  
Input A  
(Pulse input)  
Encoder  
Encoder  
Input B  
Input B  
(Direction input)  
(DOWN input)  
1
2
3
2
1
1
2
3
2
1
Decrement  
Increment  
Decrement  
Increment  
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.  
Linear Counter  
Circular Counter  
Circular maximum value  
0
80000000 hex  
7FFFFFFF hex  
Overflow  
0
Increment  
Decrement  
Underflow  
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  
Note  
The high-speed counter PVs are refreshed during the Motion Control Mod-  
ule’s I/O refresh.  
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  
154  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
Phase-Z  
(reset input)  
Reset Bit for  
High-speed  
Counter 1 or 2  
Within 1 cycle  
Reset by cycle.  
1 or more cycles  
Reset  
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  
Reset Bit for  
High-speed  
Counter 1 or 2  
Within 1 cycle  
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.  
Note  
The comparison table registration and comparison execution status will not be  
changed even if the PV is reset. If a comparison was being executed before  
the reset, it will continue.  
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.  
155  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Pulse Inputs  
Section 7-5  
Counter PV  
: Interrupt  
Comparison table  
Target value  
Target value  
Target value  
Target value  
Target value  
3
2
4
1
5
Target value  
Target value  
Target value  
Target value  
Target value  
1
2
3
4
5
0
Elapsed time  
(seconds)  
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.  
Counter PV  
4
Comparison table  
Comparison range  
Comparison range  
Range  
Range  
Range  
Range  
1
2
3
4
3
1
Comparison range  
Comparison range  
2
0
Elapsed time  
(seconds)  
The PV is compared to all comparison ranges  
at each instruction execution.  
Bit pattern output when  
PV is within range.  
Comparison  
15  
Bit pattern (1)  
0
Range (1)  
Range (2)  
High-speed counter PV  
Bit pattern (2)  
Bit pattern (16)  
Range (16)  
0
15  
A613 or A615  
Internal bit pattern  
156  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Note  
(1) The change (per sampling period) is refreshed during the Motion Control  
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 00 to 15  
A605  
High-speed Counter 1 Contains the change in high-speed  
Monitor Data  
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 00 to 15  
A607  
High-speed Counter 2 Contains the change in high-speed  
Monitor Data  
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  
A609  
06  
06  
High-speed Counter 1 Measuring Flag  
Status Flag  
OFF: The high-speed counter move-  
ment measurement operation  
is stopped.  
ON: The high-speed counter move-  
ment is being measured.  
High-speed Counter 2 Measuring Flag  
Status Flag  
OFF: The 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  
Counter data  
Details  
Pulse input  
Counter 1  
1 hex:  
display  
Counter 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 hex:  
Counter 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)  
157  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
Note The software can generate the range of values shown  
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.  
Note  
(1) When using mode 1 with a circular counter, set the maximum circular val-  
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.  
Note  
(1) The frequency value stored in the Auxiliary Area is refreshed during the  
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  
A604 and 00 to 15  
A605  
High-speed Counter 1 Contains the frequency measure-  
Monitor Data  
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 Measuring Flag  
Status Flag  
OFF: The 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  
Specifies the counter 1 mea- 2 hex: Frequency (mode 2)  
surement mode.  
Counter data display  
158  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Pulse Inputs  
Section 7-5  
Frequency Measurement (Mode 2) Specifications  
Item  
Specifications  
Only pulse 1 (high-speed counter 1) can be used.  
Applicable pulse  
input  
Measurable frequen- 0 to 500 kHz  
cies  
Note When no pulses have been input for 10 s, the measured  
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.)  
Note At input frequencies below 500 Hz, the measurement  
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  
A608  
Bit  
Function  
Details  
08  
High-speed Counter 1 Count Latched Flag  
Status Flag  
Indicates that a high-speed counter  
PV has been captured in the latch  
register by the latch signal input.  
A609  
A610  
08  
08  
09  
08  
09  
High-speed Counter 2 Count Latched Flag  
Status Flag  
(This flag has the same function as  
the flag for high-speed counter 1.)  
High-speed Counter 1 Latch Input 1 Enable  
Command  
OFF: Disabled  
ON: Enabled  
Latch Input 2 Enable  
OFF: Disabled  
ON: Enabled  
A611  
High-speed Counter 2 Latch Input 1 Enable  
Command  
OFF: Disabled  
ON: Enabled  
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.  
159  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 + Direc-  
tion  
• 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 + Direc-  
tion  
• 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 com-  
parison.  
• PRV(881) instruction: Specifies the port and reads the high-speed  
counter PV.  
160  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Pulse Inputs  
Section 7-5  
A
Pulse input 1  
B
Counter Start Bit  
Input Mode  
Reset Method  
Counter Operation  
Counting Speed  
Count  
A
Z
Turn ON A610.00 or  
A611.00.  
Phase differential  
Pulse + Direction  
Increment/Decrement  
Phase-Z /software reset  
Software reset  
Circular Counter  
Linear Counter  
50 kHz  
500 kHz  
A
Pulse input 2  
B
Z
System Setup  
Reset  
System Setup  
System Setup  
Counting Speed  
System Setup  
Input  
Counter Operation  
Refresh PV (once each cycle).  
Counter PV  
Refresh PV (immediate refresh).  
PRV  
HIGH-SPEED  
COUNTER PV READ  
Port 1  
Port 2  
A601  
A603  
A600  
A602  
(Auxiliary Area)  
Read PV.  
Target-value comparison interrupt  
A
Interrupt generated.  
Ladder Program  
See note.  
Specified Interrupt Task  
CTBL  
COMPARISON TABLE LOAD  
Register table only.  
Register table and  
start comparison.  
END  
INI  
MODE CONTROL  
Note: Only when using high-speed  
counter interrupts.  
Change PV.  
Start/Stop comparison.  
Range Comparison, Bit Pattern Output  
Range comparison is performed only when  
the instruction is executed.  
A
Check count  
(compare).  
Ladder Program  
Pattern storage  
15  
CTBL  
COMPARISON TABLE LOAD  
0
A613 or A615  
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 + Direc-  
tion  
• 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).  
161  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 + Direc-  
tion  
• 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:  
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.  
High-speed Counter  
Target Value  
Comparison Interrupt  
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  
162  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
High-speed  
Counter PV  
PV reset on  
phase-Z signal  
PV reset on  
phase-Z signal  
Target value 3 10000  
Target value 2 7500  
Target value 1 2500  
Time  
Interrupt tasks Task 10  
starts  
Task 11 Task 12  
starts starts  
Task 10  
starts  
Task 11 Task 12  
starts starts  
163  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Pulse Inputs  
Section 7-5  
P_On  
Starts high-speed counter 1.  
A610.00  
(Always ON)  
Start high-speed  
counter.  
3 comparison conditions  
Target value 1 = 2,500  
D00000 0 0 0 3  
D00001 2 5 0 0  
D00002 0 0 0 0  
D00003 0 0 0 A  
D00004 7 5 0 0  
D00005 0 0 0 0  
D00006 0 0 0 B  
D00007 0 0 0 0  
D00008 0 0 0 1  
D00009 0 0 0 C  
Turns ON the High-speed Counter 1 Reset Bit.  
A610.01  
Reset Bit  
Interrupt task 10  
Target value 2 = 7,500  
Interrupt task 11  
0002.00  
@CTBL  
Target value 3 = 10,000  
Interrupt task 12  
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.)  
#0001  
#0000  
D00000  
END  
Control program 1  
Interrupt task 10  
Interrupt task 11  
END  
Control program 2  
END  
Control program 3  
END  
Interrupt task 12  
Example 2:  
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.  
High-speed Counter  
Range Comparison &  
Bit Pattern Output  
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.  
164  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Pulse Inputs  
Section 7-5  
High-speed  
Counter PV  
PV reset on  
PV reset on  
phase-Z signal  
phase-Z signal  
10000  
Range 3  
7500  
Range  
2
2500  
Range 1  
0
Time  
A612: 0001 hex 0002 hex 0004 hex 0008 hex  
0002 hex  
0008 hex  
0004 hex  
0001 hex  
0001 hex  
Content of A612  
Internal bit pattern  
15 14 13 12 11 10  
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
(0001 hex) Content is transferred to CIO 0001  
to turn ON CIO 0001.00.  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
(0002 hex) Content is transferred to CIO 0001  
to turn ON CIO 0001.01.  
(0004 hex) Content is transferred to CIO 0001  
to turn ON CIO 0001.02.  
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
(0008 hex) Content is transferred to CIO 0001  
to turn ON CIO 0001.03.  
P_On  
A610.00  
Starts high-speed counter 1.  
(Always ON)  
Start high-speed  
counter.  
4 comparison conditions  
D00000 0 0 0 4  
D00001 0 0 0 0  
D00002 0 0 0 0  
D00003 2 5 0 0  
D00004 0 0 0 0  
D00005 0 0 0 1  
D00006 2 5 0 1  
D00007 0 0 0 0  
D00008 7 5 0 0  
D00009 0 0 0 0  
D00010 0 0 0 2  
D00011 7 5 0 1  
D00012 0 0 0 0  
D00013 0 0 0 0  
D00014 0 0 0 1  
D00015 0 0 0 4  
D00016 0 0 0 1  
D00017 0 0 0 1  
D00018 F F F F  
D00019 7 F F F  
D00020 0 0 0 8  
Turns ON the High-speed Counter 1 Reset Bit.  
A610.01  
Reset Bit  
Lower limit A 0  
Range A  
Range B  
Range C  
Range D  
Upper limit A 2500  
Bit pattern  
Lower limit B 2501  
P_On  
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  
Upper limit B 7500  
#0001  
#0001  
D00000  
(Always ON)  
Bit pattern  
Lower limit C 7501  
Upper limit C 10000  
Bit pattern  
Lower limit D 10001  
MOV  
A613  
0001  
Transfers the internal bit pattern from A613 to  
CIO 0001.  
Upper limit D 7FFFFFFF  
Bit pattern  
END  
165  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 OFFON  
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  
Latch input 1  
OFF  
ON  
Count Latched  
Flag  
OFF  
PRV instruction  
execution  
PRV instruction  
execution  
High-speed  
Counter PV  
0
Latch register  
value 1  
Clear Latch  
PRV  
#0001  
#0002  
W000  
Dummy read of  
latch register  
Start Latch  
Latch Input 1  
Enable Bit  
A610.08  
Latch Input 1  
Enable Bit  
Count Latched  
Flag  
PRV  
#0001  
#0002  
D00000  
Read latched high-speed  
counter PV.  
A610.08  
A608.08  
166  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Pulse Outputs  
Section 7-6  
7-6 Pulse Outputs  
7-6-1 Applicable Models  
Model  
FQM1-MMP21  
Functions  
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.  
Note  
Set the pulse output operation mode for each output in System Setup (Pulse  
Output Tab Page).  
Function  
Description  
Processing for PV  
Pulse output opera- The pulse outputs can be used for positioning or speed control at It is possible to generate tar-  
tion mode a fixed duty ratio. Select one of five pulse output operation get-value interrupts (see note 2)  
modes: Relative pulse output, linear absolute pulse output, circu- or range-comparison bit pattern  
lar absolute pulse output, electronic cam (linear), and electronic outputs based on the pulse out-  
cam (circular).  
put’s PV. (See note 1.)  
One-shot pulse out- Pulse output turned ON for only the specified interval (0.01 to  
None  
puts  
9,999 ms.)  
Calculation (time  
measurement)  
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.)  
Note Pulses are not output for this mode and the specified port  
cannot be used for pulse output.  
Note  
(1) The processes listed in the following table can be performed for the PV of  
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 A user-set bit pattern is output internally when the  
range comparisons  
high-speed counter PV is within a specified range.  
(2) Cannot be combined with pulse output in independent mode.  
167  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Pulse Outputs  
Section 7-6  
7-6-3 Specifications  
Item  
Specification  
Acceleration/ decelera- None  
tion  
Yes  
Trapezoid  
None  
None (acceleration or Yes with separate  
deceleration) 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- SPED(885)  
---  
ACC(888)  
---  
uous-mode speed con-  
trol  
Output frequencies  
Constant specified for 0 Hz to 1 MHz  
SPED(885): 0 Hz to  
1 MHz  
0 Hz to 1 MHz  
Word specified for  
SPED(885): 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  
10 MHz  
5 MHz  
Pulse output frequency range: 400 Hz to 1 MHz  
Pulse output frequency range: 200 Hz to 200 kHz  
Pulse output frequency range: 100 Hz to 100 kHz  
Pulse output frequency range: 40 Hz to 50 kHz  
2.5 MHz  
1.25 MHz Pulse output frequency range: 20 Hz to 20 kHz  
Frequency accelera-  
tion/deceleration rate  
---  
1 Hz to 9,999 Hz every 2 ms or 1 ms  
Duty ratio  
50% (fixed)  
Pulse output operation One of the following can be set for each port in the System Setup.  
modes  
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)|  
168  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Pulse Outputs  
Section 7-6  
Item  
Specification  
0000 0000 to FFFF FFFF hex  
8000 0000 to 7FFF FFFF hex  
0000 0000 to Circular maximum count hex  
Number of output  
pulses  
1) Relative pulse output:  
2) Absolute linear pulse output:  
3) Absolute circular pulse output:  
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  
Note The number of pulses is not set for a one-shot pulse output or pulse counter timer.  
Storage location for  
pulse output PV  
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.  
Note The contents of these above words are updated during I/O refreshing.  
7-6-4 Pulse Output Specifications  
All Pulse Outputs Except for One-shot Pulse Outputs  
Item  
Specification  
Number of pulse out- 2 outputs  
puts  
Signals  
Pulse output CW and CCW  
Max. output fre-  
quency  
1 MHz (but actual output frequencies are governed by clock  
frequency setting)  
External power sup- 5 VDC +10%/–15%, 120 mA max.  
ply  
Line-driver output  
Conforms to Am26LS31 and max. output current is 20 mA.  
One-shot Pulse Outputs  
Item  
Specification  
Number of pulse out- 2 output  
puts  
External power sup- 24 VDC +10%/–15%, 30 mA max.  
ply  
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  
Residual voltage  
Output pulse width  
0.1 mA max.  
0.4 V max.  
(Set time) (1 µs or 0.1% of the set time, whichever is larger)  
Output  
pulse width  
90%  
ON  
OFF  
Note  
1. The load during measurement is assumed to be a simple re-  
sistive load and the impedance of the cable connecting the  
load is not considered.  
2. The actual pulse width might be smaller than the value given  
above due to pulse waveform distortion caused by imped-  
ance in the connecting cables.  
169  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
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,  
No  
Acceleration/  
acceleration/  
deceleration,  
single-phase  
output  
single-phase output  
Notrapezoid,  
acceleration/ deceleration,  
deceleration, single-phase  
Trapezoid,  
single-phase  
output  
output  
acceleration  
and  
separate  
acceleration and  
deceleration deceleration rates  
PULS(886) Sets number of out- OK  
put pulses or abso-  
OK  
No  
No  
No  
No  
lute position.  
SPED(885) Controls pulse out- OK  
put without acceler-  
ation or  
No  
No  
OK  
deceleration (num-  
ber of pulses set  
with PULS(886) for  
positioning).  
ACC(888)  
Controls pulse out- No  
put with same  
OK  
No  
No  
OK  
acceleration and  
deceleration with-  
out trapezoid (num-  
ber of pulses set  
with PULS(886) for  
positioning).  
PULS(886) Sets absolute posi- OK  
for Elec- tion or frequency  
tronic Cam and outputs pulses.  
No  
No  
No  
No  
No  
No  
No  
PLS2(887) Controls pulse out- No  
put with different  
OK  
acceleration and  
deceleration with  
trapezoid (number  
of pulses is also set  
using PLS2(887)).  
INI(880)  
Stops pulse output. OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
PRV(881)  
Reads the current  
OK  
PV for pulse output.  
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.  
170  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
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.  
Mode  
Description  
This mode is used for positioning.  
Independent mode  
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.  
171  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Pulse Outputs  
Section 7-6  
Pulse output  
operation mode  
(Only in  
Description  
Compatible instructions  
Independent Mode)  
(1)  
Positions to a relative position from the present position. PULS(886) + SPED(885) or  
Relative pulse output The number of output pulses (actual output amount) in  
the specified direction is the target number of pulses.  
PULS(886) + ACC(888)  
(PULS(886) sets the number of pulses  
and SPED(885) or ACC(888) starts the  
pulse output.)  
• The frequency can be changed during pulse output.  
• The direction and the target number of pulses cannot  
be changed during pulse output.  
PLS2(887)  
(Sets number of pulses and starts  
pulse output.)  
(2) (3)  
Positions to an absolute position from the origin.  
---  
Absolute pulse out- The number of output pulses is calculated automatically  
put  
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).  
(3) Circular  
mode  
Operates as circular counter with pulse PULS(886) + SPED(885) or  
output values ranging from 0000 0000 PULS(886) + ACC(888)  
to the circular value.  
(PULS(886) sets the number of pulses  
and SPED(885) or ACC(888) starts the  
pulse output.)  
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.  
(4)  
Positions to an absolute position from the origin.  
PULS(886) (Sets the number of pulses  
Electronic cam con- The difference between the present position (pulse output and starts the pulse output.)  
trol (linear)  
PV) and target pulse amount is calculated automatically.  
ACC(888)  
PLS2(887)  
(5)  
Number of output pulses (actual output quantity) =  
Electronic cam con-  
trol (circular)  
|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 dur-  
ing pulse output. The pulse output will stop if the direc-  
tion is changed during pulse output.  
172  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Instruc- Settings  
tions  
The frequencyis SPED(88 Port,  
Example  
Continu-  
Use when  
Frequency  
ous mode  
(Speed  
control)  
changed in  
5)  
CW/CCW, changing fre-  
Target  
frequency  
steps (up or  
down) during  
pulse output.  
Continu-  
ous,  
steps. (See  
SPED(88  
5)  
Target fre- page 190.)  
quency  
Present  
frequency  
Time  
SPED executed.  
The frequencyis ACC(888) Port,  
Use when  
Frequency  
accelerated or  
decelerated  
from the present 5)  
or  
SPED(88 Continu-  
CW/CCW, accelerating  
Target  
frequency  
frequency at  
Acceleration rate  
ous,  
frequency at a  
fixed rate.  
Accelera- (See  
tion/decel- page 190.)  
eration  
Present  
frequency  
ACC(888)  
Time  
rate,  
ACC executed.  
Target fre-  
quency  
173  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Pulse Outputs  
Section 7-6  
Mode  
Frequency changes  
Description  
Procedure  
Instruc- Settings  
tions  
PULS(88 No. of  
Example  
Indepen-  
dent  
mode  
(Position-  
ing)  
Pulse output  
starts at the  
specified fre-  
quency and  
stops when the  
specified num-  
ber of pulses  
have been out-  
put.  
Use when  
positioning  
Frequency  
Specified no. of pulses  
(Specified with PULS)  
6)  
pulses,  
Relative or with a sin-  
absolute gle-phase  
Target  
frequency  
SPED(88  
5)  
operation, output and no  
acceleration  
Port,  
Time  
CW/CCW,  
tion. (See  
Indepen-  
SPED executed.  
Stops after specified no.  
of pulses are output.  
page 189.)  
dent,  
(The number of  
pulses cannot  
be changed dur-  
ing pulse out-  
put.)  
Target fre-  
quency  
The frequency  
accelerates or  
decelerates at a  
fixed rate and  
stops immedi-  
ately when the  
specified num-  
ber of pulses  
have been out-  
put.  
PULS(88 No. of  
---  
Frequency  
Specified no. of pulses  
(Specified with PULS)  
6)  
pulses,  
Relative or  
absolute  
operation,  
Target  
frequency  
Acceleration  
rate  
ACC(888)  
Port,  
Time  
CW/CCW,  
Indepen-  
dent,  
Accelera-  
tion/decel-  
eration  
rate,  
Target fre-  
quency  
ACC executed.  
Stops after specified no.  
of pulses are output.  
(The number of  
pulses cannot  
be changed dur-  
ing pulse out-  
put.)  
Pulse output  
starts at the  
specified fre-  
quency and  
PULS(88 Port,  
6) (Elec- Target fre- lute position-  
Use for abso-  
Frequency  
tronic  
quency,  
ing  
(electronic  
Target  
frequency  
Cam Con- Absolute  
stops immedi-  
ately when the  
specified posi-  
tion is reached.  
trol)  
positioning cam control)  
with a sin-  
Present  
frequency  
Time  
gle-phase  
output, no  
PULS executed. Stops at specified position.  
acceleration  
or decelera-  
tion, and tar-  
get position  
changes in a  
(The target posi-  
tion can be  
changed during  
positioning  
(pulse output).)  
interval. (See  
page 191.)  
The frequency  
accelerates at a  
fixed rate, decel-  
erates at a fixed  
rate, and stops  
when the speci-  
fied number of  
pulses have  
PLS2(887 Port,  
Use for trape-  
Frequency  
Specified number  
of pulses  
)
CW/CCW, zoidal accel-  
Accelera- eration/  
Target  
frequency  
Acceler-  
ation rate  
tion rate,  
Decelera- within a set  
tion rate,  
time (the  
Target fre- dwell time)  
quency,  
Starting  
frequency, operation in  
No. of  
pulses  
deceleration  
Deceleration rate  
Starting  
frequency  
Stopping  
frequency  
and then a  
repeat of the  
Time  
been output.  
Output  
starts  
Output  
stops  
(The number of  
pulses cannot  
be changed dur-  
ing positioning  
(pulse output).)  
Target  
reached  
Deceleration  
point  
the opposite  
(See  
page 193.)  
174  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Pulse Outputs  
Section 7-6  
Mode  
Frequency changes  
Description  
Procedure  
Instruc- Settings  
tions  
Stops the pulse SPED(88 Stop pulse ---  
output immedi- 5) or output  
ately. ACC(888)  
Example  
Stop  
Frequency  
Present  
frequency  
or  
PULS(88  
6) (Elec-  
tronic  
Time  
Cam Con-  
trol)  
INI executed.  
INI(880)  
Stops the pulse SPED(88 Port,  
output immedi- 5) or Continu-  
ately. ACC(888) ous,  
---  
---  
Frequency  
Present  
frequency  
Target fre-  
quency = 0  
SPED(88  
5)  
Time  
SPED executed.  
Decelerates the SPED(88 Port,  
pulse output to a 5) or Continu-  
stop. ACC(888) ous,  
Frequency  
Present  
frequency  
Acceleration/  
deceleration rate  
Accelera-  
tion/decel-  
eration  
ACC(888)  
Target  
frequency = 0  
Time  
rate,  
Target fre-  
quency = 0  
ACC executed.  
Note  
With ACC(888) and PLS2(887), the acceleration/deceleration rate’s  
eration rate can be set between 1 Hz and 9.999 kHz. Refer to 7-6-11 Acceler-  
ation/Deceleration Rates in ACC(888) and PLS2(887) Instructions for more  
details.  
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.  
175  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Pulse Outputs  
Section 7-6  
Integer dividing ratio set  
according to the target  
frequency set by user.  
Output pulses  
(Actual output frequency)  
Dividing circuit  
Clock-generated pulses  
(one of four possible settings)  
Formula:  
Actual frequency = Clock frequency ÷ INT (clock frequency/target frequency)  
Note INT (clock frequency/target frequency) is the dividing ratio.  
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)  
952,382 to 1,000,000  
909,092 to 952,381  
869,566 to 909,091  
Actual output frequency  
1,000,000  
952,381  
909,091  
.
.
.
.
.
.
487,806 to 500,000  
476,191 to 487,805  
465,117 to 476,190  
500,000  
487,805  
476,190  
.
.
.
.
.
.
198,021 to 200,000  
196,079 to 198,020  
194,176 to 196,078  
100,806  
198,020  
196,078  
.
.
.
.
.
.
49,876 to 50,000  
49,752 to 49,875  
4,929 to 49,751  
50,000  
49,875  
49,751  
.
.
.
.
.
.
402  
401  
400  
402  
401  
400  
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).  
176  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
Pulse Output 2 Operation mode  
1 shot (one-shot pulse output)  
1 shot (one-shot pulse output)  
Note  
A pulse output port that is being used for one-shot pulse outputs cannot be  
used for any other pulse output functions.  
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 Lower Contains the elapsed time of the  
of One-shot  
4 digits one-shot pulse output in 8-digit hexa-  
pulse output 1  
decimal.  
A621  
00 to 15  
Upper  
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.  
4 digits  
Note These words are refreshed dur-  
ing the Motion Control Module’s  
I/O refreshing.  
A622  
A623  
00 to 15 Elapsed time Lower These words function just like the  
of One-shot  
pulse output 2  
4 digits words for pulse output 1, described  
above.  
00 to 15  
Upper  
4 digits  
One-shot Pulse Output Specifications  
Item  
Specification  
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  
177  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 start condition  
Timer started by executing  
STIM with C2 = 0000.  
Timer stop condition  
Timer stopped by executing  
STIM with C2 = 0001.  
Timer PV in  
A620 and A621  
or A622 and A623  
PV held  
PV reset  
Time  
Elapsed time  
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  
Lower Contains the pulse counter’s time mea-  
measurement 4 digits surement in 8-digit hexadecimal.  
1
The content can range from 0000 0000  
to FFFF FFFF hex.  
A621  
00 to 15  
Upper  
4 digits  
Note These words are refreshed dur-  
ing the Motion Control Module’s  
I/O refreshing.  
A622  
A623  
00 to 15 Pulse time  
Lower These words function just like the  
measurement 4 digits words for pulse time measurement 1,  
2
described above.  
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  
Note  
(1) The external pulse output from the port is disabled when this mode is se-  
lected.  
(2) A pulse output port that is being used as a pulse counter timer cannot be  
used for any other pulse output functions.  
178  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
Item  
Specification  
Timer measurement 0000 0000 to FFFF FFFF hex  
range  
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.  
ing for High-speed Counter Interrupts under High-speed Counter Function  
Description in 7-5-8 Pulse Input Function Description for details.  
179  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
Frequency  
(speed)  
Target value 5  
Target value 4  
Target value 3  
Target value 2  
Target value 1  
Pulse output PV  
Speed  
(frequency)  
Controlled by  
ACC instruction.  
Time  
180  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Pulse Outputs  
Section 7-6  
3.00  
@CTBL  
When CIO 0003.00 goes ON,  
a target-value comparison  
interrupt starts for the pulse  
output 1 PV.  
#3  
#0  
D00000  
D00000  
D00001  
D00002  
D00003  
D00004  
D00005  
D00006  
0
0
0
0
2
0
0
0
5
0
0
0
0
0
0
0
0
0
0
0
0
5
0
0
1
0
0
2
No. of comparisons: 5  
Target value 1: 00000500  
Cyclic  
task  
Interrupt task 1  
Target value 2: 00002000  
Interrupt task 2  
D00013  
D00014  
D00015  
0
0
0
0
Target value 5: 00100000  
Interrupt task 5  
0
0
0
0
1
0
0
5
END  
P_On  
A624.06  
Interrupt  
task 1  
If interrupt task 1 is executed,  
ACC  
the frequency is changed to a  
target frequency of 2,000 Hz  
with an acceleration/deceleration  
rate of 50 Hz/2 ms.  
#1  
#0  
D00100  
Always ON  
Accelerating/  
Decelerating  
Acceleration/deceleration rate  
Target frequency  
D00100  
D00101  
D00102  
0
0
0
0
7
0
3
D
0
2
0
0
END  
P_On  
A624.06  
Interrupt  
task 2  
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.  
ACC  
#1  
#0  
D00200  
Always ON  
Accelerating/  
Decelerating  
END  
D00200  
0
7
0
0
5
0
5
3
0
A
0
0
Acceleration/deceleration rate  
Target frequency  
D00201  
D00202  
(Interrupt tasks 3, 4, and 5 are entered in the same way.)  
181  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
High-speed  
region  
Low-speed  
region  
0
Pulse output PV  
Target value 2  
Target value 1  
Time  
Speed  
(frequency)  
High-speed  
region  
Low-speed  
region  
Controlled by  
ACC instruction.  
Time  
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.  
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.  
182  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
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.  
Execution  
condition  
@ACC  
#1  
#0  
D00000  
D00000  
D00001  
D00002  
07D0  
C350  
0000  
Acceleration/deceleration rate: 2 kHz  
Target speed: 50 kHz  
1-ms Cycle  
Execute ACC(888) or PLS2(887) with A628.07 ON.  
A628.07  
P_On  
Execution  
condition  
@ACC  
#1  
#0  
D00000  
Acceleration/deceleration rate: 2 kHz  
Target speed: 50 kHz  
D00000  
D00001  
D00002  
07D0  
C350  
0000  
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.  
183  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
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.  
Note  
The priority mode setting in A628.14 applies to both pulse output 1 and 2.  
Execute PLS2(887) with A628.14 OFF.  
Pulse Output Direction  
Priority Mode  
CW Output  
@PLS2  
#1  
#0  
Pulse output 1  
CW direction  
D00000 Setting table: D00000  
D00000  
D00001  
D00002  
D00003  
D00004  
D00005  
D00006  
D00007  
8000  
0000  
C350  
0000  
0000  
0000  
03E8  
03E8  
Target position: 8000 Hex  
Target speed: 50 kHz  
Starting speed: 0 Hz  
Acceleration rate: 1,000 Hz  
Deceleration rate: 1,000 Hz  
Absolute Position Priority  
Mode  
Execute PLS2(887) with A628.14 ON.  
A628.14  
P_On  
Execution condition  
@PLS2  
#1  
The direction setting is  
ignored and the direction  
is changed automatically.  
Pulse output 1  
CW direction  
#0  
Setting table: D00000  
D00000  
D00000  
D00001  
D00002  
D00003  
D00004  
D00005  
D00006  
D00007  
8000  
0000  
C350  
0000  
0000  
0000  
03E8  
03E8  
Target position: 8000 Hex  
Target speed: 50 kHz  
Starting speed: 0 Hz  
Acceleration rate: 1,000 Hz  
Deceleration rate: 1,000 Hz  
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 Op-  
eration 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.  
184  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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/deceler-  
ation 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.  
Pulse output function  
System Setup  
Pulse output mode  
Single-phase output  
without acceleration/  
deceleration  
Start  
output  
CW  
Pulse output  
port 1  
(fixed duty ratio)  
CCW  
CW  
Pulse output  
port 2  
Ladder program  
Ladder program  
CCW  
SET PULSES  
PULS  
SPED  
SPEED OUTPUT  
Set the number of  
output pulses.  
Output mode:  
CW/CCW, independent/continuous  
Target frequency  
Start pulse output  
MODE CONTROL  
Stop pulse output.  
INI  
Refresh status (once each cycle  
just after instruction execution)  
Pulse output status  
Refresh PV (once each cycle)  
Pulse output PV  
Port 1 A624  
Port 2 A625  
Port 1 A621 A620  
Port 2 A623 A622  
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 Op-  
eration 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 decelera-  
tion from the specified port (acceleration and deceleration are specified  
separately).  
• Use INI(880) to stop pulse output from the specified port.  
185  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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)  
Start  
output  
Mode settings for  
ports 1 and 2  
CW  
Pulse output  
port 1  
CCW  
CW  
Pulse output  
port 2  
Ladder program  
Ladder program  
CCW  
System Setup  
Pulse output  
mode  
PULS  
SET PULSE  
ACC  
Mode settings (CW/CCW, accel-  
eration/deceleration, independ-  
ent/continuous)  
Target frequency: 0 Hz to 1 MHz  
Acceleration/deceleration rate  
(common) (1 or 2 ms cycle,  
1 Hz to 9,999 Hz)  
Set the number  
of output pulses.  
ACCELERTION  
CONTROL  
INI  
MODE CONTROL  
Stop pulse output.  
Start pulse output.  
Refresh status (once each cycle  
just after instruction execution)  
Pulse output status  
Refresh PV (once each cycle)  
Refresh PV (immediate refresh)  
HIGH-SPEED  
PRV  
Pulse output PV  
COUNTER  
PV READ  
Port 1  
Port 2  
A621  
A623  
A620  
A622  
Port 1  
Port 2  
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 Op-  
eration 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:  
186  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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).  
Note The pulse output direction is selected automatically based on the  
relationship between the present position (pulse output PV) and  
target position.  
Pulse input PV  
Time  
Execution with constant  
cycle time  
PULS instruction execution  
(Changes target position and speed.)  
Pulse output PV (absolute position)  
Target position  
PULS (Electronic Cam  
Mode) is executed in the  
program with changed  
target position and speed.  
Time  
Note  
Speed control can be performed on a virtual axis by generating a virtual axis  
position (internal pulse count) with the AXIS instruction, processing that value  
with arithmetic operations or the APR instruction, and changing the target  
position or speed with the PULS(886) instruction. Refer to 7-8-4 Application  
Example for details.  
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.  
187  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 Op-  
eration 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  
Start  
output  
CW  
Pulse output  
port 1  
CCW  
CW  
Pulse output  
port 2  
Ladder program  
MODE CONTROL  
Ladder program  
CCW  
System Setup  
INI  
Pulse output  
mode  
PLS2  
Set number of output pulses.  
Stop pulse output.  
Target frequency: 20 Hz to 1 MHz  
Starting frequency: 0 Hz to 1 MHz  
Acceleration/deceleration rates  
(set separately)(1 or 2 ms cycle,  
1 Hz to 9,999 Hz)  
PULSE  
OUTPUT  
Start pulse output.  
Refresh status (once each cycle  
just after instruction execution)  
Pulse output status  
Refresh PV (once each cycle)  
Refresh PV (immediate refresh)  
Read pulse output PV  
Pulse output PV  
HIGH-SPEED  
PRV  
Port 1  
Port 2  
A621  
A623  
A620  
A622  
COUNTER  
PV READ  
Port 1  
Port 2  
A624  
A625  
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.  
Note  
The STIM(980) one-shot pulse output function can be used at the same time  
as an STIM(980) timer interrupt function (one-shot timer or scheduled timer).  
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.  
188  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Note  
The STIM(980) pulse counter timer function used at the same time as an  
STIM(980) timer interrupt function (one-shot timer or scheduled timer).  
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).  
Frequency  
Number of pulses = 10,000  
(Specified by PULS instruction.)  
Target frequency  
2,000 Hz  
SPED executed.  
Output stops after 10,000  
pulses have been output.  
CIO 0002.00  
@PULS  
When CIO 0002.00 turns ON,  
PULS sets port 1 for 10,000  
pulses (relative pulse output).  
#1  
#0  
D00000  
@SPED  
Starts pulse output from  
port 1 at 2,000 Hz (2 kHz)  
in CW independent mode.  
#1  
#2  
#000007D0  
D00000  
D00001  
2
0
7
0
1
0
0
0
Number of pulses (10,000)  
!Caution Be sure that the pulse frequency is within the motor’s self-starting frequency  
range when starting and stopping the motor.  
189  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
Frequency  
Target frequency  
50,000 Hz  
Present frequency  
Time  
3,000 Hz  
SPED executed. SPED executed.  
@SPED  
0002.00  
0002.01  
When CIO 0002.00 turns ON,  
SPED starts a pulse output from  
#1 port 2 at 3,000 Hz (3 kHz) in  
#2  
#00000BB8  
CCW continuous mode.  
When CIO 0002.01 turns ON,  
@SPED  
#2 SPED changes the frequency  
#1  
D00000  
to 50,000 Hz (50 kHz) in CCW  
continuous mode.  
D00000  
D00001  
C
0
3
0
5
0
0
0
Target frequency  
Note  
Speed control timing will be accurate when frequency changes are executed  
by SPED(885) instructions in interrupt tasks called by input interrupts.  
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.  
Frequency  
Target frequency  
50,000 Hz  
Acceleration rate  
500 Hz/2 ms  
Present frequency  
Time  
3,000 Hz  
SPED executed.  
ACC executed.  
@SPED  
0002.00  
When CIO 0002.00 turns ON,  
SPED starts a pulse output from  
port 2 at 3,000 Hz (3 kHz) in  
CCW continuous mode.  
#2  
#1  
#00000BB8  
0002.01  
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).  
@ACC  
#2  
#1  
D00000  
D00000  
0
Acceleration rate  
Target frequency  
1
3
0
F
5
0
4
0
0
D00001  
D00002  
C
0
190  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Pulse Outputs  
Section 7-6  
Note  
The pulse output can be stopped by executing ACC(888) with a deceleration  
target frequency of 0. However, since the pulse output cannot be stopped at  
the correct number of pulses, the deceleration target frequency should not be  
set to 0 if it is necessary to output a precise number of pulses.  
Specified number of pulses  
reached before speed reaches 0.  
Speed reaches 0 while the remaining  
number of pulses is 0 or more.  
Speed  
(frequency)  
Speed  
(frequency)  
Time  
Time  
0
0
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)  
4,000  
High-speed  
Counter PV (BCD)  
0
200  
400  
600  
800  
999  
The high-speed counter is set for circular operation with a circular value of  
999 BCD.  
191  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Pulse Outputs  
Section 7-6  
A610.00  
P_On  
Target position (right digits)  
Target position (left digits)  
D00000  
D00001  
Starts high-speed counter.  
Input data: A600  
(High-speed counter 1 PV)  
D00002 Frequency (right digits)  
D00003 Frequency (left digits)  
Always ON Flag  
No. of inputs = 5 1 = 4)  
D01000  
D01001  
D01002  
D01003  
D01004  
D01005  
D01006  
D01007  
D01008  
D01009  
D01010  
D01011  
D01012  
D01013  
D01014  
D01015  
D01016  
D01017  
D01018  
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0
0
0
0
0
1
F
0
2
F
0
3
0
0
3
0
0
0
E
0
0
C
0
0
9
A
0
5
A
0
2
0
0
E
0
0
4
7
0
0
8
0
0
0
0
0
8
0
0
0
0
0
7
0
0
MOVL  
&200000  
D00002  
Sets pulse output frequency to 200 kHz.  
X6 (X-axis max. value) 999  
Y0  
X1 200  
Y1  
0
P_On  
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.  
0
D01000  
A600  
D00000  
X2 400  
Always ON Flag  
Y2 4000  
X3 600  
Y3 4000  
X4 800  
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  
Y4  
X5 999  
Y5  
0
D00000  
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  
Equal Flag  
D00000  
END  
192  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Frequency  
Specified number  
of pulses: 300,000  
Specified number  
of pulses: 300,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  
Time  
Output starts when  
PLS2 is executed.  
After 5 s, CCW output starts  
when PLS2 is executed.  
Output stops and  
A624.00 is turned ON.  
Deceleration point  
Target frequency reached.  
5 s  
0003.00  
0002.00  
DIFU  
CIO 0002.00 is turned ON when  
CIO 0003.00 turns ON.  
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  
#1  
#0  
D00000  
0002.01  
0002.  
01  
Number of output pulses: 300,000  
A624.00  
TIM  
The 5 s timer starts if A624.00 is  
ON (pulse output completed).  
0000  
#0050  
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
T+1  
T+2  
T+3  
T+4  
T+5  
T+6  
T+7  
D00000  
D00001  
9
3
0
E
0
1
0
1
1
E
0
2
0
F
0
F
2
0
Number of output pulses  
Target frequency  
0
4
0
0
0
0
0
4
0
0
4
0
4
C
D00002  
D00003  
D00004  
D00005  
D00006  
D00007  
Starting frequency  
Acceleration rate  
Deceleration rate  
Note  
When PLS2(887) cannot perform trapezoidal positioning with the trapezoidal  
acceleration/deceleration settings, it will perform triangular positioning with  
the same acceleration/deceleration settings. In this case, the PLS2(887) Tar-  
193  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
0002.00  
@STIM  
When CIO 0002.00 goes ON, STIM generates a  
1.5-ms one-shot pulse output from port 1.  
#1  
#000F  
#0  
Pulse Counter Time Measurement (Timer) Example  
In this example, a pulse counter timer is allocated to pulse output 1.  
0002.00  
@STIM  
When CIO 0002.00 goes ON, STIM starts  
pulse counter timer 1 (allocated to port 1).  
#B  
#0  
#0  
0003.00  
When CIO 0003.00 goes ON, STIM stops  
pulse counter timer 1.  
@STIM  
#B  
#1  
#0  
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  
Pulse output  
operation mode  
Starting instruction  
SPED(885) PULS(886) ACC(888) PLS2(887) STIM(980) STIM(980) INI(880)  
INI(880)  
(Stop  
pulse  
output)  
(with  
output)  
(One-shot) (Timer)  
(Change  
PV)  
Relative pulse output OK  
No  
OK  
OK  
OK  
OK  
OK  
No  
No  
No  
No  
No  
OK  
No  
No  
No  
No  
No  
No  
No  
OK  
No  
OK  
(note 1)  
OK  
Absolute pulseoutput OK  
(linear)  
No  
No  
OK  
No  
No  
OK  
OK  
OK  
OK  
OK  
No  
No  
OK  
Absolute pulseoutput OK  
(circular)  
OK  
OK  
Electronic Cam Con- No  
trol (linear)  
OK  
(note 2)  
OK  
(note 3)  
One-shot pulse mode No  
No  
No  
OK  
(note 1)  
Pulse counter timer No  
No  
No  
OK  
(note 1)  
Electronic Cam Con- No  
trol (circular)  
OK  
(note 2)  
OK  
(note 3)  
OK  
Note  
(1) Even if the PV is changed, it will start from 0 at startup.  
(2) Supports continuous mode only.  
194  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
Absolute Absolute  
pulseoutput pulseoutput linear CW linear CCW circular CW  
CW CCW  
Relative  
Relative  
Absolute  
Absolute  
circular  
CCW  
Relative  
OK  
---  
OK  
---  
---  
---  
---  
---  
---  
Absolute Target position >  
OK  
OK with  
---  
linear  
Present position  
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  
---  
---  
---  
---  
---  
Absolute Target position >  
OK  
OK  
OK  
OK  
OK  
OK  
circular  
Present position  
Target position <  
Present position  
Target position =  
Present position  
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  
Relative  
pulseoutput pulseoutput linear CW linear CCW circular CW  
CW CCW  
Relative  
Absolute  
Absolute  
Absolute  
Absolute  
circular  
CCW  
Relative  
OK  
---  
OK  
---  
---  
---  
---  
---  
---  
Absolute Target position =  
OK  
OK  
---  
linear  
Maximum value  
Target position =  
Minimum value  
---  
---  
---  
---  
---  
---  
OK  
---  
OK  
---  
---  
---  
Absolute Target position =  
OK  
OK  
OK  
OK  
circular  
Maximum value  
Target position =  
Minimum value  
---  
---  
195  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Pulse Outputs  
Section 7-6  
PULS(886) Absolute Pulse Output in Progress  
Pulse Output Operation  
Mode (Absolute Linear)  
Limitations  
PLS2(887)  
Startup conditions and status  
Startup mode and conditions  
Relative  
CW  
Relative  
CCW  
Pulse output direction  
priority mode (A628.14 = 0)  
Absolute position priority  
mode (A628.14 = 1)  
Absolute  
linear CW  
Absolute  
linear CCW  
Absolute  
linear CW  
Absolute  
linear CCW  
Relative  
OK  
OK  
---  
---  
---  
---  
Absolute Target position >  
---  
---  
---  
---  
---  
---  
OK  
No  
No  
No  
No  
OK  
OK  
No  
OK  
OK  
No  
OK  
linear  
Present position  
Target position =  
Present position  
Target position <  
Present position  
Startup Conditions when other Instructions are being Executed  
Operating instruction  
Starting instruction  
SPED(8 SPED(8 PULS(8 PULS(88 PULS(88 ACC(888 ACC(888 ACC(888 ACC(888 PLS2(88  
85) inde- 85) con- 86) rela- 6) abso- 6) abso- ) acceler- ) decel- ) acceler- ) decel-  
7)  
pendent tinuous  
tive,  
without without  
output output  
lute  
lute with  
output  
ation,  
continu- continu- indepen- indepen-  
ous ous dent dent  
eration,  
ation,  
eration,  
SPED Independent  
OK  
No  
No No  
No  
No  
No  
No  
OK  
No  
No  
OK OK  
No  
(885)  
SPED Continuous  
(885)  
OK (See OK  
note 2.)  
OK  
OK  
---  
OK  
---  
OK  
OK  
OK  
No  
OK  
OK  
OK  
No  
OK (See OK (See No  
note 2)  
note 2)  
PULS No relative output  
(886)  
OK  
OK  
No  
No  
OK  
OK  
No  
No  
OK  
OK  
(See  
note 1)  
PULS No absolute output  
(886)  
OK  
No  
OK  
No  
No  
OK  
No  
No  
(See  
note 1)  
PULS Relative output  
(886)  
No  
No  
ACC( Acceleration + Accelerating  
OK  
OK  
OK  
OK  
No  
No  
No  
No  
No  
888)  
continuous  
Steady speed OK (See OK  
note 2)  
OK  
OK  
OK (See OK (See No  
note 2)  
note 2)  
ACC( Deceleration + Decelerating  
No  
No  
OK  
OK  
OK  
OK  
No  
No  
No  
No  
No  
No  
No  
888)  
continuous  
Steady speed OK (See OK  
note 2)  
OK  
OK  
OK (See OK (See No  
note 2)  
note 2)  
ACC( Acceleration + Accelerating  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
888)  
independent  
Steady speed OK  
OK  
OK  
ACC( Deceleration + Decelerating  
No  
Steady speed OK  
No  
No  
888)  
independent  
OK  
OK  
No  
PLS2  
(887)  
No  
Note  
(1) Cancel the number of output pulses set with PULS(886) and then execute  
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)  
Operating instruction  
Starting instruction  
SPED(8 SPED(8 PULS(8 PULS(88 PULS(88 ACC(888 ACC(888 ACC(888 ACC(888 PLS2(88  
85) inde- 85) con- 86) rela- 6) abso- 6) abso- ) acceler- ) decel- ) acceler- ) decel-  
7)  
pendent tinuous  
tive,  
without without  
output output  
lute  
lute with  
output  
ation,  
continu- continu- indepen- indepen-  
ous ous dent dent  
eration,  
ation,  
eration,  
SPED Independent  
Case (1) No  
No No  
No  
No  
No  
No  
No  
Case (8) Case (11) No  
(885)  
SPED Continuous  
(885)  
Case (2) Case (4) Yes  
Yes Yes Yes  
Yes  
---  
Case (6) Case (7) Case (9) Case (12) No  
PULS No relative output  
(886)  
Yes  
Yes  
Yes  
Yes  
(See  
note.)  
196  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Pulse Outputs  
Section 7-6  
Operating instruction  
Starting instruction  
SPED(8 SPED(8 PULS(8 PULS(88 PULS(88 ACC(888 ACC(888 ACC(888 ACC(888 PLS2(88  
85) inde- 85) con- 86) rela- 6) abso- 6) abso- ) acceler- ) decel- ) acceler- ) decel-  
7)  
pendent tinuous  
tive,  
without without  
output output  
lute  
lute with  
output  
ation,  
continu- continu- indepen- indepen-  
ous ous dent dent  
eration,  
ation,  
eration,  
PULS No absolute output  
(886)  
Yes  
No  
No  
Yes  
No  
No  
--- Yes  
No  
Yes Yes Yes Yes  
(See  
note.)  
PULS Absolute output  
(886)  
No  
No  
Case (5) No  
No  
No  
No  
No  
No  
No  
No  
ACC( Acceleration + Accelerating  
Yes  
Yes  
Yes  
Yes  
Yes  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
888)  
continuous  
Steady speed Case (2) Case (4) Yes  
ACC( Deceleration + Decelerating No No Yes  
Case (6) Case (7) Case (9) Case (12) No  
No No No No No  
Case (6) Case (7) Case (9) Case (12) No  
888) continuous  
Steady speed Case (2) Case (4) Yes  
ACC( Acceleration + Accelerating  
No  
Steady speed Case (3) No  
No No  
Steady speed Case (3) No  
No No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
No  
Case (10) Case (13) No  
No No No  
Case (10) Case (13) No  
No No No  
No  
No  
888) independent  
No  
ACC( Deceleration + Decelerating  
No  
888)  
independent  
No  
PLS2  
(887)  
No  
Note  
Cancel the number of output pulses set with PULS(886) and then execute  
PLS2(887).  
Cases (1), (2), and (3)  
Output status  
Starting instruction and conditions  
SPED(885),  
independent, relative  
SPED(885),  
independent, absolute  
(linear or circular)  
CW  
CCW  
CW  
CCW  
Relative  
CW output  
CCW output No  
CW output ---  
CCW output ---  
Yes  
No  
Yes  
---  
---  
---  
---  
---  
Absolute lin-  
ear or circular  
Yes  
No  
No  
Yes  
---  
Case (4)  
Output status  
Starting instruction and conditions  
SPED(885),  
continuous,  
relative  
SPED(885),  
continuous,  
absolute linear  
SPED(885),  
continuous,  
absolute  
circular  
CW  
Yes  
No  
CCW  
No  
Yes  
---  
CW  
---  
CCW  
---  
CW  
---  
CCW  
---  
Relative  
CW output  
CCW output  
CW output  
CCW output  
CW output  
CCW output  
---  
---  
---  
---  
Absolute lin-  
ear  
---  
---  
---  
---  
Yes  
No  
---  
No  
Yes  
---  
---  
---  
---  
---  
---  
Absolute cir-  
cular  
---  
Yes  
No  
No  
Yes  
---  
---  
---  
Case (5)  
Output status  
Starting instruction and conditions  
PULS(886) absolute  
linear output in  
progress  
PULS(886) absolute  
linear output in  
progress  
Target position >  
Present position  
Target position <  
Present position  
Absolute lin-  
ear  
CW output  
Yes  
Yes (See note.)  
Yes (See note.)  
Yes  
CCW output  
197  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Pulse Outputs  
Section 7-6  
Note  
The pulse output will stop. After the axis stops, it must be restarted.  
Cases (6), (8), (9), and (10)  
• Starting instruction: ACC(888) (continuous or independent), acceleration, relative  
Output status  
Direction and starting conditions  
CW CCW  
Target  
Target  
Target  
Target  
position > position < position > position <  
Present  
position  
Present  
position  
Present  
position  
Present  
position  
Relative  
CW output  
CCW output  
Yes  
No  
No  
No  
No  
Yes  
No  
No  
• Starting instruction: ACC(888) (continuous or independent), acceleration, absolute  
linear  
Output status  
Direction and starting conditions  
CW CCW  
Target  
Target  
Target  
Target  
position > position < position > position <  
Present  
position  
Present  
position  
Present  
position  
Present  
position  
Absolute lin-  
ear  
CW output  
Yes  
No  
No  
No  
No  
Yes  
No  
No  
CCW output  
• Starting instruction: ACC(888) (continuous or independent), acceleration, absolute  
circular  
Output status  
Direction and starting conditions  
CW CCW  
Target  
Target  
Target  
Target  
position > position < position > position <  
Present  
position  
Present  
position  
Present  
position  
Present  
position  
Absolute cir-  
cular  
CW output  
Yes  
No  
No  
No  
No  
Yes  
No  
No  
CCW output  
Cases (7), (11), (12), (13)  
• Starting instruction: ACC(888) (continuous or independent), deceleration, relative  
Output status Direction and starting conditions  
CW CCW  
Target  
Target  
Target  
Target  
position > position < position > position <  
Present  
position  
Present  
position  
Present  
position  
Present  
position  
Relative  
CW output  
CCW output  
No  
No  
Yes  
No  
No  
No  
No  
Yes  
• Starting instruction: ACC(888) (continuous or independent), deceleration, absolute  
linear  
Output status  
Direction and starting conditions  
CW CCW  
Target  
Target  
Target  
Target  
position > position < position > position <  
Present  
position  
Present  
position  
Present  
position  
Present  
position  
Absolute lin-  
ear  
CW output  
No  
No  
Yes  
No  
No  
No  
No  
Yes  
CCW output  
198  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Target  
Target  
Target  
Target  
position > position < position > position <  
Present  
position  
Present  
position  
Present  
position  
Present  
position  
Absolute cir-  
cular  
CW output  
No  
No  
Yes  
No  
No  
No  
No  
Yes  
CCW output  
7-7 Functions for Servo Drivers Compatible with Absolute  
Encoders  
7-7-1 Applicable Models  
Model  
FQM1-MMP21  
FQM1-MMA21  
Functions  
Motion Control Module for Pulse I/O  
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 compat-  
ible with absolute encoders (multi-turns absolute encoders)  
The following explains the functions that are compatible with the latter, Servo  
Drivers compatible with absolute encoders.  
Note  
Refer to 7-5 Pulse Inputs for details on pulse train inputs from devices such as  
normal incremental 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.  
199  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
Pulse output  
Position control,  
(SPED, ACC,  
PULS or PLS2  
instruction)  
Speed  
control  
SEN signal  
Absolute  
encoder data  
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  
Baud rate  
Asynchronous  
9,600 bits/s  
1 bit  
Start bit  
Stop bit  
1 bit  
Parity  
Even numbers  
ASCII 7 bits  
8 characters  
Character code  
Data format  
Data Format  
Byte  
+0  
+1  
+2  
+3  
+4  
+5  
+6  
+7  
CR  
P (See  
Rotation data  
note 1.)  
Sign  
Integer (5-digit decimal)  
(+ or )  
Note  
(1) The “P” is in ASCII. It is 50 hex in hexadecimal.  
(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.  
200  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
0
• 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 set-  
ting (Pn000.0) is set to 1 (+ command for rotation in CW direction).  
0
ABS PV is a negative value.  
PV of 65,534  
Note  
When using an absolute linear (CW) counter, the phase-B phase can be  
inverted with an FQM1-series Servo Relay Unit so that the Servo Driver’s  
operation matches the pulse output operation.  
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.  
201  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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 Setup: ABS encoder resolution): The number of pulses for en-  
coder'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))  
P0: The number of initial incremental pulses  
Ps: Absolute 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  
Reference position  
(Absolute offset position)  
(A604 and A605) + P (A600 and A601)  
0
Absolute encoder's position)  
+3  
0
+1  
+2  
M
P0  
M × R  
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  
202  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Functions for Servo Drivers Compatible with Absolute Encoders  
Section 7-7  
Ps: Absolute offset  
7FFF  
0
P
s
Absolute encoder's  
position  
Reference position  
(Absolute offset position)  
Absolute Present Value  
P
0
Note  
With an absolute circular counter, the absolute number of rotations present  
value (A604/A605) is not used; only the initial incremental pulses are used.  
The initial incremental pulses are the data of an amount treated as the angle  
from an origin.  
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).  
203  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Functions for Servo Drivers Compatible with Absolute Encoders  
Section 7-7  
7-7-9 Related Areas  
System Setup  
Tab page  
Function  
Details  
Time when  
setting  
becomes  
effective  
Pulse  
Input  
Counter 1  
Pulse input  
mode  
0 hex: Phase differential x1  
At power ON  
1 hex: Phase differential x2  
2 hex: Phase differential x4  
3 hex: Increment/decrement pulse input  
4 hex: Pulse + direction  
Counter reset  
method  
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- 0 hex: Do not monitor  
play  
1 hex: Counter movements (mode 1)  
2 hex: Frequency measurement (mode 2)  
Note Frequency measurement can be set for  
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)  
Note This setting is used only when the Counter  
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.  
Counter reset  
method  
Note The Counter Data Display parameter cannot  
be set to frequency measurement (2 hex).  
Counting Speed  
Counter opera-  
tion  
Counter data dis-  
play  
Sampling time  
(for mode 1)  
204  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Functions for Servo Drivers Compatible with Absolute Encoders  
Section 7-7  
Tab page  
Function  
Details  
Time when  
setting  
becomes  
effective  
Pulse input Counter 1  
Max. circular  
value  
When the counter operation is set to circular counter, At power ON  
this parameter sets the maximum value in the circu-  
lar counter.  
Setting range: 0000 0001 to FFFF FFFF hex  
0000 0001 to 0000 FFFF hex  
Absolute  
encoder resolu-  
tion  
Note Set the resolution considering the Servo  
Driver's encoder dividing rate and the Motion  
Control Module's pulse input multiplier setting.  
(Number of input  
pulses per  
encoder revolu-  
tion)  
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  
Always  
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  
by  
A600  
00 to 15 High-speed Counter 1 PV  
00 to 15  
Counter range: 8000 0000 to 7FFF FFFF hex Motion Con-  
(8 digits hexadecimal)  
trol Module  
A601  
A602  
A603  
Note In Linear Counter Mode, high-speed  
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 2 PV  
00 to 15  
A604  
and  
A605  
00 to 15 High-speed Counter  
Absolute Multi-turn data (PV read from encoder) input to Motion Con-  
Counter 1  
operation  
No. of  
rotations  
PV  
the Motion Control Module is stored here when trol Module  
SEN signal is input to Servo Driver.  
• Absolute  
linear  
(CW)  
8000 0000 to 7FFF FFFF hex  
(8-digit hexadecimal)  
• Absolute  
circular  
• Absolute  
linear  
(CW+)  
205  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Functions for Servo Drivers Compatible with Absolute Encoders  
Section 7-7  
Word  
A606  
and  
A607  
Bits  
Function  
Details  
Controlled  
by  
00 to 15 High-speed Counter  
Absolute The same as for high-speed counter 1, except Motion Con-  
Counter 2  
operation  
No. of  
rotations  
PV  
that the high-speed counter frequency mea-  
surement cannot be performed.  
trol Module  
• Absolute  
linear  
(CW)  
• Absolute  
circular  
• Absolute  
linear  
(CW+)  
A608  
04  
05  
High-speed Absolute No. of Rota-  
OFF: No error  
ON: Error occurred  
Motion Con-  
trol Module  
Counter 1  
Status  
tions Read Error Flag  
Absolute No. of Rota-  
tions Read Completed  
Flag  
OFF: Not reading or reading  
ON: Reading completed (This is set at the  
completion of receiving serial data on No.  
of rotations.)  
12  
04  
05  
12  
05  
Absolute Offset Preset An error occurred when storing the absolute  
Error Flag  
offset in the System Setup parameter area.  
A609  
A610  
High-speed Absolute No. of rota-  
These flags have the same functions as the  
ones for High-speed Counter 1 Status, above. trol Module  
Motion Con-  
Counter 2  
Status  
tions read error  
Absolute No. of rota-  
tions read completed  
Absolute offset preset  
error  
High-speed Absolute offset preset  
Counter 1  
OFF:  
No preset  
Motion Con-  
trol Module  
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.  
Command  
06  
07  
Absolute PV preset  
OFF:  
Absolute PV preset invalid  
OFF to ON: At this point, the absolute PV is  
(A600 and A601).  
Note Refer to 7-7-6 Absolute Present Value  
for details on the absolute PV.  
Absolute No. of rota-  
tions read  
OFF:  
ON:  
No. of rotations data read from  
Servo Driver invalid  
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  
06  
07  
High-speed Absolute Offset Preset These control bits have the same functions as Motion Con-  
Counter 2  
Command  
the ones for High-speed Counter 1 Command, trol Module  
above.  
Absolute PV Preset  
Absolute No. of Rota-  
tions Read  
206  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 corre-  
sponding 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):  
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.  
Acquiring the Encoder  
Status when the SEN  
Signal is Turned ON  
207  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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).  
Note  
Note  
When performing origin compensation, set the absolute offset to 0 before  
starting the origin compensation operation. Use the CX-Programmer’s Sys-  
tem Setup to set the absolute offset to 0.  
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).  
Be sure to perform the absolute offset preset operation before starting normal  
Servo Driver pulse outputs. The Absolute Offset Preset Bit’s ON timing  
depends on encoder's resolution, etc. Adjust as needed corresponding to the  
system.  
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.  
208  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
50 ms  
Preset after 30 to 62.5 ms  
Absolute No. of Rotations  
Read (A610.07)  
The high-speed counter  
starts 50 ms after start of  
the absolute No. of  
rotations read.  
High-speed Counter Start Bit  
(A610.00)  
User program  
processing  
Absolute PV Preset Bit  
(A610.06)  
Perform absolute PV preset  
within 30 to 50 ms after the  
read is completed.  
RUN Signal Output Bit  
SEN output  
Motion  
Control  
Module's  
internal  
processing  
If the absolute No. of  
rotations read was  
successful, SEN output  
stays ON.  
Absolute No. of Rotations  
Read Completed Flag  
Serial data (rotation data)  
approx.15 ms  
Rotation data:  
Phase A  
Signals from  
Servo Driver  
Phase B  
The  
latest  
value  
Counter value is not changed  
while reading rotation data.  
Absolute Present value  
Initial incremental pulses  
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.  
209  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Functions for Servo Drivers Compatible with Absolute Encoders  
Section 7-7  
0.00  
SET  
000000  
(000000)  
ABS servo  
operation  
start  
SEN output ON  
A610.07  
ABS No. of  
rotations  
read  
0.01  
ABS origin  
define  
0.00  
SET  
2.00  
000001  
(000003)  
ABS servo  
operation start  
Counter starts 50 ms after SEN output  
000002  
(000005)  
A610.07  
TIMH  
010  
ABS No. of  
rotations  
read  
#5  
See  
note.  
SEN output  
TIM010  
A610.00  
Start high-  
speed counter  
Preset the PV to the CNT 40 ms after reading ABS No. of rotations  
000003  
(000009)  
1-Servo operation after completing ABS PV preset  
2.00  
A610.07  
A608.05  
A608.04  
TIMH  
011  
Reading  
ABS PV  
ABS No. of ABS No. of ABS No. of  
rotations  
read  
rotations  
read  
completed  
rotations  
read error  
#4  
See  
note.  
SEN output  
TIM011  
DIFU  
Preset  
ABS PV  
A610.06  
Servo operation  
after completing  
ABS PV preset  
A
610.06  
DIFD  
2.15  
Servo  
operation  
Preset ABS  
PV  
For ABS No. of rotations read error  
000004  
(000020)  
2.00  
A
610.07  
A
608.05  
A608.04  
RSET  
Read ABS  
No. of  
rotations  
Reading  
ABS PV rotations  
read  
ABS No. of ABS No. of ABS No. of  
SEN output OFF  
A
610.07  
rotations  
read  
completed  
rotations  
read error  
SEN output  
RSET  
2.00  
Reading  
ABS PV  
Note  
Adjust the timer value of TIMH(15) instruction (10 ms timer) to match to the  
system requirements (such as the absolute encoder's resolution setting).  
When more precision is required, use the TMHH(540) instruction (1 ms timer).  
210  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Functions for Servo Drivers Compatible with Absolute Encoders  
Section 7-7  
0.01  
000005  
SET  
(000026)  
ABS origin  
define  
2.01  
ABS origin define  
PV preset as ABS offset 40 ms after completing ABS No. of rotations read  
000006  
(000028)  
2.01  
A610.07  
A608.05  
A608.04  
TIMH  
012  
ABS origin ABS No. of ABS No. of ABS No. of  
define  
rotations  
read  
rotations  
read  
completed  
rotations  
read error  
See  
note.  
#4  
SEN output  
TIM012  
DIFU  
ABS offset  
A610.05  
preset  
A609.05  
DIFD  
2.14  
ABS offset  
preset  
For ABS No. of rotations read error  
000007  
(000039)  
2.01  
A610.07  
A608.05  
A608.04  
RSET  
SEN output OFF  
ABS No.  
of rotations  
read  
ABS origin ABS No. of ABS No. of ABS No. of  
A610.07  
define  
rotations  
read  
rotations  
read  
completed  
rotations  
read error  
SEN output  
RSET  
2.01  
ABS origin  
define  
Servo operation after completing ABS PV preset  
000008  
(000045)  
2.15  
SET  
1.00  
Servo  
operation  
start  
Servo operation  
Clear "reading ABS PV" status after completing ABS PV preset  
000009  
(000047)  
2.15  
RSET  
2.00  
Reading  
ABS PV  
Servo operation  
Clear "defining ABS origin" status after presetting ABS offset  
2.14  
000010  
(000049)  
RSET  
2.01  
Defining  
ABS origin  
END  
000011  
(000051)  
Note  
Adjust the timer value of TIMH(15) instruction (10 ms timer) to match the sys-  
tem requirements (such as the absolute encoder's resolution setting). When  
more precision is required, use TMHH(540) instruction (1 ms timer).  
211  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Virtual Pulse Output Function  
Section 7-8  
7-8 Virtual Pulse Output Function  
7-8-1 Applicable Models  
Model  
Functions  
FQM1-MMP21  
FQM1-MMA21  
FQM1-CM001  
Motion Control Module for Pulse I/O  
Motion Control Module for Analog I/O  
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.  
Motion Control Module  
Ladder program  
Internal pulse frequency  
(Speed command)  
Specified number of pulses =  
Target position  
AXIS  
M
C
Target frequency  
(Hz)  
T
Time  
Target position and  
Target frequency  
Pulse count  
(Internal PV)  
=
Virtual axis  
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.  
212  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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
C
T
M: Mode specifier  
C: Calculation cycle  
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  
Relative mode:  
Set/  
monitored  
T
Internal pulse count The present value of internal  
(8-digit hexadecimal) pulse counter is stored here.  
Monitored  
(Read)  
0000 0000 to FFFF FFFF  
T+1  
Absolute mode:  
8000 0000 to 7FFF FFFF  
T+2  
Bit 15 Virtual pulse output Indicates whether or not the vir- OFF: Pulse output stopped  
status  
tual pulse output has started.  
Indicates the direction of virtual OFF: CW  
pulse currently being output. ON: CCW  
ON: Pulse being output  
Bit 08  
Bit 07  
Indicates whether or not the vir- OFF: Pulse being counted  
tual pulse output is being  
counted.  
ON: Target position reached  
(Counting stopped)  
Bit 00  
Indicates whether or not the vir- OFF: Constant speed  
tual pulse output is accelerating/ ON: Accelerating/decelerating  
decelerating.  
T+3 to T+4  
Present speed  
(8-digit hexadecimal) pulse output is stored here.  
The frequency of the virtual  
0000 0000 to 000F 4240 hex  
(0 to 1 MHz in 1-Hz units)  
213  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Virtual Pulse Output Function  
Section 7-8  
Address  
Name  
Description  
Setting range  
Set/  
monitored  
T+5 to T+6  
Target position  
(8-digit hexadecimal) pulses here.  
Set the number of virtual output Relative mode:  
Set  
(Read/  
Write)  
0000 0000 to FFFF FFFF  
Absolute mode:  
8000 0000 to 7FFF FFFF  
T+7 to T+8  
Target frequency  
(8-digit hexadecimal) tual pulses here.  
Set the target frequency of vir-  
0000 0001 to 000F 4240 hex  
(0 to 1 MHz in 1-Hz units)  
T+9 to T+10  
Starting frequency  
(8-digit hexadecimal) tual pulses here.  
Set the starting frequency of vir- 0000 0000 to 000F 4240 hex  
(0 to 1 MHz in 1-Hz units)  
T+11  
Acceleration rate  
(4-digit hexadecimal) tual pulses here.  
Set the acceleration rate of vir-  
0001 to 270F  
(1 to 9,999 Hz, in 1-Hz units)  
T+12  
Deceleration rate  
(4-digit hexadecimal) tual pulses here.  
Set the deceleration rate of vir-  
0001 to 270F  
(1 to 9,999 Hz, in 1-Hz units)  
T+13 to T+26  
Description  
Work area  
Used by the system.  
---  
• 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 speci-  
fied 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 auto-  
matically 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).  
Note When the AXIS instruction’s input condition goes OFF, the contents of setting  
table words T+2 to T+4 will be initialized to 0.  
214  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Target frequency  
(Hz)  
Time  
Time  
Execute constant cycle time  
Execution of AXIS  
Execution of PULS  
(Changes target position  
and speed.)  
Pulse output PV (normal pulse output)  
Target position  
PULS (Electronic Cam  
Mode) is executed in the  
program with changed  
target position and speed.  
Time  
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  
Model  
Functions  
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.  
215  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
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  
User program  
PRV  
Immediate  
refreshing  
(pressure, displacement, etc.)  
A
D
Selected signal range:  
10 to +10 V, 0 to 10 V,  
0 to 5 V, 1 to 5 V, or  
4 to 20 mA  
High speed input  
(A/D conversion time:  
40 µs)  
Stores the data  
when instruction  
is executed.  
I/O memory  
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.  
216  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Analog Input Functions  
Section 7-9  
7-9-3  
Analog Input Function Specifications  
Item  
Specification  
Input signals  
Voltage inputs, current inputs  
1 input  
No. of analog inputs  
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  
Input response time  
Resolution  
40 µs  
1.5 ms or less (See note.)  
10 to +10 V: 1/16,000 (14 bits)  
0 to 10 V:  
0 to 5 V:  
1 to 5 V:  
1/8,000 (13 bits)  
1/4,000 (12 bits)  
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  
Overall accuracy  
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.  
Voltage input:  
Current input:  
0.2% (23 2°C)  
0.4% (0 to 55°C)  
0.4% (23 2°C)  
0.6% (0 to 55°C)  
Function  
Offset/gain  
adjustment  
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.  
Note  
The following diagram is provided as a reference example. This example  
shows the input response (step response) characteristics of an input when the  
external input signal is changed in a step pattern. In this case, the input range  
is 10 to +10 V.  
Response (%)  
100%  
80%  
50%  
0
0.5  
1
1.5  
Time (ms)  
217  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Analog Input Functions  
Section 7-9  
7-9-4 Related Areas and Settings  
System Setup  
Tab page  
Function  
Settings  
Time when setting  
becomes effective  
Analog Input/  
Output  
Both inputs Input  
and outputs method  
0 hex: END refresh  
At power ON and  
start of operation  
1 hex: Immediate refresh (Refresh with PRV(881).)  
Output  
method  
0 hex: END refresh  
At power ON and  
start of operation  
(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.)  
Inputs  
Input range 00 hex: 10 to 10 V  
At power ON  
At power ON  
01 hex: 0 to 10 V  
02 hex: 1 to 5 V (4 to 20 mA)  
03 hex: 0 to 5 V  
Outputs  
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: Disable outputs (See note.)  
Note Outputs can be disabled to shorten the I/O  
refreshing time or reduce the Motion Control  
Module’s power consumption.  
Output stop 0 hex: Clear outputs  
function  
1 hex: Hold outputs  
2 hex: Maximum value  
Outputs  
Output  
range  
These parameters have the same settings as output  
1, above.  
Output stop  
function  
218  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 Motion  
(using either the END refresh or immediate refresh) Control  
in 4-digit hexadecimal.  
Module  
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  
Analog Input  
User Adjustment  
Completed  
OFF: Not adjusted  
ON: Adjustment completed  
01 to 06  
07  
Reserved  
Analog Sampling  
Started  
OFF: Not started  
ON: Started  
08  
Factory Adjustment OFF: No Error  
Data Error  
ON: Error  
(Checked at startup.)  
OFF: No Error  
ON: Error  
(Checked at startup.)  
09  
User Adjustment  
Data Error  
10 to 14 Reserved  
---  
15  
Analog Input  
Status  
Analog Input  
Analog Input  
Analog Sampling  
Overlap  
OFF: Normal sampling  
Motion  
Control  
Module  
ON: The next sampling  
operation occurred  
before the present  
sampling operation  
completed.  
A559  
A560  
01 to 15 Analog Input  
Status  
Number of Samples Indicates the number of data Motion  
samples actually input since Control  
sampling started.  
Module  
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.  
With imme-  
diate  
refresh:  
Motion  
Control  
Module  
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  
With END  
refresh:  
User  
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 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.  
219  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Analog Input Functions  
Section 7-9  
Word  
Bits  
Function  
User Adjustment Initial value is 0.  
Settings  
Controlled  
by  
A562  
00  
Analog Out-  
put 1 Flags  
Motion  
Control  
Module  
Completed  
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  
04  
Reserved  
Operating  
---  
ON: ON while the analog output is being changed Motion  
by ACC(888).  
Control  
Module  
OFF: Turned OFF when target value is reached.  
05 to 07  
08  
Reserved  
---  
Output SV Error  
ON: ON when the output SV setting is outside of Motion  
the allowed setting range.  
Control  
Module  
OFF: OFF when the output SV is within range.  
Note Only in End refresh mode  
09 to 11  
12  
Reserved  
---  
Factory Adjust-  
ment Value Error  
ON: ON when the factory-set data stored in flash Motion  
memory is invalid.  
Control  
Module  
OFF: OFF when the factory-set data stored in  
flash memory is normal.  
13  
14  
Reserved  
---  
User Adjustment ON: ON when the user-set adjustment value  
Value Error  
Motion  
Control  
Module  
stored in flash memory is invalid.  
OFF: OFF when the user-set adjustment value  
stored in flash memory is normal.  
15  
00  
Reserved  
---  
A563  
Analog Out-  
put 2 Flags  
User Adjustment These flags have the same functions as the Analog Motion  
Completed  
Output 1 Flags, above.  
Control  
Module  
01 to 03  
04  
Reserved  
Operating  
05 to 07  
08  
Reserved  
Output SV Error  
Reserved  
09 to 11  
12  
Factory Adjust-  
ment Value Error  
13  
14  
Reserved  
User Adjustment  
Value Error  
15  
Reserved  
220  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Analog Input Functions  
Section 7-9  
Word  
Bits  
Function  
Adjustment  
Settings  
Controlled  
by  
A570  
00  
01  
02  
03  
Adjustment  
Mode Com-  
mand Bits  
Analog Input  
Reserved  
OFF: Adjustment disabled.  
ON: Adjustment enabled.  
User  
Enable  
When this bit is turned from  
Analog Output 1  
Analog Output 2  
(Effective only  
when A575 is  
5A5A hex.)  
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).  
04 to 06  
07  
Reserved  
Adjustment Mode OFF: Offset adjustment  
Specifier  
User  
ON: Gain adjustment  
08 to 11  
12  
Reserved  
Adjustment Value While this bit is ON, the offset or gain value will be Motion  
Increment  
Adjustment Value While this bit is ON, the offset or gain value will be  
Decrement decremented by one resolution unit each 0.5 s.  
Adjustment Value OFF to ON: Clears the adjustment data to the fac-  
Clear tory defaults.  
Adjustment Value OFF to ON: Reads the present value in the  
incremented by one resolution unit each 0.5 s.  
Control  
Module  
13  
14  
15  
Set  
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  
Adjustment Oper- ON when an operational error has been made,  
Motion  
ation Error  
such as turning ON both the Analog Input and Ana- Control  
log Output 2 Adjustment Enable Bits at the same  
time.  
Module  
01 to 14  
15  
Reserved  
Adjustment Mode ON during adjustment mode operation (when A575  
Started  
contains 5A5A hex).  
A572  
A573  
A574  
00 to 15 Adjustment  
Used for Analog  
Setting Offset Moni- The values in 10 to 10 V: Motion  
Mode Monitor Input and Analog tor  
these words  
can be over-  
written  
FE0C to  
Control  
Module or  
User  
Outputs 1/2  
01F4 hex  
(Effective only  
when A575 is  
5A5A hex.)  
• 0 to 10 V, 0  
to 5 V, 1 to  
5 V: FF38 to  
00C8 hex  
directly, with-  
out using the  
Adjustment  
Value Incre-  
ment/Decre-  
ment Bits.  
00 to 15  
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  
Analog Inputs  
Number of Average Indicates the number of val- User  
Value Samples in  
Adjustment Mode  
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.  
User  
221  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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
C
D
P: Output port (#0003: Analog input)  
C: Control specification (#0000: Present value read)  
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.  
Note  
If a voltage exceeding the input voltage limits is input, the conversion value  
will be either the upper or lower limit value.  
Signal Range: 10 to  
10 V  
Analog input (V)  
+11.0 V  
+10.0 V  
0.0 V  
10.0 V  
11.0 V  
Stored value  
0000  
1F40  
(4-digit Hexadecimal)  
E0C0  
DDA0  
2260  
Resolution of 1/16,000  
Signal Range: 0 to 10 V  
Analog input (V)  
+10.5 V  
+10.0 V  
0.0 V  
0.5 V  
Stored value  
(4-digit Hexadecimal)  
1F40  
20D0  
0000  
FE70  
Resolution of 1/8,000  
222  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Analog Input Functions  
Section 7-9  
Signal Range: 1 to 5 V and 4 to 20 mA  
Analog input (V)  
Analog input (mA)  
+20.8 mA  
+20.0 mA  
+5.2 V  
+5.0 V  
+4.0 mA  
+3.2 mA  
+1.0 V  
+0.8 V  
Stored value  
(4-digit Hexadecimal)  
0FA0  
1068  
0000  
FF38  
Resolution of 1/4,000  
Signal Range: 0 to 5 V  
Analog input (V)  
+5.25 V  
+5.00 V  
0 V  
0.25 V  
Stored value  
(4-digit Hexadecimal)  
0FA0  
0000  
FF38  
1068  
Resolution of 1/4,000  
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.  
223  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
CTBL(882) with High-speed Analog Sampling Function  
CTBL  
P
M
S
P: Port specifier (#0003)  
M: Register target value comparison table and start comparison.  
S: Target value comparison table  
S
Target value  
8-digit hex  
S+1  
S+2  
First word of data sample storage area 0000 to 7FFF hex  
(DM Area address)  
S+3  
Number of data samples  
0000 to 7FFF hex  
Example  
CTBL  
#3 Sampling counter: #3  
#0 Register target value comparison table and start comparison.  
D00000 Start of comparison table  
Comparison Table  
D00000 Target value (rightmost 4 digits) 0000 hex  
D00001 Target value (leftmost 4 digits) 0000 hex  
D00002 Data sample storage area  
D00003 Number of data samples  
00C8 hex (200 decimal)  
0064 hex (100 decimal)  
FQM1-MMA21 Motion Control Module (for Analog Inputs)  
Target  
value  
Pulse input  
Counter PV  
High-speed counter 1  
Sampling counter  
0000 0000 hex  
0000 0000 hex  
Start sampling  
Sample storage area  
Analog input  
D00200  
D00201  
D00202  
D00299  
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 val-  
ue, the Motion Control Module collects the specified number of high-speed  
analog input data samples from a displacement sensor.  
224  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Analog Outputs  
Section 7-10  
3. The high-speed analog sampling function stops when the specified num-  
ber 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.  
FQM1-MMA21 Motion Control Module  
(for analog inputs)  
Main program  
@CTBL  
P
Generates target value comparison  
interrupts for the high-speed  
counter PV (linear counter).  
Origin reached  
Interrupt started  
Interrupt task  
4 to 20 mA  
Sampling positions and collection of  
sampled displacement data (analog)  
CTBL  
Performs analog sampling based on  
target value comparisons with the  
high-speed counter PV (circular counter).  
Displacement  
sensor  
P
M
S
Pulse input  
(position)  
Comparison table starts at S.  
Analog input sampling start points  
Displacement  
S
Analog input sampling  
position  
High-speed  
travel  
S+1  
S+2  
S+3  
Data sample storage area  
Number of data samples  
Encoder  
Origin  
Origin  
Origin  
Linear counter  
Circular counter  
Analog input  
sampling  
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  
Model  
FQM1-MMA21  
Functions  
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.  
225  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Analog Outputs  
Section 7-10  
7-10-3 Analog Output Function Specifications  
Analog Outputs  
Item  
Output signals  
Specification  
Voltage outputs  
2 outputs  
Number of analog 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  
Resolution  
40 µs/output  
–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/Out-  
put 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 subrou-  
tines.  
2. The setting in the analog output stop function determines the an-  
alog 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 ana-  
log output values that are output externally.  
(The actual output value may be different from the stored value if the output stop func-  
tion 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 to 55°C  
0.3% of FS  
0.5% of FS  
226  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
Analog Outputs  
Section 7-10  
Item  
Specification  
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 adjust-  
ment data error) occurred in the Motion Control Module. (See note 2.)  
• The other analog output is being adjusted in adjustment mode.  
The output values can be offset as required for the connected device.  
Offset/gain  
adjustment  
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  
Note  
(1) The overall accuracy is the ratio of accuracy to the full scale.  
(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 Mod- The output status specified by  
ule (such as flash memory errors not listed  
above, FALS, etc.)  
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  
227  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Analog Outputs  
Section 7-10  
Specified Output Values and Analog Output Signals  
0 to 10 V  
Analog output signal  
10 to 10 V  
Analog output signal  
+11.0 V  
+10.0 V  
10.5 V  
10.0 V  
0.0 V  
10.0 V  
11.0 V  
0.0 V  
0.5 V  
Specified output value  
(4-digit Hex)  
Specified output value  
(4-digit Hex)  
0000  
EC78  
EA84  
1388  
0000  
FF38  
0FA0  
157C  
1068  
Resolution: 10,000  
Resolution: 4,000  
0 to 5 V  
Analog output signal  
1 to 5 V  
Analog output signal  
5.25 V  
5.0 V  
5.2 V  
5.0 V  
0.0 V  
0.25 V  
1.0 V  
0.8 V  
Specified output value  
(4-digit Hex)  
Specified output value  
(4-digit Hex)  
0000  
FF38  
0FA0  
0000  
FF38  
0FA0  
1068  
1068  
Resolution: 4,000  
Resolution: 4,000  
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.  
(@) SPED  
P: Port specifier  
(#0001 for analog output 1 or #0002 for analog output 2)  
P
#0000  
M: Always #0000  
F
F: Analog output value  
228  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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)  
Note  
The specified analog output value must be within the allowed range listed  
above. If an out-of-range output value is specified, an error will occur and it  
will be necessary to switch to PROGRAM mode in order to output the analog  
output again.  
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)  
#0000  
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)  
Note  
ACC(888) and SPED(885) cannot be used to change the analog output value  
while ACC(888) is generating a sloped output. Change the output value only  
after the target value has been reached.  
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).  
229  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
0002.01  
@MOV  
When CIO 0002.01 goes ON, MOV  
stores 1000 hex in A560 (Analog  
Output 1 Output Value).  
#1000  
A560  
SET  
Turns ON A564.00 (Analog Output 1  
Conversion Enable Bit).  
A564.00  
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.  
0002.01  
@SPED  
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).  
#0001  
#0000  
D00000  
D00000  
0
3
E
8
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.  
0002.01  
When CIO 0002.01 goes ON, ACC is  
@ACC  
executed to output a sloped analog  
#0001  
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.  
#0000  
D00000  
Rate of change: 0190 hex  
(400 decimal = 10%)  
Specified analog output value = 07D0 hex  
(2,000 decimal = 50%)  
D00000  
D00001  
0
0
1
7
9
0
0
D
230  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Analog Outputs  
Section 7-10  
231  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Analog Outputs  
Section 7-10  
232  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 8  
Connecting the CX-Programmer  
8-1 CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
8-2 Connecting the CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
8-2-1 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
8-2-2 CX-Programmer Connecting Cables . . . . . . . . . . . . . . . . . . . . . . . .  
234  
235  
235  
238  
233  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 CS1W-CN118  
Connecting Cables  
(for peripheral port)  
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  
CS1W-CN626  
Connects a personal computer (Microsoft Windows OS).  
D-Sub 9-pin (Length: 2.0 m)  
Connects a personal computer (Microsoft Windows OS).  
D-Sub 9-pin (Length: 6.0 m)  
Programming Device XW2Z-200S-CV  
Connecting Cables  
Connects a personal computer (Microsoft Windows OS).  
D-Sub 9-pin (Length: 2.0 m), Static-resistant connector used.  
Connects a personal computer (Microsoft Windows OS).  
D-Sub 9-pin (Length: 5.0 m), Static-resistant connector used.  
Connects a personal computer (Microsoft Windows OS).  
D-Sub 9-pin (Length: 2.0 m) (see note)  
(for RS-232C port)  
XW2Z-500S-CV  
XW2Z-200S-V  
XW2Z-500S-V  
Connects a personal computer (Microsoft Windows OS).  
D-Sub 9-pin (Length: 5.0 m) (see note)  
USB-Serial Conver-  
sion Cable  
CS1W-CIF31  
USB to D-Sub 9-pin conversion cable  
(Length: 0.5 m)  
Note  
These RS-232C Connecting Cables cannot be used to connect to the CX-  
Programmer with Peripheral Bus communications. Connect to the CX-Pro-  
gramer with Host Link (SYSMAC WAY) communications.  
!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.  
234  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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  
Computer connector  
D-Sub, 9-pin  
D-Sub, 9-pin  
D-Sub, 9-pin  
Length  
Computer  
Windows  
OS  
Cable  
0.1 m  
2.0 m  
6.0 m  
CS1W-CN118 (See note 1.)  
CS1W-CN226  
CS1W-CN626  
CM MM  
Computer  
(RS-232C, 9-pin)  
Peripheral port  
1. The CS1W-CN118 Cable is used with an RS-232C cable to connect to the peripheral port on the  
Note  
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.  
RS-232C Cable  
XW2Z-@@@S-@@  
(See note 2.)  
CS1W-CN118  
CM MM  
Peripheral port  
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  
Computer  
(RS-232C, 9-pin)  
CM  
MM  
RS-232C port  
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.  
Note  
Programming Software  
OS  
Microsoft Windows  
Name  
CX-Programmer Version 5.0 or higher only  
(See note.)  
CD-ROM  
Note  
When the CX-Programmer is used with an FQM1, the CX-Programmer ver-  
sion must be Version 5.0 or higher and the FQM1 Patch Software must be  
installed.  
235  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
Connecting the CX-Programmer  
Section 8-2  
Connecting through the USB port with a USB-Serial Conversion Cable  
Connecting to the Peripheral Port  
Cable  
Connection Diagram  
Using a CS1W-CN226/626  
Cable  
USB type A plug, male  
CS1W-CIF31  
D-sub Connector  
(9-pin male)  
CS/CJ-series peripheral connector  
Peripheral port  
D-sub Connector  
(9-pin female)  
Recommended cable:  
CS1W-CN226/626  
Using an RS-232C Cable  
(XW2Z-200S-CV, XW2Z-  
500S-CV, XW2Z-200S-V, or  
XW2Z-500S-V)  
USB type A plug, male  
CS1W-CIF31  
D-sub Connector  
(9-pin male)  
CS1W-CN118  
D-sub Connector  
Peripheral port  
(9-pin male)  
D-sub Connector  
(9-pin female)  
XW2Z-200S-CV, XW2Z-500S-CV,  
XW2Z-200S-V, or XW2Z-500S-V  
(See note.)  
D-sub Connector  
(9-pin female)  
Note The connection must be a Host Link connection.  
236  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Connecting the CX-Programmer  
Section 8-2  
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)  
USB type A plug, male  
CS1W-CIF31  
D-sub Connector  
RS-232C port  
D-sub Connector  
(9-pin female)  
(9-pin male)  
D-sub Connector  
(9-pin male)  
D-sub Connector  
(9-pin female)  
XW2Z-200S-CV, XW2Z-500S-CV,  
XW2Z-200S-V, or XW2Z-500S-V  
(See note.)  
Note The connection must be a Host Link connection.  
Connection Methods (Using a USB-Serial Conversion Cable)  
Computer  
CS1W-CIF31  
Cable #1  
Cable #2 (when necessary)  
FQM1  
CS1W-CN226/626  
Connecting Cable for  
CS/CJ-series peripheral port  
CS1W-CN118 RS-232C to  
CS/CJ-series Peripheral  
Conversion Cable  
USB Connecting  
Cable  
OR  
+
+
XW2Z-@@@ RS-232C  
Connecting Cable  
237  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Connecting the CX-Programmer  
Section 8-2  
USB  
Connecting  
Cable  
Cable 1  
Model  
Cable 2  
Model  
Port  
Communic  
ations  
Connector  
Connector Connector  
CS/CJ Unnecessary  
Connector  
mode  
CS1F-CIF31 D-Sub9-pin CS1W-  
Coordinator Peripheral  
female  
CN226/626 peripheral  
(2 or 6 m)  
Module  
peripheral  
bus (Tool  
bus) or  
Host Link  
D-Sub9-pin XW2Z-  
D-Sub9-pin D-Sub9-pin CS1W-  
CS/CJ  
peripheral  
Peripheral  
bus (Tool  
bus) or  
female  
200S-CV/  
500S-CV  
(2 or 5 m)  
male  
female  
CN118  
(0.1 m)  
Host Link  
D-Sub9-pin XW2Z-  
D-Sub9-pin D-Sub9-pin CS1W-  
CS/CJ  
peripheral  
Host link  
female  
200S-V/  
500S-V  
male  
female  
CN118  
(0.1 m)  
(2 or 5 m)  
D-Sub9-pin XW2Z-  
female 200S-CV/  
RS-232C  
Unnecessary  
RS-232C  
Peripheral  
bus (Tool  
bus) or  
D-Sub9-pin  
male  
D-Sub 9-pin  
female  
500S-CV  
(2 or 5 m)  
Host Link  
D-Sub9-pin XW2Z-  
RS-232C  
Unnecessary  
Host link  
female  
200S-V/  
500S-V  
(2 or 5 m)  
D-Sub9-pin  
male  
8-2-2 CX-Programmer Connecting Cables  
Port on Module Computer  
Port on  
computer  
Communications mode  
(Network type)  
Model  
Length  
Remarks  
Built-in periph-  
eral port  
Windows D-Sub9-pin Peripheral bus (Tool bus) CS1W-CN226  
2.0 m  
6.0 m  
---  
OS  
male  
or Host Link (SYSMAC  
WAY)  
CS1W-CN626  
Built-in RS-232C Windows D-Sub9-pin Peripheral bus (Tool bus) XW2Z-200S-CV  
2 m  
5 m  
Uses static-  
resistant con-  
nectors  
port  
OS  
male  
or Host Link (SYSMAC  
WAY)  
XW2Z-500S-CV  
(D-Sub 9-pin  
female)  
Note  
When connecting one of these cables to the Coordinator Module’s RS-232C  
port, always touch a grounded metal object to discharge any electrostatic  
charge from the body before touching the cable connector.  
The XW2Z-@@@S-CV Cables are equipped with static-resistant XM2S-0911-  
E Connector Hoods to improve static resistance, but we recommend discharg-  
ing static build-up before touching these connectors as well.  
!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.  
238  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Port on  
Module  
Computer  
Port on  
computer  
Communications mode  
(Network type)  
Model  
Length  
Remarks  
Built-in  
peripheral  
port  
Windows D-Sub9-pin Peripheral bus (Tool bus) CS1W-CN118 +  
0.1 m +  
TheXW2Z-@@@S-CV  
Cables have static-  
resistant connectors.  
OS  
male  
or Host Link (SYSMAC  
WAY)  
XW2Z-200S-CV/ (2 m or  
500S-CV 5 m)  
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.  
Port on  
Module  
Computer  
Port on  
computer  
Communications mode  
(Network type)  
Model  
Length  
Remarks  
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  
5 m  
---  
male  
XW2Z-500S-V  
Note  
Either one of the following two serial communications modes can be used  
when connecting the CX-Programmer to the FQM1.  
Serial  
communications  
mode  
Features  
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 recog-  
nize the baud rate and make the connection automatically.  
Host link (SYS-  
MAC 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.  
239  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Connecting the CX-Programmer  
Section 8-2  
240  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 9  
Error Processing  
9-1 Error Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2 Error Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-1 Error Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-2 Error Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-3 Error Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-4 Error Processing Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-5 Error Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-6 Power Supply Check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-7 Memory Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-8 Program Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-9 Cycle Time Overrun Error Check. . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-10 System Setup Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-11 I/O Setting Error Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-12 I/O Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-2-13 Environmental Conditions Check. . . . . . . . . . . . . . . . . . . . . . . . . . .  
9-3 Troubleshooting Problems in Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
242  
243  
243  
243  
244  
245  
246  
251  
252  
252  
253  
253  
254  
255  
256  
256  
241  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
FALS  
FAL numbers  
Error codes  
4101 to 42FF  
C101 to C2FF  
#0001 to #01FF (1 to 511 decimal)  
#0001 to #01FF (1 to 511 decimal)  
Note  
FAL generates a non-fatal error (the Coordinator and Motion Control Module  
continue operating). FALS generates a fatal error that stops operation.  
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.  
Order of  
occurrence  
Error code  
4102  
Error Log Area  
1
Error code  
4
1
0
2
A100  
A101  
A102  
A103  
A104  
A105  
A106  
A107  
A108  
A109  
Error contents  
0
0
0
0
1
1
1
3
0
0
0
0
1
1
1
0
0300  
C101  
2
Error code  
Error contents  
0
0
0
1
1
1
0
0
0
1
1
1
20  
A195  
A196  
A197  
A198  
A199  
C
1
0
1
Error code  
Error contents  
0
0
0
1
1
1
0
0
0
1
1
1
A408CH  
Error Log Pointer  
Note  
The Error Log Pointer can be reset by turning ON the Error Log Pointer Reset  
Bit (A500.14), effectively clearing the error log display in the CX-Programmer.  
The contents of the Error Log Area will not be cleared by resetting the pointer.  
242  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
Standby  
Result  
Indicators  
RUN  
Comments  
RDY  
ERR  
OFF  
The FQM1 will not start operation OFF  
in RUN or MONITOR mode.  
OFF  
This status occurs when a faulty  
Motion Control Module is con-  
nected.  
Non-fatal Errors The FQM1 will continue operating ON  
(including FAL) in RUN or MONITOR mode.  
ON  
Flashing This status indicates a non-fatal  
(Green) (Green) (Red)  
error other than a communications  
error.  
Fatal Errors  
(including FALS) RUN or MONITOR mode.  
The FQM1 will stop operating in  
ON  
(Green)  
OFF  
ON  
(Red)  
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  
Module Indicators  
Auxiliary Area Flags and Words  
RDY: Initialization completed  
Error Code  
Word  
(A400)  
Error Flags  
Error Info.  
Lit when the Modules  
are in RUN or  
RUN:  
MONITOR mode.  
ERR: Self-diagnostic test  
Flashing red:  
Non-fatal error  
Lit red:  
RDY  
RUN  
ERR  
PRPHL  
COMM1  
COMM2  
Error code  
A400  
Flags  
Words  
providing  
error  
indicating  
the type of  
error.  
information.  
Fatal error  
Lit yellow when the  
PRPHL:  
A400  
Module is communi-  
cating through the  
peripheral port  
contains the  
error code.  
(See note.)  
Lit yellow when the  
Module is commu-  
nicating through the  
RS-232C port  
COMM1:  
Lit yellow when the  
Module is commu-  
nicating through the  
RS-422A port  
COMM2:  
Note  
When two or more errors occur at the same time, the highest (most serious)  
error code will be stored in A400.  
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  
Fatal error Non-fatal  
error  
Communications error  
Peripheral RS-232C RS-422A  
ON  
---  
standby  
RDY  
RUN  
OFF  
OFF  
OFF  
OFF  
OFF  
OFF  
ON  
ON  
ON  
ON  
---  
ON  
---  
OFF  
243  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Error Processing  
Section 9-2  
Indicator CPU error CPU reset  
CPU  
Fatal error Non-fatal  
error  
Communications error  
standby  
Peripheral  
RS-232C  
---  
RS-422A  
---  
ERR  
ON  
---  
OFF  
---  
OFF  
ON  
---  
Flashing  
---  
PRPHL  
COMM1  
COMM2  
---  
---  
---  
---  
---  
---  
OFF  
---  
---  
---  
---  
---  
---  
OFF  
---  
---  
---  
---  
---  
---  
OFF  
9-2-3 Error Codes  
Classification  
Error code  
Error name  
Memory error  
I/O bus error  
No End Cover  
Page  
Fatal system  
errors  
80F1  
80C0  
80CE  
80CF  
80E0  
80F0  
809F  
244  
244  
Synchronous bus error  
I/O setting error  
Program error  
Cycle time overrun error  
System Setup setting error  
Coordinator Module WDT error  
Coordinator Module error  
Motion Control Module WDT error  
FAL error  
Non-fatal sys- 009B  
tem errors  
0001  
0006  
0300  
User-defined  
4101 to 42FF  
non-fatal errors  
(4101 to 42FF are stored for FAL num-  
bers 001 to 511)  
User-defined  
fatal errors  
C101 to C2FF  
FALS error  
244  
(C101 to C2FF are stored for FALS  
numbers 001 to 511)  
244  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                           
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  
Proceed to 9-2-6  
indicator lit?  
Power Supply Check.  
Lit  
Not lit  
CPU Error  
Is RDY  
CPU Reset  
CPU standby  
indicator lit?  
Lit  
Lit  
Is RUN  
indicator lit?  
Not lit  
Is ERR  
indicator flashing?  
ERR indicator lit.  
Flashing  
Proceed to 9-2-12 I/O  
Check and 9-2-13  
Environmental  
Can  
CX-Programmer  
connect online?  
Non-fatal error  
Conditions Check.  
Yes  
System FAL error  
Fatal error  
System Setup  
error  
Motion Control  
Module Monitor  
error  
Memory error  
I/O Bus error  
Coordinator Module  
Fatal error  
I/O Table Setting  
error  
Coordinator Module  
(CM) WDT error  
Program error  
Cycle Time  
Overrun error  
System FALS  
error  
245  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Note Always confirm the safety of connected equipment before turning the power  
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  
Module Indicators  
POWER  
RDY  
RUN  
ERR  
PRPHL COMM1 COMM2  
Lit  
OFF  
OFF  
Lit  
---  
---  
---  
Operating  
status  
Error  
name  
Error flags Error code Error con-  
in Auxiliary (in A400)  
Area  
Probable cause  
Remedy  
tents  
Stopped  
CPU  
error  
None  
None  
None  
A WDT (watchdog timer)  
error occurred in a Module. restart. The Module may be  
Turn the power OFF and  
(This error does not nor-  
mally occur)  
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  
Module Indicators  
POWER  
RDY  
RUN  
ERR  
PRPHL COMM1 COMM2  
Lit  
OFF  
OFF  
OFF  
---  
---  
---  
Operating  
status  
Error  
name  
Error flags Error code Error con-  
in Auxiliary (in A400)  
Area  
Probable cause  
Remedy  
tents  
Stopped  
CPU  
standby  
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  
Module 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  
246  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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.)  
247  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 flag and word  
A400) data  
Auxiliary Area  
Probable cause  
Possible remedy  
Memory  
error  
80F1 A401.15: Mem- An error has occurred in memory. A See below.  
ory Error Flag  
bit in A403 will turn ON to show the  
location of the error as listed below.  
A403: Memory  
Error Location  
A403.00 ON:  
Check the program and correct the error.  
A checksum error has occurred in  
the user program memory. An illegal  
instruction was detected.  
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.  
Replace the Module.  
A403.14 ON:  
A checksum error has occurred in  
the DM data stored in flash memory.  
I/O Bus  
error  
80C0  
80CE  
80CF  
A401.14: I/O  
Bus Error Flag  
Error has occurred in the data trans- Try turning the power OFF and ON  
fer between connected Modules or  
the End Cover is not connected to  
the right side of the FQM1.  
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  
80F0  
A401.09: Pro-  
The program is incorrect. A bit in  
Check A405 to determine the type of  
gram Error Flag A405 will turn ON to show the error error that occurred.  
details as listed below.  
A405: Program  
error information  
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  
After writing any changes to the program,  
switch to PROGRAM mode and then  
Too many differentiated instructions return to MONITOR mode to continue  
have been inserted or deleted dur-  
ing online editing.  
editing the program.  
A405.12: Task error  
Check that all of the task numbers speci-  
A task error has occurred. The task fied in the MSKS instructions have corre-  
specified in the MSKS instruction  
doesn’t exist.  
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.  
248  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
Error Processing  
Section 9-2  
Error  
Error  
Auxiliary Area  
Probable cause  
Possible remedy  
code (in flag and word  
A400)  
data  
I/O Table  
Setting  
error  
80E0  
A401.10: I/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  
809F  
A401.08: Cycle The cycle time has exceeded the  
Time Too Long maximum cycle time (watch cycle  
Change the program to reduce the cycle  
time or change the System Setup’s maxi-  
mum cycle time setting.  
Flag  
time) set in the System Setup.  
One way to reduce the cycle time is by  
jumping parts of the program that aren’t  
being used.  
System  
FALS error C2FF  
C101 to A401.06: FALS FALS has been executed in the pro- Remove the cause of the user-defined  
Error Flag  
gram.  
error indicated by the FAL number.  
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.  
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  
Module 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  
A400)  
Flag and word  
data  
Probable cause  
Possible remedy  
System FAL  
error  
4101 to A402.15: FAL  
FAL has been executed in program. Remove the cause of the user-  
42FF  
Error Flag  
defined error indicated by the FAL  
number.  
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.  
System Setup 009B  
error  
A402.10: Sys-  
There is a setting error in the Sys-  
Set the correct value in the System  
tem Setup Error tem Setup. The location of the error Setup.  
Flag  
is written to A409.  
A409: System  
Setup Error  
Location  
Motion Control 0300  
Module Moni-  
toring error  
A402.05:Motion An error occurred during cyclic  
Control Module refreshing with the Motion Control  
Monitoring Error Module.  
Turn the power OFF and ON again.  
Flag  
249  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                   
Error Processing  
Section 9-2  
Error  
Error  
code (in  
A400)  
Flag and word  
data  
Probable cause  
Possible remedy  
Coordinator  
Module Fatal  
error  
0006  
0001  
A402.14: Coor- A fatal error occurred in the Coordi- Remove the cause of the error in the  
dinator Module nator Module.  
Fatal Error Flag  
Coordinator Module and then clear  
the error.  
Coordinator  
Module WDT  
error  
A402.13: Coor- A watchdog timer error occurred in Turn the power OFF and ON again.  
dinator Module the Coordinator Module.  
WDT Error Flag  
Other Errors  
LED indicator status  
Error  
Error  
code  
(A400)  
Flag and  
word data  
Probable cause  
Possible remedy  
Communica- None  
tions error  
None  
A communications  
error occurred  
between the peripheral of DIP Switch pin 2  
port and the con-  
nected device.  
Check the cables.  
Also, check the setting  
Power Supply  
POWER Lit  
Unit  
Coordinator  
Module  
RDY  
RUN  
ERR  
Lit  
Lit  
---  
and the communica-  
tions settings for the  
peripheral port in the  
System Setup and cor-  
rect any mistakes.  
PRPHL OFF  
COMM1 ---  
COMM2 ---  
Communica- None  
tions error  
None  
A communications  
error occurred  
between the RS-232C System Setup.  
port and the con-  
Check the host link  
port settings in the  
Power Supply  
Unit  
POWER Lit  
Coordinator  
Module  
RDY  
RUN  
ERR  
Lit  
Lit  
---  
Check the cable wir-  
ing.  
nected device.  
PRPHL ---  
If a host computer is  
connected, check the  
host computer’s serial  
port settings and the  
program.  
COMM1 OFF  
COMM2 OFF  
Communica- None  
tions error  
None  
A communications  
error occurred  
between the RS-422A the System Setup are  
port and the con-  
nected device.  
Check whether the  
servo driver settings in  
Power Supply  
Unit  
POWER Lit  
Coordinator  
Module  
RDY  
RUN  
ERR  
Lit  
Lit  
---  
correct.  
Check the cable wir-  
ing.  
PRPHL ---  
COMM1 ---  
COMM2 OFF  
Check the operating  
status of the con-  
nected servo driver.  
250  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Error Processing  
Section 9-2  
9-2-6 Power Supply Check  
Note  
Model  
CJ1W-PA205R  
CJ1W-PA202  
Supply voltage  
100 to 240V AC  
100 to 240V AC  
Permissible range  
85 to 264V AC  
85 to 264V AC  
Power Supply Unit's  
POWER indicator is not lit.  
No  
Connect power supply.  
Is power being supplied  
to the Module?  
Yes  
No  
No  
No  
Yes  
Yes  
Yes  
Is POWER indicator lit?  
No  
Keep voltage fluctuations  
within the permissible range.  
Is voltage in range?  
(See note.)  
Yes  
Is POWER indicator lit?  
Yes  
Are terminal  
screws loose or  
wires broken?  
Tighten screws or replace  
damaged wires.  
No  
Is POWER indicator lit?  
End  
Replace the Module.  
251  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Error Processing  
Section 9-2  
9-2-7 Memory Error Check  
Memory error occurred  
ON  
The internal flash memory's rewrite limit has  
been exceeded. Replace the Module.  
Flash Memory Error Flag  
(A403.10) ON?  
OFF  
Was power  
Yes  
interrupted while backing  
The power supply was turned OFF during a  
memory backup. Transfer the data again.  
up memory with the CX-  
Programmer?  
No  
There was a hardware failure in the internal  
memory. Replace the Module.  
9-2-8 Program Error Check  
Program error occurred  
The called task does not exist. Check the  
MSKS instruction that enables the interrupt  
task with the corresponding task number.  
ON  
ON  
Task Error Flag  
(A405.12) ON?  
OFF  
There isn't an END instruciton in the  
program. Add an END instruction.  
No END Error Flag  
(A405.11) ON?  
OFF  
Turn the power supply OFF and ON again.  
252  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Error Processing  
Section 9-2  
9-2-9 Cycle Time Overrun Error Check  
Cycle Time Overrun Error  
occurred  
Is the assumed  
The program execution time exceeded the  
watch cycle time. Increase the watch cycle  
time setting in the System Setup.  
No  
cycle time less than the  
watch cycle time set in the  
System Setup?  
Yes  
Is the Max.  
Interrupt Processing Time  
setting OK?  
It is possible that the error occurred  
because the interrupt task execution time  
was too long.  
No  
Yes  
Are interrupts  
being used?  
Yes  
No  
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  
#0154 hex (340)  
Set the proecessing mode correctly.  
Location (A406)?  
Other value  
A communications error may have occurred  
during the transfer from the CX-Programmer.  
Transfer the System Setup again.  
253  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Error Processing  
Section 9-2  
9-2-11 I/O Setting Error Check  
I/O Setting Error occurred  
No  
Are 5 or more Motion Control  
Modules connected?  
Yes  
Reconfigure the system so that  
4 or fewer Motion Control  
Modules are connected to the  
Coordinator Module.  
Replace the Module.  
254  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
SOL1  
CIO 0005.00  
Start  
No  
Is the output  
indicator for CIO 0001.00  
normal?  
Yes  
Monitor the ON/OFF status of  
CIO 0001.00 from the CX-  
Programmer.  
Check the 0001.00 terminal  
voltage with a multimeter.  
Replace the terminal block  
connector.  
Wire terminals correctly.  
No  
Yes  
No  
No  
No  
Is the output wiring  
correct?  
Did the terminal's  
contact fail?  
Operation normal?  
Yes  
Is the voltage normal?  
Yes  
Yes  
Disconnect external wiring and  
check conduction status, etc.  
Yes  
No  
Is the voltage normal?  
Check the SOL1 solenoid.  
Replace the Module.  
No  
Input indicators  
for 0000.02 and 0000.03  
normal?  
Yes  
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.  
No  
Yes  
Yes  
Are the terminal  
screws loose?  
Is the voltage normal?  
Yes  
Is the voltage normal?  
No  
No  
Disconnect external wiring,  
connect a test input, and  
check voltage again.  
No  
Is the input wiring  
Did the terminal's  
contact fail?  
correct?  
Yes  
No  
Yes  
No  
Wire terminals correctly.  
Tighten terminals screws.  
Replace the terminal block  
connector.  
Is the voltage normal?  
Yes  
Check input devices LS1 and  
LS2.  
Replace the Module.  
Replace the Module.  
Return to Start of I/O Check.  
255  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Troubleshooting Problems in Modules  
Section 9-3  
9-2-13 Environmental Conditions Check  
Environmental Conditions Check  
Is the ambient  
temperature below  
55 °C?  
No  
No  
No  
Consider using a fan or air  
conditioner.  
Yes  
Is the ambient  
temperature above  
0 °C?  
Consider using a heater.  
Yes  
Is the ambient  
humidity between 10%  
and 90%?  
Consider using an air  
conditioner.  
Yes  
Install surge suppressor or  
other noise-suppressing  
equipment at noise sources.  
No  
Is noise being  
controlled?  
Yes  
Consider installing in a panel  
or improving the installation  
location.  
No (See note.)  
Is atmosphere  
acceptable?  
Yes  
End  
Note  
Prevent exposure to corrosive gases, flammable gases, dust, dirt, salts, metal  
dust, direct sunlight, water, oils, and chemicals.  
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 An error in program is causing a Correct program  
ON.  
fatal error  
The Power Supply Unit’s RUN output* does not turn  
ON.  
Internal circuitry of Power Sup- Replace the Power Supply Unit.  
ply Unit is faulty.  
The Coordinator Module’s RUN indicator is lit.  
(*CJ1W-PA205R Power Supply Unit only)  
Motion Control Module does not operate or does not The I/O bus is faulty.  
operate properly.  
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.  
256  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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 Correct program.  
fatal error  
Motion Control Module does not operate or does not The I/O bus is faulty.  
operate properly.  
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  
is not being supplied.  
power supply.  
(2) The external input power  
supply voltage is too low.  
Adjust supply voltage to within  
proper range.  
(3) Terminal block connector is  
not making good contact.  
Replace terminal block connec-  
tor.  
None of inputs turn ON.  
(Indicators are lit.)  
Input circuit is faulty.  
Replace the Module.  
None of inputs turn OFF.  
Input circuit is faulty.  
Replace the Module.  
Replace the input device.  
Check input wiring.  
A particular input does not turn ON.  
(1) Input device is faulty.  
(2) Input wiring disconnected.  
(3) Faulty terminal block connec- Replace terminal block connec-  
tor contact.  
tor.  
(4) External input’s ON time is  
too short.  
Adjust input device  
(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.  
Input turns ON/OFF irregularly.  
(1) Input circuit is faulty.  
Replace the Module.  
(2) An input bit address is used Correct program.  
in an output instruction.  
(1) External input voltage is low Adjust external input voltage to  
or unstable.  
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- Replace terminal block connec-  
tor contact. tor.  
Errors occur in 8-point or 16-point blocks, i.e., for the (1) Faulty terminal block connec- Replace terminal block connec-  
same common.  
tor contact.  
(2) Faulty data bus  
(3) Faulty CPU  
tor.  
Replace the Module.  
Replace the Module.  
Replace the Module.  
Input indicator does not light, but input operates nor- Faulty indicator or indicator cir-  
mally. cuit.  
257  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
too low. allowed range.  
(3) Faulty terminal block connec- Replace terminal block connec-  
tor contact.  
tor.  
(4) Output circuit is faulty.  
Output circuit is faulty.  
(1) Output ON time too short  
Replace the Module.  
Replace the Module.  
Correct program to increase the  
None of the outputs will go OFF.  
A specific bit address’ output does not turn ON.  
(Indicator is not lit.)  
because of a program error. time that the output is ON.  
(2) The bit’s status is controlled Correct program so that each  
by multiple output instruc-  
tions.  
output bit is controlled by only  
one instruction.  
(3) Faulty output circuit.  
(1) Faulty output device.  
(2) Break in output wiring.  
Replace the Module.  
Replace output device.  
Check output wiring.  
A specific bit address’ output does not turn ON.  
(Indicator is lit).  
(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 Replace external load or add  
leakage current or residual volt- dummy resistor.  
age.  
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  
proper range  
(2) The bit’s status is controlled Correct program so that each  
by multiple output instruc-  
tions.  
output bit is controlled by only  
one instruction.  
(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 contact. tor.  
Errors occur in 8-point or 16-point blocks, i.e., for the (1) Faulty terminal block connec- Replace terminal block connec-  
same common.  
tor contact.  
(2) Faulty data bus  
(3) Faulty CPU  
tor.  
Replace the Module.  
Replace the Module.  
Replace the Module.  
Output indicator does not light, but output operates Faulty indicator or indicator cir-  
normally.  
cuit.  
258  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
SECTION 10  
Inspection and Maintenance  
10-1 Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
10-1-1 Inspection Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
10-1-2 Module Replacement Precautions . . . . . . . . . . . . . . . . . . . . . . . . . .  
260  
260  
261  
259  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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  
Check for voltage fluctuations The voltage must be within Use a voltage tester to check the  
at the power supply terminals. the allowable voltage fluctu- power supply at the terminals. Take  
ation range.  
(See note.)  
necessary steps to bring voltage  
fluctuations within limits.  
2
3
I/O Power Sup- Check for voltage fluctuations Voltages must be within  
Use a voltage tester to check the  
power supply at the terminals. Take  
necessary steps to bring voltage  
fluctuations within limits.  
ply  
at the I/O terminals.  
specifications for each  
Module.  
Ambient environ- Check the ambient tempera- 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.  
ment  
ture. (Inside the control panel  
if the FQM1 is in a control  
panel.)  
Check the ambient humidity.  
(Inside the control panel if the 10% to 90% with no con-  
FQM1 is in a control panel.) densation.  
Relative humidity must be 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 Not in direct sunlight  
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- No spray on the FQM1  
cal sprays hitting the FQM1.  
Clean and protect the FQM1 if nec-  
essary.  
Check for corrosive or flam-  
No corrosive or flammable Check by smell or use a sensor.  
mable gases in the area of the gases  
FQM1.  
Check the level of vibration or Vibration and shock must  
Install cushioning or shock absorb-  
ing equipment if necessary.  
shock.  
Check for noise sources near No significant noise  
the FQM1 sources  
be within specifications.  
Either separate the FQM1 and  
noise source or protect the FQM1.  
260  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Inspections  
Section 10-1  
No.  
Item  
Inspection  
Criteria  
No looseness  
Action  
4
Installation and  
wiring  
Check that each Module is  
connected and locked to the  
next Module securely.  
Press the connectors together  
completely and lock them with the  
sliding latches.  
Check that cable connectors No looseness  
are fully inserted and locked.  
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 Check visually and adjust if neces-  
connectors  
sary.  
Check for damaged external  
wiring cables.  
No damage  
Check visually and replace cables if  
necessary.  
Note  
The following table shows the allowable voltage fluctuation ranges for source  
power supplies.  
Supply voltage  
100 to 240 V AC  
Allowable voltage range  
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.  
Note  
(1) When replacing a Coordinator Module or Motion Control Module, be sure  
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.  
261  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Inspections  
Section 10-1  
262  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
Program A  
Allocated  
END  
Program B  
Allocated  
Each program ends  
with an END(001)  
instruction.  
Cyclic  
task  
Interrupt  
condition  
met  
END  
Interrupt  
task  
I/O refresh  
263  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
SBS(091)  
Normal subroutines Normal subroutines are executed without passing parameters.  
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.  
JSB(982)  
• 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.  
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)  
100  
Set the subroutine  
number to call. Here,  
the subroutine number  
is 100.  
SBN  
100  
Set the the subroutine  
number. Here, the  
subroutine number is  
100.  
Subroutine  
(section 2)  
Processing  
RET  
SBN  
10  
Set the the subroutine  
number. Here, the  
subroutine number is  
10.  
Subroutine  
(section 3)  
Processing  
RET  
264  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
MCRO(099)  
Subroutine number  
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 sub-  
routine.  
Note (1) A510 through A514 (macro area inputs) and A515 through A519 (macro area outputs) can be used  
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.  
265  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Programming  
Appendix A  
Note (1) Index registers have been used to increase the usability of subroutines called with JSB(982). 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. 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  
Input condition  
N: Subroutine number  
S: First input parameter word  
D: First output parameter word  
N
S
D
Note JSB(982) will be executed even if the input condition is OFF.  
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.  
Address  
Word  
A000  
Corresponding subroutines  
Bits  
00 to 15  
00 to 15  
00 to 15  
SBN000 to SBN015  
SBN016 to SBN031  
SBN032 to SBN047  
A001  
A002  
.
.
.
.
.
.
.
.
.
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).  
Note If JSB(982) is within a program section interlocked by IL(002) and ILC(003), the subroutine will still be  
executed, but the interlock will apply to the program in the subroutine as well.  
266  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming  
Appendix A  
Application Examples  
Execution without Subroutine Input Condition Flags  
Without Macro Function  
With Macro Function  
0000.00  
0010.00  
0000.01  
P_On (Always ON)  
0010.01  
MCRO  
0049  
0010.00  
0000  
0010  
0000.02  
0015.01  
MCRO  
0010.01  
0015.00  
0049  
0002  
0015  
0002.00  
0015.00  
0002.01  
MCRO  
0049  
0005  
0012  
0002.02  
0012.01  
0015.01  
0012.00  
MCRO  
0049  
0010  
0015  
0005.00  
0012.00  
0005.01  
SBN 049  
0225.00  
0005.02  
0015.01  
0012.01  
0015.00  
0220.00  
0225.00  
0220.01  
0225.01  
0220.02  
0010.00  
0015.00  
0010.01  
0225.01  
0010.02  
0015.01  
RET  
267  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming  
Appendix A  
Execution with Subroutine Input Condition Flags  
Main Program  
a
b
c
Subroutine 0 is called and  
JSB  
0
D00000  
D01000  
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  
Results of logic  
for input condition  
Subroutine called  
Subroutine 0  
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.  
SBN  
0
A000.00  
W000.00  
Subroutine 0  
Input Condition Flag  
W000.00  
Acceleration  
@ACC  
Address  
D00000  
D00000  
D00000  
Data  
#0000  
#0000  
,IR0  
Acceleration/deceleration rate  
Target  
frequency  
Accessed  
Stopping  
W000.00  
@INI  
#0000  
#0003  
0000  
268  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
*
1
Input condition  
Input condition  
Instruction  
*2  
Instruction conditions  
Instruction conditions  
Flag  
Flags  
*1: Input instructions only.  
Operands  
(sources)  
Operands  
(destinations)  
*2: Not output for all instructions.  
Memory  
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 inter-  
mediate or output instruction as an input condition.  
Outputs the input condition.  
=
D00000  
#1215  
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.  
269  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
Instruction  
condition  
Description  
Setting  
instruction  
Canceling  
instruction  
Interlocked  
An interlock turns OFF part of the program. Special conditions, such as IL(002)  
turning OFF output bits, resetting timers, and holding counters, are in  
effect.  
ILC(003)  
Block program A program block from BPRG(096) to BEND(801) is executed.  
execution  
BPRG(096)  
BEND(801)  
Flags  
In this context, a flag is a bit that serves as an interface between instructions.  
Input flags  
• Differentiation Flags  
Differentiation result flags. The status of these flags Condition Flags include the Always ON/OFF Flags, as well as  
Output flags  
• Condition Flags  
are input automatically to the instruction for all dif-  
ferentiated up/down output instructions and the  
DIFU(013)/DIFD(014) instructions.  
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.  
• Carry (CY) Flag  
The Carry Flag is used as an unspecified operand  
in data shift instructions and addition/subtraction  
instructions.  
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.  
Example  
JMP  
3
MOV  
#0000  
D00000  
N (number)  
S (source)  
D (destination)  
Operand types  
Operand  
symbol  
Description  
Source  
Specifies the address of the data  
to be read or a constant.  
S
C
Source operand Source operand other than control  
data (C)  
Control data  
Compound data in a source oper-  
and that has different meanings  
depending bit status.  
Destination Specifies the address where data  
D
N
---  
---  
(Results)  
will be written.  
Number  
Specifies a particular number used  
in the instruction, such as a jump  
number or subroutine number.  
Note Operands are also called the first operand, second operand, and so on, starting from the top of the  
instruction.  
MOV  
#0000  
First operand  
D00000  
Second operand  
270  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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.  
Instruction type  
Input Logical start Connected directly to  
instructions (Load the left bus bar or is at  
Possible location  
Input condition  
Diagram  
Examples  
Not required.  
LD, LD >, and other  
symbol comparison  
instructions  
instructions) the beginning of an  
instruction block.  
Intermediate Between a logical start Required.  
AND, OR, AND >, and  
other symbol compari-  
son instructions)  
instructions  
and the output instruc-  
tion.  
Output instructions  
Connected directly to  
the right bus bar.  
Required.  
Most instructions  
including OUT and  
MOV(021).  
Not required.  
END(001), JME(005),  
ILC(003), etc.  
Note (1) There is another group of instructions that executes a series of mnemonic instructions based on a  
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)  
Word address  
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.  
0001. 03  
Bit number (03)  
Word address: 0001  
Bit: CIO 0001.03  
Word  
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00  
0000  
0001  
0002  
Word Addresses  
@@@@  
Word address  
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.  
271  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Programming  
Appendix A  
0010  
Word address  
DM Area addresses are given with “D” prefixes, as shown below for the address D00200.  
D00200  
Word address  
Specifying Operands  
Operand  
Description  
Notation  
Application  
examples  
Specifying bit  
addresses  
0001 02  
The word address and bit number are specified  
directly to specify a bit (input input bits).  
@@@@. @@  
0001.02  
Bit number (02)  
Bit number  
(00 to 15)  
Word address: 0001  
Word address  
The same addresses are used to access  
timer/counter Completion Flags and  
Present Values.  
Note  
Specifying  
word  
addresses  
MOV 0003  
D00200  
The word address is specified directly to  
specify the 16-bit word.  
0003  
Word address: 0003  
Word address: 00200  
@@@@  
D00200  
Word address  
272  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Programming  
Appendix A  
Operand  
Description  
Notation  
Application  
examples  
Specifying  
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.  
indirect DM  
addresses in  
Binary Mode  
@D@@@@@  
Contents  
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  
Contents  
0 1 0 0  
Binary: 256  
Specifies D00256.  
Add the @ symbol.  
MOV #0001  
*D00200  
*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.  
Contents  
0 1 0 0  
Specifies D0100  
*D@@@@@  
Add an asterisk (*).  
00000 to 9999  
Contents  
(BCD)  
D
Note With indirect address specifications in binary mode, the DM Area addresses are treated as consecutive  
memory addresses.  
273  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Programming  
Appendix A  
Operand  
Description  
Notation  
Application examples  
Specifying  
an indirect  
address  
Indirect  
address  
(No offset) fied.  
The bit or word with the memory  
address contained in IR@ will be speci-  
,IR0  
LD ,IR0  
Loads the bit with the memory address  
in IR0.  
using a reg-  
ister  
Specify ,IR@ to specify bits and words  
for instruction operands.  
,IR1  
MOV #0001 ,IR1  
Stores #0001 in the word with the  
memory address in IR1.  
Constant  
offset  
The bit or word with the memory  
address in IR@ + or – the constant is  
specified.  
+5,IR0  
LD +5 ,IR0  
Loads the bit with the memory address  
in IR0 + 5.  
Specify +/– constant ,IR@. Constant off- +31,IR1  
sets range from –2048 to +2047 (deci-  
mal). The offset is converted to binary  
data when the instruction is executed.  
MOV #0001 +31 ,IR1  
Stores #0001 in the word with the  
memory address in IR1 + 31  
Auto Incre- The contents of IR@ is incremented by ,IR0 ++  
LD ,IR0 ++  
ment  
+1 or +2 after referencing the value as  
an memory address.  
Increments the contents of IR0 by 2  
after the bit with the memory address  
in IR0 is loaded.  
+1: Specify ,IR@+  
+2: Specify ,IR@ + +  
,IR1 +  
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- The contents of IR@ is decremented by ,– –IR0  
LD ,– –IR0  
rement  
–1 or –2 after referencing the value as  
an memory address.  
After decrementing the contents of IR0  
by 2, the bit with the memory address  
in IR0 is loaded.  
–1: Specify ,–IR@  
–2: Specify ,– –IR@  
,–IR1  
MOV #0001 ,–IR1  
After decrementing the contents of IR1  
by 1, #0001 is stored in the word with  
the memory address in IR1.  
Data  
Operand  
Data form  
Symbol  
Range  
#0000 to #FFFF ---  
Application example  
16-bit con-  
stant  
All binary data or Unsigned binary  
a limited range of  
binary data  
#
Signed decimal  
–32768 to  
---  
+32767  
Unsigned deci-  
mal  
&
#
&0 to &65535  
---  
All BCD data or a BCD  
limited range of  
BCD data  
#0000 to #9999 ---  
32-bit con-  
stant  
All binary data or Unsigned binary  
a limited range of  
#
#00000000 to  
#FFFFFFFF  
---  
binary data  
Signed decimal  
–2147483648 to ---  
+2147483647  
Unsigned deci-  
mal  
&
#
&0 to  
&4294967295  
---  
All BCD data or a BCD  
limited range of  
BCD data  
#00000000 to  
#99999999  
---  
274  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Programming  
Appendix A  
Data  
Operand  
Data form  
Symbol  
Range  
Application example  
'ABCDE'  
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.  
---  
'A'  
'C'  
'E'  
'B'  
'D'  
NUL  
00 hex (NUL code) is stored in the  
rightmost byte of the last word if  
there is an odd number of charac-  
ters.  
41  
43  
45  
42  
44  
00  
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.  
'ABCD'  
'A'  
'C'  
'B'  
'D'  
NUL NUL  
41  
43  
00  
42  
44  
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  
275  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Programming  
Appendix A  
Data Formats  
The following table shows the data formats that the FQM1 can handle.  
Data type  
Data format  
15 14 13 12 11 10  
215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20  
Decimal  
4-digit  
hexadecimal  
Unsigned  
binary  
0 to  
65535  
0000 to FFFF  
9
8
7
6
5
4
3
2
1
0
Binary  
Decimal  
3276816384 81924096 2048 1024 512 256 128  
64  
32  
16  
8
4
2
1
Hex  
23 22 21 20 23 22 21 20 23 22 21 20 23 22 21 20  
Signed  
binary  
0 to  
–32768  
0 to  
8000 to 7FFF  
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  
+32767  
Binary  
Decimal  
Hex  
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 bit: 0: Positive, 1: Negative  
15 14 13 12 11 10  
BCD  
0 to 9999 0000 to 9999  
9
8
7
6
5
4
3
2
1
0
(binary  
coded dec-  
imal)  
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  
Binary  
Decimal  
Single-pre-  
cision  
---  
---  
31 30 29  
23 22 21 20 19 18 17  
3
2
1
0
floating-  
point deci-  
mal  
Sign of  
mantissa  
Exponent  
Mantissa  
Binary  
x 1.[Mantissa] x 2Exponent  
1: negative or 0: positive  
Value = (1)Sign  
Sign (bit 31)  
Mantissa  
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.  
Exponent  
The exponent is expressed in binary as 127 plus n in  
2n.  
Note This format conforms to IEEE754 standards for single-precision floating-  
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.  
276  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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
F
F
F
1111  
1111  
1111  
1111  
True number  
0
0
1
3
0000  
0000  
0001  
0011  
)  
F
F
E
C
1111  
1111  
1110  
1100  
0
0
0
1
0000  
0000  
0000  
0001  
+)  
Two's complement  
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.  
277  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
0000  
BCD  
0
0
1
2
3
4
5
6
7
8
9
0000  
0001  
0010  
0011  
0100  
0101  
0110  
0111  
1000  
1001  
0001  
0001  
0001  
0001  
0001  
0001  
0001  
1
0001  
0010  
0011  
0100  
0101  
0110  
0111  
1000  
1001  
1010  
1011  
1100  
1101  
1110  
1111  
10000  
2
3
4
5
6
7
8
9
10  
11  
12  
13  
14  
15  
16  
A
0000  
B
0001  
0010  
0011  
0100  
0101  
0110  
C
D
E
F
10  
Decimal  
Unsigned binary (4-digit hexadecimal)  
FFFF  
Signed binary (4-digit hexadecimal)  
+65,535  
+65,534  
Cannot be expressed.  
FFFE  
.
.
.
.
.
.
+32,769  
+32,768  
+32,767  
+32,766  
8001  
8000  
7FFF  
7FFE  
7FFF  
7FFE  
.
.
.
.
.
.
.
.
.
+2  
+1  
0
0002  
0002  
0001  
0000  
FFFF  
FFFE  
0001  
0000  
–1  
–2  
Cannot be expressed.  
.
.
.
.
.
.
–32,767  
–32,768  
8001  
8000  
278  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming  
Appendix A  
Instruction Variations  
The following variations are available for instructions to differentiate executing conditions.  
Variation  
Differentiation  
Symbol  
Description  
ON  
@
Instruction that differentiates when the input condition turns ON.  
Instruction that differentiates when the input condition turns OFF.  
OFF  
%
@
MOV  
Instruction (mnemonic)  
Differentiation variation  
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 compar-  
isons, 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).  
Non-differentiated input instruction  
Example  
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.  
Example 0001.02  
(@) Upwardly differ  
@MOV  
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.  
Upwardly differentiated input instruction  
0001.03  
Example  
ON execution condition created for one  
cycle only when CIO 0001.03 goes from  
OFF to ON.  
279  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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 condi-  
tion will turn ON the next cycle.  
Upwardly differentiated input instruction  
0001.03  
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  
Example  
(%) Downwardly dif-  
%SET  
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.  
Downwardly differentiated instruction  
0001.03  
Example  
Will turn ON when the CIO 0001.03  
switches from ON OFF and will turn  
OFF after one cycle.  
Note Unlike the upwardly differentiated instructions, downward differentiation variation (%) can be  
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 condi-  
tion will turn ON the next cycle.  
Downwardly differentiated input instruction  
0001.03  
Example  
OFF execution condition created for one  
cycle only when CIO 0001.03 goes from  
ON to OFF.  
280  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Example: Using Instruction A Execution Results  
Correct Use  
a
Mnemonic  
Instruction A  
Instruction Operand  
LD  
a
Instruction A  
AND  
Reflects instruction A  
execution results.  
Condition Flag  
Example: =  
=
Instruction B  
Instruction B  
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.  
Incorrect Use  
Preceding rung  
Instruction A  
Reflects the execution results of  
the preceding rung if instruction  
A is not executed.  
Condition Flag  
Example: =  
Instruction B  
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.  
Note Condition Flags are used by all instruction within a single program (task) but they are cleared when the  
task switches. Therefore execution results in the preceding task will not be reflected later tasks.  
281  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Instruction A  
Incorrect  
Use  
Reflects instruction A  
execution results.  
Condition Flag  
Example: =  
Instruction B  
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.  
Instruction A  
Reflects instruction A  
execution results.  
Condition Flag  
Example: =  
Correct  
Use  
C
Reflects instruction A  
execution results.  
Condition Flag  
Example: =  
D
C
D
Instruction B  
282  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
CMP  
0010  
D00100  
Incorrect  
Use  
Reflects CMP execution results.  
=
MOV  
(1)  
0200  
D00200  
Reflects MOV execution results.  
MOV  
=
(2)  
0300  
D00300  
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.  
CMP  
#0010  
Correct  
Use  
D00100  
A
B
=
=
A
MOV  
#0200  
D00200  
MOV  
#0300  
B
D00300  
283  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 in-  
struction) will be reflected in Condition Flags in the next cycle. You must therefore be aware of what Condi-  
tion 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.  
Previous rung  
Incorrect  
Use  
C
@ Instruction A  
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: =  
@ Instruction B  
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.  
Previous rung  
C
Correct  
DIFU  
Use  
D
D
Instruction A  
Reflects instruction A execution results.  
Condition Flag  
Example: =  
Instruction B  
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.  
284  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
to  
D00000  
to  
Trans-  
ferred.  
XFER  
W255  
D00005  
D00006  
to  
&20  
Number of words  
First source word  
First destination word  
---------  
Reserved  
by system  
W250  
D00019  
D00000  
285  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
Subroutine  
Instructions  
Instruction condition  
Status  
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)  
instructions  
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 Block program being  
BEND(801) instructions 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)  
section  
Step ladder Blockprogram  
section  
section  
Subroutine  
Not possible.  
OK  
Not possible.  
Not possible.  
OK  
Not possible.  
Not possible.  
Not possible.  
OK  
Not possible.  
Not possible.  
Not possible.  
Not possible.  
IL(002) - ILC(003)  
Step ladder section  
Not possible.  
Block program section OK  
OK  
Note Instructions that specify program areas cannot be used between two different tasks.  
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.  
Program  
Subroutine  
Program  
Subroutine  
286  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Programming  
Appendix A  
Instructions Not Allowed in Subroutines  
The following instructions cannot be placed in a subroutine.  
Function  
Mnemonic  
STEP(008)  
SNXT(009)  
Instruction  
Ladder Step Control  
Define step ladder section  
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- END(001)  
trol  
END  
IL(002) and ILC(003)  
INTERLOCK and INTERLOCK CLEAR  
JUMP and JUMP END  
JMP(004) and JME(005)  
SBN(092) and RET(093)  
Subroutines  
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  
Note A step ladder program section can be used in an interlock section (between IL(002) and ILC(003)). The  
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.  
Classification by  
Function  
Mnemonic  
Instruction  
Sequence Control  
IL(002) and ILC(003)  
INTERLOCK and INTERLOCK CLEAR  
END  
END(001)  
DIFU(013)  
DIFD(014)  
KEEP(011)  
OUT  
Sequence Output  
DIFFERENTIATE UP  
DIFFERENTIATE DOWN  
KEEP  
OUTPUT  
OUT NOT  
TIM  
OUTPUT NOT  
Timer/Counter  
TIMER  
TIMH  
HIGH-SPEED TIMER  
ONE-MS TIMER  
TMHH(540)  
CNT  
COUNTER  
CNTR  
REVERSIBLE COUNTER  
SUBROUTINE ENTRY and SUBROUTINE RETURN  
SHIFT  
Subroutines  
Data Shift  
SBN(092) and RET(093)  
SFT(010)  
Ladder Step Control STEP(008) and SNXT(009)  
Block Program BPRG(096)  
STEP DEFINE and STEP START  
BLOCK PROGRAM BEGIN  
Note (1) Block programs can be used in a step ladder program section.  
(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.  
287  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Power ON  
Checks Module  
connection status.  
Checks hardware and  
user program memory  
NO  
Check OK?  
YES  
Sets error flags  
Flashing (non-  
fatal error)  
Executes user pro-  
gram (i.e., executes  
cyclic task).  
ERR indicator lit or  
flashing?  
Lit (fatal error)  
NO  
End of program?  
YES  
Resets watchdog timer  
and waits until the set  
cycle time has elapsed  
Calculates cycle time  
Performs I/O refreshing  
Sync bus refreshing  
Services Peripheral  
Devices  
288  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
Note (1) The cycle time is not affected by the number of tasks that are used in the user program.  
(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  
Note (1) The cycle time is not affected by the number of tasks that are used in the user program.  
(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 40 µs + total instruction execution time  
the instructions to execute the program.  
3. Cycle Time Calculation  
Details  
Processing time and fluctuation cause  
Waits for the specified cycle time to elapse when a con- Cycle time calculation: 8 µs  
stant (minimum) cycle time has been set in the System  
Setup. Calculates the cycle time.  
Waiting time for a constant cycle time =  
Set cycle time Actual cycle time  
4. I/O Refreshing  
Details  
The built-in I/O on the Coordinator Module are refreshed. 5 µs  
Coordinator Module I/O refresh time  
Processing time and fluctuation cause  
289  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming  
Appendix A  
5. Sync Bus Refreshing  
Details  
Processing time and fluctuation cause  
Async Mode: 0 µs  
Sync Mode: 170 µs min. (depends on number of Motion  
Control Modules)  
The sync bus between the Coordinator Module and  
Motion Control Modules is refreshed.  
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 overhead: 76 µs 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  
Event servicing with Motion Con-  
trol Modules  
Note Does not include I/O  
refreshing.  
set or not. If no Modules are connected, the servicing time is 0 ms.  
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  
RS-422A port servicing  
Same as for 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 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.  
2. Program Execution  
29 µs  
Details  
Processing time and fluctuation cause  
Executes the user program. This is the total time taken for 40 µs + total instruction execution time  
the instructions to execute the program.  
3. Cycle Time Calculation  
Details  
Processing time and fluctuation cause  
Waits for the specified cycle time to elapse when a con- Cycle time calculation: 8 µs  
stant (minimum) cycle time has been set in the System  
Setup. Calculates the cycle time.  
Waiting time for a constant cycle time =  
Set cycle time Actual cycle time (1 + 2 + 4 + 5)  
290  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
MMP21: 48 µs  
MMA21: 135 µs  
Motion Control Module I/O refresh time  
5. Cyclic Refreshing  
Details  
Processing time and fluctuation cause  
Processing time and fluctuation cause  
Cyclic refresh with the Coordinator Module  
21 µs  
6. Sync Bus Refreshing  
Details  
The sync bus between the Coordinator Module and  
Motion Control Modules is refreshed.  
60 µs  
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  
40 µs per Module  
FQM1-MMP21/MMA21  
Cyclic Refresh Time in Motion Control Modules  
Model  
I/O refresh time  
FQM1-MMP21/MMA21  
21 µs  
291  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Motion Control Modules  
User program  
Condition  
FQM1-MMP21  
2 Modules  
5 Ksteps  
LD: 2.5 Ksteps  
OUT: 2.5 Ksteps  
Peripheral port connection  
None  
Constant cycle time setting None  
RS-232C port connection  
RS-422A port connection  
Other peripheral servicing  
None  
None  
None  
Calculation Example for FQM1-MMP21  
Process  
Calculation  
Processing time  
Without CX-Programmer  
connected to peripheral port  
1. Overseeing  
2. Program execution  
---  
40 µs + 0.1 µs × 500 + 0.35 µs × 500  
0.029 ms  
0.265 ms  
3. Cycle time calculation (No cycle time set)  
4. I/O refresh  
0.008 ms  
0.048 ms  
5. Cyclic refresh  
0.021 ms  
6. Sync bus Refresh  
(In Async Mode: 0 ms)  
0.04 ms  
7. Peripheral servicing  
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  
FQM1-CM001  
FQM1-MMP21/MMA21  
Online editing cycle time extension  
65 ms max., 14 ms typical  
(for a program size of 5 Ksteps)  
When editing online, the cycle time will be extended by the above time.  
Note When there is only one task, online editing is processed entirely in the cycle time following the cycle in  
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.  
292  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
I/O refresh  
Input  
Input ON delay  
(Read by  
Module)  
Cycle time  
Cycle time  
Instruction  
execution  
Instruction  
execution  
Output ON delay  
Output  
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.  
I/O refresh  
Input  
Input ON delay  
(Read by  
Module)  
Cycle time  
Cycle time  
Instruction  
execution  
Instruction  
execution  
Instruction  
execution  
Output ON delay  
Output  
Maximum I/O response time  
Calculation Example  
Conditions: Input 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  
293  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
I/O refresh  
Input contact  
Input bit  
Overseeing processing  
Input ON delay  
Cycle time  
Instruction execution  
Instruction execution  
Internal processing  
Cyclic output refresh  
Output ON delay  
Output contact  
• Cyclic Output Refresh Time  
Minimum I/O response time = 0.03 + 0.194 + 0.1 = 0.324 (ms)  
Note Input interrupts and the IORF(097) instruction can be used to obtain a faster response (100 µs typical).  
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.  
Input  
contact  
I/O refresh  
Overseeing processing  
Input ON delay  
Input bit  
Cycle time  
Instruction execution  
Instruction execution  
Instruction execution  
Internal processing  
Cyclic output refresh  
Output ON delay  
Output contact  
• Cyclic Output Refresh Time  
Maximum I/O response time = 0.03 + 0.388 + 0.1 = 0.518 (ms)  
294  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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:  
Position of OUT:  
0.1 ms  
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.  
Analog input  
conversion  
Analog output  
conversion  
Pulse inputs  
read  
I/O refresh  
Overseeing Processing  
Internal  
processing  
Instruction execution  
Instruction execution  
Pulse/analog  
input  
Pulse/analog  
output  
Analog  
output  
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.)  
Note (1) Input interrupt tasks can be executed during execution of the user program, I/O refresh, peripheral  
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  
295  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Programming  
Appendix A  
Input  
Input ON delay time  
Accepting next  
interrupt signal  
enabled  
Interrupt signal  
accepted  
Software interrupt response time  
Interrupt task  
executed  
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.  
Note Scheduled interrupt tasks can be executed during execution of the user program, I/O refresh, peripheral  
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.  
Scheduled interrupt time  
Internal timer  
Software interrupt response time  
Scheduled interrupt  
task  
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  
296  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.  
Item  
Description  
Time  
1
Interrupt input ON delay This is the additional time required from when the interrupt input contact turns 30 µs  
ON until the interrupt is generated. This time applies only to input interrupts.  
Interrupt condition established  
2
Waiting for interrupt pro- Time may be required to wait for interrupt prohibition to be released. See  
See below.  
hibition to be released  
below for details.  
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.  
61 µs  
• 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 hard-  
ware. 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:  
Interrupt prohibition release time: 0 µs  
Switchover time:  
10 µs  
+
72 µs  
Total: Minimum response time:  
82 µs  
Maximum Response Time  
Interrupt input ON delay:  
Interrupt prohibition release time: 10 µs  
Switchover time:  
30 µs  
+
72 µs  
Total: Minimum response time:  
112 µs  
Note (1) To return to the process being performed before the interrupt occurred, the execution time of the  
interrupt task and 61 µs are required in addition to the above response time.  
297  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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.)  
298  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
I/O Memory  
Instruction  
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.  
CX-Programmer  
Parameter Area  
299  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
External  
Bit  
Word  
Access  
Change Status Status Forc-  
I/O allo- access access  
cation  
from  
at  
at  
ing  
bit  
Read Write  
CX-Pro- power  
mode  
change sta-  
tus  
gram-  
mer  
ON  
CIO I/O Area  
Area  
24 bits  
(2  
words)  
CIO 0000 Shared OK  
OK  
OK  
OK  
OK  
OK  
Cleared Cleared OK  
to  
by all  
Coordi-  
nator  
CIO 0001 tasks  
Module  
Serial PLC  
Link Area  
320 bits CIO 0080  
---  
---  
---  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
(20  
to  
words)  
CIO 0099  
Cyclic  
Area  
600 bits CIO 0100  
Refresh Bit (40  
to  
words)  
CIO 0139  
Synchro-  
nous Data  
Link Bit  
Area  
320 bits CIO 0200  
(20  
words)  
to  
CIO 0219  
Internal I/O 2,784  
CIO 0002  
to  
---  
OK  
OK  
OK  
OK  
OK  
OK  
Areas  
bits  
(174  
words)  
CIO 0079  
CIO 0140  
to  
CIO 0199  
CIO 0220  
to  
CIO 0255  
Work Area  
4,096  
W000 to  
---  
---  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
Cleared Cleared OK  
bits (256 W255  
words)  
Auxiliary Area  
10,400  
bits (650 A649  
words)  
A000 to  
Cleared Main-  
tained  
No  
TR Area  
DM Area  
16 bits  
TR0 to  
TR15  
---  
---  
OK  
No  
---  
OK  
OK  
OK  
OK  
No  
Cleared Cleared No  
30,000  
words  
D00000  
to  
D29999  
OK  
OK  
Cleared Main-  
tained  
No  
No  
2,768  
words  
D30000  
to  
D32767  
---  
No  
OK  
OK  
OK  
OK  
Main-  
tained  
(See  
Main-  
tained  
note.)  
Timer Area  
256  
T0000 to  
T0255  
---  
---  
OK  
OK  
---  
---  
OK  
OK  
OK  
OK  
OK  
OK  
Cleared Cleared OK  
words  
Counter Area  
256  
words  
C0000 to  
C0255  
Cleared Main-  
tained  
OK  
Note When data is written from the CX-Programmer or a host controller, these DM Area words are backed up  
in flash memory. The contents of flash memory is read out each time the power is turned ON.  
300  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
External  
Bit  
Word  
Access  
Change Status Status Forc-  
I/O allo- access access  
cation  
from  
at  
at  
ing  
bit  
Read Write  
CX-Pro- power  
mode  
change sta-  
tus  
gram-  
mer  
ON  
CIO I/O Area  
Area  
20 bits  
(2  
words)  
CIO 0000 Shared OK  
OK  
OK  
OK  
OK  
OK  
Cleared Cleared OK  
to  
by all  
Motion  
Control  
Module  
CIO 0001 tasks  
Cyclic  
Area  
160 bits CIO 0100  
---  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
Refresh Bit (10  
to  
words)  
CIO 0109  
Synchro-  
nous Data  
Link Bit  
Area  
320 bits CIO 0200  
---  
(20  
words)  
to  
CIO 0219  
Internal I/O 3,584  
CIO 0002  
to  
---  
OK  
OK  
OK  
OK  
OK  
OK  
Areas  
bits  
(224  
words)  
CIO 0099  
CIO 0110  
to  
CIO 0199  
CIO 0220  
to  
CIO 0255  
Work Area  
4,096  
W000 to  
---  
---  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
OK  
Cleared Cleared OK  
bits (256 W255  
words)  
Auxiliary Area  
10,400  
bits (650 A649  
words)  
A000 to  
Cleared Main-  
tained  
No  
TR Area  
DM Area  
16 bits  
TR0 to  
TR15  
---  
---  
OK  
No  
---  
OK  
OK  
OK  
OK  
No  
Cleared Cleared No  
30,000  
words  
D00000  
to  
D29999  
OK  
OK  
Cleared Main-  
tained  
No  
No  
2,768  
words  
D30000  
to  
D32767  
---  
No  
OK  
OK  
OK  
OK  
Main-  
tained  
(See  
Main-  
tained  
note.)  
Timer Area  
256  
T0000 to  
T0255  
---  
---  
OK  
OK  
---  
---  
OK  
OK  
OK  
OK  
OK  
OK  
Cleared Cleared OK  
words  
Counter Area  
256  
words  
C0000 to  
C0255  
Cleared Main-  
tained  
OK  
Note These DM Area words are backed up by a super capacitor. If the Memory Not Held Flag (A404.14) is  
ON, these words are cleared to all zeros.  
301  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
0
15  
CIO 0000  
I/O Bit Area  
CIO 0001  
(CIO 0002)  
Work Area  
(CIO 0080)  
(CIO 0099)  
Serial PLC Link Bit Area  
CIO 0100  
Cyclic Refresh Bit Area  
Work Area  
(CIO 0139)  
CIO 0140  
CIO 0199  
CIO 0200  
Synchronous Data  
Link Bit Area  
CIO 0219  
CIO 0220  
Work Area  
CIO 0255  
Note The above figure depicts the CIO Area of the Coordinator Module. For the Motion Control Module, the  
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.)  
302  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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.  
Inputs  
Outputs  
Ladder  
Ladder  
Mnemonic  
LD 0000.01  
Mnemonic  
0001.01  
OUT 0001.01  
0000.01  
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.  
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.  
Coordinator Module  
Coordinator Module  
Correspond  
Build-in  
input  
CIO 0001.01  
Correspond  
CIO 0000.01  
SW01  
Actuator  
Refreshed once each cycle  
Built-in  
output  
Refreshed once each cycle  
303  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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  
Inputs  
When IORF(097) is executed for CIO  
IORF  
0000 and CIO 0001, the status of  
0000  
input terminals are input to input bits  
0001  
and the status of output bits is output  
to output terminals.  
Built-in  
inpuits  
Module  
SW0  
SW1  
The status of  
CIO 0000 is input  
from the external  
devices.  
SW16  
SW17  
SW15  
SW31  
Status read just prior to execution  
of IORF(097).  
Outputs  
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  
0000  
0001  
Module  
CIO 0001  
Built-in  
Correspond  
outputs  
Actuators  
CIO 0101  
The status of  
CIO 0001 is output  
to the external  
devices.  
IORF(097)  
executed  
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.  
304  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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:  
Instruction Operand  
TR0 0000.02 0002.03  
LD  
OR  
0000.00  
0000.01  
TR 0  
0000.00  
0000.01  
OUT  
AND  
OUT  
LD  
0000.04  
0002.05  
0000.02  
0002.03  
TR 0  
AND  
OUT  
0000.04  
0002.05  
• When there is no LD instruction on the lower rung after a branch point:  
Instruction Operand  
0000.01 0002.02  
0002.03  
0000.00  
TR0  
LD  
0000.00  
TR 0  
OUT  
AND  
OUT  
LD  
0000.01  
0002.02  
TR 0  
OUT  
0002.03  
Note In the following cases, there are either no LD instructions after the branch points, or any LD instructions  
are on the bottom rung. TR bits are not required in these types of branches.  
0000.00  
Instruction  
Operand  
0002.01  
0002.02  
LD  
OUT  
OUT  
0000.00  
0002.01  
0002.02  
0000.00  
0002.01  
Instruction  
Operand  
LD  
0000.00  
0002.01  
0000.02  
0002.03  
OUT  
AND  
OUT  
0000.02 0002.03  
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.  
Note It is not recommended to use the same timer number in two timer instructions because the timers will not  
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.)  
305  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
I/O Memory  
Appendix B  
The following table shows when timer PVs and Completion Flags will be reset.  
Instruction  
Mode change  
between  
PROGRAM and  
RUN/MONITOR  
FQM1 startup  
Operation in jumps  
(JMP-JME) or tasks on  
standby  
Operation in interlocks  
(IL-ILC)  
TIMER: TIM  
PV 0  
Flag OFF  
PV 0  
Flag OFF  
PVs refreshed in operat- PV SV  
ing timers (Reset to SV.)  
Flag OFF  
HIGH-SPEED TIMER:  
TIMH(015)  
ONE-MS TIMER:  
TMHH(540)  
Note The present value of TIM, TIMH(015), and TMHH(540) timers programmed will be updated even when  
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.  
Note It is not recommended to use the same counter number in two counter instructions because the  
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  
between  
PROGRAM and  
RUN/MONITOR  
FQM1  
startup  
At reset input  
Operation in  
interlocks (IL-  
ILC)  
COUNTER: CNT  
PV 0000  
Maintained  
Reset  
Reset  
Maintained  
Flag OFF  
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.  
306  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
I/O Memory  
Appendix B  
Data Memory (DM) Area  
Word addresses  
D00000  
D30000  
Held words  
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.  
Example: @D00100  
D00256  
0100  
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.  
Example: *D00100  
D00100  
0100  
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.  
Note The CX-Programmer treats condition flags as global symbols beginning with P_.  
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.  
307  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
Name  
CX-Programmer  
symbol  
Function  
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  
P_LT  
Turned ON when the two operands of a Comparison Instruction are equal or the  
result of a calculation is 0.  
Less Than Flag  
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  
Overflow Flag  
P_N  
Turned ON when the most significant bit (sign bit) of a result is ON.  
P_OF  
Turned ON when the result of calculation overflows the capacity of the result  
word(s).  
Underflow Flag  
P_UF  
P_GE  
Turned ON when the result of calculation underflows the capacity of the result  
word(s).  
Greater Than or  
Equals Flag  
Turned ON when the first operand of a Comparison Instruction is greater than or  
equal to the second.  
Not Equal Flag  
P_NE  
P_LE  
Turned ON when the two operands of a Comparison Instruction are not equal.  
Less Than or  
Equals Flag  
Turned ON when the first operand of a Comparison Instruction is less than or  
equal to the second.  
Always ON Flag  
Always OFF Flag  
P_On  
P_Off  
Always ON. (Always 1.)  
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.  
Instruction A  
Instruction  
Operand  
LD  
Instruction A  
AND  
The result from instruction A is  
reflected in the Equals Flag.  
=
Condition Flag  
Example: =  
Instruction B  
Instruction B  
Note (1) Since the Condition Flags are shared by all of the instructions, program operation can be changed  
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.  
308  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                                             
I/O Memory  
Appendix B  
Clock Pulses  
The Clock Pulses are flags that are turned ON and OFF at regular intervals by the system.  
Name  
Label  
CX-Programmer  
Symbol  
Operation  
0.02 s Clock Pulse 0.02s  
P_0_02s  
ON for 0.01 s  
OFF for 0.01 s  
0.01 s  
0.01 s  
0.05 s  
0.1 s Clock Pulse  
0.2 s Clock Pulse  
1 s Clock Pulse  
0.1s  
0.2s  
1s  
P_0_1s  
P_0_2s  
P_1s  
ON for 0.05 s  
OFF for 0.05 s  
0.05 s  
ON for 0.1 s  
OFF for 0.1 s  
0.1 s  
0.1 s  
ON for 0.5 s  
OFF for 0.5 s  
0.5 s  
0.5 s  
1 min Clock Pulse 1min  
P_1min  
ON for 30 s  
OFF for 30 s  
30 s  
30 s  
The Clock Pulses are specified with labels (or symbols) rather than addresses.  
Note The CX-Programmer treats Clock Pulses as global symbols beginning with P_.  
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.  
0001.00  
1 s  
Instruction  
LD  
Operand  
1 s  
0.5 s  
OUT  
0001.00  
φ
ψ
0001.00  
φ0.5 s  
ψ
309  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
310  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 Mod-  
ule.  
Sync Mode  
• When you want the FQM1 to go into RUN mode or MONITOR mode and Startup Mode  
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- Peripheral Port Settings  
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- Host Link Port Settings  
eral bus) communications speed auto-detection and will not be used with the  
default Host Link communications settings, such as 9,600 bps.  
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 Cycle Time  
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  
Word Bits  
+304 00  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Writing enabled  
1: Writing disabled  
Default: Writing enabled  
Sets and releases write-protection for ---  
the user memory and System Setup.  
When disabling: At  
power ON or at  
start of operation  
When enabling:  
When changed  
Prohibit System Interrupt of the Sync Mode  
Address  
Word Bits  
+304 08  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Not 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  
311  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Sync Cycle Time  
Address  
Word Bits  
+319  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 14 0000 hex: Default (Coordina- Sets the cycle time for the Coordinator A404.06 (Sync Cycle  
At power ON  
tor Module cycle time)  
0001 to 0064 hex: 0.1 to 10.0  
ms (unit: 0.1 ms)  
Module when high-speed synced oper- Time Too Long Flag)  
ation is to be used only between Motion  
Control Modules.  
Default: Coordinator Module  
cycle time  
Sync Mode  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+319  
Bits  
15  
0: Sync 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.  
At power ON  
Async Mode is convenient for debug-  
ging Motion Control Modules even if  
Sync Mode is to be used for actual  
operation.  
Startup Mode Setting (CX-Programmer: Startup Tab Page)  
Startup Mode  
Address  
Word Bits  
+81  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
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  
00: Setting disabled  
01: Setting enabled  
Default: Setting disabled  
Cycle Time Settings (CX-Programmer: Timer/Peripheral Service)  
Cycle Time  
Address  
Word Bits  
+307  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 15 0001 to 03E8 hex: 0.1 to  
100.0 ms (unit: 0.1 ms)  
Set to 0001 to 03E8 hex to specify a  
constant (minimum) cycle time. If the  
cycle time is less than this setting, it will Flag)  
be extended until this time passes.  
Leave this setting at 0000 for a variable  
cycle time.  
A404.05 (Constant  
Cycle Time Exceeded  
At start of opera-  
tion (cannot be  
changed during  
operation)  
Default: 0000 hex (variable  
cycle time)  
Watch Cycle Time  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+308  
Bits  
00 to 15 0001 to 0064 hex: 1 to 100  
ms (unit: 0.1 ms)  
Change this setting only when you want A208 to A209 (Present At start of opera-  
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.  
Cycle Time)  
tion (cannot be  
changed during  
operation)  
Default: 0000 hex (50 ms)  
312  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
Word Bits  
+144  
Settings  
Function  
Related flags and When setting is  
words  
read  
00 to 07 Setting  
Data  
Start bits Stop bits Parity  
Sets the communi- A412.15 (Periph-  
At next cycle (Also  
length  
cations conditions eral Port Settings can be changed  
for the peripheral Changing Flag)  
port.  
with STUP (237).)  
00 hex:  
01 hex:  
02 hex:  
04 hex:  
05 hex:  
06 hex:  
08 hex:  
09 hex:  
0A hex:  
0C hex:  
0D hex:  
0E hex:  
7
7
7
7
7
7
8
8
8
8
8
8
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
1
1
1
2
2
2
1
1
1
Even  
Odd  
None  
Even  
Odd  
None  
Even  
Odd  
None  
Even  
Odd  
None  
Default: 00  
Peripheral Port Settings for Host Link  
Standard/Custom Setting  
Address  
Word Bits  
+144 15  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Standard  
1: Custom  
Default: 0  
The standard settings are for 1 start bit, A412.15 (Peripheral  
7-bit data, even parity, 2 stop bits, and Port Settings Changing can be changed  
At next cycle (Also  
9,600 baud.  
Flag)  
with STUP (237).)  
Serial Communications Mode  
Address  
Word Bits  
+144  
Settings  
Function  
This setting determines whether the  
Related flags and  
When setting is  
read  
words  
08 to 11 00 hex: Host Link  
Default: 00 hex  
A412.15 (Peripheral  
At next cycle (Also  
peripheral port will operate in Host Link Port Settings Changing can be changed  
mode or another serial communications Flag)  
mode. Set 00 for Host Link Mode.  
with STUP (237).)  
Baud Rate  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+145  
Bits  
00 to 07 00 hex: 9,600  
This setting is valid when the peripheral A412.15 (Peripheral  
port is set for the Host Link Serial Com- Port Settings Changing can be changed  
munications Mode. Set the Standard/  
Custom setting to 1 to enable this set-  
ting.  
At next cycle (Also  
01 hex: 300  
02 hex: 600  
Flag)  
with STUP (237).)  
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  
313  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Host Link Unit Number  
Address  
Word Bits  
+147  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 to 1F hex: Unit number 0 This setting determines the Coordinator A412.15 (Peripheral  
At next cycle (Also  
to 31  
Module's unit number when it is con-  
nected in a 1-to-N (N=2 to 32) Host  
Link.  
Port Settings Changing can be changed  
Flag)  
with STUP (237).)  
Default: 00 hex  
Peripheral Port Settings for NT Link  
Serial Communications Mode  
Address  
Word Bits  
+144  
Settings  
Function  
Related flags and  
When setting is  
read  
words  
08 to 11 02 hex: NT Link  
Default: 0 hex  
This setting determines whether the  
A412.15 (Peripheral  
At next cycle (Also  
peripheral port will operate in NT Link Port Settings Changing can be changed  
mode or another serial communications Flag)  
mode. Set 02 for NT Link Mode.  
with STUP (237).)  
Note Communications will not be pos-  
sible with PTs set for 1:1 NT Links.  
Baud Rate  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+145  
Bits  
00 to 07 08 hex: Standard NT Link  
Default: 00 hex  
Only the standard setting of 38,400 can A412.15 (Peripheral  
At next cycle (Also  
be used for the NT Link Serial Commu- Port Settings Changing can be changed  
nications Mode.  
Flag)  
with STUP (237).)  
Maximum Unit Number for NT Link (NT Link Max.)  
Address  
Word Bits  
+150 00 to 03 0 to 7 hex  
Default: 0 hex  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
This setting determines the highest unit A412.15 (Peripheral  
number of PT that can be connected to Port Settings Changing can be changed  
At next cycle (Also  
the FQM1.  
Flag)  
with STUP (237).)  
Peripheral Port Settings for Peripheral Bus (ToolBus)  
Standard/Customer Setting  
Address  
Word Bits  
+144 15  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Standard  
1: Custom  
Default: 0  
The standard setting is for 9,600 baud. A412.15 (Peripheral  
At next cycle (Also  
Port Settings Changing can be changed  
Flag)  
with STUP (237).)  
Serial Communications Mode  
Address  
Word Bits  
+144  
Settings  
Function  
Related flags and  
When setting is  
read  
words  
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.  
A412.15 (Peripheral  
At next cycle (Also  
Port Settings Changing can be changed  
Flag)  
with STUP (237).)  
Peripheral Bus Mode is used to com-  
municate with the CX-Programmer.  
314  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Baud Rate  
Address  
Word Bits  
+145  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 hex: 9,600  
06 hex: 9,600  
Only settings 00 hex and 06 to 09 hex A412.15 (Peripheral  
can be used in peripheral bus mode.  
At next cycle (Also  
Port Settings Changing can be changed  
Flag)  
with STUP (237).)  
07 hex: 19,200  
08 hex: 38,400  
09 hex: 57,600  
Unit: bit/s  
Default: 00 hex  
RS-232C Port Settings (CX-Programmer: Host Port Tab Page)  
RS-232C Port Settings for Host Link  
Serial Communications Mode  
Address  
Word Bits  
+160  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
08 to 11 00 hex: Host Link  
05 hex: Host Link  
This setting determines whether the  
RS-232C port will operate in Host Link Settings Changing Flag) can be changed  
mode or another serial communications  
mode. Specify either 00 or 05 for Host  
Link Mode.  
A410.15 (RS-232C Port At next cycle (Also  
with STUP (237).)  
Default: 00 hex  
Format  
Address  
Settings  
0: Default format  
1: Custom  
Default: 00 hex  
Function  
Related flags and  
words  
When setting is  
read  
Word  
Bits  
+160  
15  
03  
02  
The standard settings are for 1 start bit, A410.15 (RS-232C Port At next cycle (Also  
7-bit data, even parity, 2 stop bits, and Settings Changing Flag) can be changed  
9,600 baud.  
with STUP (237).)  
0: 7-bit  
1: 8-bit  
Default: 0  
Sets the data length.  
0: 2 bits  
1: 1 bit  
Default: 0  
Sets the number of stop bits.  
Sets the parity.  
00 and 00: Even  
01  
01: Odd  
10: None  
Default: 00 hex  
Baud Rate  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+161  
Bits  
00 to 07 00 hex: 9,600  
01 hex: 300  
Sets the Host Link baud rate. Set the  
Standard/Custom setting to 1 to enable Settings Changing Flag) can be changed  
A410.15 (RS-232C Port At next cycle (Also  
this setting.  
with STUP (237).)  
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  
315  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Host Link Unit Number  
Address  
Word Bits  
+163  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 to 1F hex: 0 to 31  
Default: 00 hex  
This setting determines the Coordinator A410.15 (RS-232C Port At next cycle (Also  
Module's unit number when it is con-  
nected in a 1-to-N (N=2 to 32) Host  
Link.  
Settings Changing Flag) can be changed  
with STUP (237).)  
RS-232C Port Settings for NT Link  
Serial Communications Mode  
Address  
Word Bits  
+160  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
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.  
A410.15 (RS-232C Port At next cycle (Also  
Settings Changing Flag) can be changed  
with STUP (237).)  
Note Communications will not be pos-  
sible with PTs set for 1:1 NT Links.  
Baud Rate  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+161  
Bits  
00 to 07 08 hex: Standard setting  
Default: 00 hex  
Only the standard setting of 38,400 can A410.15 (RS-232C Port At next cycle (Also  
be used for the NT Link Serial Commu- Settings Changing Flag) can be changed  
nications Mode.  
with STUP (237).)  
Maximum Unit Number for NT Link (NT Link Max.)  
Address  
Word Bits  
+166 00 to 03 0 to 7 hex  
Default: 00 hex  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
This setting determines the highest unit A410.15 (RS-232C Port At next cycle (Also  
number of PT that can be connected to Settings Changing Flag) can be changed  
the FQM1.  
with STUP (237).)  
RS-232C Port Settings for Peripheral Bus (ToolBus)  
Standard/Custom Setting  
Address  
Word Bits  
+160 15  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Standard  
1: Custom  
Default: 0  
The standard setting is for 9,600 baud. A410.15 (RS-232C Port At next cycle (Also  
Settings Changing Flag) can be changed  
with STUP (237).)  
Serial Communications Mode  
Address  
Word Bits  
+160  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
08 to 11 04 hex: Peripheral bus  
Default: 0 hex  
This setting determines whether the  
RS-232C port will operate in Peripheral Settings Changing Flag) can be changed  
Bus Mode or another serial communi-  
cations mode. Set 04 for Peripheral Bus  
Mode.  
A410.15 (RS-232C Port At next cycle (Also  
with STUP (237).)  
Peripheral Bus Mode is used to com-  
municate with the CX-Programmer.  
316  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Baud Rate  
Address  
Word Bits  
+161  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 hex: 9,600  
06 hex: 9,600  
Only settings 00 hex and 06 to 09 hex A410.15 (RS-232C Port At next cycle (Also  
can be used in peripheral bus mode.  
Settings Changing Flag) can be changed  
with STUP (237).)  
07 hex: 19,200  
08 hex: 38,400  
09 hex: 57,600  
Unit: bit/s  
Default: 00 hex  
RS-232 Port Settings for No-protocol Communications (RS-232C)  
Serial Communications Mode  
Address  
Word Bits  
+160  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
08 to 11 03 hex: No-protocol  
Default: 00 hex  
This setting determines whether the  
RS-232C port will operate in No-proto- Settings Changing Flag) can be changed  
col mode or another serial communica-  
tions mode. Set 03 for No-protocol  
Mode.  
A410.15 (RS-232C Port At next cycle (Also  
with STUP (237).)  
Data Format  
Address  
Settings  
0: Default format  
1: Custom  
Default: 00 hex  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+160  
Bits  
15  
03  
02  
The standard settings are for 1 start bit, A410.15 (RS-232C Port At next cycle (Also  
7-bit data, even parity, 2 stop bits, and Settings Changing Flag) can be changed  
9,600 baud.  
with STUP (237).)  
0: 7-bit  
1: 8-bit  
Default: 0  
Sets the data length.  
0: 2 bits  
1: 1 bit  
Default: 0  
Sets the number of stop bits.  
Sets the parity.  
00 and 00: Even  
01  
01: Odd  
10: None  
Default: 00 hex  
Baud Rate  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+161  
Bits  
00 to 07 00 hex: 9,600  
01 hex: 300  
This setting is valid when the RS-232C A410.15 (RS-232C Port At next cycle (Also  
port is set for the No-protocol Serial  
Communications Mode. Set the Data  
Format setting to 1 to enable this set-  
ting.  
Settings Changing Flag) can be changed  
with STUP (237).)  
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  
Send Delay  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+162  
Bits  
00 to 15 Send delay time,  
When TXD(236) is executed, data will A410.15 (RS-232C Port At next cycle (Also  
be sent from the RS-232C port after the Settings Changing Flag) can be changed  
delay time set here.  
0 to 99,990 ms  
(0000 to 270F hex,  
unit: 10 ms)  
with STUP (237).)  
Default: 0000 hex  
317  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Start Code and End Code  
Address  
Word Bits  
+164  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 to FF hex  
Default: 00 hex  
The frame format for Specifies the end  
A410.15 (RS-232C Port At next cycle (Also  
no-protocol commu- code. This setting is Settings Changing Flag) can be changed  
nications data (mes- valid when bits 08 to  
with STUP (237).)  
sages) can be  
specified.  
09 of +165 are set to  
01.  
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  
0: Don’t add start code  
1: Add start code  
Default: 0  
Specifies whether  
Specifies whether to  
the frame format for add a start code.  
no-protocol commu-  
nications is speci-  
fied.  
08 and 00: Don’t add end code  
09  
Specifies whether to  
add an end code.  
and use number of  
received bytes setting  
01: Add end code  
11: Add CR+LF  
Default: 00  
Number of Received Bytes  
Address  
Word Bits  
+165  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
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.  
A410.15 (RS-232C Port At next cycle (Also  
Settings Changing Flag) can be changed  
with STUP (237).)  
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.  
RS-232C Port Settings for PLC Link (PC Link (Slave))  
Serial Communications Mode  
Address  
Word Bits  
+160  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
08 to 11 07 hex: Serial PLC Link  
Slave (Polled Unit)  
This setting determines whether the  
RS-232C port will operate in Serial PLC Settings Changing Flag) can be changed  
Link Slave mode or another serial com-  
munications mode. Set 07 for Serial  
PLC Link Slave Mode.  
A410.15 (RS-232C Port At next cycle (Also  
with STUP (237).)  
Default: 00 hex  
Baud Rate  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+161  
Bits  
00 to 07 00 hex: Standard setting  
Default: 00 hex  
Only the standard setting of 38,400 can A410.15 (RS-232C Port At next cycle (Also  
be used for the Serial PLC Link Slave Settings Changing Flag) can be changed  
Serial Communications Mode.  
with STUP (237).)  
PLC Link Unit No. (PC Link Unit Number)  
Address  
Word Bits  
+167 00 to 03 0 to 7 hex  
Default: 0 hex  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Sets the unit number of the FQM1 as a A410.15 (RS-232C Port At next cycle (Also  
Serial PLC Link Slave.  
Settings Changing Flag) can be changed  
with STUP (237).)  
318  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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  
Word Bits  
+360 15  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Standard settings  
Default: 0  
The standard settings are for 1 start bit, A414.15 (RS-422A Port ---  
7-bit data, even parity, 2 stop bits, and Settings Changing Flag)  
9,600 baud.  
Serial Communications Mode  
Address  
Word Bits  
+360 08 to 11 00 or 09 hex: Serial Gateway This setting determines whether the  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
A414.15 (RS-422A Port At next cycle (Also  
Settings Changing Flag) can be changed  
with STUP (237).)  
RS-422A port will operate in Serial  
Gateway mode or another serial com-  
munications mode. Set 00 or 09 for  
Serial Gateway Mode.  
Default: 00 hex  
RS-422A Response Timeout Time (RS422 Response Timeout of Command)  
Address  
Word Bits  
+367  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 15 0001 to 00FF hex:  
0.1 to 25.5 s  
Sets the timeout time for a response  
from the Servo Driver.  
A414.15 (RS-422A Port At next cycle (Also  
Settings Changing Flag) can be changed  
with STUP (237).)  
Default: 0000 hex (5 s)  
RS-422A Port Settings for No-protocol Communications (Non-procedural)  
Serial Communications Mode  
Address  
Word Bits  
+360  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
08 to 11 03 hex: No-protocol  
Default: 00 hex  
This setting determines whether the  
RS-422A port will operate in no-proto- Settings Changing Flag) can be changed  
col mode or another serial communica-  
tions mode. Set 03 for No-protocol  
Mode.  
A414.15 (RS-422A Port At next cycle (Also  
with STUP (237).)  
Send Delay Time  
Address  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
Word  
+362  
Bits  
00 to 15 Send delay time, 0 to 99,990 When TXD(236) is executed, data will A414.15 (RS-422A Port At next cycle (Also  
ms  
be sent from the RS-422A port after the Settings Changing Flag) can be changed  
delay time set here. with STUP (237).)  
(0000 to 270F hex,  
unit: 10 ms)  
Default: 0000 hex  
319  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Start Code and End Code  
Address  
Word Bits  
+364  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 to FF hex  
Default: 00 hex  
The frame format Specifies the end A414.15 (RS-422A Port At next cycle (Also  
for no-protocol  
code. This setting Settings Changing Flag) can be changed  
communications  
data (messages)  
can be specified.  
is valid when bits  
08 to 09 of +365  
are set to 01.  
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  
0: Don’t add start code  
1: Add start code  
Default: 0  
Specifies whether Specifies whether  
the frame format  
for no-protocol  
communications is  
specified.  
to add a start code.  
08 and 00: Don’t add end code and  
09  
Specifies whether  
to add an end  
code.  
use number of received bytes  
setting  
01: Add end code  
11: Add CR+LF  
Default: 00  
Number of Received Bytes  
Address  
Word Bits  
+365  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
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.  
A414.15 (RS-422A Port At next cycle (Also  
Settings Changing Flag) can be changed  
with STUP (237).)  
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.  
Peripheral Service Time Settings (CX-Programmer: Timer/Peripheral Tab Page)  
Fixed Service Time Enable Setting (Set Time to All Events)  
Address  
Word Bits  
+218 15  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
0: Default (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  
Word Bits  
+218  
Settings  
Function  
Related flags and  
words  
When setting is  
read  
00 to 07 00 to FF hex:  
0.0 to 25.5 ms  
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)  
(unit: 0.1 ms)  
Default: 00 hex  
320  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 disabling: At  
power ON or at start of  
operation  
When enabling: When  
changed  
08  
Prohibit system interruption of the sync 0 hex: Allow interrupts  
At power ON  
mode  
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- 0 hex: Detect long cycles  
At start of operation  
At power ON  
tion of cycle times longer than 10 ms)  
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.  
+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)  
04 to 07 Interrupt Input Settings, Input 1 (CIO  
0000.01) function  
08 to 11 Interrupt Input Settings, Input 2 (CIO  
0000.02) function  
Note Interrupt input settings of 1 to 3 hex  
apply to input interrupt mode and counter  
mode.  
12 to 15 Interrupt Input Settings, Input 3 (CIO  
0000.03) function  
+306  
00 to 07 Select Synchro-  
nous Data  
Upper 2 words (+0 00 hex: Normal (via Ladder)  
and +1)  
01 hex: High-speed counter PV (Counter 1 val-  
ues)  
08 to 15  
Lower 2 words (+2  
and +3)  
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  
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  
At start of operation  
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.  
+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.  
321  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
0 hex: Phase differential x1  
1 hex: Phase differential x2  
2 hex: Phase differential x4  
When setting is  
read  
+320  
00 to 03 High-speed  
Input method  
At power ON  
counter 1 (Counter  
1)  
3 hex: Increment/decrement pulse inputs  
4 hex: Pulse + direction inputs  
04 to 07  
08 to 11  
12 to 15  
Reset method  
0 hex: Software reset  
1 hex: Phase Z and software reset  
Counting speed  
0 hex: 50 kHz  
1 hex: 500 kHz  
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  
+322  
00 to 03  
Counter data to moni- 0 hex: Do not monitor (Non-monitor)  
tor (Counter data dis-  
play)  
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  
00 to 15  
Reserved  
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).  
322  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
+323  
Bits  
Function  
Input method  
Remarks  
When setting is  
read  
00 to 03 High-speed  
Same as for high-speed counter 1 except that fre- At power ON  
quency measurement (Counter data to monitor,  
bit 00 to 03 of +324: 02 hex) cannot be set for  
high-speed counter 2.  
counter 2 (Counter  
04 to 07  
08 to 11  
12 to 15  
Reset method  
2)  
Counting speed  
Counter operating  
mode (Counter opera-  
tion)  
+324  
+325  
00 to 03  
Counter data to moni-  
tor (Counter data dis-  
play)  
04 to 15  
00 to 15  
Reserved  
Sampling time (for  
mode 1 only)  
+326 to 327 00 to 15 High-speed  
Circular maximum  
Sets the maximum circular counter value.  
Range: 0000 0001 to FFFF FFFF hex  
counter 1 (Counter count  
1)  
Absolute encoder res- 0000 0001 to 0000 FFFF hex  
olution  
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  
Circular maximum  
Same as for high-speed counter 1.  
counter 2 (Counter count  
2)  
Absolute encoder res-  
olution  
+330 to 331 00 to 15 High-speed  
Absolute offset  
8000 0000 to 7FFF FFFF hex  
8000 0000 to 7FFF FFFF hex  
counter 1 (Counter  
1)  
+332 to 333 00 to 15 High-speed  
Absolute offset  
counter 2 (Counter  
2)  
CX-Programmer: Pulse Output Tab Page  
Address  
Bits  
Function  
Remarks  
When setting is  
read  
+340  
00 to 07 Pulse output 1  
00 hex: Relative pulse output  
01 hex: Absolute pulse output in linear mode  
02 hex: Absolute pulse output in circular mode (See  
note.)  
At power ON  
(Refer to 7-6-6  
Pulse Output  
Function Details.)  
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  
01 hex: 10 MHz  
02 hex: 5 MHz  
Pulse output frequency: 400 Hz  
to 1 MHz  
Pulse output frequency: 200 Hz  
to 200 kHz  
Pulse output frequency: 100 Hz  
to 100 kHz  
03 hex: 2.5 MHz  
04 hex: 1.25 MHz  
Pulse output frequency: 40 Hz  
to 50 kHz  
Pulse output frequency: 20 Hz  
to 20 kHz  
+341  
00 to 07 Pulse output 2  
08 to 15  
Operation mode  
Clock  
Same as for pulse output 1.  
+342 to 343 00 to 15 Pulse output 1  
Circular maximum Sets the maximum circular counter value when the  
count  
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.)  
+344 to  
+345  
00 to 15 Pulse output 2  
Circular maximum Same as for pulse output 1.  
count  
323  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Note Always set the Circular Maximum Count when setting any of the circular operation modes.  
FQM1-MMA21 Motion Control Modules with Analog I/O  
CX-Programmer: Pulse Input Tab Page  
Address  
Bits  
Function  
Remarks  
When setting  
is read  
+320  
00 to 03 High-speed  
Input method  
0 hex: Phase differential x1  
1 hex: Phase differential x2  
2 hex: Phase differential x4  
At power ON  
counter 1 (Counter  
1)  
3 hex: Increment/decrement pulse inputs  
4 hex: Pulse + direction inputs  
04 to 07  
08 to 11  
12 to 15  
Reset method  
0 hex: Software reset  
1 hex: Phase Z and software reset  
Counting speed  
0 hex: 50 kHz  
1 hex: 500 kHz  
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  
+322  
00 to 03  
Counter data to moni- 0 hex: Do not monitor (Non-monitor)  
tor (Counter data dis-  
play)  
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  
00 to 15  
Reserved  
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  
Input method  
Reset method  
Counting speed  
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.  
counter 2 (Counter  
04 to 07  
08 to 11  
12 to 15  
2)  
Counter operating  
mode (Counter opera-  
tion)  
+324  
+325  
00 to 03  
Counter data to moni-  
tor (Counter data dis-  
play)  
04 to 15  
00 to 15  
Reserved  
Sampling time (for  
mode 1 only)  
+326 to 327 00 to 15 High-speed  
Circular maximum  
Sets the maximum circular counter value.  
Range: 0000 0001 to FFFF FFFF hex  
counter 1 (Counter count  
1)  
Absolute encoder res- 0000 0001 to 0000 FFFF hex  
olution  
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  
Circular maximum  
Same as for high-speed counter 1.  
counter 2 (Counter count  
2)  
Absolute encoder res-  
olution  
324  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
Function  
Absolute offset  
Remarks  
When setting  
is read  
+330 to 331 00 to 15 High-speed  
8000 0000 to 7FFF FFFF hex  
Application origin when using an absolute encoder.  
Immediately  
counter 1 (Counter  
1)  
+332 to 333 00 to 15 High-speed  
Absolute offset  
Same as high-speed counter 1.  
counter 2 (Counter  
2)  
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  
At power ON  
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  
+353  
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  
At power ON  
At power ON  
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- 0 hex: Clear  
tion  
1 hex: Hold  
2 hex: Maximum value  
+354  
00 to 07 Analog output 2  
08 to 15  
Output range  
Same as for analog output 1.  
Output stop func-  
tion  
Note Analog outputs that are not being used can be disabled to decrease the cycle time.  
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  
System Setup mode setting enabled  
RUN mode  
Program: PROGRAM mode  
Monitor: MONITOR mode  
Run:  
RUN mode  
Note The Coordinator Module will start in RUN mode unless the Startup Mode setting in the System Setup is  
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.  
325  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Note The RS-232C port settings can also be changed with the STUP (237) instruction. The RS-232C Port  
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  
FLEXIBLE  
RDY  
RUN  
ERR  
MOTION  
CONTROLLER  
PRPHL  
COMM1  
COMM2  
The standard (default) settings are as follows:  
Host Link Mode  
1 start bit  
ON  
OFF  
1
2
PERIPHERAL  
7-bit data  
Even parity  
2 stop bits  
9,600 baud rate  
CN1  
PORT  
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.  
RS422  
40  
39  
Note The following data is set for no-protocol mode.  
Send delay  
Data sent  
Time  
TXD(236)  
Messages Sent and Received with No-protocol Mode  
End code  
No  
Yes  
Data  
Data  
CR+LF  
Data CR+LF  
Data CR+LF  
Start code No  
Yes  
Data  
ED  
ED  
ST  
Data  
ST  
ST  
Received bytes  
Data: 1 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.  
Note The constant cycle time setting cannot be changed while the Module is in RUN or MONITOR mode.  
Constant  
(minimum)  
time  
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.  
326  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Note The watch cycle time setting cannot be changed while the Module is in RUN or MONITOR mode.  
Watch Cycle  
Watch Cycle  
Watch Cycle  
Time  
Time  
Time  
Watch  
Time  
Actual Cycle Actual Cycle  
Time Time  
Actual Cycle  
Time  
OVER  
Cycle Time  
Too Long Flag  
A401.08  
ON  
Module operation  
is stopped.  
Note The default value for the watch cycle time is 50 ms.  
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  
Power ON  
Initialization  
Common processes  
Program execution  
(Tasks executed)  
Cycle  
time  
I/O refreshing  
Cyclic refreshing  
Peripheral servicing  
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 ms:  
0.0 to 25.5 ms (unit: 0.1 ms)  
Event service time for  
peripheral port  
Same as above.  
Same as above.  
Same as above.  
Event service time for  
RS-232C port  
Event service time for  
RS-422A port  
Note A default value of 100 µs is allocated in Motion Control Modules for event servicing with the Coordinator  
Module  
327  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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.  
Note (1) When the peripheral servicing time is set to a time longer than the default value, the cycle time will  
also be longer.  
(2) The fixed peripheral servicing time setting cannot be changed while the Module is in RUN mode or  
MONITOR mode.  
328  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
01  
02  
03  
Motion Control Module ON if the Motion Control Module is in slot 1.  
slot 1  
Module  
Motion Control Module ON if the Motion Control Module is in slot 2.  
slot 2  
Motion Control Module ON if the Motion Control Module is in slot 3.  
slot 3  
Motion Control Module ON if the Motion Control Module is in slot 4.  
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  
00 to 15  
Range: 8000 0000 to 7FFF FFFF  
Module  
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  
A602  
00 to 15 High-speed Counter 2 PV  
00 to 15  
A603  
A604 to  
A605  
00 to 15 High-  
For following  
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.  
speed  
Counter  
1
counter modes  
• Absolute linear  
(CW)  
• Absolute circu-  
lar  
8000 0000 to 7FFF FFFF hex  
• Absolute linear  
(CW+)  
For following  
counter modes  
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 hexadeci-  
mal 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).  
• Linear counter  
• Circular  
counter  
A606 to  
A607  
00 to 15 High-  
For following  
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.  
speed  
Counter  
2
counter modes  
• Absolute linear  
(CW)  
• Absolute circu-  
lar  
• Absolute linear  
(CW+)  
For following  
counter modes  
Monitor data  
• Linear counter  
• Circular  
counter  
329  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A608  
High-speed  
counter 1 status ison In-  
progress Flag  
Target Compar- OFF: Target value comparison is not being performed for  
Module  
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/  
OFF: There is no counter overflow or underflow in Linear Counter  
Underflow Flag 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.  
02  
03  
Reserved  
---  
Phase Z Input ON for one cycle when the counter PV is reset with the counter  
Reset Flag (ON reset method set to a phase Z + software reset.  
for one cycle)  
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  
05  
Absolute No. of OFF: No error  
RotationsRead  
Error Flag  
ON: Error  
Absolute No. of OFF: Rotations being read or reading has not been executed.  
RotationsRead  
Completed  
Flag  
ON: Reading has been completed (Turned ON when serial recep-  
tion of the number of rotations has been completed.)  
06  
MeasuringFlag OFF: Changes in the counter PV or the counter frequency is not  
(measurement being measured.  
mode 1 or 2)  
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  
08  
High-speed  
Counter Oper-  
ating Flag  
OFF: Counter is not operating.  
ON: Counter is operating.  
Count Latched OFF: Count has not been latched.  
Flag  
ON: Latching the count has been completed for the latch input.  
09 to 11  
12  
Reserved  
---  
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  
---  
330  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A609  
High-speed  
counter 2 status ison In-  
progress Flag  
Target Compar- Same as for high-speed counter 1.  
Module  
01  
PV Overflow/  
Underflow Flag  
02  
03  
Reserved  
Phase Z Input  
Reset Flag (ON  
for one cycle)  
04  
05  
Absolute No. of  
RotationsRead  
Error Flag  
Absolute No. of  
RotationsRead  
Completed  
Flag  
06  
07  
08  
MeasuringFlag  
(measurement  
mode 1 or 2)  
High-speed  
Counter Oper-  
ating Flag  
Count Latched  
Flag  
09 to 11  
12  
Reserved  
Absolute Off-  
set Preset  
Error Flag  
13 to 15  
Reserved  
331  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A610  
High-speed  
Start Bit  
OFF: Stops counter operation. The counter PV will be maintained. User  
ON: Starts counter operation. The counter PV will not be reset.  
counter 1 com-  
mand bits  
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 OFF: Disables measuring changes in counter PV or the counter  
Start Bit  
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 OFF: Forward (up)  
Direction Bit  
(measurement  
mode 2)  
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  
05  
Range Com-  
OFF: Does not clear the execution results (A612) or output bit pat-  
parisonResults tern (A613) from CTBL(882) execution for range comparison for  
Clear Bit  
the counter.  
ON: Clears the execution results (A612) or output bit pattern  
(A613) from CTBL(882) execution for range comparison for the  
counter.  
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  
07  
Absolute  
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.  
Present Value  
Preset Bit  
Absolute Num- OFF: Disables reading the number of rotations data from the Servo  
ber of Rota-  
tions Read Bit  
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  
---  
332  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A611  
High-speed  
Start Bit  
Same as command bits for high-speed counter 1.  
User  
counter 2 com-  
mand bits  
01  
02  
Reset Bit  
Measurement  
Start Bit  
03  
04  
Reserved  
Range Com-  
parisonResults  
Clear Bit  
05  
06  
Absolute Off-  
set Preset Bit  
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  
A613  
00 to 15 High-speed  
Range Com-  
Contains the CTBL(882) execution results for range comparison.  
Module  
counter 1 moni- parison Execu- Bits 00 to 15 correspond to ranges 1 to 16.  
tor data  
tion Results  
Flags  
OFF: No match  
ON: Match  
00 to 15  
Output Bit Pat- Contains the output bit pattern when a match is found for  
tern  
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  
A615  
00 to 15 High-speed  
Range Com-  
Same as for high-speed counter 1 monitor data.  
counter 2 moni- parison Results  
tor data  
00 to 15  
Output Bit Pat-  
tern  
333  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
Name  
Function  
Controlled  
by  
A620 to  
A621  
00 to 15 Pulse Output 1 PV  
Note This item applies when the  
Contains the pulse output PV as an 8-digit hexadecimal number.  
Relative mode: 00000000 to FFFFFFFF hex  
Module  
operation mode is relative pulse  
output, absolute pulse output in  
linear mode, absolute pulse out-  
put in circular mode, or elec-  
tronic cam mode.  
Absolute linear mode: 80000000 to 7FFFFFFF hex  
Absolute circular mode: 00000000 to circular maximum count  
One-shot Pulse Output 1 ON  
Time  
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))  
Note This item applies when the  
operation mode is one-shot out-  
put mode.  
Pulse Time Measurement 1  
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))  
Note This item applies when the  
operation mode is time measure-  
ment mode using a pulse  
counter.  
A622 to  
A623  
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  
Pulse Output 1 Pulse Output  
Same as for Pulse Time Measurement 1.  
A624  
00  
OFF: Pulse output not completed (OFF during pulse output).  
ON: Pulse output completed (ON when pulse distribution has been  
completed).  
Status  
Completed  
Flag  
01  
02  
Pulse Output  
Set Flag  
OFF: Pulse output amount not set by PULS(886).  
ON: Pulse output amount set by PULS(886).  
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  
04  
Target Compar- OFF: Comparison stopped.  
ison Flag  
ON: Comparison in progress.  
Independent  
Pulse Output  
Flag  
OFF: Pulses not being output or being output continuously.  
ON: Pulses being output.  
05  
06  
PLS2 Position- OFF: Not positioning.  
ing Flag  
ON: Positioning in progress.  
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  
00  
Reserved  
---  
A625  
Pulse Output 2 Pulse Output  
Same as for Pulse Output 1 Status.  
Status  
Completed  
Flag  
01  
02  
Pulse Output  
Set Flag  
Target Fre-  
quency Not  
Reached Flag  
03  
04  
Target Compar-  
ison Flag  
Independent  
Pulse Output  
Flag  
05  
06  
PLS2 Position-  
ing Flag  
Accelerating/  
Decelerating  
Flag  
07  
Pulse Output  
Flag  
08 to 15  
Reserved  
334  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A626  
Pulse Output 1 PV Reset Bit  
Command Bits  
OFF: Pulse output 1 PV not reset.  
ON: Resets pulse output 1 PV.  
OFF: Does not clear the execution results (A630) or output bit pat-  
User  
01  
Range Com-  
parisonResults tern (A631) from CTBL(882) execution for range comparison for  
Clear Bit  
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  
00  
Reserved  
---  
A627  
A628  
Pulse Output 2 PV Reset Bit  
Same as for Pulse Output 1 Command Bits.  
Command Bits  
01  
Range Com-  
parisonResults  
Clear Bit  
02 to 15  
Reserved  
00 to 06 Pulse Output  
Reserved  
---  
Control Bits  
07  
Speed Change OFF: Sets the speed change cycle to 2 ms during pulse output for  
Cycle Bit  
(Apply to both  
ACC(888) or PLS2(887).  
ON: Sets the speed change cycle to 1 ms during pulse output for  
ACC(888) or PLS2(887).  
pulse outputs 1  
and 2.)  
08 to 13  
14  
Reserved  
---  
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.  
15  
Reserved  
---  
---  
A629  
A630  
00 to 15 Reserved  
---  
---  
00 to 15 Pulse Output 1 Range Com-  
Monitor Data  
Contains the CTBL(882) execution results for range comparison.  
Module  
parison Results Bits 00 to 15 correspond to ranges 1 to 16.  
OFF: No match  
ON: Match  
A631  
00 to 15  
Output Bit Pat- Contains the output bit pattern when a match is found for  
tern  
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  
A633  
00 to 15 Pulse Output 2 Range Com-  
Same as for Pulse Output 1 Monitor Data.  
Monitor Data  
parison Results  
00 to 15  
Output Bit Pat-  
tern  
335  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
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:  
Module  
• 0 to 10 V:  
• 0 to 5 V or 1 to 5 V:  
10 to 10 V:  
FE70 to 20D0 hex  
FF38 to 1068 hex  
DDA0 to 2260 hex  
A552  
00  
Analog Input Sta- User Adjustment Com-  
OFF: Not adjusted  
ON: Adjustment completed  
tus  
pleted  
01 to 06  
07  
Reserved  
Analog Sampling Started OFF: Not started  
ON: Started  
08  
09  
Factory Adjustment Data OFF: No Error  
Error  
ON: Error (Checked at power ON.)  
User Adjustment Data  
Error  
OFF: No Error  
ON: Error (Checked at power ON.)  
10 to 14  
15  
Reserved  
Analog Sampling Overlap OFF: Normal sampling  
ON: The next sampling operation occurred before  
the present sampling operation completed.  
A559  
A560  
01 to 15 Number of Analog Indicates the number of data samples actually input since sampling started.  
Samples  
00 to 15 Analog Output 1  
Output Value  
When an END refresh is selected, the 4-digit hexadecimal value set here by the With immedi-  
user is output from analog output port 1.  
ate refresh:  
Module  
With END  
refresh: User  
When immediate refreshing is selected, the 4-digit hexadecimal value being out-  
put 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.  
336  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A562  
Analog Output 1  
Flags  
User Adjustment Com-  
pleted  
Initial value is 0.  
Module  
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  
04  
Reserved  
Operating  
---  
ON: ON while the analog output is being changed by  
ACC(888).  
OFF: Turned OFF when target value is reached.  
05 to 07  
08  
Reserved  
---  
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  
12  
Reserved  
---  
Factory Adjustment Value ON: ON when the factory-set data stored in flash  
Error  
memory is invalid.  
OFF: OFF when the factory-set data stored in flash  
memory is normal.  
13  
14  
Reserved  
---  
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  
00  
Reserved  
---  
A563  
Analog Output 2  
Flags  
User Adjustment Com-  
pleted  
Same as for Analog Output 1 Flags.  
01 to 03  
04  
Reserved  
Operating  
05 to 07  
08  
Reserved  
Output SV Error  
Reserved  
09 to 11  
12  
Factory Adjustment Value  
Error  
13  
14  
Reserved  
User Adjustment Value  
Error  
15  
Reserved  
337  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled by  
A564  
Analog Output 1  
Conversion Enable ON: Enables D/A conversion (enables analog output). User  
Bit  
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  
A570  
00  
Analog Output 2  
Conversion Enable ON: Enables D/A conversion (enables analog output). User  
Bit  
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  
---  
---  
00  
01  
02  
Adjustment Mode Adjustment Enable Analog Input OFF: Adjustment disabled.  
Command Bits  
(Effective only  
when A575 is  
5A5A hex.)  
User  
ON: Adjustment enabled.  
Reserved  
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).  
Analog Out-  
put 1  
03  
Analog Out-  
put 2  
04 to 06  
07  
Reserved  
Adjustment Mode OFF: Offset adjustment  
Specifier  
ON: Gain adjustment  
08 to 11  
12  
Reserved  
Adjustment Value While this bit is ON, the offset or gain value will be  
Increment incremented by one resolution unit each 0.5 ms.  
13  
14  
15  
Adjustment Value While this bit is ON, the offset or gain value will be dec-  
Decrement remented by one resolution unit each 0.5 ms.  
Adjustment Value OFF to ON: Clears the adjustment data to the factory  
Clear defaults.  
Adjustment Value OFF to ON: Reads the present value in the Adjustment  
Set  
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 Adjustment Opera- ON when an operational error has been made, such as Module  
Status  
tion Error  
turning ON both the Analog Input and Analog Output 2  
Adjustment Enable Bits at the same time.  
01 to 14  
15  
Reserved  
Adjustment Mode ON during adjustment mode operation (when A575  
Started contains 5A5A hex).  
A572  
A573  
00 to 15 Adjustment Mode Both Analog Input Setting Off-  
The values in 10 to 10 V: FE0C to Module/User  
Monitor  
and Analog Out-  
puts  
set Monitor  
these words  
can be over-  
written  
01F4 hex  
• 0 to 10 V, 0 to 5 V, 1 to  
(Effective only  
when A575 is  
5A5A hex.)  
5 V: FF38 to 00C8 hex  
directly, with-  
out using the  
Adjustment  
Value Incre-  
ment/Decre-  
ment Bits.  
00 to 15  
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  
A575  
Analog Inputs  
Number of  
Average  
Value Sam-  
Indicates the number of values to be  
averaged to obtain the Offset/Gain  
Value Monitor values in adjustment  
User  
User  
ples in Adjust- mode. The number of samples can be  
ment Mode  
set between 0000 and 0040 hex (0 to  
64). Set this parameter before turning  
ON the Adjustment Enable Bit.  
00 to 15 Adjustment Mode Password  
5A5A hex: Adjustment mode enabled.  
Other value: Adjustment mode disabled.  
338  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
A600  
Bits  
Name  
Function  
Controlled by  
00 to 15 High-speed Counter 1 PV  
00 to 15  
Range: 8000 0000 to 7FFF FFFF  
Module  
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  
A602  
00 to 15 High-speed Counter 2 PV  
00 to 15  
A603  
A604 to  
A605  
00 to 15 High-  
For following  
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.  
speed  
Counter  
1
counter modes  
• Absolute linear  
(CW)  
• Absolute circu-  
lar  
8000 0000 to 7FFF FFFF hex  
• Absolute linear  
(CW+)  
For following  
counter modes  
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 hexadeci-  
mal 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).  
• Linear counter  
• Circular  
counter  
A606 to  
A607  
00 to 15 High-  
For following  
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.  
speed  
Counter  
2
counter modes  
• Absolute linear  
(CW)  
• Absolute circu-  
lar  
• Absolute linear  
(CW+)  
For following  
counter modes  
Monitor data  
• Linear counter  
• Circular  
counter  
339  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A608  
High-speed  
counter 1 status ison In-  
progress Flag  
Target Compar- OFF: Target value comparison is not being performed for  
Module  
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/  
OFF: There is no counter overflow or underflow in Linear Counter  
Underflow Flag 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.  
02  
03  
Reserved  
---  
Phase Z Input ON for one cycle when the counter PV is reset with the counter  
Reset Flag (ON reset method set to a phase Z + software reset.  
for one cycle)  
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  
05  
Absolute No. of OFF: No error  
RotationsRead  
Error Flag  
ON: Error  
Absolute No. of OFF: Rotations being read or reading has not been executed.  
RotationsRead  
Completed  
Flag  
ON: Reading has been completed (Turned ON when serial recep-  
tion of the number of rotations has been completed.)  
06  
MeasuringFlag OFF: Changes in the counter PV or the counter frequency is not  
(measurement being measured.  
mode 1 or 2)  
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  
08  
High-speed  
Counter Oper-  
ating Flag  
OFF: Counter is not operating.  
ON: Counter is operating.  
Count Latched OFF: Count has not been latched.  
Flag  
ON: Latching the count has been completed for the latch input.  
09 to 11  
12  
Reserved  
---  
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  
---  
340  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A609  
High-speed  
counter 2 status ison In-  
progress Flag  
Target Compar- Same as for high-speed counter 1.  
Module  
01  
PV Overflow/  
Underflow Flag  
02  
03  
Reserved  
Phase Z Input  
Reset Flag (ON  
for one cycle)  
04  
05  
Absolute No. of  
RotationsRead  
Error Flag  
Absolute No. of  
RotationsRead  
Completed  
Flag  
06  
07  
08  
MeasuringFlag  
(measurement  
mode 1 or 2)  
High-speed  
Counter Oper-  
ating Flag  
Count Latched  
Flag  
09 to 11  
12  
Reserved  
Absolute Off-  
set Preset  
Error Flag  
13 to 15  
Reserved  
341  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A610  
High-speed  
Start Bit  
OFF: Stops counter operation. The counter PV will be maintained. User  
ON: Starts counter operation. The counter PV will not be reset.  
counter 1 com-  
mand bits  
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 OFF: Disables measuring changes in counter PV or the counter  
Start Bit  
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 OFF: Forward (up)  
Direction Bit  
(measurement  
mode 2)  
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  
05  
Range Com-  
OFF: Does not clear the execution results (A612) or output bit pat-  
parisonResults tern (A613) from CTBL(882) execution for range comparison for  
Clear Bit  
the counter.  
ON: Clears the execution results (A612) or output bit pattern  
(A613) from CTBL(882) execution for range comparison for the  
counter.  
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  
07  
Absolute  
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.  
Present Value  
Preset Bit  
Absolute Num- OFF: Disables reading the number of rotations data from the Servo  
ber of Rota-  
tions Read Bit  
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  
---  
342  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
00  
Name  
Function  
Controlled  
by  
A611  
High-speed  
Start Bit  
Same as command bits for high-speed counter 1.  
User  
counter 2 com-  
mand bits  
01  
02  
Reset Bit  
Measurement  
Start Bit  
03  
04  
Reserved  
Range Com-  
parisonResults  
Clear Bit  
05  
06  
Absolute Off-  
set Preset Bit  
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  
A613  
00 to 15 High-speed  
Range Com-  
Contains the CTBL(882) execution results for range comparison.  
Module  
counter 1 moni- parison Execu- Bits 00 to 15 correspond to ranges 1 to 16.  
tor data  
tion Results  
Flags  
OFF: No match  
ON: Match  
00 to 15  
Output Bit Pat- Contains the output bit pattern when a match is found for  
tern  
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  
A615  
00 to 15 High-speed  
Range Com-  
Same as for high-speed counter 1 monitor data.  
counter 2 moni- parison Results  
tor data  
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.  
User  
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  
A522  
A523  
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  
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  
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  
343  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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 Module  
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  
A526  
A527  
00 to 15 Interrupt Counter 1  
Counter PV  
00 to 15 Interrupt Counter 2  
Counter PV  
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  
A000 to  
A015  
00 to 15 Subroutine Input Condi- These flags contain the status of the input condition for JSB(982) when Module  
tion Flags  
JSB(982) is used to call a subroutine.  
Address Corresponding subroutines  
Word  
A000  
Bits  
00 to 15  
00 to 15  
00 to 15  
to  
SBN000 to SBN015  
SBN016 to SBN031  
SBN032 to SBN047  
to  
A001  
A002  
to  
A015  
00 to 15  
SBN240 to SBN255  
A206 to  
A207  
00 to 15 Maximum Cycle Time  
00 to 15 Present Cycle Time  
These words store the maximum cycle time every cycle. The cycle  
time is recorded in 8-digit hexadecimal  
(unit: 0.01 ms).  
A208 to  
A209  
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.  
Module  
A405  
11  
12  
No END Error Flag  
Task Error Flag  
ON when there isn’t an END(001) instruction in each program within a  
task.  
ON when a task error has occurred. The following conditions generate  
a task error.  
There isn’t a program allocated to the task.  
13  
14  
15  
Differentiation Overflow The allowed value for Differentiation Flags which correspond to differ-  
Error Flag entiation instructions has been exceeded.  
Illegal Instruction Error ON when a program that cannot be executed has been stored.  
Flag  
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  
A100 to  
A199  
00 to 15 Error Log Area  
When an error has occurred, the error code and error contents are  
stored in the Error Log Area.  
Module  
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).  
344  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                           
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Address  
Bits  
14  
Name  
Function  
Controlled by  
A500  
Error Log Pointer Reset The error log pointer in A408 is reset to 0000 hex and Memory Not  
and Memory Not Held  
Flag OFF Bit  
User  
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.  
Module  
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.  
Module  
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 Turns ON when there is an error in the memory. FQM1 operation will Module  
error)  
stop and the ERR indicators on the front of the Modules will light.  
A403  
00  
04  
UM Error Flag  
Turns ON when there is an error in the user memory.  
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  
13  
14  
14  
Flash Memory Error  
Flag  
Turns ON when the flash memory is physically destroyed.  
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.  
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  
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  
10  
Name  
Function  
Controlled by  
A402  
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  
10  
Name  
Function  
Controlled by  
A401  
I/O Setting Error Flag  
Turns ON when more than four Motion Control Modules are connected Module  
to the Coordinator Module.  
Module Errors  
Address  
Bits  
Name  
Function  
Controlled by  
A402  
05  
Motion Control Module Turns ON in the Coordinator Module when a system error, such as a Module  
Monitoring Error Flag  
(Coordinator Module  
only)  
WDT error, occurs in any of the Motion Control Modules.  
13  
14  
Coordinator Module  
Turns ON in the Motion Control Modules when a WDT error occurs in  
WDT Error Flag (Motion the Coordinator Module.  
Control Modules only)  
Coordinator Module  
Fatal Error Flag (Motion the Coordinator Module.  
Control Modules only)  
Turns ON in the Motion Control Modules when a fatal error occurs in  
345  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                 
System Setup, Auxiliary Area Allocations, and Built-in I/O Allocations  
Appendix C  
Other  
Address  
Bits  
Name  
Function  
Controlled by  
A401  
08  
05  
06  
15  
Cycle Time Too Long  
Flag (fatal error)  
Turns ON if the cycle time exceeds the maximum cycle time set in the Module  
System Setup (the Watch Cycle Time).  
A404  
A509  
Constant Cycle Time  
Exceeded Flag  
Turns ON when the actual cycle time exceeds the specified constant  
(minimum) cycle time.  
Sync Cycle Time Too  
Long Flag  
Turns ON when one of the Modules exceeds the specified sync cycle  
time. (Coordinator Module only)  
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.  
User  
Allocations Related to DM Data Transfer (Coordinator Module Only)  
Address  
Bits  
Name  
Function  
Controlled by  
A530  
00  
DM Write Request Bit  
DM data transfer is executed from the Coordinator Module to Motion User  
(Coordinator Module to Control Module when this bit turns ON.  
Motion Control Module)  
01  
DM Read Request Bit  
DM data transfer is executed from the Motion Control Module to Coor-  
(Motion Control Module dinator Module when this bit turns ON.  
to Coordinator Module)  
A531  
00 to 15 Slot No. of Motion Con- Specifies the slot number (in 4-digit hexadecimal) for the Motion Con-  
trol Module for DM  
Transfer  
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  
A533  
A534  
A535  
00 to 15 DM Transfer Size (num- Specifies the size, in number of words, of the DM data to be trans-  
ber of words)  
ferred.  
0001 to 01F3 hex (1 to 499 words)  
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  
00 to 15 First DM Transfer Desti- Specifies the first address of the DM transfer destination in the Coordi-  
nation Word  
nator Module or Motion Control Module.  
0000 to 7FFF hex  
14  
15  
Transfer Error Flag  
Transfer Busy Flag  
Turns ON when a DM data transfer error occurs.  
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 Module  
occurred at the peripheral port.  
08  
15  
01  
Peripheral Port Commu- Turns ON when a communications error has occurred at the peripheral  
nications Error Flag port.  
Peripheral Port Settings Turns ON while the peripheral port’s communications settings are  
Changing Flag being changed.  
A502  
Peripheral Port Restart Turn this bit ON to restart the peripheral port.  
Bit  
User  
This bit is turned OFF automatically when the restart processing is  
completed.  
346  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                   
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 Module  
occurred at the RS-232C port.  
08  
RS-232C Port Commu- Turns ON when a communications error has occurred at the RS-232C  
nications Error Flag  
port.  
09  
RS-232C Port Send  
Turns ON when the RS-232C port is ready to send data in no-protocol  
Ready Flag (no-protocol mode.  
mode)  
10  
11  
15  
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.  
RS-232C Port Recep-  
tion Overflow Flag (no- RS-232C port in no-protocol mode.  
protocol mode)  
Turns ON when a data overflow occurred during reception through the  
RS-232C Port Settings Turns ON while the RS-232C port’s communications settings are being  
Changing Flag  
changed.  
A411  
A502  
00 to 15 RS-232C Port Recep-  
Indicates (in binary) the number of bytes of data received when the  
tion Counter (no-proto- RS-232C port is in no-protocol mode.  
col mode)  
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.  
User  
RS-422A Port  
Address  
Bits  
Name  
Function  
Controlled by  
Module  
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- Turns ON when a communications error has occurred at the RS-422A  
nications Error Flag  
port.  
09  
RS-422A Port Send  
Turns ON when the RS-422A port is ready to send data in no-protocol  
Ready Flag (no-protocol mode.  
mode)  
10  
11  
15  
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.  
RS-422A Port Recep-  
tion Overflow Flag (no- RS-422A port in no-protocol mode.  
protocol mode)  
Turns ON when a data overflow occurred during reception through the  
RS-422A Port Settings Turns ON while the RS-422A port’s communications settings are being  
Changing Flag  
changed.  
A415  
A502  
00 to 15 RS-422A Port Recep-  
Indicates (in binary) the number of bytes of data received when the  
tion Counter (no-proto- RS-422A port is in no-protocol mode.  
col mode)  
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.  
User  
Allocations Directly Related to Instructions  
Address  
Bits  
Name  
First Cycle Flag  
Step Flag  
Function  
Controlled by  
A200  
11  
12  
ON for one cycle after FQM1 operation begins.  
ON for one cycle when step execution is started with STEP(008).  
Module  
A510 to  
A514  
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.  
A515 to  
A519  
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.  
347  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                     
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  
External input 0  
External input 1  
to  
I/O Area allocations  
CIO 0000.00  
CIO 0000.01  
to  
External input 15  
CIO 0000.15  
Outputs (40-pin General-purpose I/O Connector)  
Name  
External output 0  
External output 1  
to  
I/O Area allocations  
CIO 0001.00  
CIO 0001.01  
to  
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  
to  
to  
External input 11  
CIO 0000.11  
Outputs (26-pin General-purpose I/O Connector)  
Name  
External output 0  
External output 1  
to  
I/O Area allocations  
CIO 0001.00  
CIO 0001.01  
to  
External output 7  
CIO 0001.07  
348  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 Words: A000 to A447, Read/Write Words: A448 to A649  
Address  
Bits  
Name  
Function  
A000 to 00 to 15 Subroutine Input Condition Flags  
A015  
These flags contain the status of the input condition for JSB(982)  
when JSB(982) is used to call a subroutine.  
Address  
Corresponding  
subroutines  
Word  
A000  
Bits  
00 to 15  
00 to 15  
00 to 15  
to  
SBN000 to SBN015  
SBN016 to SBN031  
SBN032 to SBN047  
to  
A001  
A002  
to  
A015  
00 to 15  
SBN240 to SBN255  
A100 to 00 to 15 Error Log Area  
A199  
When an error has occurred, the error code and error contents  
are stored in the Error Log Area.  
A200  
11  
12  
00  
01  
02  
03  
First Cycle Flag  
ON for one cycle after FQM1 operation begins.  
ON for one cycle when step execution is started with STEP(008).  
ON if the Motion Control Module is in slot 1.  
ON if the Motion Control Module is in slot 2.  
ON if the Motion Control Module is in slot 3.  
ON if the Motion Control Module is in slot 4.  
Step Flag  
A202  
Motion Control Module slot 1  
Motion Control Module slot 2  
Motion Control Module slot 3  
Motion Control Module slot 4  
A206 to 00 to 15 Maximum Cycle Time  
A207  
These words store the maximum cycle time every cycle. The  
cycle time is recorded in 8-digit hexadecimal (unit: 0.01 ms).  
A208 to 00 to 15 Present Cycle Time  
A209  
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  
08  
09  
FALS Error Flag  
Turns ON when a non-fatal error is generated by the FALS(006)  
instruction. The FQM1 will stop operating.  
(fatal error)  
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).  
Program Error Flag  
(fatal error)  
ON when program contents are incorrect.  
Module operation will stop.  
10  
14  
I/O Setting Error Flag  
I/O Bus Error Flag  
Turns ON when more than four Motion Control Modules are con-  
nected to the Coordinator Module.  
Turns ON when an error occurs in transferring data between the  
Coordinator Module and Motion Control Modules. Module opera-  
tion will stop.  
15  
05  
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  
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  
13  
System Setup Error Flag  
Turns ON when there is a setting error in the System Setup.  
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  
15  
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.  
FAL Error Flag  
(non-fatal error)  
Turns ON when a non-fatal error is generated by executing  
FAL(006). The FQM1 will continue operating.  
349  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                                       
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
00  
Name  
Function  
A403  
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  
13  
Flash Memory Error Flag  
Turns ON when the flash memory is physically destroyed.  
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  
05  
06  
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  
A405  
Constant Cycle Time Exceeded Flag  
Sync Cycle Time Too Long Flag  
Memory Not Held Flag  
Turns ON when the actual cycle time exceeds the specified con-  
stant (minimum) cycle time.  
Turns ON when one of the Modules exceeds the specified sync  
cycle time. (Coordinator Module only)  
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).  
11  
12  
No END Error Flag  
Task Error Flag  
ON when there isn’t an END(001) instruction in each program  
within a task.  
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  
15  
Illegal Instruction Error Flag  
UM Overflow Error Flag  
ON when a program that cannot be executed has been stored.  
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  
A410  
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.  
02  
03  
04  
05  
08  
RS-232C Parity Error Flag  
These error flags turn ON when an error has occurred at the RS-  
232C port.  
Port  
Framing Error Flag  
Error  
Flags  
Overrun Error Flag  
Timeout Error Flag  
RS-232C Port Communications Error Flag  
Turns ON when a communications error has occurred at the RS-  
232C port.  
09  
10  
11  
15  
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.  
RS-232C Port Reception Completed Flag (no-  
protocol mode)  
Turns ON when the RS-232C port has completed the reception in  
no-protocol mode.  
RS-232C Port Reception Overflow Flag (no-pro- Turns ON when a data overflow occurred during reception  
tocol mode)  
through the RS-232C port in no-protocol mode.  
RS-232C Port Settings Changing Flag  
Turns ON while the RS-232C port’s communications settings are  
being changed.  
A411  
A412  
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.  
02  
03  
04  
05  
08  
Periph-  
eral Port  
Error  
Parity Error Flag  
These error flags turn ON when an error has occurred at the  
peripheral port.  
Framing Error Flag  
Overrun Error Flag  
Timeout Error Flag  
Flags  
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.  
350  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                                         
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
02  
Name  
Function  
A414  
RS-422A Parity Error Flag  
These error flags turn ON when an error has occurred at the RS-  
422A port.  
Port  
03  
04  
05  
08  
Framing Error Flag  
Error  
Flags  
Overrun Error Flag  
Timeout Error Flag  
RS-422A Port Communications Error Flag  
Turns ON when a communications error has occurred at the RS-  
422A port.  
09  
10  
11  
15  
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.  
RS-422A Port Reception Completed Flag (no-  
protocol mode)  
Turns ON when the RS-422A port has completed the reception in  
no-protocol mode.  
RS-422A Port Reception Overflow Flag (no-pro- Turns ON when a data overflow occurred during reception  
tocol mode)  
through the RS-422A port in no-protocol mode.  
RS-422A Port Settings Changing Flag  
Turns ON while the RS-422A port’s communications settings are  
being changed.  
A415  
A500  
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.  
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  
Peripheral Port Restart Bit  
RS-422A 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  
02  
Turn this bit ON to restart the peripheral port.  
This bit is turned OFF automatically when the restart processing  
is completed.  
Turn this bit ON to restart the RS-422A port.  
This bit is turned OFF automatically when the restart processing  
is completed.  
A507  
A508  
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  
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  
12  
Trace Trigger Monitor Flag  
Trace Completed 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).  
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  
14  
Trace Busy Flag  
Trace Start Bit  
Turns ON when the Sampling Start Bit (A508.15) is turned from  
OFF to ON. Turns OFF when the trace is completed.  
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.  
A510 to 00 to 15 Macro Area Input Words  
A514  
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.  
A515 to 00 to 15 Macro Area Output Words  
A519  
After the subroutine specified in MCRO(099) has been executed,  
the results of the subroutine are transferred to these five words.  
351  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                           
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
Name  
Function  
A520  
00 to 15 Interrupt Counter 0 Counter SV  
00 to 15 Interrupt Counter 1 Counter SV  
00 to 15 Interrupt Counter 2 Counter SV  
00 to 15 Interrupt Counter 3 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  
A522  
A523  
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  
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  
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  
A525  
A526  
A527  
00 to 15 Interrupt Counter 0 Counter PV  
00 to 15 Interrupt Counter 1 Counter PV  
00 to 15 Interrupt Counter 2 Counter PV  
00 to 15 Interrupt Counter 3 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  
A530  
00  
01  
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.  
DM Read Request Bit (Motion Control Module to DM data transfer is executed from the Motion Control Module to  
Coordinator Module) Coordinator Module when this bit turns ON.  
A531  
00 to 15 Slot No. of Motion Control Module for DM Trans- Specifies the slot number (in 4-digit hexadecimal) for the Motion  
fer  
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  
A533  
A534  
A535  
00 to 15 DM Transfer Size (number of words)  
00 to 15 First DM Transfer Source Word  
00 to 15 First DM Transfer Destination Word  
Specifies the size, in number of words, of the DM data to be trans-  
ferred.  
0001 to 01F3 hex (1 to 499 words)  
Specifies the first address of the DM transfer source in the Coor-  
dinator Module or Motion Control Module.  
0000 to 7FFF hex  
Specifies the first address of the DM transfer destination in the  
Coordinator Module or Motion Control Module.  
0000 to 7FFF hex  
14  
15  
Transfer Error Flag  
Transfer Busy Flag  
Turns ON when a DM data transfer error occurs.  
Turns ON during DM data transfer and turns OFF when the trans-  
fer has been completed.  
A550  
A552  
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:  
• 0 to 5 V or 1 to 5 V:  
10 to 10 V:  
FE70 to 20D0 hex  
FF38 to 1068 hex  
DDA0 to 2260 hex  
00  
07  
08  
Analog Input Status  
User Adjustment  
Completed  
OFF: Not adjusted  
ON: Adjustment completed  
Analog Sampling  
Started  
OFF: Not started  
ON: Started  
FactoryAdjustment OFF: No Error  
Data Error  
ON: Error (Checked at power ON.)  
09  
15  
User Adjustment  
Data Error  
OFF: No Error  
ON: Error (Checked at power ON.)  
Analog Sampling  
Overlap  
OFF: Normal sampling  
ON: The next sampling operation occurred  
before the present sampling operation com-  
pleted.  
352  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 ana-  
log 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  
UserAdjustment Initial value is 0.  
Completed  
Set to 1 if user performs offset/gain adjustment and Returns to  
factory default setting of 0 if adjustment value is cleared.  
04  
08  
Operating  
ON: ON while the analog output is being changed by ACC(888).  
OFF: Turned OFF when target value is reached.  
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  
14  
00  
Factory Adjust- ON: ON when the factory-set data stored in flash memory is  
ment Value  
Error  
invalid.  
OFF: OFF when the factory-set data stored in flash memory is  
normal.  
UserAdjustment ON: ON when the user-set adjustment value stored in flash mem-  
Value Error  
ory is invalid.  
OFF: OFF when the user-set adjustment value stored in flash  
memory is normal.  
A563  
Analog Output 2 Flags  
UserAdjustment Same as for Analog Output 1 Flags.  
Completed  
04  
08  
12  
Operating  
Output SV Error  
Factory Adjust-  
ment Value  
Error  
14  
00  
UserAdjustment  
Value Error  
A564  
A565  
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.  
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.  
353  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
00  
Name  
Function  
A570  
Adjustment Mode Command Adjustment  
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).  
Bits  
Enable  
02  
03  
Analog Output 1  
Analog Output 2  
(Effective only when A575 is  
5A5A hex.)  
07  
12  
13  
Adjustment  
OFF: Offset adjustment  
ON: Gain adjustment  
Mode Specifier  
Adjustment  
While this bit is ON, the offset or gain value will be incremented  
Value Increment by one resolution unit each 0.5 ms.  
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  
15  
Adjustment  
Value Clear  
OFF to ON: Clears the adjustment data to the factory defaults.  
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  
15  
Adjustment Mode Status  
Adjustment  
ON when an operational error has been made, such as turning  
Operation Error ON both the Analog Input and Analog Output 2 Adjustment  
Enable Bits at the same time.  
Adjustment  
Mode Started  
ON during adjustment mode operation (when A575 contains  
5A5A hex).  
A572  
A573  
A574  
00 to 15 Adjustment Mode Monitor  
Both Analog  
Input and Ana-  
log Outputs  
Setting Offset Mon- The values in these 10 to 10 V: FE0C to  
itor  
words can be over-  
written directly,  
without using the  
Adjustment Value  
Increment/Decre-  
ment Bits.  
01F4 hex  
(Effective only when A575 is  
5A5A hex.)  
• 0 to 10 V, 0 to 5 V, 1  
to 5 V: FF38 to 00C8  
hex  
00 to 15  
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  
Analog Inputs  
Number of Average Indicates the number of values to be aver-  
Value Samples in  
Adjustment Mode  
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  
A601  
A602  
A603  
00 to 15 High-speed Counter 1 PV  
00 to 15  
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).  
00 to 15 High-speed Counter 2 PV  
00 to 15  
A604 to 00 to 15 High-  
For following  
PV of absolute  
Contains the number of rotations data (PV) read from the  
A605  
speed  
Counter  
1
counter modes  
number of rota- Encoder when the SEN signal is input to the Servo Driver.  
tions  
• Absolute linear  
(CW)  
• Absolute circular  
• Absolute linear  
(CW+)  
8000 0000 to 7FFF FFFF hex  
For following  
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).  
counter modes  
• Linear counter  
• Circular counter  
354  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
Name  
Function  
Same as for A604 and A605 for high-speed counter 1 except that  
A606 to 00 to 15 High-  
A607  
For following  
counter modes  
PV of absolute  
speed  
Counter  
2
number of rota- measuring the high-speed counter frequency is not possible for  
tions  
high-speed counter 2.  
• Absolute linear  
(CW)  
• Absolute circular  
• Absolute linear  
(CW+)  
For following  
counter modes  
Monitor data  
• Linear counter  
• Circular counter  
A608  
00  
High-  
Target Comparison In-progress Flag OFF: Target value comparison is not being performed for  
CTBL(882).  
speed  
counter1  
status  
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  
03  
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.  
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  
05  
Absolute No. of Rotations Read Error OFF: No error  
Flag  
ON: Error  
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 OFF: Changes in the counter PV or the counter frequency is not  
1 or 2)  
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 Dis-  
play in System Setup is set to  
Counter Movements (mode 1) or Fre-  
quency (mode 2).  
07  
08  
12  
High-speed Counter Operating Flag OFF: Counter is not operating.  
ON: Counter is operating.  
Count Latched Flag  
OFF: Count has not been latched.  
ON: Latching the count has been completed for the latch input.  
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  
01  
03  
High-  
Target Comparison In-progress Flag Same as for high-speed counter 1.  
PV Overflow/Underflow Flag  
speed  
counter2  
status  
Phase Z Input Reset Flag (ON for  
one cycle)  
04  
05  
06  
Absolute No. of Rotations Read Error  
Flag  
Absolute No. of Rotations Read  
Completed Flag  
Measuring Flag (measurement mode  
1 or 2)  
07  
08  
12  
High-speed Counter Operating Flag  
Count Latched Flag  
Absolute Offset Preset Error Flag  
355  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                       
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
00  
Name  
Function  
A610  
High-  
speed  
counter1  
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  
02  
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.  
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  
05  
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.  
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  
07  
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.  
Absolute Number of Rotations Read OFF: Disables reading the number of rotations data from the  
Bit  
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  
09  
Latch Input 1 Enable Bit  
Latch Input 2 Enable Bit  
OFF: Disables the external latch input 1 signal.  
ON: Enables the external latch input 1 signal.  
OFF: Disables the external latch input 2 signal.  
ON: Enables the external latch input 2 signal.  
A611  
00  
01  
02  
03  
04  
05  
06  
07  
High-  
speed  
counter2  
com-  
mand  
bits  
Start Bit  
Same as command bits for high-speed counter 1.  
Reset Bit  
Measurement Start Bit  
Reserved  
Range Comparison Results Clear Bit  
Absolute Offset Preset Bit  
Absolute Present Value Preset Bit  
Absolute Number of Rotations Read  
Bit  
08  
09  
Latch Input 1 Enable Bit  
Latch Input 2 Enable Bit  
356  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
Name  
Function  
A612  
00 to 15 High-  
speed  
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  
counter1  
monitor  
data  
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  
A615  
00 to 15 High-  
Range Comparison Results  
Output Bit Pattern  
Same as for high-speed counter 1 monitor data.  
speed  
00 to 15  
counter2  
monitor  
data  
A620 to 00 to 15 Pulse Output 1 PV  
A621  
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  
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.  
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  
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))  
Note This item applies when the operation  
mode is time measurement mode using a pulse  
counter.  
A622 to 00 to 15 Pulse Output 2 PV  
Same as for Pulse Output 1 PV.  
A623  
One-shot Pulse Output 2 ON Time  
Pulse Time Measurement 2  
Same as for One-shot Pulse Output 1 ON time.  
Same as for Pulse Time Measurement 1.  
OFF: Pulse output not completed (OFF during pulse output).  
ON: Pulse output completed (ON when pulse distribution has  
been completed).  
A624  
00  
Pulse  
Output 1  
Status  
Pulse Output Completed Flag  
01  
02  
Pulse Output Set Flag  
OFF: Pulse output amount not set by PULS(886).  
ON: Pulse output amount set by PULS(886).  
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  
04  
05  
06  
Target Comparison Flag  
OFF: Comparison stopped.  
ON: Comparison in progress.  
Independent Pulse Output Flag  
PLS2 Positioning Flag  
OFF: Pulses not being output or being output continuously.  
ON: Pulses being output.  
OFF: Not positioning.  
ON: Positioning in progress.  
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  
01  
02  
03  
04  
05  
06  
07  
Pulse  
Output 2  
Status  
Pulse Output Completed Flag  
Pulse Output Set Flag  
Same as for Pulse Output 1 Status.  
Target Frequency Not Reached Flag  
Target Comparison Flag  
Independent Pulse Output Flag  
PLS2 Positioning Flag  
Accelerating/Decelerating Flag  
Pulse Output Flag  
357  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                   
Auxiliary Area Allocations  
Appendix D  
Address  
Bits  
00  
Name  
PV Reset Bit  
Function  
OFF: Pulse output 1 PV not reset.  
ON: Resets pulse output 1 PV.  
A626  
Pulse  
Output 1  
Com-  
mand  
Bits  
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  
A628  
00  
01  
Pulse  
Output 2  
Com-  
mand  
Bits  
PV Reset Bit  
Same as for Pulse Output 1 Command Bits.  
Range Comparison Results Clear Bit  
07  
14  
Pulse  
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).  
Output  
Control  
Bits  
(Apply to  
both  
PLS2 Pulse Output Direction Priority OFF: Sets Direction Priority Mode.  
Mode Bit  
pulse  
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.  
outputs 1  
and 2.)  
ON: Sets Absolute Position Priority Mode.  
In Absolute Position Priority Mode, pulses are always output in  
the direction of the specified absolute position.  
A630  
A631  
00 to 15 Pulse  
Range Comparison Results  
Output Bit Pattern  
Contains the CTBL(882) execution results for range comparison.  
Bits 00 to 15 correspond to ranges 1 to 16.  
OFF: No match  
ON: Match  
Output 1  
Monitor  
Data  
00 to 15  
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  
A633  
00 to 15 Pulse  
Range Comparison Results  
Output Bit Pattern  
Same as for Pulse Output 1 Monitor Data.  
Output 2  
00 to 15  
Monitor  
Data  
358  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Auxiliary Area Allocations  
Appendix D  
Detailed Explanations on the Auxiliary Area  
Error Log Area: A100 to A199  
A100  
A101 Error contents  
Error code  
Error  
record  
A102  
A103  
A104  
0101  
0101  
0101  
A195  
A196  
A197  
A198  
A199  
Error code  
Error contents  
Error  
record  
0101  
0101  
0101  
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 01  
01 01  
01 01  
The following data would be generated in an error record if  
an FALS error with FALS number 001 occurred  
C1 01  
00 00  
01 01  
01 01  
01 01  
Error Codes and Error Flags  
Classification  
Error code  
Meaning  
Error flags  
System-defined 80F1  
Memory error  
I/O bus error  
A403  
---  
fatal errors  
80C0  
80CE  
80CF  
80E0  
80F0  
809F  
No End Cover  
Sync bus error  
I/O setting error  
Program error  
---  
---  
A405  
---  
Cycle time too long error  
System Setup setting error  
System-defined 009B  
non-fatal errors  
A409  
User-defined  
fatal errors  
C101 to C2FF  
FALS instruction executed (See note 1.)  
FAL instruction executed (See note 2.)  
---  
---  
User-defined  
non-fatal errors  
4101 to 42FF  
Note (1) Codes C101 to C2FF will be stored for FALS numbers 001 to 511.  
(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.  
359  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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,<=L, and >=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.  
Note Directly setting FQM1 memory addresses in the program should be avoided whenever possible. If FQM1  
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.  
360  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Auxiliary Area Allocations  
Appendix D  
Memory Map  
Note Do not access the areas indicated Reserved for system.  
Classification  
FQM1 memory  
addresses (hex)  
User addresses  
Area  
Parameter areas  
00000 to 0B0FF  
---  
System Setup Area  
Profile Area  
I/O memory areas  
0B100 to 0B1FF  
0B200 to 0B7FF  
0B800 to 0B801  
0B802 to 0B83F  
0B840 to 0B9FF  
0BA00 to 0BACB  
0BACA to 0BBFF  
0BC00 to 0BDFF  
0BE00 to 0BE0F  
0BE10 to 0BEFF  
0BF00 to 0BF0F  
0BF10 to 0BFFF  
0C000 to 0C0FF  
0C100 to 0D7FF  
0D800 to 0D9FF  
0DA00 to 0DDFF  
0DE00 to 0DEFF  
0DF00 to 0DFFF  
0E000 to 0E0FF  
0E100 to 0EFFF  
0F000 to 0F0FF  
0F100 to 0FFFF  
10000 to 17FFF  
18000 to FFFFF  
---  
---  
Reserved for system.  
Reserved for system.  
Task Flag Area  
TK0000 to TK0031  
---  
Reserved for system.  
Read-only Auxiliary Area  
A000 to A447  
A448 to A649  
Read/Write Auxiliary Area  
Reserved for system.  
Reserved for system.  
Timer Completion Flags  
Reserved for system.  
Counter Completion Flags  
Reserved for system.  
CIO Area  
---  
---  
T0000 to T0255  
---  
C0000 to C0255  
---  
CIO 0000 to CIO 0255  
---  
Reserved for system.  
Reserved for system.  
Reserved for system.  
Work Area  
---  
---  
W000 to W255  
---  
Reserved for system.  
Timer PVs  
T0000 to T0250  
---  
Reserved for system.  
Counter PVs  
C0000 to C0255  
---  
Reserved for system.  
DM Area  
D00000 to D32767  
---  
Reserved for system.  
361  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.)  
Note User programs are allocated tasks that can be executed within cyclic tasks and interrupt tasks that sat-  
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.  
Note (1) Program capacity for the FQM1 is measured in steps. Basically speaking, 1 step is equivalent to 1  
word.  
Most instructions are supported in differentiated form (indicated with , , @, and %). Specifying  
differentiation will increase the execution times by the following amounts.  
Symbol  
or ↓  
@ or %  
µs  
+0.5  
+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  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
(steps)  
(See  
note.)  
LOAD  
LD  
---  
---  
---  
1
1
1
1
1
1
1
1
0.10  
Yes  
---  
---  
---  
---  
---  
---  
---  
---  
LOAD NOT  
AND  
LD NOT  
AND  
0.10  
0.10  
0.10  
0.10  
0.10  
0.05  
0.05  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
AND NOT  
OR  
AND NOT ---  
OR  
---  
---  
---  
---  
OR NOT  
AND LOAD  
OR LOAD  
OR NOT  
AND LD  
OR LD  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Sequence Output Instructions  
Instruction  
Mnemonic Code Length  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
(steps)  
(See  
note.)  
OUTPUT  
OUT  
---  
1
1
1
2
2
0.35  
Yes  
---  
---  
---  
---  
---  
OUTPUT NOT  
KEEP  
OUT NOT ---  
0.35  
0.40  
0.50  
0.50  
Yes  
Yes  
Yes  
Yes  
KEEP  
DIFU  
DIFD  
011  
DIFFERENTIATE UP  
013  
014  
DIFFERENTIATE  
DOWN  
SET  
SET  
---  
---  
1
1
0.30  
0.30  
Yes  
Yes  
---  
---  
RESET  
RSET  
362  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Auxiliary Area Allocations  
Appendix D  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Sequence Control Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
END  
END  
NOP  
IL  
001  
000  
002  
003  
004  
005  
1
1
1
1
2
2
7.0  
Yes  
---  
---  
---  
---  
---  
---  
NO OPERATION  
INTERLOCK  
INTERLOCK CLEAR  
JUMP  
0.05  
0.15  
0.15  
0.95  
---  
Yes  
Yes  
Yes  
Yes  
---  
ILC  
JMP  
JME  
JUMP END  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Timer and Counter Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
TIMER  
TIM  
---  
3
3
3
3
3
1.30  
Yes  
---  
---  
---  
---  
---  
COUNTER  
CNT  
---  
1.30  
1.80  
1.75  
24.8  
Yes  
Yes  
Yes  
---  
HIGH-SPEED TIMER  
ONE-MS TIMER  
TIMH  
TMHH  
CNTR  
015  
540  
012  
REVERSIBLE  
COUNTER  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Comparison Instructions  
Instruction  
Mnemonic  
Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
Input Comparison  
LD, AND, OR +=  
LD, AND, OR + <>  
LD, AND, OR + <  
LD, AND, OR +<=  
LD, AND, OR +>  
LD, AND, OR +>=  
LD, AND, OR +=+L  
300  
305  
310  
315  
320  
325  
301  
4
4
4
0.35  
Yes  
---  
---  
---  
Instructions (unsigned)  
Input Comparison  
Instructions (double,  
unsigned)  
0.35  
0.35  
Yes  
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  
LD, AND, OR +=+S 302  
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  
Input Comparison  
Instructions (signed)  
363  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Auxiliary Area Allocations  
Appendix D  
Instruction  
Mnemonic  
Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
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  
CMPL  
CPS  
020  
060  
114  
3
3
3
0.10  
0.50  
0.30  
Yes  
Yes  
Yes  
---  
---  
---  
DOUBLE COMPARE  
SIGNED BINARY  
COMPARE  
DOUBLE SIGNED  
BINARY COMPARE  
CPSL  
115  
3
0.50  
Yes  
---  
TABLE COMPARE  
TCMP  
085  
019  
068  
4
4
4
30.3  
47.5  
50.3  
---  
---  
---  
---  
---  
---  
MULTIPLE COMPARE MCMP  
UNSIGNED BLOCK  
COMPARE  
BCMP  
EXPANDED BLOCK  
COMPARE  
BCMP2  
502  
4
15.3  
---  
---  
Number of data words: 1  
689.1  
Number of data words:  
255  
AREA RANGE COM-  
PARE  
ZCP  
088  
116  
3
3
11.6  
11.4  
---  
---  
---  
DOUBLE AREA  
RANGE COMPARE  
ZCPL  
---  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Data Movement Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
MOVE  
MOV  
021  
498  
022  
499  
082  
083  
070  
3
3
3
3
4
4
4
0.30  
Yes  
---  
---  
---  
---  
---  
---  
DOUBLE MOVE  
MOVE NOT  
MOVL  
MVN  
0.60  
0.35  
0.60  
0.50  
0.50  
0.8  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
Yes  
---  
DOUBLE MOVE NOT  
MOVE BIT  
MVNL  
MOVB  
MOVD  
XFER  
MOVE DIGIT  
BLOCK TRANSFER  
Transferring 1 word  
Transferring 1,000 words  
Setting 1 word  
Setting 1,000 words  
---  
650.2  
0.55  
400.2  
0.80  
10.5  
BLOCK SET  
BSET  
071  
4
DATA EXCHANGE  
XCHG  
DIST  
073  
080  
3
4
SINGLE WORD DIS-  
TRIBUTE  
---  
DATA COLLECT  
COLL  
081  
4
10.5  
---  
---  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
364  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Auxiliary Area Allocations  
Appendix D  
Data Shift Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
SHIFT REGISTER  
SFT  
010  
084  
017  
016  
025  
3
4
4
4
2
12.4  
---  
Shifting 1 word  
368.1  
14.0  
---  
---  
---  
---  
---  
---  
---  
Yes  
Shifting 1,000 words  
Shifting 1 word  
Shifting 1,000 words  
Shifting 1 word  
Shifting 1,000 words  
Shifting 1 word  
Shifting 1,000 words  
---  
REVERSIBLE SHIFT  
REGISTER  
SFTR  
ASFT  
WSFT  
ASL  
1.44 ms  
13.9  
ASYNCHRONOUS  
SHIFT REGISTER  
3.915 ms  
9.7  
WORD SHIFT  
728.1  
0.45  
ARITHMETIC SHIFT  
LEFT  
DOUBLE SHIFT LEFT ASLL  
570  
026  
2
2
0.80  
0.45  
Yes  
Yes  
---  
---  
ARITHMETIC SHIFT  
RIGHT  
ASR  
DOUBLE SHIFT  
RIGHT  
ASRL  
571  
2
0.80  
Yes  
---  
ROTATE LEFT  
ROL  
027  
572  
2
2
0.45  
0.80  
Yes  
Yes  
---  
---  
DOUBLE ROTATE  
LEFT  
ROLL  
ROTATE LEFT WITH-  
OUT CARRY  
RLNC  
RLNL  
574  
576  
2
2
0.45  
0.80  
Yes  
Yes  
---  
---  
DOUBLE ROTATE  
LEFT WITHOUT  
CARRY  
ROTATE RIGHT  
ROR  
028  
573  
2
2
0.45  
0.80  
Yes  
Yes  
---  
---  
DOUBLE ROTATE  
RIGHT  
RORL  
ROTATE RIGHT WITH- RRNC  
OUT CARRY  
575  
577  
2
2
0.45  
0.80  
Yes  
Yes  
---  
---  
DOUBLE ROTATE  
RIGHT WITHOUT  
CARRY  
RRNL  
ONE DIGIT SHIFT  
LEFT  
SLD  
SRD  
074  
075  
3
3
10.1  
---  
---  
---  
---  
Shifting 1 word  
1.208 ms  
11.7  
Shifting 1,000 words  
Shifting 1 word  
ONE DIGIT SHIFT  
RIGHT  
1.775 ms  
Shifting 1,000 words  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Increment/Decrement Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
INCREMENT BINARY ++  
590  
591  
2
2
0.45  
Yes  
---  
---  
DOUBLE INCRE-  
MENT BINARY  
++L  
0.80  
Yes  
DECREMENT BINARY – –  
592  
593  
2
2
0.45  
0.80  
Yes  
Yes  
---  
---  
DOUBLE DECRE-  
MENT BINARY  
– –L  
INCREMENT BCD  
++B  
594  
595  
2
2
12.1  
9.37  
---  
---  
---  
---  
DOUBLE INCRE-  
MENT BCD  
++BL  
DECREMENT BCD  
– –B  
596  
597  
2
2
11.5  
9.3  
---  
---  
---  
---  
DOUBLE DECRE-  
MENT BCD  
– –BL  
365  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Auxiliary Area Allocations  
Appendix D  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Symbol Math Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
SIGNED BINARY ADD  
WITHOUT CARRY  
+
400  
401  
4
4
0.30  
Yes  
---  
---  
DOUBLE SIGNED  
BINARY ADD WITH-  
OUT CARRY  
+L  
0.60  
Yes  
SIGNED BINARY ADD +C  
WITH CARRY  
402  
403  
4
4
0.40  
0.60  
Yes  
Yes  
---  
---  
DOUBLE SIGNED  
BINARY ADD WITH  
CARRY  
+CL  
BCD ADD WITHOUT  
CARRY  
+B  
404  
405  
406  
407  
410  
4
4
4
4
4
16.3  
22.9  
17.2  
24.1  
0.3  
---  
---  
---  
---  
---  
---  
DOUBLE BCD ADD  
WITHOUT CARRY  
+BL  
+BC  
+BCL  
---  
BCD ADD WITH  
CARRY  
---  
DOUBLE BCD ADD  
WITH CARRY  
---  
SIGNED BINARY SUB-  
TRACT WITHOUT  
CARRY  
Yes  
DOUBLE SIGNED  
BINARY SUBTRACT  
WITHOUT CARRY  
–L  
411  
4
0.60  
Yes  
---  
SIGNED BINARY SUB- –C  
TRACT WITH CARRY  
412  
413  
4
4
0.40  
0.60  
Yes  
Yes  
---  
---  
DOUBLE SIGNED  
BINARY SUBTRACT  
WITH CARRY  
–CL  
BCD SUBTRACT  
WITHOUT CARRY  
–B  
414  
415  
4
4
16.3  
23.1  
---  
---  
---  
---  
DOUBLE BCD SUB-  
TRACT WITHOUT  
CARRY  
–BL  
BCD SUBTRACT  
WITH CARRY  
–BC  
416  
417  
420  
421  
422  
423  
4
4
4
4
4
4
18.1  
24.2  
0.65  
12.8  
0.75  
12.4  
---  
---  
---  
---  
---  
---  
---  
DOUBLE BCD SUB-  
TRACT WITH CARRY  
–BCL  
---  
SIGNED BINARY MUL- *  
TIPLY  
Yes  
---  
DOUBLE SIGNED  
BINARY MULTIPLY  
*L  
UNSIGNED BINARY  
MULTIPLY  
*U  
Yes  
---  
DOUBLE UNSIGNED  
BINARY MULTIPLY  
*UL  
BCD MULTIPLY  
*B  
424  
425  
4
4
16.9  
34.7  
---  
---  
---  
---  
DOUBLE BCD MULTI- *BL  
PLY  
SIGNED BINARY  
DIVIDE  
/
430  
431  
432  
433  
4
4
4
4
0.70  
11.9  
0.8  
Yes  
---  
---  
---  
---  
---  
DOUBLE SIGNED  
BINARY DIVIDE  
/L  
UNSIGNED BINARY  
DIVIDE  
/U  
/UL  
Yes  
---  
DOUBLE UNSIGNED  
BINARY DIVIDE  
11.9  
366  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Auxiliary Area Allocations  
Appendix D  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
BCD DIVIDE  
/B  
434  
435  
4
4
18.3  
26.7  
---  
---  
---  
---  
DOUBLE BCD DIVIDE /BL  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Conversion Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
BCD-TO-BINARY  
BIN  
023  
058  
3
3
0.40  
Yes  
---  
---  
DOUBLE BCD-TO-  
DOUBLE BINARY  
BINL  
7.4  
---  
BINARY-TO-BCD  
BCD  
024  
059  
3
3
8.0  
8.0  
---  
---  
---  
---  
DOUBLE BINARY-TO- BCDL  
DOUBLE BCD  
2’S COMPLEMENT  
NEG  
160  
161  
3
3
0.35  
0.60  
Yes  
Yes  
---  
---  
DOUBLE 2’S COM-  
PLEMENT  
NEGL  
ASCII CONVERT  
ASC  
HEX  
086  
162  
4
4
11.8  
18.1  
12.2  
---  
---  
---  
Converting 1 digit into ASCII  
Converting 4 digits into ASCII  
Converting 1 digit  
ASCII TO HEX  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Logic Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
LOGICAL AND  
ANDW  
ANDL  
034  
610  
4
4
0.30  
Yes  
---  
---  
DOUBLE LOGICAL  
AND  
0.60  
Yes  
LOGICAL OR  
ORW  
035  
611  
036  
612  
4
4
4
4
0.45  
0.60  
0.45  
0.60  
Yes  
Yes  
Yes  
Yes  
---  
---  
---  
---  
DOUBLE LOGICAL OR ORWL  
EXCLUSIVE OR XORW  
DOUBLE EXCLUSIVE XORL  
OR  
EXCLUSIVE NOR  
XNRW  
037  
613  
4
4
0.45  
0.60  
Yes  
Yes  
---  
---  
DOUBLE EXCLUSIVE XNRL  
NOR  
COMPLEMENT  
COM  
029  
614  
2
2
0.45  
0.80  
Yes  
Yes  
---  
---  
DOUBLE COMPLE-  
MENT  
COML  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
367  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Auxiliary Area Allocations  
Appendix D  
Special Math Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
ARITHMETIC PRO-  
CESS  
APR  
069  
4
24.3  
---  
Linear approximation specifica-  
tion, normal  
12.1  
---  
---  
---  
---  
---  
---  
Linear approximation table trans-  
fer, 1 word  
126.1  
241.3  
21.5  
Linear approximation table trans-  
fer, 128 words  
Linear approximation table trans-  
fer, 256 words  
Linear approximation buffer specifi-  
cation, 256 words, beginning  
186.9  
104.5  
Linear approximation buffer specifi-  
cation, 256 words, end  
Linear approximation buffer specifi-  
cation, 128 words, end  
BIT COUNTER  
VIRTUAL AXIS  
BCNT  
AXIS  
067  
981  
4
4
0.65  
47.9  
48.1  
8.3  
Yes  
---  
Counting 1 word  
Relative mode  
---  
Absolute mode  
---  
Stopping processing  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Floating-point Math Instructions  
Instruction  
Mnemonic  
Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
FLOATING TO 32-BIT  
32-BIT TO FLOATING  
FIXL  
FLTL  
+F  
451  
453  
454  
3
3
4
7.4  
---  
---  
---  
---  
7.0  
---  
---  
FLOATING-POINT  
ADD  
11.4  
FLOATING-POINT  
SUBTRACT  
–F  
455  
457  
456  
458  
459  
4
4
4
3
3
11.0  
11.1  
11.0  
9.7  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
FLOATING-POINT  
DIVIDE  
/F  
FLOATING-POINT  
MULTIPLY  
*F  
DEGREES TO RADI-  
ANS  
RAD  
DEG  
RADIANS TO  
DEGREES  
9.4  
SINE  
SIN  
460  
461  
462  
463  
464  
465  
466  
467  
468  
840  
3
3
3
3
3
3
3
3
3
4
15.8  
15.5  
17.5  
42.7  
42.5  
21.3  
25.5  
18.1  
16.1  
31.5  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
COSINE  
COS  
TAN  
ASIN  
TANGENT  
ARC SINE  
ARC COSINE  
ARC TANGENT  
SQUARE ROOT  
EXPONENT  
LOGARITHM  
ACOS  
ATAN  
SQRT  
EXP  
LOG  
EXPONENTIAL  
POWER  
PWR  
368  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Auxiliary Area Allocations  
Appendix D  
Instruction  
Mnemonic  
Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
Floating Symbol Com- LD, AND, OR +=F  
329  
330  
331  
332  
333  
334  
3
8.9  
---  
---  
parison  
LD, AND, OR +<>F  
LD, AND, OR +<F  
LD, AND, OR +<=F  
LD, AND, OR +>F  
LD, AND, OR +>=F  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Table Data Processing Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
FIND MAXIMUM  
FIND MINIMUM  
MAX  
MIN  
182  
183  
4
4
13.0  
---  
Searching for 1 word  
1.41 ms  
12.8  
---  
---  
---  
Searching for 1,000 words  
Searching for 1 word  
1.412 ms  
Searching for 1,000 words  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Data Control Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
SCALING  
SCL  
194  
486  
487  
195  
4
4
4
4
22.7  
---  
---  
---  
---  
SCALING 2  
SCALING 3  
AVERAGE  
SCL2  
SCL3  
AVG  
21.8  
26.1  
27.9  
27.9  
---  
---  
---  
---  
Average of an operation  
Average of 64 operations  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Subroutine Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
SUBROUTINE CALL  
SBS  
091  
092  
093  
2
2
1
25.5  
Yes  
---  
---  
---  
SUBROUTINE ENTRY SBN  
---  
---  
SUBROUTINE  
RETURN  
RET  
21.9  
Yes  
MACRO  
MCRO  
JSB  
099  
982  
4
4
47.4  
34.9  
---  
---  
---  
---  
JUMP TO SUBROU-  
TINE  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
369  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Auxiliary Area Allocations  
Appendix D  
Interrupt Control Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
SET INTERRUPT  
MASK  
MSKS  
MSKR  
690  
692  
3
3
7.6  
---  
---  
---  
READ INTERRUPT  
MASK  
5.2  
---  
CLEAR INTERRUPT  
CLI  
DI  
691  
693  
3
1
7.2  
5.3  
---  
---  
---  
---  
DISABLE INTER-  
RUPTS  
ENABLE INTER-  
RUPTS  
EI  
694  
980  
1
4
5.6  
---  
---  
INTERVAL TIMER  
STIM  
9.5  
---  
---  
---  
---  
---  
---  
---  
One-shot timer  
11.0  
9.5  
One-shot pulse output  
Scheduled interrupt  
Reading timer PV  
10.8  
7.4  
Stopping timer  
17.8  
14.7  
Starting pulse counting  
Stopping pulse counting  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
High-speed Counter and Pulse Output Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
MODE CONTROL  
INI  
880  
4
16.7  
---  
Starting high-speed counter com-  
parison  
12.7  
---  
Stopping high-speed counter com-  
parison  
13.3  
10.9  
---  
---  
Changing pulse output PV  
Changing high-speed counter cir-  
cular value  
16.7  
12.6  
14.9  
13.1  
---  
---  
---  
---  
Starting pulse output comparison  
Stopping pulse output comparison  
Changing pulse output PV  
Changing pulse output circular  
value  
12.5  
10.1  
---  
---  
Stopping pulse output  
Stopping sampling counter com-  
parison  
14.5  
13.9  
---  
---  
Changing sampling counter PV  
Changing sampling counter circu-  
lar value  
HIGH-SPEED  
COUNTER PV READ  
PRV  
881  
4
13.5  
15.1  
50.8  
14.3  
---  
---  
---  
---  
Reading pulse output PV  
Reading high-speed counter PV  
Reading analog input PV  
Reading high-speed counter travel  
distance  
12.1  
---  
Reading high-speed counter  
latched value  
370  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Auxiliary Area Allocations  
Appendix D  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
COMPARISON TABLE CTBL  
LOAD  
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  
22.1  
Executing range comparison for 16  
ranges  
Only registering target value table  
for 1 target value  
240.1  
20.9  
Only registering target value table  
for 48 target values  
Registering a sampling counter  
target value table and starting  
comparison  
42.8  
23.7  
32.7  
42.9  
15.9  
---  
---  
---  
---  
---  
Analog output  
SPEED OUTPUT  
SET PULSES  
SPED  
PULS  
885  
886  
4
4
Continuous mode  
Independent mode  
Analog output  
Setting pulse output in relative  
mode  
16.1  
31.5  
---  
---  
Setting pulse output in absolute  
mode  
Absolute output mode (electronic  
cam)  
PULSE OUTPUT  
PLS2  
887  
888  
4
4
53.5  
42.5  
44.1  
18.7  
---  
---  
---  
---  
---  
ACCELERATION CON- ACC  
TROL  
Continuous mode  
Independent mode  
Analog output  
Step Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
STEP DEFINE  
STEP START  
STEP  
SNXT  
008  
009  
2
2
24.3  
13.0  
9.1  
---  
Step control bit ON  
Step control bit OFF  
---  
---  
---  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
I/O Refresh Instruction  
Instruction  
Mnemonic Code Length  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
(steps)  
(See  
note.)  
I/O REFRESH  
IORF  
097  
3
7.7  
7.6  
---  
---  
Refreshing 1 input word  
Refreshing 1 output word  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
371  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Auxiliary Area Allocations  
Appendix D  
Serial Communications Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
TRANSMIT  
TXD  
236  
235  
237  
4
4
3
24.1  
---  
Sending 1 byte  
342.6  
36.2  
---  
---  
---  
---  
Sending 256 bytes  
Storing 1 byte  
Storing 256 bytes  
---  
RECEIVE  
RXD  
STUP  
348.9  
441.1  
CHANGE SERIAL  
PORT SETUP  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Debugging Instructions  
Instruction  
Mnemonic Code Length  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
(steps)  
(See  
note.)  
TRACE MEMORY  
SAMPLING  
TRSM  
045  
1
34.6  
148.3  
---  
---  
Sampling 1 bit and 0 words  
Sampling 31 bits and 6 words  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Failure Diagnosis Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
note.)  
FAILURE ALARM  
FAL  
006  
3
157.1  
---  
Recording errors  
56.0  
457.0  
53.6  
---  
---  
---  
---  
---  
Deleting errors (in order of priority)  
Deleting errors (all errors)  
Deleting errors (individually)  
---  
SEVERE FAILURE  
ALARM  
FALS  
007  
3
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Other Instructions  
Instruction  
Mnemonic Code Length  
ON execution  
time (µs)  
Hardware  
implementation  
Conditions  
(steps)  
(See  
note.)  
SET CARRY  
CLEAR CARRY  
STC  
CLC  
040  
041  
1
1
0.15  
0.15  
Yes  
Yes  
---  
---  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
Block Programming Instructions  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Conditions  
note.)  
BLOCK PROGRAM  
BEGIN  
BPRG  
BEND  
096  
801  
2
1
20.3  
17.2  
---  
---  
---  
---  
BLOCK PROGRAM  
END  
372  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Auxiliary Area Allocations  
Appendix D  
Instruction  
Mnemonic Code  
Length  
(steps)  
(See  
ON execution  
time (µs)  
Conditions  
note.)  
Branching  
IF (input  
802  
802  
802  
1
2
2
6.8  
Yes  
Yes  
Yes  
IF true  
IF false  
IF true  
IF false  
IF true  
IF false  
condition)  
12.2  
11.0  
16.5  
11.5  
16.8  
Branching  
IF (relay  
number)  
Branching (NOT)  
IF NOT  
(relay num-  
ber)  
Branching  
Branching  
ELSE  
803  
804  
1
1
11.4  
13.4  
13.5  
7.0  
Yes  
Yes  
IF true  
IF false  
IF true  
IF false  
IEND  
Note When a double-length operand is used, add 1 to the value shown in the length column in the above  
table.  
373  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Auxiliary Area Allocations  
Appendix D  
374  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
Analog Output 2 Flags, 337, 353  
analog outputs  
A
A/D conversion value, 222  
applicable instructions, 228  
application examples, 230  
Auxiliary Area, 219  
connections, 74  
details, 225  
END refreshing, 226  
functions, 227  
absolute encoder  
absolute circular counter, 202  
absolute linear counter, 202  
absolute offset preset, 203  
absolute present value, 202  
absolute PV preset, 203  
output data  
instructions, 228  
acquisition, 207  
number of, 226  
procedure, 229  
Absolute No. of Rotations Read Completed Flag, 340, 341,  
355  
refresh methods, 226  
signal ranges, 226  
specifications, 226  
System Setup, 218  
used with ACC(888), 229  
values, 226  
Absolute No. of Rotations Read Error Flag, 340, 341, 355  
Absolute Offset Preset Error Flag, 340, 341, 355  
absolute position priority mode, 183  
absolute positioning (electronic cam control), 191  
ACC(888) instruction, 182, 190  
and analog outputs, 229  
pulse outputs, 170  
setting speed-change cycle, 183  
acceleration  
ASync Mode, 96, 104  
automatic backup  
using flash memory, 119  
Auxiliary Area  
allocations  
trapezoidal, 193  
acceleration rate, 182  
Access Error Flag, 308  
344  
in address order, 349  
Motion Control Modules, 329  
related to instructions, 347  
analog I/O, 219  
Constant Cycle Time Exceeded Error Clear Bit, 115  
Cycle Time PV, 116  
detailed explanations, 359  
DM Read Request Bit, 113  
DM Transfer Size, 113  
DM Write Request Bit, 113  
First DM Transfer Destination Word, 113  
Maximum Cycle Time, 116  
overview, 304  
addresses  
memory map, 360  
addressing  
BCD mode, 307  
binary mode, 307  
indirect addresses, 273  
memory addresses, 271  
operands, 272  
alarms  
user-programmed alarms, 121  
Always OFF Flag, 308  
Always ON Flag, 308  
analog I/O  
high-speed control, 26  
analog inputs, 215  
Auxiliary Area, 219  
connections, 74  
AXIS instruction, 213  
application example, 215  
specifications, 217  
System Setup, 218  
Analog Offset/Gain Error Flag, 345, 350  
Analog Output 1 Flags, 337, 353  
B
baud rate, 313, 318  
detection, 35  
375  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
serial data, 200  
BCD data, 276  
pin arrangement  
Coordinator Modules, 67  
Motion Control Modules, 68  
constant cycle time, 19, 114  
Sync Mode, 115  
Constant Cycle Time Exceeded Error Clear Bit, 115, 117  
BCD-mode addressing, 307  
binary-mode addressing, 307  
block programs, 270, 286, 287  
instruction execution times, 372  
constants  
operands, 274  
control panels  
cooling  
fan, 50  
Coordinator Module Fatal Error Flag, 250, 345, 349  
Coordinator Module WDT Error Flag, 250, 345, 349  
Coordinator Modules, 92  
connector pin arrangement, 67  
connectors, 65  
constant cycle time, 115  
current consumption, 45  
Cyclic Refresh Area, 107  
dimensions, 43  
cables, 235  
Carry (CY) Flag, 270, 285, 308  
CIO Area, 302  
Cyclic Refresh Bit Area, 302  
I/O Bit Area, 302  
Serial PLC Link Bit Area, 303  
Work Areas, 303  
Circular Counter, 154, 202  
circular mode, 182  
CLC(041) instruction, 308  
Clock Pulses, 309  
communications  
instruction execution times, 372  
no-protocol, 10, 13  
protocol support, 9  
protocols, 9  
See also serial communications  
flash memory, 93  
indicators, 34  
models, 32  
nomenclature, 34  
comparison instructions  
execution times, 363, 364  
Completion Flags  
Condition Flags, 281, 307  
list, 308  
connecting cables  
list, 83  
operation, 93  
overview, 5, 7  
System Setup, 93, 111, 311  
troubleshooting, 256  
user program, 92  
Count Latched Flag, 340, 341, 355  
Counter Area, 306  
connections  
analog inputs, 74  
analog outputs, 74  
Host Link, 64  
MIL connectors, 74  
peripheral bus (Toolbus), 65  
personal computers, 64  
pulse inputs, 71  
pulse outputs, 73  
Servo Drivers, 70  
wire size, 75  
connectors, 65  
connections, 74  
Counter Completion Flags, 361  
counter mode, 143, 204  
procedure, 144  
counters  
execution times, 363  
operations, 154, 201  
reset method, 204  
CPU errors, 246  
CPU standby, 246  
crimp terminals, 61  
CTBL(882) instruction, 152, 223  
376  
Download from Www.Somanuals.com. All Manuals Search And Download.  
current consumption, 45  
between Modules, 105  
data formats, 276  
Data Memory (DM) Area, 307  
data movement instructions  
execution times, 364  
execution times, 365  
debugging, 14, 120  
debugging instructions  
CX-Programmer, 92, 95  
connections, 235  
methods, 237  
Cycle Time Tab Page, 321  
models, 32  
Other Tab Page, 321  
deceleration  
overview, 8, 234  
rate, 182  
trapezoidal, 193  
decrement instructions  
execution times, 365  
decrement pulse inputs, 153  
Peripheral Port Settings, 313  
Peripheral Port Settings for Host Link, 313  
Peripheral Port Settings for Peripheral Bus (ToolBus),  
314  
Peripheral Service Time Settings, 320  
Pulse Input Tab Page, 322, 324  
Pulse Output Tab Page, 323  
DI(802) instruction  
disabling all interrupts, 141  
diagnosis, 120  
RS-232 Port Settings for No-protocol Communications  
(RS-232C), 317  
RS-232C Port Settings for Host Link, 315  
RS-232C Port Settings for NT Link, 316  
Differentiate Monitor Completed Flag, 351  
Differentiation Overflow Error Flag, 344, 350  
dimensions, 43  
Servo Relay Units, 79  
RS-232C Port Settings for PLC Link (PC Link (Slave)),  
318  
DIN Track, 57, 59  
DM data transfer, 105, 112  
executing, 113  
programming example, 114  
DM Read Request Bit, 113  
DM Transfer Size, 113  
DM Write Request Bit, 113  
RS-422A Port Settings for No-protocol Communications  
(Non-procedural), 319  
RS-422A Port Settings for Serial Gateway, 319  
cycle time, 19  
computing, 288  
errors, 249  
present cycle time, 344, 349  
settings, 326  
ducts  
wiring, 53  
Cycle Time PV, 116  
Cyclic Refresh Bit Area, 106, 107, 302  
allocations, 108  
E
EC Directives, xix  
EI(694) instruction  
cyclic refreshing, 94, 105, 106  
enabling all interrupts, 141  
electrical noise, 85  
D
data areas  
electronic cam control, 186  
End Modules  
current consumption, 45  
dimensions, 43  
models, 32  
addressing, 271  
data control instructions  
execution times, 369  
overview, 6  
data exchange  
377  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Equals Flag, 285, 308  
error codes, 359  
FAL Error Flag, 121, 249, 345, 349  
FAL errors, 249  
Error Flag, 308  
error flags, 359  
error log, 120, 242  
FAL(006) instruction, 121  
FALS Error Flag, 122, 249, 345, 349  
FALS errors, 249  
Error Log Area, 242, 344, 349  
Error Log Pointer, 350  
error processing flowchart, 245  
FALS(007) instruction, 122  
fatal errors, 246  
(FALS(007)), 121  
FINS commands list, 128  
errors  
communications error, 250  
CPU error, 246  
First Cycle Flag, 347, 349  
First DM Transfer Source Word, 113  
flags, 270  
CPU standby, 246  
Absolute No. of Rotations Read Completed Flag, 355  
Absolute Offset Preset Error Flag, 355  
Access Error Flag, 308  
Always OFF Flag, 308  
Always ON Flag, 308  
Analog Offset/Gain Error Flag, 345, 350  
Carry Flag, 308  
Clock Pulses, 309  
Condition Flags, 281, 307  
Constant Cycle Time Exceeded Flag, 115, 346, 350  
Coordinator Module WDT Error Flag, 250, 345, 349  
Count Latched Flag, 355  
Cycle Time Too Long Flag, 346, 349  
Equals Flag, 308  
fatal, 246  
flags, 308  
I/O Bus error, 248  
I/O table setting error, 249  
memory error, 248  
non-fatal, 249  
program error, 248  
system FAL error, 249  
system FALS error, 249  
System Setup error, 249  
troubleshooting, 243  
Coordinator Module errors, 256  
environmental conditions check, 256  
I/O check, 255  
I/O setting error check, 254  
input errors, 257  
memory error check, 252  
Motion Control Module errors, 257  
output errors, 258  
power supply check, 251  
program error check, 252  
System Setup error check, 253  
execution conditions  
variations, 279  
Error Flag, 308  
FAL Error Flag, 121, 249, 345, 349  
FALS Error Flag, 121, 249, 345, 349  
First Cycle Flag, 347, 349  
Flash Memory Error Flag, 120, 345, 350  
Greater Than Flag, 308  
Greater Than or Equals Flag, 308  
High-speed Counter 1 Status, 355  
High-speed Counter 2 Status, 355  
High-speed Counter Operating Flag, 355  
I/O Bus Error Flag, 248, 349  
I/O Setting Error Flag, 249, 345, 349  
Illegal Instruction Error Flag, 344, 350  
Less Than Flag, 308  
Less Than or Equals Flag, 308  
Measuring Flag, 355  
F
failure alarms, 121  
failure diagnosis instructions  
execution times, 372  
378  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Memory Error Flag, 248, 345, 349  
Memory Not Held Flag, 345, 350  
functions  
list, 139  
Negative Flag, 308  
Not Equal Flag, 308  
G
Greater Than or Equals Flag, 308  
grounding, 61  
Overflow Flag, 308  
Peripheral Port Error Flags, 350  
Peripheral Port Settings Changing Flag, 346  
Phase Z Input Reset Flag, 355  
Program Error Flag, 248, 344, 349  
Pulse Output 1 Status, 357  
Pulse Output 2 Status, 357  
Pulse Output Status, 334  
PV Overflow/Underflow Flag, 355  
Range Comparison Execution Results Flags, 343  
RS-232C Port Error Flags, 350  
RS-422A port related, 347, 351  
Step Flag, 347, 349  
Sync Cycle Time Too Long Flag, 346, 350  
System Flags, 344  
System Setup Error Flag, 249, 345, 349, 350  
System Setup Error Location, 345  
Task Error Flag, 344, 350  
H
high-speed analog sampling, 223  
high-speed counter instructions  
execution times, 370  
High-speed Counter Operating Flag, 340, 341, 355  
High-speed Counter Reset Bit, 155  
high-speed counters, 153  
bit pattern output, 164  
interrupts, 140, 155  
latching PV, 159, 166  
monitoring frequency, 158  
monitoring movement, 157  
procedure, 160  
mode 2, 162  
PV, 205  
range comparison, 164  
target-value comparison, 162  
Trace Busy Flag, 351  
Trace Completed Flag, 351  
Trace Trigger Monitor Flag, 351  
Transfer Busy Flag, 113, 352  
Transfer Error Flag, 113, 346, 352  
UM Error Flag, 345, 350  
Underflow Flag, 308  
Host Link (SYSMAC WAY), 9, 124  
commands, 127  
Host Link System, 10  
Host Link(SYSMAC WAY)  
communications functions, 126  
flash memory, 47  
automatic backup, 119  
Coordinator Modules, 93  
Flash Memory DM Checksum Error Flag, 345, 350  
Flash Memory Error Flag, 120, 345, 350  
floating-point decimal, 276  
I
I/O Bit Area, 302  
I/O Bus Error Flag, 248, 349  
I/O memory, 96  
addressing, 271  
floating-point math instructions  
execution times, 368  
areas, 361  
flowchart  
overview, 299  
structure, 300, 301  
Motion Control Modules, 301  
FQM1 Flexible Motion Controller Set  
models, 32  
FQM1 Patch Software, 32, 92, 234  
Framing Error Flag, 350, 351  
I/O refreshing, 94, 303  
379  
Download from Www.Somanuals.com. All Manuals Search And Download.  
END refresh, 303  
immediate refresh, 304  
Motion Control Modules, 98  
I/O response time, 293  
calculating, 293  
Coordinator Modules, 293  
Motion Control Modules, 294  
I/O Setting Error Flag, 249, 345, 349  
I/O Table Setting error, 249  
Illegal Instruction Error Flag, 344, 350  
increment instructions  
execution times, 365  
basic information, 269  
block programs, 287  
execution conditions, 279  
execution times, 362  
input and output instructions, 269, 271  
input conditions, 279  
instruction conditions, 269  
loops, 270  
non-differentiated, 279  
operands, 270  
variations, 279  
interlocks, 270, 286  
interrupt control instructions  
execution times, 370  
interrupt modes, 142  
interrupt response time, 295  
calculation example, 297  
increment pulse inputs, 153  
Independent Pulse Output Flag, 357  
indicators  
error indications, 243  
Motion Control Indicators, 38  
inductive loads  
interrupts  
surge suppressor, 86  
INI(880) instruction, 152  
pulse outputs, 170  
initialization, 94, 98  
input devices  
wiring, 87  
clearing, 142  
disabling, 141  
high-speed counter, 140  
input, 140, 142  
interval timer, 140, 146  
priority, 140  
input instructions  
processing time  
execution times, 362  
Motion Control Modules, 296  
pulse output, 140  
interval timer interrupts, 140, 146  
application example, 147  
modes, 142  
procedure, 143  
procedure, 143  
scheduled interrupt mode, 146  
using, 146  
specifications, 142  
input pulses  
isolation transformer, 60  
frequency, 204  
measuring, 25  
inputs  
J
pulse frequency, 204  
inspections  
JSB(982) instruction, 265  
procedures, 260  
required tools, 261  
installation, 13, 15  
control panels, 53  
DIN Track, 57  
environment, 50  
ambient conditions, 50  
cooling, 50  
L
latch inputs  
applicable instructions, 152  
leakage current  
output, 90  
precautions, 50  
instructions  
Less Than Flag, 285, 308  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Less Than or Equals Flag, 308  
Linear Counter, 154  
N
Negative Flag, 285, 308  
linear counter  
No END Error Flag, 344, 350  
noise reduction  
CCW rotation, 201  
CW rotation, 201  
electrical noise, 85  
external wiring, 86  
Linear Counter Mode, 205  
linear mode, 180  
logic instructions  
end code, 130  
execution times, 367  
RS-232C port, 129  
RS-422A port, 136  
start code, 130  
M
Maximum Cycle Time, 116  
MCRO(099) instruction, 265  
Measuring Flag, 340, 341, 355  
Memory Error Flag, 248, 345, 349  
memory map, 361  
Memory Not Held Flag, 345, 350  
MONITOR mode, 99  
Not Equal Flag, 308  
NT Links, 9, 10, 124  
1-to-N mode, 131  
O
one-shot pulse outputs, 167, 176, 188  
example, 194  
specifications, 169, 177  
operands  
constants, 274  
description, 270  
specifying, 272  
text strings, 275  
Motion Control Module Monitoring Error Flag, 249, 345,  
349  
Motion Control Modules, 95  
built-in I/O refreshing, 98  
connections, 70  
operating modes, 99  
effects of mode changes on counters, 306  
connectors  
pin arrangement, 68  
constant cycle time, 115  
current consumption, 46  
Cyclic Refresh Area, 107  
dimensions, 43  
operation  
checking, 16  
checking operation, 14  
preparations, 13  
testing, 14, 17  
I/O memory, 301  
output instructions  
I/O response time, 294  
indicators, 38  
models, 32  
overview, 5, 7  
specifications, 37  
System Setup, 112  
troubleshooting, 257  
execution times, 362  
Overflow Flag, 308  
Overrun Error Flag, 350, 351  
P
Parameter Area, 310, 361  
overview, 299  
Parity Error Flag, 350, 351  
password protection, 119  
Peripheral Bus (Toolbus), 9, 125  
connections, 65  
381  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Peripheral Devices, 6  
peripheral port  
overview, 5  
specifications, 33  
wiring, 60  
connecting a personal computer, 235  
precautions  
Peripheral Port Communications Error Flag, 346, 350  
Peripheral Port Error Flags, 346, 350  
general, xiv  
output surge current, 90  
output wiring, 89  
periodic inspections, 260  
programming, 281  
replacing Modules, 261  
safety, xiv  
wiring, 85  
peripheral servicing, 94, 98  
settings, 327  
personal computers  
connecting, 235  
connectors, 65  
phase differential inputs, 153  
phase-Z signal, 155  
printing, 18  
Program Error Flag, 248, 344, 349  
PROGRAM mode, 99  
Programmable Terminals, 10  
connection example, 66  
PLC Setup, 14, 16  
errors, 249  
PLCs  
cooling, 50  
PLS2 Positioning Flag, 357  
programming, 14, 16  
basic information, 269  
restrictions, 287  
error flags, 344  
errors, 248  
power flow, 269  
PLS2(887) instruction, 182, 196  
pulse output direction priority mode, 183  
pulse outputs, 170  
trapezoidal pulse output with acceleration/deceleration,  
187  
Polled Units  
settings, 133  
precautions, 281  
printing the program, 18  
running the program, 18  
saving the program, 18  
step programming, 286  
subroutines, 264  
tasks, 263  
Programming Devices  
models, 32  
Polling Unit  
setting, 133  
position control  
operations, 21  
power flow  
description, 269  
Power Holding Time, 101  
power interruptions  
CPU operation for power interruptions, 100, 288  
holding time, 101  
instruction execution, 102  
momentary interruptions, 100  
Power OFF Detection Time, 101  
power OFF operation, 100  
power OFF processing, 100  
power OFF timing chart, 101  
protection  
using passwords, 118  
protocols, 9  
PRV(881) instruction, 152, 222  
pulse outputs, 170  
PULS(886) instruction, 184, 196  
pulse outputs, 170  
pulse and direction inputs, 153  
pulse counter timer, 178, 188  
example, 194  
power supply  
Power Supply Units  
dimensions, 44  
specifications, 179  
382  
Download from Www.Somanuals.com. All Manuals Search And Download.  
pulse inputs, 148  
applicable instructions, 152  
application examples, 162  
connections, 71  
mode, 204  
refreshing  
END, 222, 228  
immediate, 222, 228  
immediate refreshing, 279  
Relative Pulse Output, 21  
replacing Modules, 261  
RS, 347  
specifications, 148, 150  
Pulse Output Completed Flag, 357  
pulse output direction priority mode, 183  
Pulse Output Flag, 357  
pulse output instructions  
execution times, 370  
Pulse Output Set Flag, 357  
Pulse Output Status Flags, 334  
pulse outputs, 167  
accelerating frequency, 190  
applicable instructions, 170  
bit pattern outputs, 182  
connections, 73  
RS-232C port  
specifications, 66  
wiring, 64  
RS-232C Port Communications Error Flag, 347, 350  
RS-232C Port Error Flags, 347  
RS-232C Port Reception Completed Flag, 347, 350  
RS-232C Port Reception Overflow Flag, 347, 350  
RS-232C Port Send Ready Flag, 347, 350  
RS-232C Port Settings Changing Flag, 347, 350  
RS-422A Port Communications Error Flag, 347, 351  
RS-422A Port Error Flags, 347, 351  
details, 167  
interrupts, 140  
modes, 168  
RS-422A Port Reception Completed Flag, 347, 351  
RS-422A Port Reception Overflow Flag, 347, 351  
RS-422A Port Send Ready Flag, 347  
RS-422A Port Settings Changing Flag, 347, 351  
RUN mode, 99  
number of, 169  
operation modes, 194  
operations, 173  
S
precautions, 175  
range comparison, 182  
signals, 169  
safety precautions  
See precautions  
sample programs  
specifications, 168, 169  
startup conditions, 194, 196  
with acceleration/deceleration, 185  
trapezoidal, 187  
absolute positioning, 191  
positioning, 189  
Screw-less Clamp Terminal Blocks  
wiring, 76, 79  
sequence control instructions  
execution times, 363  
serial communications, 9  
functions, 124  
protocols, 9  
serial communications instructions  
execution times, 372  
PV Overflow/Underflow Flag, 340, 341, 355  
R
Serial Gateway, 3, 9, 12, 125, 134  
Smart Active Parts, 135  
system configuration, 134  
System Setup, 135  
Serial PLC Link Bit Area, 303  
Serial PLC Links, 9, 11, 124, 132  
RAM memory, 360  
range comparison, 156  
bit pattern outputs, 182  
Range Comparison Execution Results Flags, 343  
read protection using passwords, 118  
383  
Download from Www.Somanuals.com. All Manuals Search And Download.  
operation procedure, 133  
PLC Setup (Master), 134  
System Setup (Slave), 134  
execution times, 371  
step programming, 286  
STIM(980) instruction, 188  
subroutine instructions  
execution times, 369  
subroutines, 286  
Servo Drivers  
compatible with absolute encoder, 207  
compatible with absolute encoders  
timing chart, 209  
functions  
super capacitors, 47  
Support Software  
Servo Relay Units, 6  
functions, 76  
See personal computer  
switch settings, 15  
models, 32  
nomenclature, 76  
wiring, 75  
example, 82  
setup  
symbol math instructions  
execution times, 366  
Sync Cycle Time, 19, 111  
Sync Cycle Time Too Long Flag, 346, 350  
sync cycles, 19  
initial setup, 14  
preparations for operation, 13  
short-circuit protection, 89  
signed binary data, 276  
Slot No. of Motion Control Module for DM Transfer, 113  
Smart Active Parts, 12  
communications settings, 135  
SMARTSTEP Servo Drivers, 6, 12  
software reset, 155  
special math instructions  
execution times, 368  
Sync Mode, 19, 96, 97, 104, 109  
constant cycle time, 115  
synchronization  
between Modules, 109  
operations, 19  
synchronous data  
Synchronous Data Link Bit Area, 19, 20, 106, 109, 110,  
303  
synchronous refreshing, 105  
specifications  
system configuration, 4  
Host Link, 10  
NT Links, 10  
general, 32  
I/O, 37, 40  
serial communications, 9  
Motion Control Modules, 37  
performance, 39  
Power Supply Unit, 33  
RS-232C port, 66  
SPED(885) instruction, 184, 190  
pulse outputs, 170  
speed change cycle, 183  
speed control  
operations, 21  
System Flags, 344  
System Setup, 93, 96, 310  
analog I/O, 218  
constant cycle time, 326  
Coordinator Modules, 111, 311  
Motion Control Modules, 112  
overview, 311  
peripheral port settings, 325  
RS-232C port settings, 325  
Serial Gateway, 135  
startup mode, 325  
watch cycle time, 326  
System Setup Error Flag, 249, 345, 349, 350  
System Setup Error Location, 345  
stack processing  
execution times, 369  
startup, 94  
startup mode  
specifying, 118  
STC(040) instruction, 308  
Step Flag, 347, 349  
step instructions  
384  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
T
W
table data processing instructions  
watch cycle time, 116  
Windows, 235  
execution times, 369  
Target Comparison Flag, 357  
wiring, 13, 15  
Target Comparison In-progress Flag, 340, 341, 355  
target-value comparison, 155  
interrupts, 162, 179  
Task Error Flag, 344, 350  
Temporary Relay Area, 304  
terminal screws, 61  
examples, 71  
I/O devices, 87  
installing wiring ducts, 53  
methods, 74  
noise reduction, 86  
Power Supply Units, 60  
precautions, 50, 85, 89  
output surge current, 90  
wire size, 75  
Work Area, 304  
text strings  
operands, 275  
Timeout Error Flag, 350, 351  
Timer Area, 305  
Work Areas (in CIO Area), 303  
Timer Completion Flags, 361  
W-series Servo Drivers, 6, 12  
absolute encoder type  
connections, 72  
timer instructions  
execution times, 363  
timing  
sample program, 209  
controlling, 28  
Toolbus (Peripheral Bus), 9, 125  
connections, 65  
Trace Busy Flag, 351  
Trace Completed Flag, 351  
Trace Trigger Monitor Flag, 351  
Transfer Busy Flag, 113, 346, 352  
Transfer Error Flag, 113, 346, 352  
two-wire DC sensors  
precautions, 88  
U
UM Error Flag, 345, 350  
UM Overflow Error Flag, 344, 350  
Underflow Flag, 308  
unsigned binary data, 276  
upwardly differentiated instructions, 279  
V
virtual pulse outputs, 212  
application example, 215  
AXIS instruction, 213  
385  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
386  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Revision code  
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  
387  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
388  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Regional Headquarters  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
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.  
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, 14. Limitation on Liability; Etc. OMRON COMPANIES SHALL NOT BE LIABLE  
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.  
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.  
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 15. Indemnities. Buyer shall indemnify and hold harmless Omron Companies and  
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.  
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.  
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 16. Property; Confidentiality. Any intellectual property in the Products is the exclu-  
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.  
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.  
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  
except in “break down” situations.  
b. Such carrier shall act as the agent of Buyer and delivery to such carrier shall 17. Export Controls. Buyer shall comply with all applicable laws, regulations and  
constitute delivery to Buyer;  
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.  
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- 18. Miscellaneous. (a) Waiver. No failure or delay by Omron in exercising any right  
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.  
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.  
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,  
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.  
Omron will provide applicable third party certification documents identifying 2. Programmable Products. Omron Companies shall not be responsible for the  
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- 3. Performance Data. Data presented in Omron Company websites, catalogs  
user’s programming of a programmable Product, or any consequence thereof.  
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:  
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.  
(i) Outdoor use, uses involving potential chemical contamination or electrical 4. Change in Specifications. Product specifications and accessories may be  
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.  
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.  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
OMRON ELECTRONICS LLC  
1 Commerce Drive  
Schaumburg, IL 60173  
847.843.7900  
For US technical support or  
other inquiries: 800.556.6766  
OMRON CANADA, INC.  
885 Milner Avenue  
Toronto, Ontario M1B 5V8  
416.286.6465  
OMRON ON-LINE  
Global-http://www.omron.com  
USA-http://www.omron.com/oei  
Canada-http://www.omron.ca  
O010-E1-01 11/05  
©2005 OMRON ELECTRONICS LLC  
Printed in the U.S.A.  
Specifications subject to change without notice.  
Download from Www.Somanuals.com. All Manuals Search And Download.  

Newcon Optik Binoculars Night Vision Monocular Goggles User Manual
Newcon Optik Binoculars PHANTOM 20 User Manual
N Tron Switch 7014FX2 User Manual
Olympus Camcorder MAJ 222 User Manual
Omega Stud Sensor FTB600B User Manual
Omnimount TV Mount OM1004282 User Manual
Panasonic Cell Phone KX TGA270S User Manual
Panasonic Network Card MAZTxxxH Series User Manual
Panasonic Portable Radio 12 808 User Manual
Paradyne Cable Box 3160 A2 GB21 50 User Manual