Omron CPM1A manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Omron CPM1A. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Omron CPM1A ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Omron CPM1A décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Omron CPM1A devrait contenir:
- informations sur les caractéristiques techniques du dispositif Omron CPM1A
- nom du fabricant et année de fabrication Omron CPM1A
- instructions d'utilisation, de réglage et d’entretien de l'équipement Omron CPM1A
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Omron CPM1A ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Omron CPM1A et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Omron en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Omron CPM1A, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Omron CPM1A, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Omron CPM1A. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Cat.No. W317–E1–5 Programmable Controllers SYSMAC CPM1A OPERA TION MANUAL[...]

  • Page 2

    CPM1A Programmable Controllers Operation Manual Revised February 2000[...]

  • Page 3

    ! ! ! v 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 precautions can result in injury to[...]

  • Page 4

    T ABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 5

    T ABLE OF CONTENTS viii Appendices A Standard Models 137 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B Dimensions 141 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Glossary 147 . . . . . . . . .[...]

  • Page 6

    ix About this Manual: The CPM1A is a compact, high-speed Programmable Controller (PC) designed for control operations in systems requiring from 10 to 100 I/O points per PC. There are two manuals describing the setup and operation of the CPM1A: the CPM1A Operation Manual (this manual) and the CPM1/CPM1A/CPM2A/ CPM2C/SRM1(-V2) Programming Manual (W35[...]

  • Page 7

    xi PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. Th e information contained in this section is important for the safe and reliable application of the Pr ogrammable Con- troller . Y ou must read this section and understand the information contained before attempting to set up or[...]

  • Page 8

    ! ! ! ! ! 5 Application Precautions xii 1 Intended Audience This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing F A systems. • Personnel in charge of designing F A systems. • Personnel in charge of managing F A[...]

  • Page 9

    ! ! ! ! ! ! ! 5 Application Precautions xiii • The PC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a countermeasure fo r such problems, external safety measures must be provided to ensure safety in the system. • When the 24-VDC output (service power supply to the PC)[...]

  • Page 10

    ! 5 Application Precautions xiv • Always connect to a class-3 ground (to 100 Ω or less) when installing the Units. Not connecting to a class-3 ground may result in electric shock. • Always turn off the power supply to the PC before attempting any of the follow- ing. Not turning of f the power supply may result in malfunction or electric shock[...]

  • Page 11

    ! ! ! 5 Application Precautions xv • Be sure that the terminal blocks, expansion cables, and other items with lock- in g devices are properly locked into place. Improper locking may result in mal- function. • Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected [...]

  • Page 12

    5 Application Precautions xvi • The user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table. Backup method Data Internal capacitor Read/write DM area (DM 0000 to DM 0999, DM 1022, and DM 1023) Error log area (DM 1000 to DM 1021) HR area (HR 00 to HR 19) Counte[...]

  • Page 13

    5 Application Precautions xvii 6 EC Directives 6-1 Applicable Directives • EMC Directives • Low V oltage Directive 6-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 check[...]

  • Page 14

    5 Application Precautions xviii Recommended core: 2643-002402 Manufacturer: Fair Rite Products Corp.[...]

  • Page 15

    1 SECTION 1 Intr oduction This section describes the CPM1A ’ s special features and functions and shows the possible system configurations. Refer to the Pr ogramming Manual (W353) for details on programming actual operation. 1-1 CPM1A Features and Functions 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 16

    2 1-1 CPM1A Features and Functions 1-1-1 CPM1A Features One-piece Construction Th e CPM1A CPU Units feature a one-piece construction including 10, 20, 30, or 40 built-in I/O terminals. The following three model groups are available: relay output models, sink-type transistor output models, and source-type transistor output models. CPM1A-10CDR-  /[...]

  • Page 17

    3 Up to 3 Analog I/O Units can be connected to provide analog inputs and outputs. Each Unit provides 2 analog inputs and 1 analog output, so a maximum of 6 ana- log inputs and 3 analog outputs can be achieved by connecting 3 Analog I/O Units. T h e analog input range can be set to 0 t o 1 0 VDC, 1 to 5 VDC, or 4 to 20 mA with a resolution of 1/256.[...]

  • Page 18

    4 The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small- size or micro PLCs. Using the CPM1-EMU01-V1, simple on-site transfer of user programs and data memory is possible with PLCs. Uploading Download- ing SYSMAC EEPROM 1-1-2 I/O T erminal and IR Bit Allocation The following table shows which IR bits are allocated to the I/O termina[...]

  • Page 19

    5 1-1-3 CPM1A Functions Analog Setting Function CPM1A PCs have 2 variable-resistor adjustment knobs used to control analog timer and counter settings manually . When one of the adjustments is turned, the content of the corresponding IR word is set automatically between 0 and 200 (BCD). Turn the adjustment knob with a Phillips screwdriver . Analog a[...]

  • Page 20

    ! 6 Input Interrupts The CPM1A-10CDR-  /10CDT -D/10CDT1-D PCs have 2 interrupt input termi- nals and the CPM1A-20CDR-  /20CDT -D/20CDT1-D, CPM1A-30CDR-  / 30CDT -D/30CDT1-D, and CPM1A-40CDR-  /40CDT -D/40CDT1-D PCs have 4 interrupt input terminals. There are two modes for input interrupts: input inter- rupt mode and counter mode. 1, 2, [...]

  • Page 21

    7 Quick-response Inputs The CPM1A-10CDR-  /10CDT -D/10CDT1-D PCs have 2 quick-response input terminals and the CPM1A-20CDR-  /20CDT -D/20CDT1-D, CPM1A- 30CDR-  /30CDT -D/30CDT1-D and CPM1A-40CDR-  /40CDT -D/40CDT1-D PCs have 4 quick-response input terminals. (The same terminals are used for quick-response inputs and interrupt inputs.) Q[...]

  • Page 22

    8 Th e pulse output can be set to either the continuous mode, under which the out- pu t can be stopped by an instruction, or the single mode, under which the output can be stopped by the preset pulse rate (1 to 16,777,215). Stepping motor Control input Motor controller CW/CCW control output Pulse output (single-phase output) Stepping motor High-spe[...]

  • Page 23

    9 Mode Input functions Input method Count frequency Count range Control methods Up/Down 00000: A-phase input 00001: B-phase input 00002: Z-phase input Phase-difference, 4 × inputs 2.5 kHz – 32767 to 32767 T arget value control: Up to 16 target values and interrupt subroutine numbers can be registered. Incremental 00000: Count input 00001: See no[...]

  • Page 24

    10 1-2 System Configuration 1-2-1 CPU Unit and Expansion I/O Unit Configuration Expansion I/O Units/Expansion Units CPM1A CPU Units 10 I/O points CPM1A-10CDR-  CPM1A-10CDT -D CPM1A-10CDT1-D 30 I/O points CPM1A-30CDR-  CPM1A-30CDT -D CPM1A-30CDT1-D 40 I/O points CPM1A-40CDR-  CPM1A-40CDT -D CPM1A-40CDT1-D 20 I/O points CPM1A-20CDR-  CPM1[...]

  • Page 25

    11 There are three models of Expansion Units available: the Analog I/O Unit, Com- poBus/S I/O Link Unit, and T emperature Sensor Units. Expansion Connector Expansion I/O Unit, Analog I/O Unit, CompoBus/S I/O Link Unit, or T em - perature Sensor Unit) Expansion I/O Connecting Cable A PC with 100 I/O points (the maximum) can be assembled by connectin[...]

  • Page 26

    12 Expansion Units T emperature Sensor Unit CompoBus/S I/O Link Unit Analog I/O Unit Unit Max. number of Units Inputs Outputs Model Analog I/O Unit 2 analog inputs (2 words) 1 analog output (1 word) 3 Units max. 2 analog inputs 1 analog output CPM1A-MAD01 T emperature Sensor Unit Thermocouple inputs 3 Units max. 2 inputs (K, J) --- CPM1A-TS001 1 Un[...]

  • Page 27

    13 The following diagram shows the possible methods for a connection between a CPM1A PC and an OMRON Programmable T erminal (a operator interface device). OMRON Programmable T erminal RS-232C Cable CPM1A CPU Unit RS-232C Adapter One-to-N Communications The following diagram shows how to connect up to 32 CPM1A PCs to an IBM PC/A T or compatible comp[...]

  • Page 28

    14 Adapters and Cables Th e following table lists some of the Adapters and Cables used in Host Link com- munications. Name Usage Model number RS-232C Adapter Converts to peripheral port-level CPM1-CIF01 RS-422 Adapter communications. CPM1-CIF1 1 Connecting Cables Used to connect IBM PC/A T or compatible computers. (Cable length: 3.3 m) CQM1-CIF02 L[...]

  • Page 29

    15 1-2-5 One-to-one NT Link Communications Using the NT Link, the CPM1A PC can connected to the Programmable T ermi- nal (NT Link Interface) through an RS-232C Adapter . OMRON Programmable T erminal RS-232C Cable CPM1A CPU Unit RS-232C Adapter WX2Z-200T (2 m) WX2Z-500T (5 m) Name Usage Model number RS-232C Adapter Converts to peripheral port-level [...]

  • Page 30

    16 Programming Consoles A CQM1-PRO01-E or C200H-PRO27-E Programming Console can be con- nected to the CPM1A as shown in the following diagram. CQM1-PRO01-E C200H-PRO27-E C200H-CN222/422 CPM1A CPU Unit Name Model number CQM1 Programming Console (The Connecting Cable is included.) CQM1-PRO01-E C200H/HS and C200HX/HE/HG Programming Console C200H-PRO27[...]

  • Page 31

    17 1-3 Revised Specifications The following table shows the changes that have been made in product specifi- cations beginning with lots produced in January 1998 (December 1997 for some models). Item Previous specifications New specifications Relevant pages Input indicator operation when an error occurs The input indicators will maintain the current[...]

  • Page 32

    19 SECTION 2 Unit Specifications and Components This section provides the technical specifications of the Units that go together to create a CPM1A PC and describes the main components of the Units. 2-1 Specifications 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Genera[...]

  • Page 33

    20 2-1 Specifications 2-1-1 General Specifications Item CPM1A-10CDR-  CPM1A-10CDT -D CPM1A-10CDT1-D CPM1A-20CDR-  CPM1A-20CDT -D CPM1A-20CDT1-D CPM1A-30CDR-  CPM1A-30CDT -D CPM1A-30CDT1-D CPM1A-40CDR-  CPM1A-40CDT -D CPM1A-40CDT1-D Supply voltage AC type 100 to 240 V AC, 50/60 Hz DC type 24 VDC Operating AC type 85 to 264 V AC voltage r[...]

  • Page 34

    21 2-1-2 Characteristics Item CPM1A-10CDR-  CPM1A-10CDT -D CPM1A-10CDT1-D CPM1A-20CDR-  CPM1A-20CDT -D CPM1A-20CDT1-D CPM1A-30CDR-  CPM1A-30CDT -D CPM1A-30CDT1-D CPM1A-40CDR-  CPM1A-40CDT -D CPM1A-40CDT1-D Control method Stored program method I/O control method Cyclic scan with direct output; immediate refresh processing Programming lan[...]

  • Page 35

    22 Note 1. Use TIM 000 to TIM 003 when creating a timer using the high-speed timer instruction to perform interrupt processing. 2. The input interrupt response time is 0.3 ms max. Memory Backup T h e user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table. Backu[...]

  • Page 36

    23 Either switch the CPM1A to RUN or MONITOR mode, or turn of f and on power to the CPM1A after changing from a Programming Device any data that is backed up in flash memory . This data includes the user program, read-only DM area (DM 6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655). 2-1-3 I/O Specifications CPU Unit Input Specifications Ite[...]

  • Page 37

    ! 24 Differential Phase Mode (2.5 kHz Max.) IN00000 (A phase), IN00001 (B phase) ON OFF 400 µ s min. T 1 T 2 T 3 T 4 T 1 T 2 T 3 T 4 : 90 µ s min. ON OFF Phase A Phase B IN00002 (Z phase) ON OFF 100 µ s min. 500 µ s min. Phase Z When IN00003 through IN00006 are used as interrupt inputs, t h e d el a y i s 0 .3 ms max. The delay is measured from[...]

  • Page 38

    25 CPU Unit and Expansion I/O Unit Output Specifications Relay Output Item Specification Max. switching capacity 2 A, 250 V AC (cos φ = 1) 2 A, 24 VDC (4 A/common) Min. switching capacity 10 mA, 5 VDC Service life of relay Electrical: 150,000 operations (resistive load, 24 VDC) 100,000 operations (inductive load, 220 V AC, cos φ =0.4) Mechanical:[...]

  • Page 39

    26 T ransistor Output (Sink T ype) Item Specification CPM1A-10CDT -D CPM1A-20CDT-D /-20EDT /-8ET CPM1A-30CDT -D CPM1A-40CDT-D Max. switching capacity 24 VDC +10% / – 15% , 0.3 A/point (see note) 0.9 A/Unit 0.9 A/common 1.8 A/Unit 0.9 A/common 2.7 A/Unit 0.9 A/common 3.6 A/Unit Leakage current 0.1 mA max. Residual voltage 1.5 V max. ON delay 0.1 m[...]

  • Page 40

    ! 27 Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse w ill not be output. On the other hand, if the load current is above 0.2 A, the transistor may generate [...]

  • Page 41

    28 2-2 Unit Components 2-2-1 CPU Unit Components CPM1A-10CDR-  /10CDT -D/10CDT1-D: 10 I/O T erminals 1. Power supply input terminals 2. Functional earth terminal (AC power supplies only) 3. Protective earth terminal 5. Input terminals 10. Analog controls 1 1. Peripheral Port 7. PC status indicators 8. Input indicators 9. Output indicators 4. Pow[...]

  • Page 42

    29 CPU Unit Component Descriptions 1, 2, 3... 1. Power Supply Input T erminals Connect the power supply (100 to 240 V AC or 24 VDC) to these terminals. 2. Functional Earth T erminal ( ) Be sure to ground this terminal (AC-type PCs only) to enhance immunity to noise and reduce the risk of electric shock. 3. Protective Earth T erminal ( ) Be sure to [...]

  • Page 43

    30 2-2-2 Expansion I/O Unit Components Expansion I/O Unit with 20 I/O T erminals 1. Input terminals 5. Expansion I/O Unit Connecting Cable 3. Input indicators 6. Expansion connector 4. Output indicators 2. Output terminals Expansion I/O Unit with 8 Input T erminals 1. Input terminals 5. Expansion I/O Unit Connecting Cable 3. Input indicators 6. Exp[...]

  • Page 44

    ! ! 31 Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity . 6. Expansion Connector Connects t o another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a CPU Unit. 2[...]

  • Page 45

    ! 32 2. DIP Switch Sets the temperature unit ( ° C or ° F), and the number of decimal places used. Number of decimal places used OFF: Normal (0 or 1); ON: 2 T emperature unit OFF: ° C; ON: ° F ON 12 3. Rotary Switch Sets the temperature range. Set the range in accordance with the specifica- tions of the temperature sensor used. CPM1A-TS001/002 [...]

  • Page 46

    ! 33 2-2-5 CompoBus/S I/O Link Unit Components 1. CompoBus/S terminals 4. Expansion I/O Unit Connecting Cable 2. DIP switch 5. Expansion connector 3. LED indicators 1, 2, 3... 1. CompoBus/S T erminals Include the CompoBus/S communications data high/low terminal, commu- nications power supply +/ – terminals, and NC terminals. Power is supplied to [...]

  • Page 47

    34 2-2-6 Communications Adapter Components RS-232C Adapter 1. Mode Setting Switch 2. Connector 3. RS-232C port RS-232C Port Pin Allocation 1 2 3 4 5 6 7 8 9 FG SD RD RTS CTS DCD DSR DTR SG 1, 2, 3... 1. Mode Setting Switch Set this switch to “ HOST ” when using a Host Link system to connect to a personal computer . Set this switch to “ NT ”[...]

  • Page 48

    35 SECTION 3 Installation and W iring This section provides information on installing and wiring a CPM1A PC. Be sure to follow the directions and precautions in this section when installing the CPM1A in a panel or cabinet, wiring the power supply , or wiring I/O. 3-1 Design Precautions 36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 49

    ! ! 36 3-1 Design Precautions Observe the following precautions when designing a system incorporating a CPM1A PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the control system, CPM1A system, and DC I/O system wiring. Separate the control circuits that supply power to the main Unit from the main circuits using dedicated circuit [...]

  • Page 50

    ! 37 Momentary Power Failure Detection A momentary power failure lasting less than 10 ms with an AC power supply and 2 ms with a DC power supply is not detected and the CPU Unit continues to oper- ate. A momentary power failure lasting longer than 10 ms with an AC power supply and 2 ms with a DC power supply may or may not be detected in an uncerta[...]

  • Page 51

    38 Note Provide proper shielding when installing in the following locations: • Locations subject to static electricity or other sources of noise. • Locations subject to strong electromagnetic fields. • Locations subject to possible exposure to radiation. • Locations near to power supply lines. 3-2-2 Panel/Cabinet Installation Consider PC op[...]

  • Page 52

    39 3-3 Installing the CPM1A 3-3-1 CPM1A Orientation The CPM1A must be installed in the position shown below to ensure adequate cooling. Correct Do not install the CPM1A in either of the following positions. Incorrect Incorrect 3-3-2 CPM1A Installation The CPM1A can be installed on a horizontal surface or on a DIN track. Surface Installation Use the[...]

  • Page 53

    40 CPM1A-30CDR-  /30CDT -D/30CDT1-D and CPM1A-40CDR-  /40CDT -D/40CDT1-D CPU Unit Four , M4 holes 100 mm 8 mm A Use M4 dia. x 15 screws. The width (A) between the mounting holes depends on the CPM1A model. Model number Width (A) CPM1A-30CDR-  /30CDT -D/30CDT1-D CPU Unit 120 mm CPM1A-40CDR-  /40CDT -D/40CDT1-D CPU Unit 140 mm Expansion I[...]

  • Page 54

    41 Installation Lower the CPM1A so that the notch on the back of the PC catches the top of the DIN T rack. Push the PC forward until the lock snaps into place. Removal Pry the lock down with a standard screwdriver and pivot the PC upward to remove it. Screwdriver 3-3-3 Connecting an Expansion I/O Unit Up to 3 Expansion I/O Units can be connected to[...]

  • Page 55

    42 2. Insert the Expansion I/O Unit ’ s Connecting Cable into the CPU Unit ’ s or the Expansion I/O Unit ’ s Expansion I/O Unit Connector . 3. Replace the cover on the CPU Unit ’ s or the Expansion I/O Unit ’ s Expansion I/O Unit Connector . Installing the CPM1A Section 3-3[...]

  • Page 56

    ! 43 3-4 Wiring and Connections This section provides basic information on wiring the Power Supply Unit and Expansion I/O Units, and on connecting Peripheral Devices. 3-4-1 General Precautions for Wiring Caution Attach the dustproof label provided before wiring. If scraps of wire get inside the Unit, malfunction will result. After completing wiring[...]

  • Page 57

    ! 44 Floor Ducts Leave at least 200 mm between the wiring and the top of the duct, as shown in the following diagram. 200 mm min. Metal plate (iron) CPM1A I/O lines Control cables and CPM1A power lines Power cables Conduits Separate the CPM1A I/O lines, power and control lines, and power cables, as shown in the following diagram. CPM1A I/O lines Co[...]

  • Page 58

    ! ! ! 45 Caution Disconnect the functional earth terminal when performing withstand voltage tests. Not disconnecting the functional earth terminal may result in burning. Crimp Connectors Caution Always use crimp connectors for the CPM1A ’ s power lines and I/O lines or else us e a solid wire (instead of a stranded wire). Do not connect bare stran[...]

  • Page 59

    ! ! ! 46 Use M3 terminal screws. Connect a crimp connector with a ring terminal to each terminal screw . 6.2 mm max. Ring terminal Caution T ighten the terminal block screws of the AC Power Supply to the torque of 0.5 N  m. Loose screws may result in burning or malfunction. 24-VDC Power Supply Use a DC power supply with sufficient capacity and l[...]

  • Page 60

    47 3-4-4 Input Wiring Wire the inputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect t o the PC. Do not apply voltages exceeding the rated input voltage to the input terminals. The power supply output terminals can be used with AC-type CPU Unit[...]

  • Page 61

    48 CPM1A-8ED 24 VDC Input devices Input devices COM COM 04 05 06 07 01 02 03 00 Note Although the COM terminals are internally connected, be sure to wire them ex- ternally as well. CPM1A-20EDR/20EDR1/EDT/EDT1 24 VDC Input devices COM 00 02 01  CH 04 03 05 08 07 09 06 10 11 NC  W iring and Connections Section 3-4[...]

  • Page 62

    ! 49 Input Wiring Example An AC-type CPU Unit is shown. DC-type CPU Units don ’ t have power supply outputs. Input devices COM External power supply: 24 VDC at 200 mA/10-point and 20-point I/O type CPU Units 24 VDC at 300 mA/30-point and 40-point I/O type CPU Units (Applicable to CPU Units with a power supply of 100 to 240 V AC.) COM 00 02 01 0 C[...]

  • Page 63

    50 Input Devices The following table shows how to connect various input devices. Device Circuit diagram Relay output IN COM (+) Relay 5 mA/12 mA CPM1A NPN open collector 0 V + IN COM (+) Sensor Sensor power supply Output 5 mA/12 mA CPM1A NPN current output 0 V + IN COM (+) Constant current circuit Output Us e the same power supply for the input and[...]

  • Page 64

    ! 51 Leakage Current (24 VDC) A leakage current can cause false inputs when using 2-wire sensors (proximity switches or photoelectric switches) or limit switches with LEDs. False inputs won ’ t occur if the leakage current is less than 1.0 mA (2.5 mA for IN00000 to IN00002), but if the leakage current exceeds these values, insert a bleeder resist[...]

  • Page 65

    ! 52 3-4-5 Output Wiring Relay Output Wiring Wire the outputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in th e following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. The power supply output terminals can be used with AC-type CPU Units. • Always use solid wire or attach crimp connectors [...]

  • Page 66

    53 Common CPM1A-10CDR-  CPM1A-20CDR-  /CPM1A-20EDR/20EDR1 CPM1A-30CDR-  CPM1A-40CDR-  Output Configurations Common Common Common Common Common Common Common Common Common 00 01 02 COM COM COM 03 10 CH 00 01 02 COM COM COM 03 10 CH 04 05 07 COM 06 00 01 02 COM COM COM 03 10 CH 04 05 07 COM 06 00 11 C H 02 01 03 COM 00 01 02 COM COM COM 0[...]

  • Page 67

    54 CPM1A-8ER Load Load Load Load COM 01 02 00 03 COM 05 06 04 07 250 V AC/ 24 VDC Load Load Load Load 250 V AC/ 24 VDC W iring and Connections Section 3-4[...]

  • Page 68

    55 T ransistor Output Wiring (Sink T ype) Wire the outputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Don ’ t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications for details. Item[...]

  • Page 69

    ! 56 CPM1A-8ET Load Load Load Load COM 01 02 00 03 COM 05 06 04 07 Load Load Load Load 24 VDC +10% / – 15% 24 VDC +10% / – 15% Caution Double-check the polarity of the power supply for the load before turning it on. W iring and Connections Section 3-4[...]

  • Page 70

    57 T ransistor Output Wiring (Source T ype) Wire the outputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Don ’ t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications for details. It[...]

  • Page 71

    ! 58 CPM1A-8ET1 Load Load Load Load COM 01 02 00 03 COM 05 06 04 07 Load Load Load Load 24 VDC +10% / – 15% 24 VDC +10% / – 15% Caution Double-check the polarity of the power supply for the load before turning it on. Output Wiring Precautions Observe the following precautions to protect the PC ’ s internal components. Output Short Protection [...]

  • Page 72

    ! 59 Inductive Loads When connecting an inductive load to an input, connect a surge protector or diode in parallel with the load. The surge protector ’ s components should have the following ratings: OUT COM CPM1A Surge protector Relay Output OUT COM CPM1A Diode Relay Output T ransistor Output (Sink T ype) OUT COM CPM1A Diode Relay Output T ransi[...]

  • Page 73

    60 3-4-6 Peripheral Device Connection The CPM1A CPU Unit can be connected to a C200H-PRO27-E Programming Console with a standard C200H-CN222 (2 m) or C200H-CN422 (4 m) Connect- ing Cable. The CPM1A CPU Unit can be also connected to a CQM1-PRO01-E. The CQM1-PRO01-E is provided with a 2-m Connecting Cable. 3-4-7 Host Link Connections Host Link is a c[...]

  • Page 74

    61 Th e following diagram shows the wiring in the RS-232C cable used to connect a CPM1A to a host computer or Programmable T erminal. IBM PC/A T compatible computer or Programmable T erminal (9-pin) RS-232C Adapter 1 2 3 4 5 6 CD RD SD ER SG DR RS CS CI 7 8 9 1/Cover 2 3 4 5 6 7 8 9 FG SD RD RS CS – – SG 9 Pin No. Signal – Pin No. Signal The [...]

  • Page 75

    62 The following diagram shows the wiring in the RS-422 cables used to connect CPM1A PCs to a 3G2A9-AL004-E Link Adapter . In both the Link Adapter/ RS-422 Adapter connections and the RS-422 Adapter/RS-422 Adapter connec- tions, connect the SG, RDA, RDB, SDA, and SDB terminals to the same termi- nals in the other Adapter . 25-pin D-sub Connector Us[...]

  • Page 76

    63 3-4-8 One-to-one PC Link Connections A CPM1A can be linked to a CPM1A, CQM1, CPM1, CPM2A, CPM2C, SRM1(-V2), C200HS or C200HX/HG/HE PC through an RS-232C Adapter . One PC acts as the Master and the other as the Slave to link up to 256 bits in the LR area (LR 0000 to LR 1515). CPM1A CPU Unit RS-232C Adapter (see note) CPM1A CPU Unit RS-232C Cable [...]

  • Page 77

    64 3-4-9 One-to-one NT Link Connections High-speed communications can be achieved by providing a direct access through the use of the 1:1 NT Link between the CPM1A and Programmable T er - minal. OMRON Programmable T erminal RS-232C Cable CPM1A CPU Unit RS-232C Adapter Note Th e 1:1 NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is c[...]

  • Page 78

    65 3-4-10 CompoBus/S I/O Link Connections A CompoBus/S I/O Link can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit. From the standpoint of the CPM1A CPU Unit, the area allocated to the Compo- Bus/S I/O Link Unit can [...]

  • Page 79

    67 SECTION 4 Using Peripheral Devices This section outlines the operations possible with the SYSMAC Support Software (SSS) and the Programming Consoles. Actual SSS operating procedures are provided in the SSS Operation Manuals: Basics and C-series PCs . Programming Con- sole connection and operating procedures are provided in this section. 4-1 Supp[...]

  • Page 80

    68 4-1 Support Software Capabilities Th e SSS is a complete programming and control package designed for C-series and CVM1 PCs. It provides not only programming capabilities, but also advanced debugging, monitoring, and program/data management. The follow- in g tables provide only a brief introduction to the capabilities of the SSS. For fur- ther i[...]

  • Page 81

    69 Function code Mnemonic Function code Mnemonic 17 ASFT 64 SPED 18 TKY 65 PULS 19 MCMP 66 SCL 47 RXD 67 BCNT 48 TXD 68 BCMP 60 CMPL 69 STIM 61 INI 87 DSW 62 PR V 88 7SEG 63 CTBL 89 INT Online Editing If unsupported addresses are set in the program for operands or set values, error messages will be displayed and the values will not be accepted. 4-1[...]

  • Page 82

    70 Group Description Name DM (data memory) Go T o Page Displays the contents of the data memory in the system work area in pages (units of 160 words). The data can be altered with this function. (C-series PCs only) Copy Copies the contents of the DM area of the system work area (data memory information). Fill Writes the same data to more than one d[...]

  • Page 83

    71 Group Description Name Utility Data Area Lists Displays lists (such as used areas and cross-references) in accordance with the contents of the user program in the system work area. Change Addresses Globally changes bit and word addresses in the user program in the system work area. Print Lists Prints lists, ladder diagrams, and mnemonics in acco[...]

  • Page 84

    72 4-1-4 Online Operations The following operations are possible when connected online to the PC. Group Name Description Monitoring Monitor Data Uses the lower one third of the screen as a monitor area where bits, words, DM contents, and TIM/CNT SV/PV are monitored, forced-set/reset, and changed. T ransfer Program Transfers and compares the user pr[...]

  • Page 85

    73 4-1-5 Offline and Online Operations The following operations are possible either online or offline from the PC. Group Name Description System Setup (see note) PC model Specifies the model of PC that is being programmed or that is connected to the computer . PC Interface C-series PCs: Specifies whether communications with the PC are performed thr[...]

  • Page 86

    74 4-2 Using a Programming Console This s ection provides information on connecting and using a Programming Con- sole. Refer to 5-4 Programming Console Operation Errors for details on errors that might occur during Programming Console operations. 4-2-1 Compatible Programming Consoles There are two Programming Consoles that can be used with the CPM1[...]

  • Page 87

    75 The following keys are labeled differently on the CQM1-PRO01-E and the C200H-PRO27-E, but the operation of the keys in each pair is identical. CQM1-PRO01-E Keys C200H-PRO27-E Keys AR HR HR SET PLA Y SET RESET REC RESET Note T o specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and use SHIFT and AR/HR Keys for the CQM1-PRO01-E. A s[...]

  • Page 88

    ! ! 76 4-2-2 Changing the CPM1A ’ s Mode with the Mode Switch Once the Programming Console has been connected, its mode switch can be used to change the CPM1A ’ s operating mode. The mode display (<PRO- GRAM>, <MONIT OR>, or <RUN>) will appear on the Programming Console screen. • No key operations can be performed while the [...]

  • Page 89

    77 Th e operating mode of the CPM1A when the power is turned ON depends upon the PC Setup setting in DM 6600 and the Programming Console ’ s mode switch setting if the Programming Console is connected. PC Setup setting (DM 6600) Programming Console connected Programming Console not connected 0000 The startup mode determined by the mode switch set[...]

  • Page 90

    ! 78 Allow at least 80 mm for the cable connector above the Programming Console. About 70 mm is required. At least 80 mm is required. Either connector may be used. 37 15 4-2-4 Preparation for Operation This section describes the procedures required to begin Programming Console operation when using the Programming Console for the first time. Caution[...]

  • Page 91

    79 If the Programming Console is connected to the PC when PC power is already on, the first display below will indicate the mode the PC was in before the Pro- gramming Console was connected. Ensure that the PC i s i n PROGRAM mode before you enter the password. When the password is entered, the PC will shift to the mode set on the mode switch, caus[...]

  • Page 92

    80 4-3 Programming Console Operations 4-3-1 Overview Th e following table lists the programming and monitoring operations that can b e performed from a Programming Console. Refer to the rest of this section for details on operational procedures. Name Function Page Clearing memory Clears all or part of the Program Memory and any data areas that are [...]

  • Page 93

    ! 81 4-3-2 Clearing Memory This operation is used to clear all or part of the Program Memory and data areas, as well as the contents of the Programming Console ’ s memory . This operation is possible in PROGRAM mode only . RUN MONITOR PROGRAM No No OK Before beginning to program for the first time or when installing a new program, clear all areas[...]

  • Page 94

    82 4-3-3 Reading/Clearing Error Messages This operation is used to display and clear error messages. It is possible to dis- play and clear non-fatal errors and MESSAGE instruction messages in any mode, but fatal errors can be cleared in PROGRAM mode only . RUN MONITOR PROGRAM OK OK OK Before inputting a new program, any error messages recorded in m[...]

  • Page 95

    83 Key Sequence Follow the procedure below to turn the key-input buzzer on and off. 1, 2, 3... 1. Press the CLR, SHIFT , and then the CLR Key to bring up the mode display . In this case the PC is in PROGRAM mode and the buzzer is ON. CLR SHIFT CLR <MONITOR> BZ 2. Press the SHIFT and then the 1 Key to turn off the buzzer . SHIFT B 1 <MONITO[...]

  • Page 96

    84 4-3-6 Entering or Editing Programs This operation is used enter or edit programs. It is possible in PROGRAM mode only . RUN MONITOR PROGRAM No No OK The same procedure is used to either input a program for the first time or to change a program that already exists. In either case, the current contents of Program Memory is overwritten. The program[...]

  • Page 97

    85 7. Input the second operand (123 to specify 12.3 seconds) and press the WRITE Key . The next program address will be displayed. B 1 C 2 D 3 WRITE 00202READ NOP (000) If a mistake was made inputting the operand, press the Up Arrow Key to return to display the mistaken operand and input the operand again. Note a) Counters are input in the same bas[...]

  • Page 98

    86 12. Input the next instruction (ADB). FUN F 5 A 0 00203 ADB (050) Press the WRITE Key to write the instruction to Program Memory . WRITE 00203 ADB DATA A 000 • Writing an Unsigned Decimal Number 13. The first operand is input as an unsigned integer . CONT # SHIFT TR NOT 00203 ADB DATA A #00000 Input the value of the operand from 0 to 65535. C [...]

  • Page 99

    87 4-3-7 Instruction Search This operation is used to find occurrences of the specified instruction in the pro- gram and is possible in any mode. RUN MONITOR PROGRAM OK OK OK The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3... 1. Press the CLR Key to bring up the initial display . 2. Input the addres[...]

  • Page 100

    88 5. The search will continue until an END instruction or the end of Program Memory is reached. In this case, an END instruction was reached. SRCH 00397CONT SRCH END (001)00.4KW Indicates the address of END instruction. Indicates the amount used by the user program in units of 0.1 Kwords. 4-3-9 Inserting and Deleting Instructions This operation is[...]

  • Page 101

    89 3. Press the DEL Key . DEL 00205DELETE? AND 00103 4. Press the Up Arrow Key to delete the specified instruction. If the instruction has more operands, the operands will be deleted automati- cally with the instruction. ↑ 00205 DELETE END AND 00105 After completing the insertion and deletion procedures, use the Up and Down Arrow Keys to scroll t[...]

  • Page 102

    90 A display like this will appear if an END instruction is reached: SRCH 00310PROG CHK END (001)00.3KW No more errors exist if the END instruction is displayed. If errors are displayed, edit the program to correct the errors and check the pro- gram again. Continue checking the program by pressing the SRCH Key again until all errors have been corre[...]

  • Page 103

    91 2. Input the word address of the desired word. SHIFT CH *DM LR *EM B 1 00000 CHANNEL LR 01 3. Press the MONTR Key to begin monitoring. MONTR cL01 FFFF The Up or Down Arrow Key can be pressed to display the status of the pre- vious or next word. The displayed word ’ s status can be changed using the Hexadecimal/BCD Data Modification operation. [...]

  • Page 104

    92 4-3-12 Differentiation Monitor This operation is used to monitor the up (OFF-to-ON) or down (ON-to-OFF) differentiation status of a particular bit. When detected, the up or down dif fer- entiation will be displayed and the buzzer will sound. It is possible in any mode. RUN MONITOR PROGRAM OK OK OK 1, 2, 3... 1. Monitor the status of the desired [...]

  • Page 105

    93 (Word monitor) 2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The ON/OFF status of the selected word ’ s 16 bits will be shown along the bottom of the display . A 1 indicates a bit is on, and a 0 indicates it is off. SHIFT MONTR c010 MONTR 0000000000000000 Bit 15 Bit 00 Th e status of force-set bits is indicated by “ S[...]

  • Page 106

    94 3. Press the CLR Key to end 3-word monitoring and return to the normal moni- toring display . The rightmost word on the 3-word monitor display will be monitored. CLR c200 89AB Note Th e operating mode can be changed without altering the current monitor display by holding down the SHIFT Key and then changing the operating mode. 4-3-15 Signed Deci[...]

  • Page 107

    ! 95 3. Press the CLR Key or the SHIFT and TR Keys to end the unsigned decimal display and return to normal monitoring. CLR c200 cL0020000 FFF0 0000^ OFF 4-3-17 Three-word Data Modification This operation is used to change the contents of one or more of the 3 con- secutive words displayed in the Three-word Monitor operation. It is possible in MONIT[...]

  • Page 108

    96 This operation can be used to input a new SV constant, as well as to change an SV from a constant to a word address designation and vice versa. The following examples show how to input a new SV constant and how to change the SV from a constant to an address. 1, 2, 3... 1. Press the CLR Key to bring up the initial display . 2. Display the desired[...]

  • Page 109

    ! ! 97 Words SR 253 to SR 255 cannot be changed. Caution Before changing the contents of I/O memory , be sure that the changes will not cause equipment to operate unexpectedly or dangerously . In particular , take care when changing the status of output bits. The PC continues to refresh I/O bits even if the PC is in PROGRAM mode, so devices connect[...]

  • Page 110

    ! 98 b) U se the 1 and 0 Keys to change a bit ’ s status to on or of f. The cursor will move one bit to the right after one of these keys is pressed. B 1 D0000 CHG? 1010010101010101 c) Use the SHIFT and SET and SHIFT and RESET Keys to force-set or force-reset a bit ’ s status. The cursor will move one bit to the right after one of these keys is[...]

  • Page 111

    ! ! 99 4-3-22 Unsigned Decimal Data Modification This operation is used to change the decimal value of a word being moni- tored as unsigned decimal data, within a range of 0 to 65,535. A change into hexadecimal data is made automatically . Words SR 253 to SR 255 cannot be changed. RUN MONITOR PROGRAM No OK OK Caution Before changing the contents of[...]

  • Page 112

    ! 100 2. Press the SET Key to force the bit ON or press the RESET Key to force the bit OFF . SET 0000020000 ON^ ON The cursor in the lower left corner of the display indicates that the force set/ reset is i n progress. Bit status will remain ON or OFF only as long as the key is held down; the original status will return one cycle after the key is r[...]

  • Page 113

    101 1, 2, 3... 1. Monitor the status of the desired word(s) according to the procedure described in 4-3-1 1 Bit, Digit, Word Monitor . While the multiple addresses are being monitored, the leftmost word is subject to change. (Multiple address monitor) D0000D0001 4142 3031 2. Press the TR Key to switch to ASCII display . The display will toggle betw[...]

  • Page 114

    ! 102 3. Clear the CPM1A ’ s memory by pressing the CLR, SET , NOT , RESET , and then the MONTR Key . Press the CLR Key several times if memory errors are displayed. CLR 00000 SET NOT RESET 00000MEMORY CLR? HR CNT DM MONTR END HR CNT DM 00000MEMORY CLR 4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key . Continue[...]

  • Page 115

    103 4-4-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON. Count input Reset input 20000 END(01) C000 00000 20000 01000 T001 20000 00000 00004 0[...]

  • Page 116

    104 4-4-3 Programming Procedures The example program will be written to the CPM1A according to the mnemonic list in 4-4-2 Example Program . The procedure is performed beginning with the initial display . (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to 5-4 Programming Console Operation [...]

  • Page 117

    105 3. Input the 1-second timer T001. TIM B 1 00006 TIM 001 WRITE 00006 TIM DATA #0000 4. Input the SV for T001 (#0010 = 1.0 s). B 1 A 0 00006 TIM DATA #0010 WRITE 00007READ NOP (000) The following key operations are used to input the 2-second timer . 1, 2, 3... 1. Input the normally open condition IR 20000. LD C 2 A 0 A 0 A 0 A 0 00007 LD 20000 WR[...]

  • Page 118

    106 3. Input the normally closed condition IR 20000. LD NOT C 2 A 0 A 0 A 0 A 0 00012 LD NOT 20000 WRITE 00013READ NOP (000) 4. Input the counter 000. CNT A 0 00013 CNT 000 WRITE 00013 CNT DATA #0000 5. Input the SV for counter 000 (#0010 = 10 counts). B 1 A 0 00013 CNT DATA #0010 WRITE 00014READ NOP (000) (5) Inputting the Flicker Output 1, 2, 3..[...]

  • Page 119

    107 4-4-4 Checking the Program Check the program syntax in PROGRAM mode to make sure that the program has been input correctly . 1, 2, 3... 1. Press the CLR Key to bring up the initial display . CLR 00000 2. Press the SRCH Key . An input prompt will appear requesting the desired check level. SRCH 00000PROG CHK CHK LBL (0Ć2)? 3. Input the desired c[...]

  • Page 120

    109 SECTION 5 T est Runs and Err or Pr ocessing This section describes procedures for test runs of CPM1A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. 5-1 Initial System Checks and T est Run Procedure 1 10 . . . . . . . . . . . . . . . . . . . .[...]

  • Page 121

    11 0 5-1 Initial System Checks and T est Run Procedure 5-1-1 Initial System Checks Note Check the following items after setting up and wiring the CPM1A. Be sure to check the wiring and connections before performing a test run. Item Points to check Power supply and I/O connections Is the wiring correct? Are the terminals securely tightened? Are ther[...]

  • Page 122

    111 5-1-3 Flash Memory Precautions Observe the following precautions to protect the flash memory and ensure proper operation. 1, 2, 3... 1 . I f the power is turned off without changing the mode after having made chan- ges in the read-only DM area (DM 6144 through DM 6599), or PC Setup (DM 6600 through DM 6655), the contents of changes will not be [...]

  • Page 123

    11 2 5-2 The CPM1A Cycle Th e overall flow of CPM1A operation is as shown in the following flowchart. The CPM1A is initialized internally when the power is turned on. If no errors are detected, the overseeing processes, program execution, I/O refreshing, and Peripheral Device servicing are executed consecutively (cyclically). The aver- age cycle ti[...]

  • Page 124

    ! 11 3 5-3 Self-diagnosis Functions Th e CPM1A is equipped with a variety of self-diagnosis functions to help identify and correct errors that might occur and reduce down time. PC errors are divided into 2 categories based on the severity of the errors. Fatal errors are more serious errors which stop CPM1A operation. Non-fatal errors are less serio[...]

  • Page 125

    11 4 Message F ALS No. Meaning and appropriate response Power interruption (no message) None Power has been interrupted for at least 10 ms (2 ms for DC power types.) Check power supply voltage and power lines. T ry to power-up again. MEMOR Y ERR F1 AR 1308 ON: An unspecified bit area exists in the user program. Check the program and correct errors.[...]

  • Page 126

    11 5 F ALS(07) i s a n instruction that causes a fatal error . The following will occur when an F ALS(07) instruction is executed: 1, 2, 3... 1. Program execution will be stopped and outputs will be turned OFF . 2. The ERR/ALM indicator on the CPU Unit will be lit. 3. The instruction ’ s 2-digit BCD F ALS number (01 to 99) will be written to SR 2[...]

  • Page 127

    11 6 Three levels of program checking are available. The desired level must be des- ignated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors. Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2[...]

  • Page 128

    11 7 5-6 T roubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Check for non-fatal errors. (See page 120.) Error Replace the CPU Unit. PWR indicator lit? RUN indicator lit? ERR/ALM indicator flashing? Is I/O sequence normal? Operating environment nor- mal? Operation stopped. Check fo[...]

  • Page 129

    11 8 Power Supply Check PWR indicator not lit. Replace the CPU Unit. Is power being supplied? Is voltage adequate? Are there any loose terminal screws or bro- ken wires? Connect power supply . Is PWR indicator lit? Set supply voltage within acceptable limits. Is PWR indicator lit? Tighten screws or replace wires. End Ye s No No Ye s Ye s No No No I[...]

  • Page 130

    11 9 Fatal Error Check Identify the error, eliminate its cause, and clear the error . Follow the Memory Error Check flowchart if a memory error has occurred. Is the ERR/ALM indicator lit? Determine the cause of the error with a Peripheral Device. End RUN indicator not lit. Replace the CPU Unit. Is PC mode displayed on Peripheral Device? Turn the po[...]

  • Page 131

    120 Non-fatal Error Check Identify the error, eliminate its cause, and clear the error . ERR/ALM indicator flashing. Is a non-fatal error indicated? Is the ERR/ALM indi- cator flashing? Replace the CPU Unit. End Determine the cause of the error with a Peripheral Device. No Ye s Flashing Not lit T roubleshooting Flowcharts Section 5-6[...]

  • Page 132

    121 I/O Check The I/O check flowchart is based on the following ladder diagram section. 01003 00002 (LS1) 00003 (LS2) SOL1 malfunction. SOL1 01003 Ye s Monitor the ON/OFF status of IR 01003 with a Peripheral Device. No Is the IR 01003 out- put indicator operat- ing normally? Check the voltage at the IR 01003 terminals. Wire correctly . Operation O.[...]

  • Page 133

    122 Ye s No Check the voltage at the IR 00002 and IR 00003 terminals. Check operation by using a dummy input signal to turn the input ON and OFF . No Replace the CPU Unit or Expansion I/O Unit. Are the terminal screws loose? Operation O.K.? Wire correctly . Is input wiring correct? Tighten the terminal screws Check input devices LS1 and LS2. Return[...]

  • Page 134

    123 Environmental Conditions Check Consider using a fan or cooler . Is the ambient temperature below 55 ° C? Is the ambient temperature above 0 ° C? Is noise being controlled? Is the installation envi- ronment okay? Consider using a heater . Consider using an air conditioner . Install surge pro- tectors or other noise-reducing equipment at noise [...]

  • Page 135

    124 Memory Error Check Memory error occurred. AR 1309 ON? AR 1314 ON? AR 1308 ON? Replace the CPU Unit. Check/correct data backed up by capacitor and clear error . Check the program, correct any errors, and clear the error . End No Ye s No No Ye s No Ye s AR 1310 to AR 1312 ON? Check the error indicated by the flag that is ON, correct set- tings as[...]

  • Page 136

    125 5-7 Maintenance Inspections In order that your SYSMAC system operates in optimum condition, be sure to carry out daily or periodical inspections. Inspection Items Th e main system components of a SYSMAC system are semiconductors, and it contains few components with limited lifetimes. Environmental conditions, how- ever , can lead to electrical [...]

  • Page 137

    126 5-8 Handling Precautions • T urn the power OFF before replacing the Unit. Note Before restarting operation, transfer the contents of the DM an d H R ar e as t o t h e CPU Unit that was changed and then start operation. • If a Unit is found to be faulty and is replaced, check the Unit again to ensure there is no error . • When returning a [...]

  • Page 138

    127 SECTION 6 Expansion Memory Unit This section describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and pro- cedures to properly use the Unit. 6-1 Overview 128 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1-1 Memory Areas 128 [...]

  • Page 139

    6-3 Section Handling 128 6-1 Overview The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small- size or micro PCs. Using the CPM1-EMU01-V1, simple on-site transfer of user programs and data memory between PCs is possible. Expansion Memory Unit SYSMAC CPM1, CPM1A, CPM2A, CPM2C, CQM1, CQM1H, SRM1(-V2) Uploading Download- ing EEPROM Note [...]

  • Page 140

    6-3 Section Handling 129 6-2 Specifications and Nomenclature 6-2-1 Specifications Item Specifications Supported PCs CPM1, CPM1A, CPM2A, CPM2C, SRM1 (-V2), CQM1, CQM1H Read/Write memory areas User program: 15.2 Kwords max. Data memory: DM 6144 to DM 6655 (Read-only DM and PC Setup) Expansion instructions: 18 instructions Connector Connector compatib[...]

  • Page 141

    ! 6-3 Section Handling 130 CONNECT (green) ERR (red) Meaning OFF OFF Not connected to PC (power supply OFF). ON OFF Connected to a recognized PC. Blinking OFF Uploading/downloading data. ON Blinking Host link communications error , retry by user . OFF ON PC model and EEPROM data not compatible. OFF Blinking One of the following errors has occurred:[...]

  • Page 142

    ! ! 6-3 Section Handling 131 Lift up the lock lever and detach the EEPROM. 6-3-2 PC Connections Caution Mount the EEPROM to the CPM1-EMU01-V1 before connecting the CPM1-EMU01-V1 to the PC. Caution Do not disconnect the CPM1-EMU01-V1 from the PC when the indicator is blink- ing green. When connecting to the CPM1, CPM1A, CPM2A, CQM1 or SRM1 (-V2),ins[...]

  • Page 143

    6-3 Section Handling 132 Press the levers on the top and bottom of the connector inwards to unlock the connector and pull out as shown in the following diagram. Note Do not attempt to remove the connector by pulling the cable. 6-3-3 Uploading Programs Ladder programs and the contents of data memory can be uploaded to the EEPROM using the following [...]

  • Page 144

    6-3 Section Handling 133 Operation Procedure Start Ye s No Connect the CPM1-EMU01-V1 to the PC ’ s peripheral port. Mount the EEPROM to the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is lit green. See the note on the right. Select the memory area to be uploaded. Press the UPLOAD+DM Button. Press the UPLOAD But- ton. Check if the indica[...]

  • Page 145

    ! 6-3 Section Handling 134 Caution If the PC is in RUN or MONITOR mode when downloading is started, it will auto- matically switch to PROGRAM mode and operation will stop. Confirm that no adverse effects will occur to the system before downloading. Not doing so may result in unexpected operation. Note 1. I f the PC is in RUN or MONITOR mode, switch[...]

  • Page 146

    6-3 Section Handling 135 Operation Procedure Start Ye s No Change the mode of the PC to PRO- GRAM mode. Mount the EEPROM to the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is lit green. See the note on the right. Press the DOWNLOAD TO PLC But- ton. Check if the indicator is blinking green (indicating that downloading has started). Ye s No[...]

  • Page 147

    137 Appendix A Standard Models CPU Units Description Input Output Power Model number points points supply Relay output T ransistor output Sink type Source type CPU Units with 10 I/O points 6 points 4 points AC CPM1A- 10CDR-A --- --- DC CPM1A- 10CDR-D CPM1A- 10CDT -D CPM1A- 10CDT1-D CPU Units with 20 I/O points 12 points 8 points AC CPM1A- 20CDR-A -[...]

  • Page 148

    Appendix A Standard Models 138 T emperature Sensor Units Description Specifications Model number T emperature Sensor Unit 2 thermocouple inputs: K, J CPM1A-TS001 4 thermocouple inputs: K, J CPM1A-TS002 2 platinum resistance thermometer inputs: Pt100 (100 Ω ), JPt100 (100 Ω ) CPM1A-TS101 4 platinum resistance thermometer inputs: Pt100 (100 Ω )[...]

  • Page 149

    AppendixA Standard Models 139 Peripheral Devices Name Appearance Model Number Specifications Programming Console CQM1-PRO01-E 2-m Connecting Cable attached C200H-PRO27-E Hand-held, w/backlight; requires a C200H-CN222 or C200H-CN422 Connecting Cable, see below . C200H-CN222 Connects the C200H-PRO27-E to 2-m cable C200H-CN422 a peripheral port. 4-m c[...]

  • Page 150

    141 Appendix B Dimensions All dimensions are in millimeters. CPM1A-10CDR-  /10CDT -D/10CDT1-D CPU Unit 66 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-20CDR-  /20CDT -D/20CDT1-D CPU Unit 86 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-30CDR-  /30CDT -D/30CDT1-D CPU Unit 130 50 85 90 CPU Unit with DC Power CP[...]

  • Page 151

    Appendix B Dimensions 142 CPM1A-40CDR-  /40CDT -D/40CDT1-D CPU Unit 150 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-20ED  Expansion I/O Unit Four , 4.5 dia. CPM1A-8  Expansion I/O Unit Four , 4.5 dia.[...]

  • Page 152

    Appendix B Dimensions 143 CPM1A-MAD01 Analog I/O Unit Four , 4.5 dia. CPM1A-TS  T emperature Sensor Unit 100 0.2 ± 76 ± 0.2 Four, 4.5 dia. CPM1A-SRT21 CompoBus/S I/O Link Unit Four , 4.5 dia.[...]

  • Page 153

    Appendix B Dimensions 144 CPM1-CIF01 RS-232C Adapter 90 81 21 30 205 50 56 CPM1-CIF1 1 RS-422 Adapter 90 81 21 30 205 50 61[...]

  • Page 154

    Appendix B Dimensions 145 Dimensions with Peripheral Devices Attached Approx. 125 Approx. 90[...]

  • Page 155

    147 Glossary *DM Indirectly addressed DM area. See indirect address and DM area . 1:1 PC Link A link created between two PCs to create common data in their LR areas. ACP See add count input . add count input A n input signal used to increment a counter when the signal changes from OFF to ON. address A number used to identify the location of data or[...]

  • Page 156

    Glossary 148 bit designator An operand that is used to designate the bit or bits of a word to be used by an instruction. bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit; bit 15 is the leftmost (most-significant) bit. bit-control instruction An instruction that is used to contro[...]

  • Page 157

    Glossary 149 Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or the counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction. Each condition is assigned a bit in memory that determin[...]

  • Page 158

    Glossary 150 data link An automatic data transmission operation that allows PCs or Units within PC to pass data back and forth via common data areas. data link area A common data area established through a data link. data movement instruction An instruction used to move data from one location in memory to another . The data in the original memory l[...]

  • Page 159

    Glossary 151 and ‘ distributed ’ over the system. Distributed control is a concept basic to PC Systems. DM area A data area used to hold only word data. Words in the DM area cannot be accessed bit by bit. DM word A word in the DM area. downloading The process of transferring a program or data from a higher-level or host com- puter to a lower-le[...]

  • Page 160

    Glossary 152 FA Factory automation. factory computer A general-purpose computer , usually quite similar to a business computer , that is used in automated factory control. F AL error An error generated from the user program by execution of an F AL(06) instruc- tion. F ALS error An error generated from the user program by execution of an F ALS(07) i[...]

  • Page 161

    Glossary 153 I/O capacity The number of inputs and outputs that a PC is able to handle. This number ranges from around one hundred for smaller PCs to two thousand for the largest ones. I/O delay T h e delay in time from when a signal is sent to an output to when the status of the output is actually in ef fect or the delay in time from when the stat[...]

  • Page 162

    Glossary 154 instruction A direction given in the program that tells the PC of the action to be carried out, and the data to be used in carrying out the action. Instructions can be used to simply turn a bit ON or OFF , or they can perform much more complex actions, such as converting and/or transferring large blocks of data. instruction block A gro[...]

  • Page 163

    Glossary 155 link A hardware or software connection formed between two Units. “ Link ” can refer either to a part of the physical connection between two Units or a software con- nection created to data existing at another location (i.e., data links). load The processes of copying data either from an external device or from a storage area to an [...]

  • Page 164

    Glossary 156 non-fatal error A hardware or software error that produces a warning but does not stop the PC from operating. normal condition See normally open condition . normally closed condition A condition that produces an ON execution condition when the bit assigned to it is OFF , and an OFF execution condition when the bit assigned to it is ON.[...]

  • Page 165

    Glossary 157 output bit A bit in the IR area that is allocated to hold the status to be sent to an output device. output device An external device that receives signals from the PC System. output point The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins. output signal A signal being [...]

  • Page 166

    Glossary 158 Programmable Controller A computerized device that can accept inputs from external devices and gener- ate outputs to external devices according to a program held in memory . Pro- grammable Controllers are used to automate control of external devices. Although single-unit Programmable Controllers are available, building-block Programmab[...]

  • Page 167

    Glossary 159 response format A format specifying the data required in a response to a data transmission. response monitoring time The time a device will wait for a response to a data transmission before assum- ing that an error has occurred. Restart Bit A bit used to restart part of a PC. result word A word used to hold the results from the executi[...]

  • Page 168

    Glossary 160 self-maintaining bit A bit that is programmed to maintain either an OFF or ON status until set or reset by specified conditions. series A wiring method in which Units are wired consecutively in a string. servicing Th e process whereby the PC checks a connector or Unit to see if special proces- sing is required. set The process of turni[...]

  • Page 169

    Glossary 161 syntax The form of a program statement (as opposed to its meaning). syntax error An error in the way in which a program is written. Syntax errors can include ‘ spelling ’ mistakes (i.e., a function code that does not exist), mistakes in specify- ing operands within acceptable parameters (e.g., specifying read-only bits as a destina[...]

  • Page 170

    Glossary 162 unmasked bit A bit whose status is effective. See masked bit . unsigned binary A binary value that is stored in memory without any indication of whether it is positive or negative. unsigned decimal One-word hexadecimal values can be displayed at the Programming Console as decimal values from 0 to 65,535. uploading The process of transf[...]

  • Page 171

    163 Index Numbers 1:1 Host Link, 12 connections, 60 1:1 NT Link, 15 connections, 64 1:1 PC Link, 3, 14 connections, 63 1:N Host Link, 13 connections, 61 A Adapters, list of communications adapters, 14 Analog I/O Unit, standard model, 137 analog setting function, 2, 5 analog volume controls, 5 location, 29 ASCII, converting displays, Programming Con[...]

  • Page 172

    Index 164 errors communications, 1 13 error processing, 109 fatal, 1 13 identifying, 1 14 non-fatal, 1 13 programming, 1 15 Programming Console operations, 1 15 reading/clearing messages, Programming Console, 82 user-defined errors, 1 14 Expansion I/O Units, 2 available models, 1 1, 137 components, 30 connection, 41 standard models, 137 Expansion M[...]

  • Page 173

    Index 165 Mode Setting Switch, RS-232C Adapter , 34 model numbers, 137 modifying binary data, Programming Console, 97 data, Programming Console, 95 hexadecimal/BCD data, Programming Console, 96 signed decimal data, Programming Console, 98 SV , Programming Console, 95 unsigned decimal data, Programming Console, 99 MONITOR mode description, 76 exampl[...]

  • Page 174

    Index 166 programs checking, check levels, 1 15 downloading, 133 entering and editing, Programming Console, 84 uploading, 132 proximity switches, preventing false inputs, 51 pulse output function, 2, 7 Q – R quick-response inputs, 2, 7 relay outputs, connecting, 50 response time, for interrupt inputs, 6 restrictions, SSS, 68 RS-232C Adapter compo[...]

  • Page 175

    Index 167 V vibration resistance, 20 voltage operating voltage range, 20 supply voltage, 20 voltage output, connecting, 50 W weight CPU Unit, 20 Expansion I/O Unit, 20 Expansion Unit, 20 wiring, 43 power supply , 45[...]

  • Page 176

    169 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W317-E1-5 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 1 April 1997 Original production 2 J[...]