SlideShare a Scribd company logo
Cat. No. W127-E1-4
Analog I/O Units
SYSMAC
C200H-AD001/DA001
SYSMAC
C200H-AD001/DA001
Analog I/O Units
Operation Guide
Revised February 2001
!
!
!
ii
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 people or dam-
age to property.
DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers
to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for any-
thing else.
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 operation
of the product.
Reference Indicates supplementary information on related topics that may be of interest to
the user.
1, 2, 3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
© OMRON, 1990
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 permis-
sion of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is
constantly striving to improve its high-quality products, the information contained in this manual is subject to change
without notice. 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 informa-
tion contained in this publication.
iii
About this Manual:
This guide describes the installation and operation of the C200H-AD001 Analog Input Unit and the
C200H-DA001 Analog Output Unit and includes the sections described below.
The C200H-AD001 Analog Input Unit and the C200H-DA001 Analog Output Unit are analog-digital and
digital-analog converters designed to work with the C200H or C200HS PC.
The C200H-AD001 can convert up to four analog inputs to digital (12-bit binary) form. The operator can
select from three input ranges: 1 to 5 V and 4 to 20 mA (simultaneous use of voltage and current inputs
possible), or 0 to 10 V (voltage inputs only). Useful functions, such as scaling, mean value, peak value,
and square root, are built-in.
The C200H-DA001 can convert two digital (12-bit binary) signals to analog outputs. The operator can
select from three output ranges: 1 to 5 V, 4 to 20 mA, or 0 to 10 V. Built-in functions include output limit,
output limit alarm, and pulse output.
Please read this manual carefully and be sure you understand the information provided before attempting
to install and operate the C200H-AD001 or the C200H-DA001
Section 1 describes the types of applications in which Analog I/O Units are used.
Section 2 describes the installation and operation of the C200H-AD001 Analog Input Unit, from installa-
tion and wiring through programming and operation.
Section 3 describes the installation and operation of the C200H-DA001 Analog Output Unit, from installa-
tion and wiring through programming and operation.
WARNING Failure to read and understand the information provided in this manual may result in
personal injury or death, damage to the product, or product failure. Please read each
section in its entirety and be sure you understand the information provided in the section
and related sections before attempting any of the procedures or operations given.
!
v
TABLE OF CONTENTS
PRECAUTIONS vii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Intended Audience viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Safety Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Operating Environment Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 1 – System Design 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1 Introduction 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Safety Precautions 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 Basic Configuration 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4 Example Configurations 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5 System Considerations 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2 – C200H-AD001 Analog Input Unit 7. . . . . . . . . . . . . . . . . . . . .
2-1 Before Operation 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 Nomenclature and Functions 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 Switch Settings 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-3 Wiring 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2 Bit and DM Area Allocations 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3 Functions and Programming 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-1 Input Signal Range Setting 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-2 Square Root 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-3 Scaling 20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-4 Mean Value 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-5 Peak Value 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-6 Input Disconnection Detection 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-7 Data Setting Example and Programming Concepts 23. . . . . . . . . . . . . .
2-4 Troubleshooting 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3 – C200H-DA001 Analog Output Units 29. . . . . . . . . . . . . . . . . . .
3-1 Before Operation 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-1 Nomenclature and Functions 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-2 Switch Settings 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-3 Wiring 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Bit and DM Allocations 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3 Functions and Programming 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-1 Output Signal Range Setting 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-2 Output Limits 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-3 Output Limit Alarms 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-4 Pulse Output 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-5 Data Setting Example and Programming Concepts 43. . . . . . . . . . . . . .
3-4 Troubleshooting 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A – Standard Models 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B – Specifications 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C – Data Memory Coding Sheets 53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vii
PRECAUTIONS
This section provides general precautions for using the Programmable Controller (PC) and Analog I/O Units.
The information contained in this section is important for the safe and reliable application of the Analog I/O Units.
You must read this section and understand the information contained before attempting to set up or operate a PC
system and Analog I/O Units.
1 Intended Audience viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Safety Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Operating Environment Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
!
!
!
viii
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 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 specifications
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, amusement
machines, safety equipment, 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.
This manual provides information for programming and operating OMRON Ana-
log I/O Units. Be sure to read this manual before attempting to use the software
and keep this manual close at hand for reference during operation.
WARNING It is extremely important that a PC and all PC Units 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
representative before applying a PC System to the above-mentioned
applications.
3 Safety Precautions
WARNING Do not attempt to take any Unit apart while power is being supplied. Doing so
may result in electric shock.
WARNING Do not touch any of the terminals or terminal blocks while power is being
supplied. Doing so may result in electric shock.
Safety Precautions 3
!
!
!
!
!
ix
4 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 tempera-
ture.
• 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:
• 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 PC System can have a large effect on the lon-
gevity and reliability of the system. Improper operating environments can lead to
malfunction, failure, and other unforeseeable problems with the PC System. Be
sure that the operating environment is within the specified conditions at installa-
tion and remains within the specified conditions during the life of the system.
5 Application Precautions
Observe the following precautions when using the PC.
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 Units. Not con-
necting to a ground of 100 Ω or less may result in electric shock.
• Always turn off the power supply to the PC before attempting any of the follow-
ing. Not turning off the power supply may result in malfunction or electric
shock.
• Mounting or dismounting I/O Units, CPU Units, Memory Cassettes, or any
other Units.
• Assembling the Units.
• Setting DIP switch or rotary 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
PC or the system, or could damage the PC or PC Units. Always heed these pre-
cautions.
• 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.
Application Precautions 5
x
• Interlock circuits, limit circuits, and similar safety measures in external circuits
(i.e., not in the Programmable Controller) must be provided by the customer.
• Always use the power supply voltage specified in this manual. 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.
• Do not apply voltages to the Input Units in excess of the rated input voltage.
Excess voltages may result in burning.
• Do not apply voltages or connect loads to the Output Units in excess of the
maximum switching capacity. Excess voltage or loads may result in burning.
• Install external breakers and take other safety measures against short-circuit-
ing in external wiring. Insufficient safety measures against short-circuiting may
result in burning.
• Disconnect the functional ground terminal when performing withstand voltage
tests. Not disconnecting the functional ground terminal may result in burning.
• Do not attempt to disassemble, repair, or modify any Units.
• Be sure that all the mounting screws, terminal screws, and cable connector
screws are tightened to the torque specified in the relevant manuals. Incorrect
tightening torque may result in malfunction.
• Leave the label attached to the Unit when wiring. Removing the label may re-
sult in malfunction if foreign matter such as wire cuttings enter the Unit.
• Remove the label after the completion of wiring to ensure proper heat dissipa-
tion. Leaving the label attached may result in malfunction.
• Use crimp terminals for wiring. Do not connect bare stranded wires directly to
terminals. Connection of bare stranded wires may result in burning.
• Double-check all the wiring before turning on the power supply. Incorrect wir-
ing may result in burning.
• Wire all connections correctly.
• Mount the Unit only after checking the terminal block completely.
• Be sure that the terminal blocks, Memory Units, expansion cables, and other
items with locking devices are properly locked into place. Improper locking
may result in malfunction.
• Check the user program for proper execution before actually running it on the
Unit. Not checking the program may result in an unexpected operation.
• 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 PC.
• Force-setting/force-resetting any bit in memory.
• Changing the present value of any word or any set value in memory.
• Resume operation only after transferring to the new CPU Unit the contents of
the DM Area, HR Area, and other 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 or other wiring lines. Doing so may
break the cables.
• Before touching the Unit, 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.
• Install the Units properly as specified in the operation manuals. Improper
installation of the Units may result in malfunction.
Application Precautions 5
1
SECTION 1
System Design
This section describes the basic uses of Analog I/O Units in a Control System and illustrates the type of applications in which
they might be found.
1-1 Introduction 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Safety Precautions 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 Basic Configuration 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4 Example Configurations 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5 System Considerations 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1-1 Introduction
The C200H-AD001 Analog Input Unit is used to convert the output of analog field
devices, usually sensors, to a digital form (12-bit binary) that the PC can read.
The C200H-DA001 Analog Output Unit converts the digital output of the PC to
analog signals which drive analog field devices.
C200H-AD001
Analog Input Unit
C200H-DA001
Analog Output Unit
1-2 Safety Precautions
• Be sure that you have read this manual carefully and have understood the ex-
planations before attempting any of the procedures described herein. OM-
RON accepts no responsibility for any damage or injury that may result from
carrying out any operation that is not covered in this manual.
• Be sure to turn off the power supply to the PC before carrying out any of the
following operations:
a) Mounting or removing a Unit.
b) Setting switches.
c) Mounting or removing a Terminal Block or connectors.
d) Wiring the System or Units.
• Use twisted-pair cables and keep high-voltage lines and power lines in sepa-
rate ducts to reduce the risk of malfunctions due to electrical noise.
• Before turning on the power supply, check to be sure that the switch settings
and wiring are correct.
• Check to be sure that the user program operates correctly.
Safety Precautions Section 1-2
3
1-3 Basic Configuration
This diagram shows some of the possible field devices for the Analog I/O
Units. Any I/O device can be used as long as voltage/current requirements
fall within the specified ranges.
The I/O device connected to the Analog I/O Unit will often serve as an inter-
face for another device. For example, a preamplifier may amplify the output
of a pressure gauge to the level required for the Analog Input Unit and a reg-
ulator may interface a heating system to control temperature.
Preamp
Transducer
Variable
speed
controller
Servo-
controller
M
M
Temperature
Pressure
Speed
Flow rate
Voltage
Current
Power
Power factor
Analog
Output Unit
Regulator
(Temperature
control)
(Speed control)
(Position control)
C200H CPU Rack
Analog
Input Unit
Chart recorder
Basic Configuration Section 1-3
4
1-4 Example Configurations
Below are two examples of how Analog I/O Units can be used in control sys-
tems. The first diagram shows a temperature regulating system and the sec-
ond shows a servomotor positioning system.
ÇÇÇÇ
ÇÇÇÇ
ÇÇÇÇ
ÇÇÇÇ
Sensor
Servo motor
Servo
controller
Locating pulse
M
Platform
SYSMAC
C200HS/C200H/C200HX/HG/HE
ÇÇÇÇ
ÇÇÇÇ
Analog Output Unit
C200H-DA001
Analog Input Unit
C200H-AD001
High-speed Counter Unit
C200H-CT001-V1
Encoder
Fuel
Transducer
M
SYSMAC
C200HS/C200H/C200HX/HG/HE
Valve
controller
Analog Input Unit
C200H-AD001
Analog Output Unit
C200H-DA001
Temperature sensing
element
Example Configurations Section 1-4
5
1-5 System Considerations
Number of Units C200HS/C200H/C200HX/HG/HE Analog I/O Units are classified as Special I/O
Units. A maximum total of ten Special I/O Units (including PC Link Units) can be
mounted to the CPU Rack, Expansion I/O Racks, and Slave Racks of a single
PC. A single C200H-NC211 Position Control Unit counts as two Units.
The Units that belong to the various Special I/O Unit groups are shown in the
following table. Their usage is limited according to the maximum current pro-
vided for the Rack and the amount of current consumed by each Unit. For de-
tails, refer to the C200HS/C200H Installation Guide.
Certain limitations apply to the number of Special I/O Units that can be mounted
on Slave Racks. The following table shows the maximum number of Group A, B,
C, and D Special I/O Units that can be mounted on a single Slave Rack when
only Units of that group are used.
A B C D
High-speed Counters
Position Control Units
(NC111/112)
ASCII Units
Analog I/O Units
ID Sensor Units
Fuzzy Logic Units
Multipoint I/O Units
Temperature Control Units
PID Control Units
Cam Positioner Units
Temperature Sensor Units
Voice Units
Position Control Units
(NC211)
4 Units ––– ––– –––
––– 8 Units ––– –––
––– ––– 6 Units –––
––– ––– ––– 2 Units
If Units from any of the four groups are to be combined, then both of the following
two equations must be satisfied.
3A + B + 2C + 6D x 12
A + B + C + D x 8
Units can be mounted on other Racks as well, until the maximum total of ten
Units has been reached. Remember, though, that a single C200H-NC2111 Posi-
tion Control Unit counts as two Units. PC Link Units must also be counted among
the total of ten Units.
C200HS/C200H Special I/O Units are allocated IR area words according to the
unit number switch settings on their front panels. They do not use the words of
the slots in which they are mounted. For details regarding data area allocations,
refer to 2-2 and 3-2 IR and DM Bit Allocations.
With the C200H, do not mount an Analog I/O Unit in the two slots adjacent to the
CPU. Doing so would block peripheral devices such as the Programming Con-
sole from being connected.
Special I/O Units cannot be used on a C200H Remote I/O Slave Rack if the
Slave Rack is connected to different model PC (i.e., C500, C1000H, or
C2000H).
Be sure to turn off the power supply to the PC before installing or disconnecting
Units or connecting lines.
To reduce the risk of malfunctioning due to electrical noise, wire input and output
lines in separate ducts from high-voltage and power lines.
For further wiring precautions, refer to the respective sections on wiring for Ana-
log Input Units and Analog Output Units.
Slave Racks
System Configuration
Considerations
Precautions
System Considerations Section 1-5
7
SECTION 2
C200H-AD001 Analog Input Unit
This section provides the information required to install and operate a C200H-AD001 Analog Input Unit.
2-1 Before Operation 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 Nomenclature and Functions 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 Switch Settings 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-3 Wiring 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2 Bit and DM Area Allocations 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3 Functions and Programming 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-1 Input Signal Range Setting 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-2 Square Root 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-3 Scaling 20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-4 Mean Value 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-5 Peak Value 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-6 Input Disconnection Detection 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3-7 Data Setting Example and Programming Concepts 23. . . . . . . . . . . . . . .
2-4 Troubleshooting 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
2-1 Before Operation
2-1-1 Nomenclature and Functions
Display
panel
Voltage/current
input terminals
Unit number
setting switch
Model label
Function setting DIP switch
Backplane connector
Indicators
Indicator Color Function
RUN Green Lit when the Analog Input Unit is operating correctly. If operation is not normal, this
indicator turns OFF and Unit operation is stopped.
BROKEN WIRE Red Lit when an input signal wire is disconnected. This indicator operates only when the
input range is set to 1 to 5 V/4 to 20 mA.
The following table briefly outlines the basic functions of the C200H-AD001.
These functions are covered in more detail in 2-3 Functions and Programming.
Function Explanation
Input range setting The input range can be set according to the input signal level that is to be used. The
same input range is used for all of the inputs for a particular Unit. The voltage range of
1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option
for any input.
Square root Converts quadratic data, such as thermocouple input, to linear data.
Scaling Converts an analog input signal to a preset range of BCD data for output.
Mean value Sums the sampling data and calculates the mean value for output.
Peak value Holds the maximum values for A/D conversion data, scaling data, mean data, and
square root data, and outputs them as output data.
Disconnection detection The Disconnection Detection Flag is turned ON and the BROKEN WIRE indicator is lit if
the input signal wire becomes disconnected when 1 to 5 V/4 to 20 mA are set.
Functions
Before Operation Section 2-1
9
The following diagram shows the basic internal configuration of the Unit.
Range
selector
Multi-
plexer
A/D
converter
Photo-
coupler
Photo-
coupler
Analog power supply
+5 V
0 V
DC/DC
Bus
inter-
face
converter
C200H
or
C200HS
PC
I/O bus
CPU
ROM/
RAM
+Voltage
Input
+Current
Input
–Input
Analog 0 V
+Voltage
Input
+Current
Input
–Input
+Voltage
Input
+Current
Input
–Input
+Voltage
Input
+Current
Input
–Input
Watchdog
timer
Common
SW
Inputpoint1Inputpoint2Inputpoint3Inputpoint4Block Diagram
Before Operation Section 2-1
10
2-1-2 Switch Settings
There are four settings necessary for this Unit: unit number, number of in-
puts, input range, and data reading mode.
Unit Number
Unit number
setting switch
The switch notch points to the unit number. The
switch in the figure to the left is set to 0. Odd num-
bers, in parentheses here, are not shown on the Unit.
Use a standard screwdriver and set a different unit
number for each Analog I/O Unit. IR area memory is
allocated according to unit number, as shown in the
table below.
Switch setting Unit number IR words DM words
0 Unit #0 IR 100 to 109 DM 1000 to 1099
1 Unit #1 IR 110 to 119 DM 1100 to 1199
2 Unit #2 IR 120 to 129 DM 1200 to 1299
3 Unit #3 IR 130 to 139 DM 1300 to 1399
4 Unit #4 IR 140 to 149 DM 1400 to 1499
5 Unit #5 IR 150 to 159 DM 1500 to 1599
6 Unit #6 IR 160 to 169 DM 1600 to 1699
7 Unit #7 IR 170 to 179 DM 1700 to 1799
8 Unit #8 IR 180 to 189 DM 1800 to 1899
9 Unit #9 IR 190 to 199 DM 1900 to 1999
Note 1. The unit number setting switch is factory set to 0.
2. If two or more Special I/O Units are assigned the same unit number, an I/O
UNIT OVER error will be generated and the PC will not operate.
3. Make the unit number settings with the power turned off to the PC. If the set-
tings are made with the power on, they will not go into effect until either the
power is turned off and then on again or the Special I/O Unit Restart Flag
(AR0100 to AR0109) is turned ON.
There can be 1, 2, or 4 inputs depending on the settings of pins 1 and 2, as
shown in the table below.
0: OFF
1: ON
The following table shows the effects of the various pin combinations. If there is
no need to use all of the inputs, processing time can be shortened by setting the
pins so that the smallest possible number of inputs is enabled.
Pin number Number of inputs Inputs enabled
1 2
p p
OFF ON 1 Input 1 only is enabled.
ON OFF 2 Inputs 1 and 2 only are enabled.
OFF OFF 4 All inputs are enabled.
ON ON Not used. –––
Number of Inputs
Before Operation Section 2-1
11
Use pin 3 to set the input range.
Pin number 3 Input range
OFF Voltage input 1 to 5 V
Current input 4 to 20 mA
ON Voltage input 0 to 10 V
Note The same input range is used for all of the inputs for a particular Unit. The voltage
range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the
user’s option at any input.
In normal mode, the input data is read only once before being converted from
analog to digital. In filter mode, the input data is read three times and then
the average values are converted from analog to digital. This helps to reduce
the effects of electrical noise and so on. Using filter mode, however, results in
longer processing time, as shown in the following table.
Pin number 3 Data reading mode A/D conversion time
OFF Normal mode 2.5 ms/input max.
ON Filter mode 4 ms/input
2-1-3 Wiring
The following illustration shows the function of each terminal.
A0
A2
A4
A6
A8
B0
B2
B4
B6
B9
B1
B3
B5
B7
B8
A7
A5
A3
A1
Input 1 (–)
Not used.
Input 2 (–)
Not used.
Input 3 (–)
Not used.
Input 4 (–)
Not used.
Common (Analog 0 V)
Voltage input 1 (+)
Current input 1 (+)
Voltage input 2 (+)
Current input 2 (+)
Voltage input 3 (+)
Current input 3 (+)
Voltage input 4 (+)
Current input 4 (+)
Not used.
Common (Analog 0 V)
The same input range is used for all of the inputs for a particular Unit. The voltage
range of 1 to 5 V and the current range of 4 to +20 mA, however, can be used at
the user’s option at any input.
Use the DIP switch on the back panel of the Unit to set the input range and the
number of inputs. (For details, refer to 2-1-2 Switch Settings.)
When current input is used, short circuit the voltage input (+) and current input
(+) terminals.
The common terminal is connected to the 0 V of the Analog Input Unit’s analog
circuit. Noise interference can be reduced by using shielded cables for input
lines.
The A8 and B9 terminals are short circuited internally.
Input Range
Data Reading Mode
Terminal Allocation
Before Operation Section 2-1
12
The following diagram illustrates the external wiring of voltage inputs for the
C200H-AD001.
Input 1
Input 2
Input 3
Input 4
Shield
C200H-AD001
0 V
0 V
0 V
0 V
Input side
Note Terminals A8 and B9 are analog input ground terminals. They are not frame
grounds and so do not connect them to a ground.
Voltage Inputs
Before Operation Section 2-1
13
The following diagram illustrates the external wiring of current inputs for the
C200H-AD001. When current inputs are used, use the short pins provided with
the Unit to short circuit the V+ and I+ terminals as shown in the diagram.
Input 1
Input 2
Input 3
Input 4
Shield
C200H-AD001
0 V
+ V
0 V
+ V
0 V
+ V
0 V
+ V
(Short pin)
Input side
(Short pin)
(Short pin)
(Short pin)
Note Terminals A8 and B9 are analog input ground terminals. They are not frame
grounds and so do not connect them to a ground.
Current Inputs
Before Operation Section 2-1
14
When wiring inputs, apply the following points to avoid noise interference and
optimize Analog Input Unit performance.
• Use shielded twisted-pair cable for external connections and power lines.
• Route input cables separately from the AC cable, and do not run the Unit’s
cables near a main circuit cable, high voltage cable, or a non-PC load cable.
• Be sure to install surge-absorbing diodes or surge absorbers for inductive
loads (relays, solenoids, electromagnetic valves, etc.) They should be
installed right next to relays and solenoids. Use surge-absorbing diodes with a
dielectric strength of at least five times the circuit voltage.
DC Relay
Surge-absorbing diode
(Example: ERB44-06,
by Fuji Electric)
Solenoid, etc.
AC Relay
Surge absorber
Surge absorber
• If there is noise interference from power lines (if, for example, the power supply
is shared with electrical welding devices or electrical discharge machines, or if
there is a high-frequency generation source nearby) install a noise filter at the
power supply input area.
• Use at least a class-3 ground (to 100 Ω or less), with as heavy a wire as pos-
sible (i.e., at least 1.25 mm2).
Input Wiring
Considerations
Before Operation Section 2-1
15
2-2 Bit and DM Area Allocations
IR Area Allocation C200H Analog Input Units are allocated ten words each from the portion of the
IR area (IR 100 to IR 199) that is reserved for Special I/O Units. The words that
are allocated a particular Analog Input Unit depend on the setting of the unit
number on the front panel of the Unit. Those ten words are then reserved as an
I/O refresh data area, and the bits that comprise that area are refreshed with ev-
ery I/O refresh scan by the PC.
IR n + 1
to
IR n +5
IR n
IR 130 to 139
IR 140 to 149
IR 150 to 159
IR 100 to 109
IR 110 to 119
IR 120 to 129
IR 190 to 199
IR 160 to 169
IR 170 to 179
IR 180 to 189
SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-AD001 Analog Input Unit
IN refresh
(I/O refresh data area)
(n = 100 + 10 x unit number)
Unit #0
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #9
(Work area)
At the I/O refresh by the
PC, outputs (PC to Unit)
and inputs (Unit to PC)
are refreshed in order
with every scan.
The OUT and IN refreshes are as seen from
the PC.
OUT refresh
Note The unit number that is set for an Analog Input Unit must not be used for any
other Special I/O Unit. If the same unit number is set more than once, an I/O
UNIT OVER error will be generated and operation will be stopped.
DM Area Allocation
DM (m + 8)
to
DM (m +11)
DM (m)
to
DM (m+ 7)
DM 1900 to 1911
DM 1800 to 1811
DM 1700 to 1711
DM 1600 to 1611
DM 1500 to 1511
DM 1400 to 1411
DM 1300 to 1311
DM 1200 to 1211
DM 1100 to 1111
DM 1000 to 1011Unit #0
SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-AD001 Analog Input Unit
(Fixed data area)
Scaling data
Mean dataAutomatically transferred
to each unit at power up
or when Special I/O Re-
start Flag is turned ON.
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #9
(m = 1000 + 100 x unit number)
(For more information regarding DM area allocation, refer to DM
Allocations at the end of this section.)
(DM area)
Bit and DM Area Allocations Section 2-2
16
IR Allocations
I/O Wd
(IR)
Bit
(IR) 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
OUT n 0 0 0 SQ PK Mean value processing 0 Scaling execution OA CPQ
Input 4 Input 3 Input 2 Input 1 Input 4 Input 3 Input 2 Input 1
IN n+1 Input 1 A/D conversion data or processing data
n+2 Input 2 A/D conversion data or processing data
n+3 Input 3 A/D conversion data or processing data
n+4 Input 4 A/D conversion data or processing data
n+5 0 0 0 0 0 0 0 OD Input pts.
00: 4 pts.
IR Disconnection detection SE
00: 4 ts.
01: 2 pts.
10: 1 pt.
Input 4 Input 3 Input 2 Input 1
n+6
to
n+9
Not used.
Note The following abbreviations are used in this table. SQ: square root calculation;
PK: peak value; OA: offset adjustment; CP: A/D conversion prohibited; OD: out-
puts disabled; IR: input range; SE: setting error.
A/D Conversion Data
Input range Binary data
0 to 10 V, 1 to 5 V, 4 to 20 mA 0000 to 0FA0
When scaling, mean value processing, peak value, or square root calculation is
executed, the resulting data is output.
Note When scaling is executed, it is set in words n+1 through n+4 in BCD.
IR Area Contents: Outputs
Address Item Contents
Word
(IR)
Bit
15 to 13 ––– Not used. Set each bit to 0 (i.e., OFF).
12 Square Root ON Bit Turn this bit ON (i.e., set it to 1) to execute the square root
calculation. It is used for all inputs.
11 Peak Value ON Bit Turn this bit ON (i.e., set it to 1) to execute the peak value
function. It is used for all inputs.
n 10 to 07 Mean Value ON Bit Turn these bits ON (i.e., set them to 1) to calculate the mean
values for the respective inputs. Bits 07 to 10 correspond to
inputs 1 to 4.
06 ––– Not used. Set to 0 (i.e., OFF).
05 to 02 Scaling ON Bit Turn these bits ON (i.e., set them to 1) to execute scaling for the
respective inputs. Bits 02 to 05 correspond to inputs 1 to 4.
01 Offset adjustment Turn this bit ON (i.e., set it to 1) to execute the offset adjustment.
The adjustment is carried out automatically at power up, so this
bit does not normally need to be used.
00 A/D conversion prohibition Turn this bit ON (i.e., set it to 1) to prohibit A/D conversion. It is
used for all inputs.
Processing Data
Bit and DM Area Allocations Section 2-2
17
IR Area Contents: Inputs
Word
(IR)
Bit Item Contents
n+1 15 to 00 Input 1 A/D conversion data
or processing data
The A/D conversion data (binary) is set here for each input. (The
data is set in BCD for scaling.)
n+2 15 to 00 Input 2 A/D conversion data
or processing data
g )
n+3 15 to 00 Input 3 A/D conversion data
or processing data
n+4 15 to 00 Input 4 A/D conversion data
or processing data
15 to 09 ––– Not used.
08 Output disabled Conversion data is unstable at power up, so this bit prohibits A/D
conversion data from being output. It remains ON for
approximately 100 ms after the power is turned on.
07 to 06 Number of inputs The number of inputs (4, 2, or 1) is determined by the status of
pin numbers 1 and 2 of the DIP switch on the rear panel of the
Analog Input Unit. The status of pin 2 affects bit 07, and the
status of pin 1 affects bit 06.
n+5 05 Input range The status of this bit reflects the setting of pin 3 of the rear-panel
DIP switch.
04 to 01 Input Disconnect Flag When an input is disconnected, the corresponding bit is turned
ON (i.e., is set to 1). Bits 01 to 04 correspond to inputs 1 to 4
respectively. (See note 1.)
00 Setting Error Flag This bit turns ON (i.e., is set to 1) if the data set in the DM area is
wrong. (See note 2.)
Note 1. This bit turns ON under the following conditions:
• An input is 0.5 V or less when set for 1 to 5V.
• An input is 2 mA or less when set for 4 to 20 mA.
• The input does not function when set for 0 to 10 V.
2. The Setting Error Flag turns ON when the scaling upper and lower limits are
not in BCD or when the number of mean processing terms is 0000 or not in
BCD.
3. Even if scaling or mean processing are not executed, and regardless of
whether or not inputs are used, the data described in note 2 will cause the
Setting Error Flag to turn ON. This will have no effect on operation, however.
4. n = 100 + 10 x unit number
DM Allocations
Word Bit
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
DM (m) Input 1, scaling lower limit data
DM (m+1) Input 1, scaling upper limit data
DM (m+2) Input 2, scaling lower limit data
DM (m+3) Input 2, scaling upper limit data
DM (m+4) Input 3, scaling lower limit data
DM (m+5) Input 3, scaling upper limit data
DM (m+6) Input 4, scaling lower limit data
DM (m+7) Input 4, scaling upper limit data
DM (m+8) Input 1, number of samples for mean processing
DM (m+9) Input 2, number of samples for mean processing
DM (m+10) Input 3, number of samples for mean processing
DM (m+11) Input 4, number of samples for mean processing
Bit and DM Area Allocations Section 2-2
18
Note 1. The DM area that is used is a read-only area, so the data cannot be written
from the program. Use the Programming Console to set data by changing
the present value or changing three words together.
2. The range for setting scaling data is 0000 to 9999 (BCD). Make sure that the
lower limit is smaller than the upper limit.
3. The range for setting the number of times that sampling is to be executed for
mean value processing is 0002 to 9999 (BCD).
4. Data that is set in the DM area is transferred either at the time of power up or
when the Special I/O Unit Restart Bit is turned ON. Any data that is set in the
meantime will remain invalid until then.
DM Contents
Words Bits Item Data contents
DM (m) to DM (m+7) 15 to 00 Scaling data The scaling data (upper and lower limits) is set in
BCD (0000 to 9999), using two words for each
input. Set the lower limit in the rightmost word and
the upper limit in the leftmost word, and make sure
that the lower limit is smaller than the upper limit.
DM (m+8) to DM (m+11) 15 to 00 Number of terms for
calculating mean value
The number of samples to be taken for calculating
the mean value is set in BCD (0002 to 9999) for
each input. DM words m+8 through m+11
correspond to inputs 1 to 4.
2-3 Functions and Programming
The C200H-AD001 Analog Input Unit provides six functions:
• Input signal range setting
• Square root
• Scaling
• Mean value
• Peak value
• Input disconnection detection
These functions are set using Unit switches and Peripheral Devices, such as a
Programming Console. The words allocated to the Unit in the DM Area (DM m to
DM m+11) cannot be written from user program and all data set in these words
must be written from a Peripheral Device.
When inputting data from a Programming Console, use the operations to
change present values. When inputting from the SSS (SYSMAC Support Soft-
ware), use the DM editing operations.
The data set in the DM area is transferred to the Analog Input Unit when either of
the following steps is taken. Be sure to perform one or the other of these steps
whenever new data has been set or data has been changed.
• Turning ON the power to the C200H/C200HS/C200HX/HG/HE CPU.
• Turning ON the Restart Bit allocated to the Unit as a Special I/O Unit (AR 0100
to 0109).
Any or all of the six functions can be used at the same time. Data will be pro-
cessed in the following sequence and the final results will be output to words n+1
to n+4: analog-to-digital conversion → square root → scaling → mean value →
peak value.
Functions and Programming Section 2-3
19
2-3-1 Input Signal Range Setting
The C200H-AD001 can convert analog input signals in three ranges:
0 to 10 V, 1 to 5 V, or 4 to 20 mA. The range is set on pin 3 of the DIP switch
as shown below
Pin 3 Input range
OFF 1 to 5 V
4 to 20 mA
ON 0 to 10 V
If the 0 to 10 V setting is used, it must be used for all four inputs. The 1 to 5 V
and 4 to 20 mA ranges can be used at the same time for different inputs.
The digital data is in 12-bit binary code (0000 to 0FA0), and resolution is
1/4000 full scale.
Analog Input vs. Digital Output
0
0 V 10 V
Analog
input
Decimal equivalent
of binary code
0
1 V (4 mA) 5 V (20 mA)
Analog
input
Decimal equivalent of
binary code
4000
(0FA0)
4000
(0FA0)
Note An offset error is likely to occur when power is turned on. The full scale of con-
verted data is 4000, and the remaining 95 is used for offset/gain.
2-3-2 Square Root
The square root function is used to convert quadratic data, such as thermocou-
ple inputs, to linear data. The function is activated for all inputs when the Square
Root ON Bit (IR 1n012, where n is the unit number) is turned ON.
The square root function can be used at the same time as the scaling and mean
value functions. If all three functions are used, the square root of the converted
input value is taken first and then scaling and mean value calculations are per-
formed.
The square root function uses an 80-bit floating decimal system. Only the
integer value is kept, the remainder is truncated.
Square root value = √(converted input value (BCD) × 4000)
Note If the Square Root ON Bit (IR 1n012, where n is the unit number) is turned ON,
square root calculations will be performed for all inputs.
Functions and Programming Section 2-3
20
2-3-3 Scaling
The scaling function automatically converts the analog input signal to a preset
range for use in specific engineering applications. The scaling function is ex-
ecuted for an input when its Scaling Bit is ON, i.e., it can be set separately for
each input. This function can be used at the same time as other functions.
To set this function for an input, turn ON the Scaling Bit corresponding to that
input in word n.
Bit 05 04 03 02
Word n
Input4
Input3
Input2
Input1
The high and low limits of the output data range for each input are 4-digit BCD
values preset in the DM area, as shown in the following table (n is the unit num-
ber set on the front panel.) A lower limit must be less than the corresponding up-
per limit.
DM word Range limit
(BCD)
DM word Range limit
(BCD)
Bit of IR
1n0
Scaling bit
1n00 Input 1 lower limit 1n04 Input 3 lower limit 02 Input 1
1n01 Input 1 upper limit 1n05 Input 3 upper limit 03 Input 2
1n02 Input 2 lower limit 1n06 Input 4 lower limit 04 Input 3
1n03 Input 2 upper limit 1n07 Input 4 upper limit 05 Input 4
Set the scaling data with the Programming Console, this data cannot be
changed from the user’s program.
Data set in the DM area is transmitted when the Unit is turned on or initial-
ized. If data is modified in the middle of a session, then the modified data
becomes effective the next time the Unit is turned on, or by toggling the ap-
propriate Special I/O Restart Bit in the AR area.
Scaled data is calculated using the formula below. Only the integer value is
kept, the remainder is truncated.
Input data × (upper limit – lower limit)
4000
Scaling data = + lower limit
Functions and Programming Section 2-3
21
Example An example is shown below.
Input signal range: 0 to 10 V
Lower limit: 1000
Upper limit: 9000
Scaled data
Normal data
0 V 5 V 10 V
Input signal
If a 5-V input is received, it would be converted to 2000 (5/10 x 4000) and then
scaled as shown below.
2000 × (9000 – 1000)
4000
Scaling data = + 1000 = 5000
Note 1. Scaling will not be performed and unscaled (normal) data will be output if the
contents of DM words allocated to the Unit is not BCD or if a lower limit is
greater than the corresponding upper limit.
2. The Setting Error Flag (bit 00 in IR 1n5, where n is the unit number) will be
turned ON if the contents of DM m to DM m+7 is not BCD.
3. The Setting Error Flag will turn ON whenever DM area data is not BCD re-
gardless of whether an input is being used and regardless of whether or not
scaling is set. Operation, however, will be normal in these cases.
Resolution If the difference between an upper limit and the corresponding lower limit (upper
limit – lower limit) is 4000 or greater, the resolution is fixed at 1/4000. If the differ-
ences is less than 4000, the resolution will be reduced proportionately.
For example, if the upper limit minus the lower limit is 2000, the resolution is
1/2000.
2-3-4 Mean Value
The mean value function sums a specified number of terms of converted input
data and divides by the number of terms preset the DM area.
If the Mean ON Bit for an input is ON (bits 07 to 10 of word n), the mean value will
be output to the corresponding word in the PC. The desired number of terms
must be set in the corresponding word in the DM area between DM m+8 and
DM m+11. The setting can be between 0002 and 9999 (BCD).
Bit 10 09 08 07
Word n
Input4
Input3
Input2
Input1
Functions and Programming Section 2-3
22
The mean value functions can be used in combination with any of the other func-
tions.
Set the mean data for each input with the Programming Console. This data
cannot be changed from the user’s program. Set the mean data for all 4 in-
puts even when using only one input. If there is a mistake in the data for
even 1 input, the Setting Error Flag will be activated, though operation will
continue.
The mean value is calculated using the formula below. When the Mean En-
able Bit turns ON, the converted data will read “0000” until the mean value is
calculated for the first time.
Sum of converted input values
Number of terms (mean data)
Mean value =
The maximum mean function conversion time = 2.5 ms × the sum of the
number of terms for all inputs
Note 1. Mean value calculation will not be performed and normal data will be output
if the number of terms set in the DM area is 0000 or is not BCD.
2. The Setting Error Flag (bit 00 in IR 1n5, where n is the unit number) will be
turned ON if the number of terms set in the DM area is 0000 or is not BCD.
3. The Setting Error Flag will turn ON whenever the number of terms set in the
DM area is 0000 or is not BCD regardless of whether an input is being used
and regardless of whether or not scaling is set. Operation, however, will be
normal in these cases.
2-3-5 Peak Value
The peak value function holds the maximum output value for every input. This
function can be used at the same time an any or all of the other functions.
The output value that will be held is one of the following depending on what other
functions are set: converted input value, scaled value, mean value, and square
root. Data will be processed in the following sequence and the maximum value
of the final results will be output to words n+1 to n+4: analog-to-digital conver-
sion → square root → scaling → mean value → peak value.
The peak value function is activated for all 4 inputs when the Peak Value ON Bit
(IR 1n011, where n is the unit number) is turned ON and reset when it is turned
OFF.
Note If the Peak Value ON Bit (IR 1n011, where n is the unit number) is turned ON, the
peak value will be held for all inputs.
Functions and Programming Section 2-3
23
Mean and Peak Values Data will be output as illustrated below when both the mean value and the peak
value functions are used. In this example, mean value #2 will be output as the
first peak value even if mean value #1 is larger because the Peak Value ON Bit
was turned ON after mean value #1 was output.
Mean
value
Peak Value
ON Bit
Output value
ON
OFF
Results #1 Results #2 Results #3 Results #4
Mean value #1 Mean value #2 Mean value #3 Mean value #4 Mean value #5
Previous mean value Mean value #1 Mean value #2
(1st peak value)
Larger of mean
values #2 and #3
Largest of mean
values #2 to #4
2-3-6 Input Disconnection Detection
The Input Disconnect Flags will be turned ON when an the input signal level is
less than 0.5 V/2 mA and the input signal range is set at 1 to 5 V/4 to 20 mA.
These flags will not turn ON when the input signal range is set at 0 to 10 V.
The Input Disconnect Flags are contained in in word IR n+5, as shown below.
Bit 04 03 02 01
Word n +5
Input4
Input3
Input2
Input1
The BROKEN WIRE indicator on the Analog Input Unit will light whenever any of
the Input Disconnect Flags turn ON.
Note 1. The Input Disconnect Flags will operate only when the Conversion Inhibit Bit
(bit 00 of IR n) is OFF.
2. Input disconnection is detected for all input set on pins 1 and 2 of the back-
panel DIP switch. If an input that is not being used (i.e., not connected) is
specified on the DIP switch, the Input Disconnect Flag will turn ON.
3. The current peak value will be held even if a disconnected input is detected.
2-3-7 Data Setting Example and Programming Concepts
Data Settings
The following settings are used in this example. Data in the DM area is set using
the SSS, a Programming Console, or another Peripheral Device.
Basic Settings Turn power to the PC off then then back on or turn ON the Special I/O Unit Re-
start Bit allocated to the Unit (AR 0100 to AR 0109) after setting the data so that
the data is read into the Analog Input Unit.
Item Setting
Unit number 0 (allocated words: IR 100 to IR 109 and DM 1000 to DM 1011)
Inputs used Inputs 1 to 4
Functions and Programming Section 2-3
24
Details
Item Input 4 Input 3 Input 2 Input 1
Input signal range 1 to 5 V 4 to 20 mA 1 to 5 V 1 to 5 V
Scaling Lower limit ––– 0400 1000 1000g
Upper limit ––– 1000 5000 5000
Number of terms for
mean value calculation
––– 50 ––– 10
DM Area Data
DM word Contents Data
DM 1000 1000 Input 1 lower limit for scaling
DM 1001 5000 Input 1 upper limit for scaling
DM 1002 1000 Input 2 lower limit for scaling
DM 1003 5000 Input 2 upper limit for scaling
DM 1004 0400 Input 3 lower limit for scaling
DM 1005 1000 Input 3 upper limit for scaling
DM 1006 0000 Input 4 lower limit for scaling
DM 1007 0000 Input 4 upper limit for scaling
DM 1008 0010 Input 1 number of terms for mean value
DM 1009 0000 Input 2 number of terms for mean value
DM 1010 0050 Input 3 number of terms for mean value
DM 1011 0000 Input 4 number of terms for mean value
Programming
The types of programming required to use an Analog Input Unit are described in
this section. Refer to the operation manual for the C200H/C200HS/C200HX/
HG/HE for details on programming.
Reading Output Data The converted input value (or the results of calculations performed on it) can be
read from the output words IR n+1 to IR n+4, and moved to other words in
memory using MOV(21) and/or XFER(70). MOV(21) is used to move one word
at a time and XFER(70) is used to move more than one word at a time.
MOV(21)
101
DM 0001
Input condition
Moves the output data
from IR 101 (input 1) to
DM 0001.
Input condition
Moves the output
data from IR 101 to
IR 104 (inputs 1 to
4) to DM 0001 to
DM 0004.
XFER(70)
#0004
101
DM 0001
Scaling Set 4-digit BCD values for the lower and upper limits for scaling in DM m to
DM m+7. These words cannot be written from the program and must be written
using a Peripheral Device, such as a Programming Console.
Functions and Programming Section 2-3
25
For example, use the following procedure to set scaling between 1000 and 5000
for input 1.
1, 2, 3... 1. Set the lower and upper limits in DM 1000 and DM 1001.
DM word Contents Data
DM 1000 1000 Input 1 lower limit for scaling
DM 1001 5000 Input 1 upper limit for scaling
2. Turn ON IR 10002 (Scaling ON Bit for input 1). Scaling will begin for input 1
as soon as this bit is turned ON. This bit can be changed from the program
using the following type of programming.
10002
Input condition
Mean Value Set the 4-digit BCD value for the number of terms for mean value calculation in
DM m+8 to DM m+11. The number of terms can be between 2 and 9999. These
words cannot be written from the program and must be written using a Peripher-
al Device, such as a Programming Console.
For example, use the following procedure to set mean value calculation for every
10 inputs for input 1.
1, 2, 3... 1. Set the number of terms (10) in DM 1008.
DM word Contents Data
DM 1008 0010 Number of terms for mean value calcula-
tion for input 1
2. Turn ON IR 10007 (Mean Value ON Bit for input 1). Mean value calculations
will begin for input 1 as soon as this bit is turned ON. This bit can be changed
from the program using the following type of programming.
10007
Input condition
Peak Value The peak value function can be used to hold the maximum output value for all
outputs by turn ON the Peak Value ON Bit (IR10011). The peak value will be held
individually for all inputs when this bit is turned ON. This bit can be changed from
the program using the following type of programming.
10011
Input condition
Square Root The square root function can be used to convert quadratic data to linear data by
turn ON the Square Root ON Bit (IR10012). The square root will be calculated
individually for all inputs when this bit is turned ON. This bit can be changed from
the program using the following type of programming.
10012
Input condition
Functions and Programming Section 2-3
26
2-4 Troubleshooting
When an error occurs, the contents are output to the SR and HR areas. The fol-
lowing tables show the various errors that may occur, along with their probable
causes and remedies.
Unit error Probable causes and operations Possible remedies
Disconnection error • Causes of error
• Input signal wire is disconnected.
• Input signal range is set to “1 to 5V” but input is 0.5
V or less.
• Input signal range is set to “4 to 20 mA” but input is
2 mA or less.
• Disconnect indications
• BROKEN WIRE indicator is lit.
• The Input Disconnect Flag (IR n+5, bits 01 to 04)
that corresponds to the erroneous input signal is
turned ON (except when the input range is 0 to
10 V).
Check the input signal wires, terminal
block, and input voltage.
Setting error The data set in the DM area is wrong. In this case,
the Setting Error Flag (IR n+5, bit 00) will be ON.
Check the contents of the data.
Output disabled The converted data is unstable, as, for example,
when the power is first turned on. In this case, the
Output Disabled Flag (IR n+5, bit 08) will be ON.
–––
RUN indicator not lit The RUN indicator on the Unit is not lit even though
power is turned on to the PC, and none of the errors
described in this table are applicable.
Replace the Unit.
CPU error Probable causes and operations Possible remedies
CPU waiting • The Special I/O Unit is defective.
• The PC will not run.
• Replace the Special I/O Unit.
• The defective Unit should appear as $
signs only in the I/O table read opera-
tion.
Duplicated unit number One number is assigned to more than one Special
I/O Unit. In this case the PC will not run and
SR25415 will turn ON.
Do not assign the same number to more
than one Unit. Use the I/O table read
operation to display unit numbers.
Special I/O Unit error An error has occurred in the refresh signal between
the CPU and the Special I/O Unit. In this case, only
the Special I/O Unit stops. SR 25415 is turned ON.
Check AR 0000 to AR 0009 for the unit
number of the Unit in error. After
correcting the error, set restart (OFF
→ON →OFF) in AR 0100 to AR 0109. If
the error does not clear after
initialization, replace the Unit.
Special I/O Unit Error Detection Bit (SR)
Bit Error Explanation Operation status
SR 25415 Duplicated unit number The same number is assigned to
more than one Special I/O Unit.
PC operation stops.
Special I/O Unit error An error has occurred in the refresh
signal between the CPU and the
Special I/O Unit
Operation stops only for the faulty
Unit.
Detection When Errors
Occur
Troubleshooting Section 2-4
27
Special I/O Unit Error Flags (AR)
Bit Item Function
AR 0000 Unit #0 Error Flag When one of the CPU errors described above
h AR bi ON f h U i h hAR 0001 Unit #1 Error Flag occurs, the AR bit turns ON for the Unit where the
error occurred
AR 0002 Unit #2 Error Flag
error occurred.
AR 0003 Unit #3 Error Flag
AR 0004 Unit #4 Error Flag
AR 0005 Unit #5 Error Flag
AR 0006 Unit #6 Error Flag
AR 0007 Unit #7 Error Flag
AR 0008 Unit #8 Error Flag
AR 0009 Unit #9 Error Flag
Special I/O Unit Restart Bits (AR)
Turn ON the Special I/O Unit Restart Bits in the following circumstances:
• After DM data has been set or replaced.
• To restart Unit operation after clearing an error.
The same effect can be achieved by turning off the power to the PC and then turning it on again.
Bit Item Function
AR 0100 Unit #0 Restart Bit Special I/O Units can be restarted by turning the
di bi ONAR 0101 Unit #1 Restart Bit
y g
corresponding bits ON.
AR 0102 Unit #2 Restart Bit
AR 0103 Unit #3 Restart Bit
AR 0104 Unit #4 Restart Bit
AR 0105 Unit #5 Restart Bit
AR 0106 Unit #6 Restart Bit
AR 0107 Unit #7 Restart Bit
AR 0108 Unit #8 Restart Bit
AR 0109 Unit #9 Restart Bit
Troubleshooting Section 2-4
29
SECTION 3
C200H-DA001 Analog Output Units
This section provides the information required to install and operate a C200H-DA001 Analog Output Unit.
3-1 Before Operation 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-1 Nomenclature and Functions 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-2 Switch Settings 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-3 Wiring 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Bit and DM Allocations 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3 Functions and Programming 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-1 Output Signal Range Setting 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-2 Output Limits 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-3 Output Limit Alarms 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-4 Pulse Output 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-5 Data Setting Example and Programming Concepts 43. . . . . . . . . . . . . . .
3-4 Troubleshooting 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
3-1 Before Operation
3-1-1 Nomenclature and Functions
Display
panel
External output
terminal block
connectors
Unit number
setting switch
Model label
Function setting switch
Backplane connector
Indicators
Indicator Color Function
RUN Green Lit when the Analog Output Unit is operating correctly. If operation is not normal, this
indicator turns OFF and Unit operation is stopped.
ALARM Red Lit when an alarm is output as a result of the upper or lower limits being exceeded,
The following table briefly outlines the basic functions of the C200H-DA001.
These functions are covered in more detail in 3-3 Functions and Programming.
Function Explanation
Output range setting The output range can be set according to the output signal level that is to be used. The
same output range is used for all of the outputs for a particular Unit. The voltage range
of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s
option at any output.
Output limit The output limit function sets upper and lower limits on the output signal. The upper and
lower limits are preset in the DM area. The output remains at the limit level as long as
the output limit function is activated.
Output limit alarm This function activates an alarm if the output signal is outside of the range defined by
the upper and lower limits preset in the DM area, but it does not alter the output level. It
is possible to include a deadband, which delays the resetting of the alarm. The output
limit alarm turns ON and OFF according to the following conditions.
Pulse output This function creates a 0 V to 5 V pulse output separate from the analog output.
Functions
Before Operation Section 3-1
31
The following diagram shows the basic internal configuration of the Analog
Output Unit.
Photo-
coupler
Photo-
coupler
Analog
supply
power
DC/DC
converter
+ 5 V
0 V
Pulse output 1
COM
I/O BUS
Pulse
output
circuit
Voltage output 1
current output 1
MemoryMemory
Voltage output 2
current output 2
Pulse output 2
Photocoupler
Converter
Range
selector
Converter
Businterface
Alarm 1 upper limit
Alarm 2 upper limit
Alarm 1 lower limit
Alarm 2 lower limit
Pulse
output
circuit
Photocoupler
Block Diagram
Before Operation Section 3-1
32
3-1-2 Switch Settings
There are four settings necessary for this Unit: unit number, output range,
pulse output line, and pulse output ON/OFF.
Unit Number
Unit number
setting switch
The switch notch points to the unit number. The
switch in the figure to the left is set to 0. Odd num-
bers, in parentheses here, are not shown on the Unit.
Use a standard screwdriver to set a different unit
number for each Analog I/O Unit. IR area memory is
allocated according to unit number, as shown in the
table below.
Switch number Unit number IR words DM words
0 Unit #0 IR 100 to 109 DM 1000 to 1099
1 Unit #1 IR 110 to 119 DM 1100 to 1199
2 Unit #2 IR 120 to 129 DM 1200 to 1299
3 Unit #3 IR 130 to 139 DM 1300 to 1399
4 Unit #4 IR 140 to 149 DM 1400 to 1499
5 Unit #5 IR 150 to 159 DM 1500 to 1599
6 Unit #6 IR 160 to 169 DM 1600 to 1699
7 Unit #7 IR 170 to 179 DM 1700 to 1799
8 Unit #8 IR 180 to 189 DM 1800 to 1899
9 Unit #9 IR 190 to 199 DM 1900 to 1999
Note 1. The unit number setting switch is factory set to 0.
2. If two or more Special I/O Units are assigned the same unit number, an I/O
UNIT OVER error will be generated and the PC will not operate.
3. Make the unit number settings with the power turned off to the PC. If the set-
tings are made with the power on, they will not go into effect until either the
power is turned off and then on again or the Special I/O Unit Restart Flag
(AR0100 to AR0109) is turned ON.
Set pins 1 through 3 before powering up the system. Pin 4 is not used, so
please leave it set to OFF.
0: OFF
1: ON
Use pin 1 to set the output range.
Pin number 3 Output range
OFF Voltage input 1 to 5 V
Current input 4 to 20 mA
ON Voltage input 0 to 10 V
Note The same output range is used for all of the outputs for a particular Unit. The
voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be
used at the user’s option at any output.
DIP Switch Settings
Output Range
Before Operation Section 3-1
33
Use pin 2 to set the pulse output line.
Pin 2 OFF: Output 1
Pin 2 ON: Output 2
Use pin 3 to set pulse outputs to ON or OFF.
Pin 3 OFF: Pulse output OFF
Pin 3 ON: Pulse output ON
3-1-3 Wiring
The following illustration shows the function of each output.
A0
A2
A4
A6
A8
B0
B2
B4
B6
B9
B1
B3
B5
B7
B8
A7
A5
A3
A1
Voltage output 1 (–)
Current output 1 (–)
Pulse output 1 (–)
Not used.
Lower limit alarm output 1
Voltage output 2 (–)
Current output 2 (–)
Pulse output 2 (–)
Lower limit alarm output 2
Voltage output 1 (+)
Current output 1 (+)
Pulse output 1 (+)
Voltage output 2 (+)
Current output 2 (+)
Pulse output 2 (+)
Not used.
Upper limit alarm output 1
Upper limit alarm output 2
Alarm output common
The Analog Output Unit has two built-in output lines, but it is not possible to si-
multaneously use one of them for both voltage and current outputs.
The same output range is used for all of the outputs for a particular Unit. The
voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be
used at the user’s option at any output.
Pulse output is possible for either output 1 or output 2, but not for both. Refer to
3-1-2 Switch Settings for details.
Pulse Output Line
Pulse Output ON/OFF
Terminal Allocation
Before Operation Section 3-1
34
The following diagram shows the external wiring of outputs for the
C200H-DA001.
Voltage
output
1
+
–
Voltage
output
2
+
–
Current
output
1
+
–
Current
output
2
+
–
A0
Output 1
A1
A2
A3
A4
A5
A7
A8
B0
B1
B2
B3
B4
B5
B7
B8
B9
Pulse output 1
Pulse output 2
0 V
0 V
Output 2
Shield
Load
Load
Load
Load
Load
5 to 24 VDC
100 mA max.
+
– (Note 1.)
C200H-DA001
Note 1. The maximum current capacity for this alarm output (open-collector output)
is 100 mA/circuit.
2. A single output line cannot be used for voltage and current output at the
same time.
Output Wiring
Before Operation Section 3-1
!
35
When wiring outputs, apply the following points to avoid noise interference and
optimize Analog Output Unit performance.
• Use shielded twisted-pair cable for external connections and power lines.
• Route output cables separately from the AC cable, and do not run the Unit’s
cables near a main circuit cable, high voltage cable, or a non-PC load cable.
• Be sure to install surge-absorbing diodes or surge absorbers for inductive
loads (relays, solenoids, electromagnetic valves, etc.) They should be
installed right next to relays and solenoids. Use surge-absorbing diodes with a
dielectric strength of at least five times the circuit voltage.
DC Relay
Surge-absorbing diode
(Example: ERB44-06,
by Fuji Electric)
Solenoid, etc.
AC Relay
Surge absorber
Surge absorber
• If there is noise interference from power lines (if, for example, the power supply
is shared with electrical welding devices or electrical discharge machines, or if
there is a high-frequency generation source nearby) install a noise filter at the
power supply output area.
• Use at least a class-3 ground (to 100 Ω or less), with as heavy a wire as pos-
sible (i.e., at least 1.25 mm2).
Caution When using the C200H-DA001 Analog Output Unit, a voltage (current) may be
output momentarily from the output terminal when the power supply to the PC is
turned ON or OFF.
Approximately 10 V will be output for approximately 1 second after the power is
turned ON or OFF.
If this causes a problem, provide countermeasures so that the power supply or
output timing of external devices differs from the ON/OFF timing of the power
supply to the PC.
Output Wiring
Considerations
Before Operation Section 3-1
36
3-2 Bit and DM Allocations
IR Allocations C200H/C200HS Analog Output Units are allocated ten words each from the por-
tion of the IR area (IR 100 to IR 199) that is reserved for Special I/O Units. The
words that are allocated a particular Analog Output Unit depend on the setting of
the unit number setting switch on the front panel of the Unit. Those ten words are
then reserved as an I/O refresh data area, and the bits that comprise that area
are refreshed with every I/O refresh scan by the PC.
IR n to
IR n +2
IR n + 3IR 130 to 139
IR 140 to 149
IR 150 to 159
IR 100 to 109
IR 110 to 119
IR 120 to 129
IR 190 to 199
IR 160 to 169
IR 170 to 179
IR 180 to 189
SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-DA001 Analog Output Unit
IN refresh
(I/O refresh data area)
(n = 100 + 10 x unit number)
Unit #0
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #9
(Work area)
At the I/O refresh by
the PC, outputs (PC to
Unit) and inputs (Unit to
PC) are executed in or-
der with every scan.
The OUT and IN refreshes are as seen from
the PC.
OUT refresh
Note The unit number that is set for an Analog Input Unit must not be used for any
other Special I/O Unit. If overlapping numbers are set, an I/O UNIT OVER error
will be generated and operation will be stopped.
DM Allocations
Output lower limitDM m
DM (m + 1)
DM (m + 2)
DM (m + 3)
DM (m + 4)
DM 1900 to 1904
DM 1800 to 1804
DM 1700 to 1704
DM 1600 to 1604
DM 1500 to 1504
DM 1400 to 1404
DM 1300 to 1304
DM 1200 to 1204
DM 1100 to 1104
DM 1000 to 1004Unit #0
SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-AD001 Analog Input Unit
(Fixed data area)
Automatically transferred
to each unit number at
power up or when Spe-
cial I/O Restart Flag is
turned ON.
Unit #1
Unit #2
Unit #3
Unit #4
Unit #5
Unit #6
Unit #7
Unit #8
Unit #9
(m = 1000 + 100 x unit number)
(For more information regarding DM address allocation, refer to
the DM Address Allocation Chart at the end of this section.)
(DM area)
Output upper limit
Alarm lower limit
Alarm upper limit
Alarm dead band
Bit and DM Allocations Section 3-2
37
IR Allocations
I/O Wd
(IR)
Bit
(IR) 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
OUT n Output 1 setting data (0000 to 0FFF); (Becomes duty ratio data for pulse output.)
n+1 Output 2 setting data (0000 to 0FFF); (Becomes duty ratio data for pulse output.)
n+2 0 0 0 0 OP O2L O1L O2A O1A 0 Pulse cycle
100: 20 s
011: 10 s
010: 5 s
001: 2 s
000: 1 s
IN n+3 0 0 0 0 Output 2
limit
detected
Output 1
limit
detected
Output 2
alarm
Output 1
alarm
SE
UL LL UL LL UL LL UL LL
n+4
to
n+9
Not used.
Note The following abbreviations are used in this table. OP: output prohibited; O2L:
output 2 limit; O1L: output 1 limit; UL: upper limit; LL: lower limit; SE: setting error.
IR Area Contents (Outputs)
Address Item Contents
Word
(IR)
Bit
n 15 to 00 Output 1 setting data Sets output 1 data in binary. This becomes duty ratio data when
pulse outputs are set. The range is 0000 to 0FFF.
n+1 15 to 00 Output 2 setting data Sets output 2 data in binary. This becomes duty ratio data when
pulse outputs are set. The range is 0000 to 0FFF.
n+2 15 to 09 ––– Not used. Set all bits to “0.”
08 Output prohibited Turn ON to prohibit outputs. This bit is used for outputs 1 and 2.
07 Output 2 limit Turn ON to execute output 2 limit.
06 Output 1 limit Turn ON to execute output 1 limit.
05 Output 2 alarm Turn ON to execute output 2 alarm.
04 Output 1 alarm Turn ON to execute output 1 alarm.
03 ––– Not used. Turn OFF (i.e., set to “0”).
02 to 00 Pulse cycle Sets the pulse period.
Pulse period
Bit
02
01
00
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1 s 10 s 20 s2 s 5 s
Bit and DM Allocations Section 3-2
38
IR Area Contents (Inputs)
Word
(IR)
Bit Item Contents
n+3 15 to 09 ––– Not used.
08 Output 2 limit
d d
Upper limit: Turns ON when output 2 value is greater than the upper limit.
07 detected Lower limit: Turns ON when output 2 value is less than the lower limit.
06 Output 1 limit
d d
Upper limit: Turns ON when output 1 value is greater than the upper limit.
05 detected Lower limit: Turns ON when output 1 value is less than the lower limit.
04 Output 2 alarm
(S )
Upper limit: Turns ON when output 2 value is greater than the alarm upper limit.
03 (See note.) Lower limit: Turns ON when output 2 value is less than the alarm lower limit.
02 Output 1 alarm
(S )
Upper limit: Turns ON when output 1 value is greater than the alarm upper limit.
01 (See note.) Lower limit: Turns ON when output 1 value is less than the alarm lower limit.
00 Setting error This bit turns ON if the data set in the DM area is wrong. (See note 2.)
Note When alarm flags turn ON, their status can be read from external connection ter-
minals A7, A8, B7, and B8. (Refer to 3-1-3 Wiring.) At that time the ALARM indi-
cator on the display panel of the Unit will light.
DM Allocations
Word Bit
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
DM m Output lower limit (0000 to 0FFF)
DM (m+1) Output upper limit (0000 to 0FFF)
DM (m+2) Alarm lower limit (0000 to 0FFF)
DM (m+3) Alarm upper limit (0000 to 0FFF)
DM (m+4) Alarm dead band (0000 to 0FFF)
Note 1. The DM area that is used is a read-only area, so the data cannot be written
from the program. Use the Programming Console to set data by changing
the present value or changing three words together.
2. Data that is set in the DM area is transferred either at the time of power up or
when the Special I/O Unit Restart Bit is turned ON. Any data that is set in the
meantime will remain invalid until then.
3. The values set in DM are used for both output lines (i.e., for output 1 and
output 2).
4. m = 1000 + 100 x unit number.
3-3 Functions and Programming
The C200H-DA001 Analog Output Unit provides 4 functions
• Output signal range setting
• Output limit
• Output limit alarm
• Pulse output
These functions are set using Unit switches and Peripheral Devices, such as a
Programming Console. The words allocated to the Unit in the DM Area (DM m to
DM m+4) cannot be written from user program and all data set in these words
must be written from a Peripheral Device.
When inputting data from a Programming Console, use the operations to
change present values. When inputting from the SSS (SYSMAC Support Soft-
ware), use the DM editing operations.
The data set in the DM area is transferred to the Analog Output Unit when either
of the following steps is taken. Be sure to perform one or the other of these steps
whenever new data has been set or data has been changed.
Functions and Programming Section 3-3
39
• Turning ON the power to the C200H/C200HS CPU.
• Turning ON the Restart Bit allocated to the Unit as a Special I/O Unit (AR 0100
to 0109).
3-3-1 Output Signal Range Setting
The C200H-DA001 converts 12-bit binary data (3-digit hexadecimal) from the
PC to analog output in one of three ranges: 0 to 10 V, 1 to 5 V, or 4 to 20 mA.
The C200H-DA001 can convert analog output signals in three ranges:
0 to 10 V, 1 to 5 V, or 4 to 20 mA. The range is set on pin 1 of the DIP switch
as shown below.
Pin 1 Input range
OFF 1 to 5 V
4 to 20 mA
ON 0 to 10 V
If the 0 to 10 V setting is used, it must be used for all two outputs. The 1 to
5 V and 4 to 20 mA ranges can be used at the same time for different out-
puts.
Digital Output vs. Analog Input
10 V
0
0 V
0
1 V (4 mA)
Output
Digital
value
0 V to 10 V Output
(pin 1 ON)
1 V to 5 V and 4 mA to 20 mA Outputs
(pin 1 OFF)
5 V (20 mA)
Digital
value
Output
0FFF
(4095)
0FFF
(4095)
3-3-2 Output Limits
The output limit function can be used to establish upper and lower limits for the
output signal. The limits can be used to restrict the output for any of a number of
possible reasons, e.g., to prevent unsuitable outputs from occurring even when
incorrect data is set.
This function can be used at the same time as the output limit alarm function.
The upper and lower limits are preset as binary values in the DM area (lower limit
in DM m and upper limit in DM m+1). The output will remain between the upper
and lower limits as long as the output limit function is activated.
Functions and Programming Section 3-3
40
If the output goes beyond either limit, an Output Limit Flag (bits 05 to 08 in IR
n+3) will turn ON and the output will remain at the limit value
Lower Limit
Flag ON
Output level
Output limit upper level
Output limit lower level
Output remains at
upper or lower limit
Time
Upper Limit
Flag ON
Use the following procedure to set upper and lower limits.
1, 2, 3... 1. Set the lower and upper limits in DM m and DM m+1. The setting range is
between 0000 and 0FFF (binary data). Set the limits from the Programming
Console. This data cannot be changed from the user’s program.
Note Calculations of the desired limit can be made as shown in the follow-
ing example. To set an upper limit of 8 V for a 0 to 10 V range setting,
use the following equation and set the results (0CCC) in DM m+1:
8/10 x 0FFF = 0CCC
2. Turn power to the PC off then then back on or turn ON the Special I/O Unit
Restart Bit allocated to the Unit (AR 0100 to AR 0109).
3. Turn ON the Output Limit ON Bit for the desired output:
Output 1 Limit ON Bit: Bit 06 of IR n+2
Output 2 Limit ON Bit: Bit 07 of IR n+2
Functions and Programming Section 3-3
41
3-3-3 Output Limit Alarms
This function activates an alarm if the output signal is outside of the range de-
fined by the upper and lower limits preset in the DM area, but it does not alter the
output level. It is possible to include a deadband, which delays the resetting of
the alarm.
ON
OFF
ON
OFF
Output limit alarm upper limit
Output limit alarm lower limit
Output Upper Limit Alarm Flag
Output Lower Limit Alarm Flag
Dead-
band
Dead-
band
Time
Output level
This function can be used at the same time as the output limit function.
The output limit alarms turn ON and OFF according to the following conditions.
Upper limit:
ON: analog output ≥ output limit alarm upper limit
OFF: analog output < output limit alarm upper limit – deadband width
Lower limit:
ON: analog output ≤ output limit alarm lower limit
OFF: analog output > output limit alarm lower limit + deadband width
When any of the Output Limit Alarm Flags turn ON, the ALARM indicator on
the Unit will light and signals will be generated on external terminals A7, A8,
B7, and B8 (refer to 3-1-3 Wiring for details).
Use the following procedure to set upper and lower limit alarms.
1, 2, 3... 1. Set the lower and upper alarm limits in DM m+2 to DM m+4. The setting
range is between 0000 and 0FFF (binary data). Set the limits from the Pro-
gramming Console. This data cannot be changed from the user’s program.
Note Calculations of the desired limit can be made as shown in the follow-
ing example. To set an upper limit alarm at 4.75 V for a 1 to 5 V range
setting, use the following equation and set the results (0F00) in
DM m+1:(4.75 – 1)/(5 – 1) x 0FFF = 15/16 x 0FFF = 0F00
2. Turn power to the PC off then then back on or turn ON the Special I/O Unit
Restart Bit allocated to the Unit (AR 0100 to AR 0109).
3. Turn ON the Output Alarm ON Bit for the desired output:
Output 1 Alarm ON Bit: Bit 04 of IR n+2
Output 2 Alarm ON Bit: Bit 05 of IR n+2
Functions and Programming Section 3-3
42
3-3-4 Pulse Output
The pulse output function can be used to create a 0 to 5 V pulse output for either
output 1 or 2 in addition to the analog output.
The pulse period and duty ratio (ON/OFF ratio) can be set for the pulse output.
These settings can be made from the user program.
5 V
0 V
ON OFF
Amplitude
Pulse
period
Duty ratio = ON time/pulse period
Note The resolution of the duty ratio is 1/256.
Use the following procedure to set a pulse output.
1, 2, 3... 1. Turn ON pin 3 of the DIP switch on the back of the Unit to select pulse output.
2. Turn OFF pin 2 to select output 1, or ON to select output 2. Both outputs can-
not be pulse at the same time.
3. Set the pulse period in bits 00 to 02 of IR n+2 as shown below.
Bis in IR n Period
00 01 02
0 0 0 1 s
1 0 0 2 s
0 1 0 5 s
1 1 0 10 s
0 0 1 20 s
4. Set the duty ratio (ON/OFF ratio) for the pulse output in IR n. Refer to 3-3-5
Data Setting Example and Programming Concepts for setting methods.
Calculating Settings To set a duty ratio of 80% , set the results of the following calculation (0CCC) in
IR n: 80/100 x 0FFF = 0CCC.
If either the duty ratio or period is changed during operation, the output will not
change until 1 full period has been completed.
Data changed Pulse output calculation not
changed until this point
Functions and Programming Section 3-3
43
3-3-5 Data Setting Example and Programming Concepts
Data Settings
The following settings are used in this example. Data in the DM area is set using
the SSS, a Programming Console, or another Peripheral Device. Turn power to
the PC off then then back on or turn ON the Special I/O Unit Restart Bit allocated
to the Unit (AR 0100 to AR 0109) after setting the data so that the data is read into
the Analog Output Unit.
Item Setting
Unit number 0 (allocated words: IR 100 to IR 109 and DM 1000 to DM 1004)
Item Output 1 Output 2
DM word for storing output data DM 0000 DM 0001
Lower limit output bit IR 00100 –––
Upper limit output bit IR 00101 –––
Lower limit alarm output terminal ––– A8
Upper limit alarm output terminal ––– B8
Details
Item Output 1 Output 2
Output signal range 1 to 5 V 4 to 20 mA
Output limit function ON OFF
Limit alarm function OFF ON
Item Actual value Setting
Output limits Lower limit 1.25 V 0100
Upper limit 4.75 V 0F00
Alarm limits Lower limit 6 mA 0200
Upper limit 19 mA 0F00
Deadband 0.5 mA 0080
DM Area Settings
DM word Data Setting
DM 1000 0100 Output limit lower limit
DM 1001 0F00 Output limit upper limit
DM 1002 0200 Alarm lower limit
DM 1003 0F00 Alarm upper limit
DM 1004 0080 Deadband for alarm
Programming
The types of programming required to use an Analog Output Unit are described
in this section. Refer to the operation manual for the C200H/C200HS for details
on programming.
Functions and Programming Section 3-3
44
Writing Output Data Output data can be written using instructions like MOV(21) and OUT. The follow-
ing instruction move the binary contents of DM 0000 and DM 0001 to IR 100 and
IR 101, causing the data to be converted to analog signals and to be sent to out-
puts 1 and 2.
MOV(21)
DM 0000
100
Input condition
MOV(21)
DM 0001
101
Input condition
Moves the binary contents of DM
0000 to IR 100, causing the data
to be converted to analog signals
and to be sent to output 1.
Moves the binary contents of DM
0001 to IR 101, causing the data
to be converted to analog signals
and to be sent to output 2.
Limiting Outputs This example assumes that the data settings given at the beginning of this sec-
tion have already been made.
The output will be limited to between 1.25 and 4.75 V when the following instruc-
tions are executed.
MOV(21)
DM 0000
100
Input condition
Moves the binary contents of
DM 0000 to IR 100, causing the
data to be converted to analog
signals and to be sent to output 1.
10206
Input condition
00100
10305
00101
10306
Turns ON the Limit ON Bit for
output 1.
Turns ON output bit IR 00100 when
the Lower Limit Flag turns ON.
Turns ON output bit IR 00101 when
the Upper Limit Flag turns ON.
Lower Limit Flag
Upper Limit Flag
Monitoring Outputs This example assumes that the data settings given at the beginning of this sec-
tion have already been made.
Upper and lower limit alarms will be output as described below when the follow-
ing instructions are executed.
Upper limit alarm: ON when output reaches 19 mA until it drops to 18.5 mA
Lower limit alarm: ON when output falls below 6 mA until it reaches 6.5 mA
MOV(21)
DM 0001
101
Input condition
Moves the binary contents of
DM 0001 to IR 101, causing the
data to be converted to analog
signals and to be sent to output 2.
10205
Input condition Turns ON the Alarm ON Bit for
output 2.
The alarm outputs can be wire externally using external terminals A8 and B8.
The ALARM indicator on the Unit will light when any Alarm Flag is ON.
Functions and Programming Section 3-3
45
Pulse Output This example shows how to set pulse outputs on output 1. The pulse output set-
tings are given in the following table.
Item Value Data setting
Pulse output Duty 80% 0CCC in IR 100
Pulse period 2 s Turn ON IR 10200
1.6 s
2 s
Duty = 80% (0CCC)
Pulse period = 2 s
(IR 10200 turned ON)
0.4 s
5 V
0 V
Turn OFF pin 2 (specifying output 1) and turn ON pin 3 (enabling pulse output) on
the back-panel DIP switch before starting.
Execute the following instructions in the program. Pulse outputs will be made on
output 1.
MOV(21)
#0CCC
100
Input condition
Sets the duty ratio to 80%.
Sets the period at 2 seconds.
10200
3-4 Troubleshooting
When an error occurs, the contents are output to the SR and HR areas. The fol-
lowing tables show the various errors that may occur, along with their probable
causes and remedies.
Unit error Probable causes and operations Possible remedies
Setting error The data set in the DM area is wrong. In this case,
the Setting Error Flag (IR n+3, bit 00) will be ON.
Check the contents of the data.
RUN indicator not lit The RUN indicator on the Unit is not lit even though
power is turned on to the PC, and none of the errors
described in this table are applicable.
Replace the Unit.
CPU error Probable causes and operations Possible remedies
CPU waiting • The Special I/O Unit is defective.
• The PC will not run.
• Replace the Special I/O Unit.
• The defective Unit should appear as $
signs only in the I/O table read opera-
tion.
Duplicated unit number The same number is assigned to more than one
Special I/O Unit. In this case the PC will not run and
SR25415 will turn ON.
Do not assign the same number to more
than one Unit. Use the I/O table read
operation to display unit numbers.
Special I/O Unit error An error has occurred in the refresh signal between
the CPU and the Special I/O Unit. In this case, only
the Special I/O Unit stops. SR 25415 is turned ON.
Check AR 0000 to AR 0009 for the unit
number of the Unit in error. After
correcting the error, turn ON the proper
bit in AR 0100 to AR 0109. If the error
does not clear after initialization, replace
the Unit.
Detection When Errors
Occur
Troubleshooting Section 3-4
46
Special I/O Unit Error Detection Bit (SR)
Bit Error Explanation Operation status
25415 Duplicated unit number One number is assigned to more
than one Special I/O Unit.
PC operation stops.
Special I/O Unit error An error has occurred in the refresh
signal between the CPU and the
Special I/O Unit
Operation stops only for the faulty
Unit.
Special I/O Unit Error Flags (AR)
Bit Item Function
AR 0000 Unit #0 Error Flag When one of the CPU errors described above
h AR bi ON f h U i h hAR 0001 Unit #1 Error Flag occurs, the AR bit turns ON for the Unit where the
error occurred
AR 0002 Unit #2 Error Flag
error occurred.
AR 0003 Unit #3 Error Flag
AR 0004 Unit #4 Error Flag
AR 0005 Unit #5 Error Flag
AR 0006 Unit #6 Error Flag
AR 0007 Unit #7 Error Flag
AR 0008 Unit #8 Error Flag
AR 0009 Unit #9 Error Flag
Special I/O Unit Restart Bits (AR)
Turn ON the Special I/O Unit Restart Bits in the following circumstances:
• After DM data has been set or replaced.
• To restart Unit operation after clearing an error.
The same effect can be achieved by turning off the power to the PC and then turning it on again.
Bit Item Function
AR 0100 Unit #0 Restart Bit Special I/O Units can be restarted by turning the
di bi ONAR 0101 Unit #1 Restart Bit
y g
corresponding bits ON.
AR 0102 Unit #2 Restart Bit
AR 0103 Unit #3 Restart Bit
AR 0104 Unit #4 Restart Bit
AR 0105 Unit #5 Restart Bit
AR 0106 Unit #6 Restart Bit
AR 0107 Unit #7 Restart Bit
AR 0108 Unit #8 Restart Bit
AR 0109 Unit #9 Restart Bit
Troubleshooting Section 3-4
47
Appendix A
Standard Models
Analog Output Unit
PC Model
C200H/C200HS C200H-DA001
Analog Input Unit
PC Model
C200H/C200HS C200H-AD001
49
Appendix B
Specifications
C200H-AD001 Analog Input Unit
General Specifications
All general specifications of the C200H-AD001 Analog Input Unit conform to those of the C Series.
Performance Specifications
Item Specifications
Number of analog inputs 4 max.
Input signal range (note 1) Voltage input 1 to 5 V
0 to 10 V
Current input 4 to 20 mA
Max. input signal (note 2) Voltage input 15 V
Current input 30 mA
Input impedance Voltage input 1 MΩ min.
Current input 250 Ω (rated value)
Resolution 1/4000 max. (full scale)
Converted data 12-bit binary (0000 to 0FA0)
Accuracy (note 3) 25°C 0.5% (full scale, including linearity error)
0° to 55°C 1.0% (full scale, including linearity error)
Conversion time (note 4) 2.5 ms max./point
Isolation Between input terminals and PC: photocoupler
Between input terminals: none
External connections 19-pin terminal block (removable)
Power consumption 550 mA max. at 5 VDC
Dimensions 34.5 x 130 x 128 (W x H x D) mm (see last page of this appendix)
Weight 450 g max.
Note 1. All points on the same Unit must use the same input range except for the 1 to 5-V and 4 to 20-mA ranges,
which can be specified by point.
2. Operation in ranges beyond the maximum input signals will damage the Unit. Operate within the ranges
listed above.
3. The accuracy is given for full scale (4,000). For example, an accuracy of 5% means a maximum error
of 20 (BCD).
4. This is the time it takes for a full range input signal to be converted and to be stored in the memory of the
Unit. It takes at least one scan before the converted data is read by the CPU.
Appendix BSpecifications
50
Input Specifications
0 V 1 V
(4 mA)
5 V
(20 mA)
10 V
0 to 10 V
1 to 5 v/4 to 20 mA
Converted output data
(Top: Binary
Parentheses: BCD)
Input signal
Note 1. All points on the same Unit must use the same input range except for the 1 to 5-V and 4 to 20-mA ranges,
which can be specified by point. Refer to 2-1-2 Switch Settings for setting methods.
2. The maximum or minimum output value will be maintained if the input signals goes beyond the maxi-
mum (10 V, 5V, or 20 mA) or minimum (0 V, 1V, or 4 mA).
Appendix BSpecifications
51
C200H-DA001 Analog Output Unit
All general specifications of the C200H-DA001 Analog Output Unit conform to those of the C Series.
Item Specifications
Number of analog outputs 2
Output signal range (note 1) Voltage outputs 1 to 5 V
0 to 10 V
Current outputs 4 to 20 mA
Max. output impedance Voltage output: 0.5 Ω
Max. output current Voltage output: 15 mA
Max. load resistance Current output: 400 Ω
Resolution 1/4095 max. (full scale)
Set data 12-bit binary (0000 to 0FFF)
Accuracy (note 2) 25°C ±0.5% max. (full scale, including linearity error)
0° to 55°C ±1.0% max. (full scale, including linearity error)
Conversion time (note 3) 2.5 ms max./point
Isolation Between output terminals and PC: photocoupler
Between output terminals: none
External connections 19-pin terminal block (removable)
Power consumption 650 mA max. at 5 VDC
Dimensions 34.5 x 130 x 128 (W x H x D) mm (see last page of this appendix)
Weight 450 g max.
Note 1. All points on the same Unit must use the same output range except for the 1 to 5-V and 4 to 20-mA
ranges, which can be specified by point.
2. The accuracy is given for full scale (4,095). For example, an accuracy of ±5% means a maximum error of
20 (BCD).
3. This is the time from after the data has been written to the Unit until an analog output appears. The output
data will not be correct if output data is rewritten faster than it can be output.
Appendix BSpecifications
52
Output Specifications
Digital input data
(Top: Binary
Parentheses: BCD)
Output signal
1 V
(4 mA)
5 V
(20 mA)
10 V
0 V
0 to 10 V
1 to 5 V/4 to 20 mA
Note All points on the same Unit must use the same output range except for the 1 to 5-V and 4 to 20-mA ranges,
which can be specified by point. Refer to 3-1-2 Switch Settings for setting methods.
Dimensions (Unit: mm)
The dimensions are the same for both the C200H-AD001 and C200H-DA001.
Backplane
53
Appendix C
Data Memory Coding Sheets
C200H-AD001 Analog Input Unit
C200H-AD001 Unit number: DM1_00 to DM1_11
DM address
(rightmost
digits)
Data Usage
00 Scaling lower limit for input 1
01 Scaling upper limit for input 1
02 Scaling lower limit for input 2
03 Scaling upper limit for input 2
04 Scaling lower limit for input 3
05 Scaling upper limit for input 3
06 Scaling lower limit for input 3
07 Scaling upper limit for input 4
08 Number of terms for mean value for input 1
09 Number of terms for mean value for input 2
10 Number of terms for mean value for input 3
11 Number of terms for mean value for input 4
Appendix CData Memory Coding Sheets
54
C200H-DA001 Analog Output Unit
C200H-DA001 Unit number: DM1_00 to DM1_04
DM address
(rightmost
digits)
Data Usage
00 Lower output limit
01 Upper output limit
02 Lower alarm limit
03 Upper alarm limit
04 Alarm deadband
55
Index
A
A/D conversion data, 16
analog input vs. digital output, 19
B
block diagram
C200HĆAD001, 9
C200HĆDA001, 31
C
configurations, system, 4
considerations, 5
D
data memory coding sheet, 53
data reading mode, setting, 11
digital output vs. analog input, 39
dimensions, 52
disconnection detection, 23
DM area allocation
C200HĆAD001, 15 , 17
C200HĆDA001, 36 , 38
DM area contents, C200HĆAD001, 18
F
field devices, 3
I
indicators
C200HĆAD001, 8
C200HĆDA001, 30
input disconnection detection function, 23
input signal range, setting, 11 , 19
inputs
number, setting, 10
signal range, setting, 11 , 19
IR area allocation
C200HĆAD001, 15 , 16
C200HĆDA001, 36 , 37
IR area contents
C200HĆAD001, 16
C200HĆDA001, 37
M
mean function, 21
models, 47
N
number of inputs, setting, 10
O
output limit alarm function, 41
output limit function, 39
output signal range, setting, 32 , 39
outputs, signal range, setting, 32 , 39
P
peak value function, 22
precautions, xi , 2 , 5
applications, xiii
general, xii
operating environment, xiii
safety, xii
programming examples
C200HĆAD001, 24
C200HĆDA001, 43
pulse output function, 42
pulse output line, setting, 33
pulse outputs, setting, 33
S
scaling function, 20
Slave Racks, 5
specifications, 49
square root function, 19
switches
C200HĆAD001, 10
C200HĆDA001, 32
T
troubleshooting
C200HĆAD001, 26
C200HĆDA001, 45
U
unit number, setting, Analog Input Unit, 10
unit numbers, setting
C200HĆAD001, 10
C200HĆDA001, 32
Units, number, 5
W
wiring
C200HĆAD001, 11
C200HĆDA001, 33

More Related Content

PDF
Omron PLC cqm1 opearation manual
PDF
Manual CLP Omron CP1H
PDF
How to setup ACS Controller and Omron CJ2M PLC EtherNet/IP Configuration Steps
PDF
Pushing the Envelope with Machine Automation Controllers (MAC)
PDF
Omron cp1 h
PDF
Real-time Ethernet for Machine Control
PDF
Cp1e manual
PPT
Omron plc training
Omron PLC cqm1 opearation manual
Manual CLP Omron CP1H
How to setup ACS Controller and Omron CJ2M PLC EtherNet/IP Configuration Steps
Pushing the Envelope with Machine Automation Controllers (MAC)
Omron cp1 h
Real-time Ethernet for Machine Control
Cp1e manual
Omron plc training

What's hot (20)

PDF
NB Designer Manual Operation [unlockplc.com]
PPTX
PPTX
PLC and SCADA Training
PPTX
Presentation Plc Course
PPTX
Automation Training With ITS PLC
PDF
CENTUM VP - 2014 version
PPT
Basic plc
PPTX
Industrialautomation final
PPTX
Automation-PLC
PDF
Yokogawa Centum VP
PDF
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PPTX
INDUSTRIAL AUTOMATION USING PLC
PPTX
YOKOGAWA CENTUM CS 3000 R3
PPT
Ov150 win.ppt
PDF
Distributed Control System Basics
PDF
Yokogawa -Integrated Production Control System solution for Petrochemcial Ind...
PPT
Distributed Control System
PPTX
Plc and hmi baed stenter machine01
PDF
Plc operation part 2
NB Designer Manual Operation [unlockplc.com]
PLC and SCADA Training
Presentation Plc Course
Automation Training With ITS PLC
CENTUM VP - 2014 version
Basic plc
Industrialautomation final
Automation-PLC
Yokogawa Centum VP
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
INDUSTRIAL AUTOMATION USING PLC
YOKOGAWA CENTUM CS 3000 R3
Ov150 win.ppt
Distributed Control System Basics
Yokogawa -Integrated Production Control System solution for Petrochemcial Ind...
Distributed Control System
Plc and hmi baed stenter machine01
Plc operation part 2
Ad

Similar to Analog module omron (20)

PDF
PLC and SCADA Training.pdf
PDF
PDF
controlador manual
PDF
Omrom e5cn i
PDF
Siemens logo welcome to logo!
PDF
Siemens logo welcome to logo!
PDF
Logo 0500 en
PDF
Liquiline cm442 cm444 cm448-endress+hauser datasheet-multiparameter transmitter
PDF
pH.ORP Transmitter-Multiparameter eight channels
PDF
Turbidity and Suspended Solids Transmitter-CM442-CM444-CM448
PDF
Dissolved Oxygen Transmitter-Liquiline CM442/CM444/CM448
PDF
Siemens s7 300-400-simatic couter module cm35
PDF
En 600stdprg fwmanual
PDF
Simocode dp = manual de parametrização e operação
PDF
Ct2000 v english_ver 1.36
PDF
ARRF340x_en.pdf
PDF
Manual micrologix 1100
PDF
27911 gyroscope appnote2
PDF
Flex i/o hart modulos analogos 802c3269-42d5-4f51-a760-86b303cb1ec3.pdf
PDF
En acs800 standard_fw_l
PLC and SCADA Training.pdf
controlador manual
Omrom e5cn i
Siemens logo welcome to logo!
Siemens logo welcome to logo!
Logo 0500 en
Liquiline cm442 cm444 cm448-endress+hauser datasheet-multiparameter transmitter
pH.ORP Transmitter-Multiparameter eight channels
Turbidity and Suspended Solids Transmitter-CM442-CM444-CM448
Dissolved Oxygen Transmitter-Liquiline CM442/CM444/CM448
Siemens s7 300-400-simatic couter module cm35
En 600stdprg fwmanual
Simocode dp = manual de parametrização e operação
Ct2000 v english_ver 1.36
ARRF340x_en.pdf
Manual micrologix 1100
27911 gyroscope appnote2
Flex i/o hart modulos analogos 802c3269-42d5-4f51-a760-86b303cb1ec3.pdf
En acs800 standard_fw_l
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Presentation on HIE in infants and its manifestations
PPTX
master seminar digital applications in india
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
01-Introduction-to-Information-Management.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Cell Structure & Organelles in detailed.
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
O5-L3 Freight Transport Ops (International) V1.pdf
VCE English Exam - Section C Student Revision Booklet
Presentation on HIE in infants and its manifestations
master seminar digital applications in india
O7-L3 Supply Chain Operations - ICLT Program
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Microbial diseases, their pathogenesis and prophylaxis
102 student loan defaulters named and shamed – Is someone you know on the list?
Complications of Minimal Access Surgery at WLH
Pharmacology of Heart Failure /Pharmacotherapy of CHF
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
01-Introduction-to-Information-Management.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Cell Structure & Organelles in detailed.
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Final Presentation General Medicine 03-08-2024.pptx
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE

Analog module omron

  • 1. Cat. No. W127-E1-4 Analog I/O Units SYSMAC C200H-AD001/DA001
  • 3. ! ! ! ii 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 people or dam- age to property. DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage. OMRON Product References All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product. The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense. The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for any- thing else. 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 operation of the product. Reference Indicates supplementary information on related topics that may be of interest to the user. 1, 2, 3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc. © OMRON, 1990 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 permis- sion of OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. 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 informa- tion contained in this publication.
  • 4. iii About this Manual: This guide describes the installation and operation of the C200H-AD001 Analog Input Unit and the C200H-DA001 Analog Output Unit and includes the sections described below. The C200H-AD001 Analog Input Unit and the C200H-DA001 Analog Output Unit are analog-digital and digital-analog converters designed to work with the C200H or C200HS PC. The C200H-AD001 can convert up to four analog inputs to digital (12-bit binary) form. The operator can select from three input ranges: 1 to 5 V and 4 to 20 mA (simultaneous use of voltage and current inputs possible), or 0 to 10 V (voltage inputs only). Useful functions, such as scaling, mean value, peak value, and square root, are built-in. The C200H-DA001 can convert two digital (12-bit binary) signals to analog outputs. The operator can select from three output ranges: 1 to 5 V, 4 to 20 mA, or 0 to 10 V. Built-in functions include output limit, output limit alarm, and pulse output. Please read this manual carefully and be sure you understand the information provided before attempting to install and operate the C200H-AD001 or the C200H-DA001 Section 1 describes the types of applications in which Analog I/O Units are used. Section 2 describes the installation and operation of the C200H-AD001 Analog Input Unit, from installa- tion and wiring through programming and operation. Section 3 describes the installation and operation of the C200H-DA001 Analog Output Unit, from installa- tion and wiring through programming and operation. WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given. !
  • 5. v TABLE OF CONTENTS PRECAUTIONS vii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Operating Environment Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Application Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SECTION 1 – System Design 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Introduction 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Safety Precautions 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Basic Configuration 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Example Configurations 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 System Considerations 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SECTION 2 – C200H-AD001 Analog Input Unit 7. . . . . . . . . . . . . . . . . . . . . 2-1 Before Operation 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Nomenclature and Functions 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-2 Switch Settings 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-3 Wiring 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Bit and DM Area Allocations 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Functions and Programming 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-1 Input Signal Range Setting 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-2 Square Root 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-3 Scaling 20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-4 Mean Value 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-5 Peak Value 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-6 Input Disconnection Detection 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-7 Data Setting Example and Programming Concepts 23. . . . . . . . . . . . . . 2-4 Troubleshooting 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SECTION 3 – C200H-DA001 Analog Output Units 29. . . . . . . . . . . . . . . . . . . 3-1 Before Operation 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-1 Nomenclature and Functions 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-2 Switch Settings 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-3 Wiring 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Bit and DM Allocations 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Functions and Programming 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-1 Output Signal Range Setting 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-2 Output Limits 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-3 Output Limit Alarms 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-4 Pulse Output 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-5 Data Setting Example and Programming Concepts 43. . . . . . . . . . . . . . 3-4 Troubleshooting 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A – Standard Models 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B – Specifications 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C – Data Memory Coding Sheets 53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • 6. vii PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and Analog I/O Units. The information contained in this section is important for the safe and reliable application of the Analog I/O Units. You must read this section and understand the information contained before attempting to set up or operate a PC system and Analog I/O Units. 1 Intended Audience viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Operating Environment Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Application Precautions ix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • 7. ! ! ! viii 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 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 specifications 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, amusement machines, safety equipment, 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. This manual provides information for programming and operating OMRON Ana- log I/O Units. Be sure to read this manual before attempting to use the software and keep this manual close at hand for reference during operation. WARNING It is extremely important that a PC and all PC Units 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 representative before applying a PC System to the above-mentioned applications. 3 Safety Precautions WARNING Do not attempt to take any Unit apart while power is being supplied. Doing so may result in electric shock. WARNING Do not touch any of the terminals or terminal blocks while power is being supplied. Doing so may result in electric shock. Safety Precautions 3
  • 8. ! ! ! ! ! ix 4 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 tempera- ture. • 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: • 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 PC System can have a large effect on the lon- gevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PC System. Be sure that the operating environment is within the specified conditions at installa- tion and remains within the specified conditions during the life of the system. 5 Application Precautions Observe the following precautions when using the PC. 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 Units. Not con- necting to a ground of 100 Ω or less may result in electric shock. • Always turn off the power supply to the PC before attempting any of the follow- ing. Not turning off the power supply may result in malfunction or electric shock. • Mounting or dismounting I/O Units, CPU Units, Memory Cassettes, or any other Units. • Assembling the Units. • Setting DIP switch or rotary 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 PC or the system, or could damage the PC or PC Units. Always heed these pre- cautions. • 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. Application Precautions 5
  • 9. x • Interlock circuits, limit circuits, and similar safety measures in external circuits (i.e., not in the Programmable Controller) must be provided by the customer. • Always use the power supply voltage specified in this manual. 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. • Do not apply voltages to the Input Units in excess of the rated input voltage. Excess voltages may result in burning. • Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity. Excess voltage or loads may result in burning. • Install external breakers and take other safety measures against short-circuit- ing in external wiring. Insufficient safety measures against short-circuiting may result in burning. • Disconnect the functional ground terminal when performing withstand voltage tests. Not disconnecting the functional ground terminal may result in burning. • Do not attempt to disassemble, repair, or modify any Units. • Be sure that all the mounting screws, terminal screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction. • Leave the label attached to the Unit when wiring. Removing the label may re- sult in malfunction if foreign matter such as wire cuttings enter the Unit. • Remove the label after the completion of wiring to ensure proper heat dissipa- tion. Leaving the label attached may result in malfunction. • Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning. • Double-check all the wiring before turning on the power supply. Incorrect wir- ing may result in burning. • Wire all connections correctly. • Mount the Unit only after checking the terminal block completely. • Be sure that the terminal blocks, Memory Units, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction. • Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation. • 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 PC. • Force-setting/force-resetting any bit in memory. • Changing the present value of any word or any set value in memory. • Resume operation only after transferring to the new CPU Unit the contents of the DM Area, HR Area, and other 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 or other wiring lines. Doing so may break the cables. • Before touching the Unit, 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. • Install the Units properly as specified in the operation manuals. Improper installation of the Units may result in malfunction. Application Precautions 5
  • 10. 1 SECTION 1 System Design This section describes the basic uses of Analog I/O Units in a Control System and illustrates the type of applications in which they might be found. 1-1 Introduction 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Safety Precautions 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Basic Configuration 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Example Configurations 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 System Considerations 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • 11. 2 1-1 Introduction The C200H-AD001 Analog Input Unit is used to convert the output of analog field devices, usually sensors, to a digital form (12-bit binary) that the PC can read. The C200H-DA001 Analog Output Unit converts the digital output of the PC to analog signals which drive analog field devices. C200H-AD001 Analog Input Unit C200H-DA001 Analog Output Unit 1-2 Safety Precautions • Be sure that you have read this manual carefully and have understood the ex- planations before attempting any of the procedures described herein. OM- RON accepts no responsibility for any damage or injury that may result from carrying out any operation that is not covered in this manual. • Be sure to turn off the power supply to the PC before carrying out any of the following operations: a) Mounting or removing a Unit. b) Setting switches. c) Mounting or removing a Terminal Block or connectors. d) Wiring the System or Units. • Use twisted-pair cables and keep high-voltage lines and power lines in sepa- rate ducts to reduce the risk of malfunctions due to electrical noise. • Before turning on the power supply, check to be sure that the switch settings and wiring are correct. • Check to be sure that the user program operates correctly. Safety Precautions Section 1-2
  • 12. 3 1-3 Basic Configuration This diagram shows some of the possible field devices for the Analog I/O Units. Any I/O device can be used as long as voltage/current requirements fall within the specified ranges. The I/O device connected to the Analog I/O Unit will often serve as an inter- face for another device. For example, a preamplifier may amplify the output of a pressure gauge to the level required for the Analog Input Unit and a reg- ulator may interface a heating system to control temperature. Preamp Transducer Variable speed controller Servo- controller M M Temperature Pressure Speed Flow rate Voltage Current Power Power factor Analog Output Unit Regulator (Temperature control) (Speed control) (Position control) C200H CPU Rack Analog Input Unit Chart recorder Basic Configuration Section 1-3
  • 13. 4 1-4 Example Configurations Below are two examples of how Analog I/O Units can be used in control sys- tems. The first diagram shows a temperature regulating system and the sec- ond shows a servomotor positioning system. ÇÇÇÇ ÇÇÇÇ ÇÇÇÇ ÇÇÇÇ Sensor Servo motor Servo controller Locating pulse M Platform SYSMAC C200HS/C200H/C200HX/HG/HE ÇÇÇÇ ÇÇÇÇ Analog Output Unit C200H-DA001 Analog Input Unit C200H-AD001 High-speed Counter Unit C200H-CT001-V1 Encoder Fuel Transducer M SYSMAC C200HS/C200H/C200HX/HG/HE Valve controller Analog Input Unit C200H-AD001 Analog Output Unit C200H-DA001 Temperature sensing element Example Configurations Section 1-4
  • 14. 5 1-5 System Considerations Number of Units C200HS/C200H/C200HX/HG/HE Analog I/O Units are classified as Special I/O Units. A maximum total of ten Special I/O Units (including PC Link Units) can be mounted to the CPU Rack, Expansion I/O Racks, and Slave Racks of a single PC. A single C200H-NC211 Position Control Unit counts as two Units. The Units that belong to the various Special I/O Unit groups are shown in the following table. Their usage is limited according to the maximum current pro- vided for the Rack and the amount of current consumed by each Unit. For de- tails, refer to the C200HS/C200H Installation Guide. Certain limitations apply to the number of Special I/O Units that can be mounted on Slave Racks. The following table shows the maximum number of Group A, B, C, and D Special I/O Units that can be mounted on a single Slave Rack when only Units of that group are used. A B C D High-speed Counters Position Control Units (NC111/112) ASCII Units Analog I/O Units ID Sensor Units Fuzzy Logic Units Multipoint I/O Units Temperature Control Units PID Control Units Cam Positioner Units Temperature Sensor Units Voice Units Position Control Units (NC211) 4 Units ––– ––– ––– ––– 8 Units ––– ––– ––– ––– 6 Units ––– ––– ––– ––– 2 Units If Units from any of the four groups are to be combined, then both of the following two equations must be satisfied. 3A + B + 2C + 6D x 12 A + B + C + D x 8 Units can be mounted on other Racks as well, until the maximum total of ten Units has been reached. Remember, though, that a single C200H-NC2111 Posi- tion Control Unit counts as two Units. PC Link Units must also be counted among the total of ten Units. C200HS/C200H Special I/O Units are allocated IR area words according to the unit number switch settings on their front panels. They do not use the words of the slots in which they are mounted. For details regarding data area allocations, refer to 2-2 and 3-2 IR and DM Bit Allocations. With the C200H, do not mount an Analog I/O Unit in the two slots adjacent to the CPU. Doing so would block peripheral devices such as the Programming Con- sole from being connected. Special I/O Units cannot be used on a C200H Remote I/O Slave Rack if the Slave Rack is connected to different model PC (i.e., C500, C1000H, or C2000H). Be sure to turn off the power supply to the PC before installing or disconnecting Units or connecting lines. To reduce the risk of malfunctioning due to electrical noise, wire input and output lines in separate ducts from high-voltage and power lines. For further wiring precautions, refer to the respective sections on wiring for Ana- log Input Units and Analog Output Units. Slave Racks System Configuration Considerations Precautions System Considerations Section 1-5
  • 15. 7 SECTION 2 C200H-AD001 Analog Input Unit This section provides the information required to install and operate a C200H-AD001 Analog Input Unit. 2-1 Before Operation 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Nomenclature and Functions 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-2 Switch Settings 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-3 Wiring 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Bit and DM Area Allocations 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Functions and Programming 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-1 Input Signal Range Setting 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-2 Square Root 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-3 Scaling 20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-4 Mean Value 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-5 Peak Value 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-6 Input Disconnection Detection 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-7 Data Setting Example and Programming Concepts 23. . . . . . . . . . . . . . . 2-4 Troubleshooting 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • 16. 8 2-1 Before Operation 2-1-1 Nomenclature and Functions Display panel Voltage/current input terminals Unit number setting switch Model label Function setting DIP switch Backplane connector Indicators Indicator Color Function RUN Green Lit when the Analog Input Unit is operating correctly. If operation is not normal, this indicator turns OFF and Unit operation is stopped. BROKEN WIRE Red Lit when an input signal wire is disconnected. This indicator operates only when the input range is set to 1 to 5 V/4 to 20 mA. The following table briefly outlines the basic functions of the C200H-AD001. These functions are covered in more detail in 2-3 Functions and Programming. Function Explanation Input range setting The input range can be set according to the input signal level that is to be used. The same input range is used for all of the inputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option for any input. Square root Converts quadratic data, such as thermocouple input, to linear data. Scaling Converts an analog input signal to a preset range of BCD data for output. Mean value Sums the sampling data and calculates the mean value for output. Peak value Holds the maximum values for A/D conversion data, scaling data, mean data, and square root data, and outputs them as output data. Disconnection detection The Disconnection Detection Flag is turned ON and the BROKEN WIRE indicator is lit if the input signal wire becomes disconnected when 1 to 5 V/4 to 20 mA are set. Functions Before Operation Section 2-1
  • 17. 9 The following diagram shows the basic internal configuration of the Unit. Range selector Multi- plexer A/D converter Photo- coupler Photo- coupler Analog power supply +5 V 0 V DC/DC Bus inter- face converter C200H or C200HS PC I/O bus CPU ROM/ RAM +Voltage Input +Current Input –Input Analog 0 V +Voltage Input +Current Input –Input +Voltage Input +Current Input –Input +Voltage Input +Current Input –Input Watchdog timer Common SW Inputpoint1Inputpoint2Inputpoint3Inputpoint4Block Diagram Before Operation Section 2-1
  • 18. 10 2-1-2 Switch Settings There are four settings necessary for this Unit: unit number, number of in- puts, input range, and data reading mode. Unit Number Unit number setting switch The switch notch points to the unit number. The switch in the figure to the left is set to 0. Odd num- bers, in parentheses here, are not shown on the Unit. Use a standard screwdriver and set a different unit number for each Analog I/O Unit. IR area memory is allocated according to unit number, as shown in the table below. Switch setting Unit number IR words DM words 0 Unit #0 IR 100 to 109 DM 1000 to 1099 1 Unit #1 IR 110 to 119 DM 1100 to 1199 2 Unit #2 IR 120 to 129 DM 1200 to 1299 3 Unit #3 IR 130 to 139 DM 1300 to 1399 4 Unit #4 IR 140 to 149 DM 1400 to 1499 5 Unit #5 IR 150 to 159 DM 1500 to 1599 6 Unit #6 IR 160 to 169 DM 1600 to 1699 7 Unit #7 IR 170 to 179 DM 1700 to 1799 8 Unit #8 IR 180 to 189 DM 1800 to 1899 9 Unit #9 IR 190 to 199 DM 1900 to 1999 Note 1. The unit number setting switch is factory set to 0. 2. If two or more Special I/O Units are assigned the same unit number, an I/O UNIT OVER error will be generated and the PC will not operate. 3. Make the unit number settings with the power turned off to the PC. If the set- tings are made with the power on, they will not go into effect until either the power is turned off and then on again or the Special I/O Unit Restart Flag (AR0100 to AR0109) is turned ON. There can be 1, 2, or 4 inputs depending on the settings of pins 1 and 2, as shown in the table below. 0: OFF 1: ON The following table shows the effects of the various pin combinations. If there is no need to use all of the inputs, processing time can be shortened by setting the pins so that the smallest possible number of inputs is enabled. Pin number Number of inputs Inputs enabled 1 2 p p OFF ON 1 Input 1 only is enabled. ON OFF 2 Inputs 1 and 2 only are enabled. OFF OFF 4 All inputs are enabled. ON ON Not used. ––– Number of Inputs Before Operation Section 2-1
  • 19. 11 Use pin 3 to set the input range. Pin number 3 Input range OFF Voltage input 1 to 5 V Current input 4 to 20 mA ON Voltage input 0 to 10 V Note The same input range is used for all of the inputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option at any input. In normal mode, the input data is read only once before being converted from analog to digital. In filter mode, the input data is read three times and then the average values are converted from analog to digital. This helps to reduce the effects of electrical noise and so on. Using filter mode, however, results in longer processing time, as shown in the following table. Pin number 3 Data reading mode A/D conversion time OFF Normal mode 2.5 ms/input max. ON Filter mode 4 ms/input 2-1-3 Wiring The following illustration shows the function of each terminal. A0 A2 A4 A6 A8 B0 B2 B4 B6 B9 B1 B3 B5 B7 B8 A7 A5 A3 A1 Input 1 (–) Not used. Input 2 (–) Not used. Input 3 (–) Not used. Input 4 (–) Not used. Common (Analog 0 V) Voltage input 1 (+) Current input 1 (+) Voltage input 2 (+) Current input 2 (+) Voltage input 3 (+) Current input 3 (+) Voltage input 4 (+) Current input 4 (+) Not used. Common (Analog 0 V) The same input range is used for all of the inputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to +20 mA, however, can be used at the user’s option at any input. Use the DIP switch on the back panel of the Unit to set the input range and the number of inputs. (For details, refer to 2-1-2 Switch Settings.) When current input is used, short circuit the voltage input (+) and current input (+) terminals. The common terminal is connected to the 0 V of the Analog Input Unit’s analog circuit. Noise interference can be reduced by using shielded cables for input lines. The A8 and B9 terminals are short circuited internally. Input Range Data Reading Mode Terminal Allocation Before Operation Section 2-1
  • 20. 12 The following diagram illustrates the external wiring of voltage inputs for the C200H-AD001. Input 1 Input 2 Input 3 Input 4 Shield C200H-AD001 0 V 0 V 0 V 0 V Input side Note Terminals A8 and B9 are analog input ground terminals. They are not frame grounds and so do not connect them to a ground. Voltage Inputs Before Operation Section 2-1
  • 21. 13 The following diagram illustrates the external wiring of current inputs for the C200H-AD001. When current inputs are used, use the short pins provided with the Unit to short circuit the V+ and I+ terminals as shown in the diagram. Input 1 Input 2 Input 3 Input 4 Shield C200H-AD001 0 V + V 0 V + V 0 V + V 0 V + V (Short pin) Input side (Short pin) (Short pin) (Short pin) Note Terminals A8 and B9 are analog input ground terminals. They are not frame grounds and so do not connect them to a ground. Current Inputs Before Operation Section 2-1
  • 22. 14 When wiring inputs, apply the following points to avoid noise interference and optimize Analog Input Unit performance. • Use shielded twisted-pair cable for external connections and power lines. • Route input cables separately from the AC cable, and do not run the Unit’s cables near a main circuit cable, high voltage cable, or a non-PC load cable. • Be sure to install surge-absorbing diodes or surge absorbers for inductive loads (relays, solenoids, electromagnetic valves, etc.) They should be installed right next to relays and solenoids. Use surge-absorbing diodes with a dielectric strength of at least five times the circuit voltage. DC Relay Surge-absorbing diode (Example: ERB44-06, by Fuji Electric) Solenoid, etc. AC Relay Surge absorber Surge absorber • If there is noise interference from power lines (if, for example, the power supply is shared with electrical welding devices or electrical discharge machines, or if there is a high-frequency generation source nearby) install a noise filter at the power supply input area. • Use at least a class-3 ground (to 100 Ω or less), with as heavy a wire as pos- sible (i.e., at least 1.25 mm2). Input Wiring Considerations Before Operation Section 2-1
  • 23. 15 2-2 Bit and DM Area Allocations IR Area Allocation C200H Analog Input Units are allocated ten words each from the portion of the IR area (IR 100 to IR 199) that is reserved for Special I/O Units. The words that are allocated a particular Analog Input Unit depend on the setting of the unit number on the front panel of the Unit. Those ten words are then reserved as an I/O refresh data area, and the bits that comprise that area are refreshed with ev- ery I/O refresh scan by the PC. IR n + 1 to IR n +5 IR n IR 130 to 139 IR 140 to 149 IR 150 to 159 IR 100 to 109 IR 110 to 119 IR 120 to 129 IR 190 to 199 IR 160 to 169 IR 170 to 179 IR 180 to 189 SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-AD001 Analog Input Unit IN refresh (I/O refresh data area) (n = 100 + 10 x unit number) Unit #0 Unit #1 Unit #2 Unit #3 Unit #4 Unit #5 Unit #6 Unit #7 Unit #8 Unit #9 (Work area) At the I/O refresh by the PC, outputs (PC to Unit) and inputs (Unit to PC) are refreshed in order with every scan. The OUT and IN refreshes are as seen from the PC. OUT refresh Note The unit number that is set for an Analog Input Unit must not be used for any other Special I/O Unit. If the same unit number is set more than once, an I/O UNIT OVER error will be generated and operation will be stopped. DM Area Allocation DM (m + 8) to DM (m +11) DM (m) to DM (m+ 7) DM 1900 to 1911 DM 1800 to 1811 DM 1700 to 1711 DM 1600 to 1611 DM 1500 to 1511 DM 1400 to 1411 DM 1300 to 1311 DM 1200 to 1211 DM 1100 to 1111 DM 1000 to 1011Unit #0 SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-AD001 Analog Input Unit (Fixed data area) Scaling data Mean dataAutomatically transferred to each unit at power up or when Special I/O Re- start Flag is turned ON. Unit #1 Unit #2 Unit #3 Unit #4 Unit #5 Unit #6 Unit #7 Unit #8 Unit #9 (m = 1000 + 100 x unit number) (For more information regarding DM area allocation, refer to DM Allocations at the end of this section.) (DM area) Bit and DM Area Allocations Section 2-2
  • 24. 16 IR Allocations I/O Wd (IR) Bit (IR) 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 OUT n 0 0 0 SQ PK Mean value processing 0 Scaling execution OA CPQ Input 4 Input 3 Input 2 Input 1 Input 4 Input 3 Input 2 Input 1 IN n+1 Input 1 A/D conversion data or processing data n+2 Input 2 A/D conversion data or processing data n+3 Input 3 A/D conversion data or processing data n+4 Input 4 A/D conversion data or processing data n+5 0 0 0 0 0 0 0 OD Input pts. 00: 4 pts. IR Disconnection detection SE 00: 4 ts. 01: 2 pts. 10: 1 pt. Input 4 Input 3 Input 2 Input 1 n+6 to n+9 Not used. Note The following abbreviations are used in this table. SQ: square root calculation; PK: peak value; OA: offset adjustment; CP: A/D conversion prohibited; OD: out- puts disabled; IR: input range; SE: setting error. A/D Conversion Data Input range Binary data 0 to 10 V, 1 to 5 V, 4 to 20 mA 0000 to 0FA0 When scaling, mean value processing, peak value, or square root calculation is executed, the resulting data is output. Note When scaling is executed, it is set in words n+1 through n+4 in BCD. IR Area Contents: Outputs Address Item Contents Word (IR) Bit 15 to 13 ––– Not used. Set each bit to 0 (i.e., OFF). 12 Square Root ON Bit Turn this bit ON (i.e., set it to 1) to execute the square root calculation. It is used for all inputs. 11 Peak Value ON Bit Turn this bit ON (i.e., set it to 1) to execute the peak value function. It is used for all inputs. n 10 to 07 Mean Value ON Bit Turn these bits ON (i.e., set them to 1) to calculate the mean values for the respective inputs. Bits 07 to 10 correspond to inputs 1 to 4. 06 ––– Not used. Set to 0 (i.e., OFF). 05 to 02 Scaling ON Bit Turn these bits ON (i.e., set them to 1) to execute scaling for the respective inputs. Bits 02 to 05 correspond to inputs 1 to 4. 01 Offset adjustment Turn this bit ON (i.e., set it to 1) to execute the offset adjustment. The adjustment is carried out automatically at power up, so this bit does not normally need to be used. 00 A/D conversion prohibition Turn this bit ON (i.e., set it to 1) to prohibit A/D conversion. It is used for all inputs. Processing Data Bit and DM Area Allocations Section 2-2
  • 25. 17 IR Area Contents: Inputs Word (IR) Bit Item Contents n+1 15 to 00 Input 1 A/D conversion data or processing data The A/D conversion data (binary) is set here for each input. (The data is set in BCD for scaling.) n+2 15 to 00 Input 2 A/D conversion data or processing data g ) n+3 15 to 00 Input 3 A/D conversion data or processing data n+4 15 to 00 Input 4 A/D conversion data or processing data 15 to 09 ––– Not used. 08 Output disabled Conversion data is unstable at power up, so this bit prohibits A/D conversion data from being output. It remains ON for approximately 100 ms after the power is turned on. 07 to 06 Number of inputs The number of inputs (4, 2, or 1) is determined by the status of pin numbers 1 and 2 of the DIP switch on the rear panel of the Analog Input Unit. The status of pin 2 affects bit 07, and the status of pin 1 affects bit 06. n+5 05 Input range The status of this bit reflects the setting of pin 3 of the rear-panel DIP switch. 04 to 01 Input Disconnect Flag When an input is disconnected, the corresponding bit is turned ON (i.e., is set to 1). Bits 01 to 04 correspond to inputs 1 to 4 respectively. (See note 1.) 00 Setting Error Flag This bit turns ON (i.e., is set to 1) if the data set in the DM area is wrong. (See note 2.) Note 1. This bit turns ON under the following conditions: • An input is 0.5 V or less when set for 1 to 5V. • An input is 2 mA or less when set for 4 to 20 mA. • The input does not function when set for 0 to 10 V. 2. The Setting Error Flag turns ON when the scaling upper and lower limits are not in BCD or when the number of mean processing terms is 0000 or not in BCD. 3. Even if scaling or mean processing are not executed, and regardless of whether or not inputs are used, the data described in note 2 will cause the Setting Error Flag to turn ON. This will have no effect on operation, however. 4. n = 100 + 10 x unit number DM Allocations Word Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 DM (m) Input 1, scaling lower limit data DM (m+1) Input 1, scaling upper limit data DM (m+2) Input 2, scaling lower limit data DM (m+3) Input 2, scaling upper limit data DM (m+4) Input 3, scaling lower limit data DM (m+5) Input 3, scaling upper limit data DM (m+6) Input 4, scaling lower limit data DM (m+7) Input 4, scaling upper limit data DM (m+8) Input 1, number of samples for mean processing DM (m+9) Input 2, number of samples for mean processing DM (m+10) Input 3, number of samples for mean processing DM (m+11) Input 4, number of samples for mean processing Bit and DM Area Allocations Section 2-2
  • 26. 18 Note 1. The DM area that is used is a read-only area, so the data cannot be written from the program. Use the Programming Console to set data by changing the present value or changing three words together. 2. The range for setting scaling data is 0000 to 9999 (BCD). Make sure that the lower limit is smaller than the upper limit. 3. The range for setting the number of times that sampling is to be executed for mean value processing is 0002 to 9999 (BCD). 4. Data that is set in the DM area is transferred either at the time of power up or when the Special I/O Unit Restart Bit is turned ON. Any data that is set in the meantime will remain invalid until then. DM Contents Words Bits Item Data contents DM (m) to DM (m+7) 15 to 00 Scaling data The scaling data (upper and lower limits) is set in BCD (0000 to 9999), using two words for each input. Set the lower limit in the rightmost word and the upper limit in the leftmost word, and make sure that the lower limit is smaller than the upper limit. DM (m+8) to DM (m+11) 15 to 00 Number of terms for calculating mean value The number of samples to be taken for calculating the mean value is set in BCD (0002 to 9999) for each input. DM words m+8 through m+11 correspond to inputs 1 to 4. 2-3 Functions and Programming The C200H-AD001 Analog Input Unit provides six functions: • Input signal range setting • Square root • Scaling • Mean value • Peak value • Input disconnection detection These functions are set using Unit switches and Peripheral Devices, such as a Programming Console. The words allocated to the Unit in the DM Area (DM m to DM m+11) cannot be written from user program and all data set in these words must be written from a Peripheral Device. When inputting data from a Programming Console, use the operations to change present values. When inputting from the SSS (SYSMAC Support Soft- ware), use the DM editing operations. The data set in the DM area is transferred to the Analog Input Unit when either of the following steps is taken. Be sure to perform one or the other of these steps whenever new data has been set or data has been changed. • Turning ON the power to the C200H/C200HS/C200HX/HG/HE CPU. • Turning ON the Restart Bit allocated to the Unit as a Special I/O Unit (AR 0100 to 0109). Any or all of the six functions can be used at the same time. Data will be pro- cessed in the following sequence and the final results will be output to words n+1 to n+4: analog-to-digital conversion → square root → scaling → mean value → peak value. Functions and Programming Section 2-3
  • 27. 19 2-3-1 Input Signal Range Setting The C200H-AD001 can convert analog input signals in three ranges: 0 to 10 V, 1 to 5 V, or 4 to 20 mA. The range is set on pin 3 of the DIP switch as shown below Pin 3 Input range OFF 1 to 5 V 4 to 20 mA ON 0 to 10 V If the 0 to 10 V setting is used, it must be used for all four inputs. The 1 to 5 V and 4 to 20 mA ranges can be used at the same time for different inputs. The digital data is in 12-bit binary code (0000 to 0FA0), and resolution is 1/4000 full scale. Analog Input vs. Digital Output 0 0 V 10 V Analog input Decimal equivalent of binary code 0 1 V (4 mA) 5 V (20 mA) Analog input Decimal equivalent of binary code 4000 (0FA0) 4000 (0FA0) Note An offset error is likely to occur when power is turned on. The full scale of con- verted data is 4000, and the remaining 95 is used for offset/gain. 2-3-2 Square Root The square root function is used to convert quadratic data, such as thermocou- ple inputs, to linear data. The function is activated for all inputs when the Square Root ON Bit (IR 1n012, where n is the unit number) is turned ON. The square root function can be used at the same time as the scaling and mean value functions. If all three functions are used, the square root of the converted input value is taken first and then scaling and mean value calculations are per- formed. The square root function uses an 80-bit floating decimal system. Only the integer value is kept, the remainder is truncated. Square root value = √(converted input value (BCD) × 4000) Note If the Square Root ON Bit (IR 1n012, where n is the unit number) is turned ON, square root calculations will be performed for all inputs. Functions and Programming Section 2-3
  • 28. 20 2-3-3 Scaling The scaling function automatically converts the analog input signal to a preset range for use in specific engineering applications. The scaling function is ex- ecuted for an input when its Scaling Bit is ON, i.e., it can be set separately for each input. This function can be used at the same time as other functions. To set this function for an input, turn ON the Scaling Bit corresponding to that input in word n. Bit 05 04 03 02 Word n Input4 Input3 Input2 Input1 The high and low limits of the output data range for each input are 4-digit BCD values preset in the DM area, as shown in the following table (n is the unit num- ber set on the front panel.) A lower limit must be less than the corresponding up- per limit. DM word Range limit (BCD) DM word Range limit (BCD) Bit of IR 1n0 Scaling bit 1n00 Input 1 lower limit 1n04 Input 3 lower limit 02 Input 1 1n01 Input 1 upper limit 1n05 Input 3 upper limit 03 Input 2 1n02 Input 2 lower limit 1n06 Input 4 lower limit 04 Input 3 1n03 Input 2 upper limit 1n07 Input 4 upper limit 05 Input 4 Set the scaling data with the Programming Console, this data cannot be changed from the user’s program. Data set in the DM area is transmitted when the Unit is turned on or initial- ized. If data is modified in the middle of a session, then the modified data becomes effective the next time the Unit is turned on, or by toggling the ap- propriate Special I/O Restart Bit in the AR area. Scaled data is calculated using the formula below. Only the integer value is kept, the remainder is truncated. Input data × (upper limit – lower limit) 4000 Scaling data = + lower limit Functions and Programming Section 2-3
  • 29. 21 Example An example is shown below. Input signal range: 0 to 10 V Lower limit: 1000 Upper limit: 9000 Scaled data Normal data 0 V 5 V 10 V Input signal If a 5-V input is received, it would be converted to 2000 (5/10 x 4000) and then scaled as shown below. 2000 × (9000 – 1000) 4000 Scaling data = + 1000 = 5000 Note 1. Scaling will not be performed and unscaled (normal) data will be output if the contents of DM words allocated to the Unit is not BCD or if a lower limit is greater than the corresponding upper limit. 2. The Setting Error Flag (bit 00 in IR 1n5, where n is the unit number) will be turned ON if the contents of DM m to DM m+7 is not BCD. 3. The Setting Error Flag will turn ON whenever DM area data is not BCD re- gardless of whether an input is being used and regardless of whether or not scaling is set. Operation, however, will be normal in these cases. Resolution If the difference between an upper limit and the corresponding lower limit (upper limit – lower limit) is 4000 or greater, the resolution is fixed at 1/4000. If the differ- ences is less than 4000, the resolution will be reduced proportionately. For example, if the upper limit minus the lower limit is 2000, the resolution is 1/2000. 2-3-4 Mean Value The mean value function sums a specified number of terms of converted input data and divides by the number of terms preset the DM area. If the Mean ON Bit for an input is ON (bits 07 to 10 of word n), the mean value will be output to the corresponding word in the PC. The desired number of terms must be set in the corresponding word in the DM area between DM m+8 and DM m+11. The setting can be between 0002 and 9999 (BCD). Bit 10 09 08 07 Word n Input4 Input3 Input2 Input1 Functions and Programming Section 2-3
  • 30. 22 The mean value functions can be used in combination with any of the other func- tions. Set the mean data for each input with the Programming Console. This data cannot be changed from the user’s program. Set the mean data for all 4 in- puts even when using only one input. If there is a mistake in the data for even 1 input, the Setting Error Flag will be activated, though operation will continue. The mean value is calculated using the formula below. When the Mean En- able Bit turns ON, the converted data will read “0000” until the mean value is calculated for the first time. Sum of converted input values Number of terms (mean data) Mean value = The maximum mean function conversion time = 2.5 ms × the sum of the number of terms for all inputs Note 1. Mean value calculation will not be performed and normal data will be output if the number of terms set in the DM area is 0000 or is not BCD. 2. The Setting Error Flag (bit 00 in IR 1n5, where n is the unit number) will be turned ON if the number of terms set in the DM area is 0000 or is not BCD. 3. The Setting Error Flag will turn ON whenever the number of terms set in the DM area is 0000 or is not BCD regardless of whether an input is being used and regardless of whether or not scaling is set. Operation, however, will be normal in these cases. 2-3-5 Peak Value The peak value function holds the maximum output value for every input. This function can be used at the same time an any or all of the other functions. The output value that will be held is one of the following depending on what other functions are set: converted input value, scaled value, mean value, and square root. Data will be processed in the following sequence and the maximum value of the final results will be output to words n+1 to n+4: analog-to-digital conver- sion → square root → scaling → mean value → peak value. The peak value function is activated for all 4 inputs when the Peak Value ON Bit (IR 1n011, where n is the unit number) is turned ON and reset when it is turned OFF. Note If the Peak Value ON Bit (IR 1n011, where n is the unit number) is turned ON, the peak value will be held for all inputs. Functions and Programming Section 2-3
  • 31. 23 Mean and Peak Values Data will be output as illustrated below when both the mean value and the peak value functions are used. In this example, mean value #2 will be output as the first peak value even if mean value #1 is larger because the Peak Value ON Bit was turned ON after mean value #1 was output. Mean value Peak Value ON Bit Output value ON OFF Results #1 Results #2 Results #3 Results #4 Mean value #1 Mean value #2 Mean value #3 Mean value #4 Mean value #5 Previous mean value Mean value #1 Mean value #2 (1st peak value) Larger of mean values #2 and #3 Largest of mean values #2 to #4 2-3-6 Input Disconnection Detection The Input Disconnect Flags will be turned ON when an the input signal level is less than 0.5 V/2 mA and the input signal range is set at 1 to 5 V/4 to 20 mA. These flags will not turn ON when the input signal range is set at 0 to 10 V. The Input Disconnect Flags are contained in in word IR n+5, as shown below. Bit 04 03 02 01 Word n +5 Input4 Input3 Input2 Input1 The BROKEN WIRE indicator on the Analog Input Unit will light whenever any of the Input Disconnect Flags turn ON. Note 1. The Input Disconnect Flags will operate only when the Conversion Inhibit Bit (bit 00 of IR n) is OFF. 2. Input disconnection is detected for all input set on pins 1 and 2 of the back- panel DIP switch. If an input that is not being used (i.e., not connected) is specified on the DIP switch, the Input Disconnect Flag will turn ON. 3. The current peak value will be held even if a disconnected input is detected. 2-3-7 Data Setting Example and Programming Concepts Data Settings The following settings are used in this example. Data in the DM area is set using the SSS, a Programming Console, or another Peripheral Device. Basic Settings Turn power to the PC off then then back on or turn ON the Special I/O Unit Re- start Bit allocated to the Unit (AR 0100 to AR 0109) after setting the data so that the data is read into the Analog Input Unit. Item Setting Unit number 0 (allocated words: IR 100 to IR 109 and DM 1000 to DM 1011) Inputs used Inputs 1 to 4 Functions and Programming Section 2-3
  • 32. 24 Details Item Input 4 Input 3 Input 2 Input 1 Input signal range 1 to 5 V 4 to 20 mA 1 to 5 V 1 to 5 V Scaling Lower limit ––– 0400 1000 1000g Upper limit ––– 1000 5000 5000 Number of terms for mean value calculation ––– 50 ––– 10 DM Area Data DM word Contents Data DM 1000 1000 Input 1 lower limit for scaling DM 1001 5000 Input 1 upper limit for scaling DM 1002 1000 Input 2 lower limit for scaling DM 1003 5000 Input 2 upper limit for scaling DM 1004 0400 Input 3 lower limit for scaling DM 1005 1000 Input 3 upper limit for scaling DM 1006 0000 Input 4 lower limit for scaling DM 1007 0000 Input 4 upper limit for scaling DM 1008 0010 Input 1 number of terms for mean value DM 1009 0000 Input 2 number of terms for mean value DM 1010 0050 Input 3 number of terms for mean value DM 1011 0000 Input 4 number of terms for mean value Programming The types of programming required to use an Analog Input Unit are described in this section. Refer to the operation manual for the C200H/C200HS/C200HX/ HG/HE for details on programming. Reading Output Data The converted input value (or the results of calculations performed on it) can be read from the output words IR n+1 to IR n+4, and moved to other words in memory using MOV(21) and/or XFER(70). MOV(21) is used to move one word at a time and XFER(70) is used to move more than one word at a time. MOV(21) 101 DM 0001 Input condition Moves the output data from IR 101 (input 1) to DM 0001. Input condition Moves the output data from IR 101 to IR 104 (inputs 1 to 4) to DM 0001 to DM 0004. XFER(70) #0004 101 DM 0001 Scaling Set 4-digit BCD values for the lower and upper limits for scaling in DM m to DM m+7. These words cannot be written from the program and must be written using a Peripheral Device, such as a Programming Console. Functions and Programming Section 2-3
  • 33. 25 For example, use the following procedure to set scaling between 1000 and 5000 for input 1. 1, 2, 3... 1. Set the lower and upper limits in DM 1000 and DM 1001. DM word Contents Data DM 1000 1000 Input 1 lower limit for scaling DM 1001 5000 Input 1 upper limit for scaling 2. Turn ON IR 10002 (Scaling ON Bit for input 1). Scaling will begin for input 1 as soon as this bit is turned ON. This bit can be changed from the program using the following type of programming. 10002 Input condition Mean Value Set the 4-digit BCD value for the number of terms for mean value calculation in DM m+8 to DM m+11. The number of terms can be between 2 and 9999. These words cannot be written from the program and must be written using a Peripher- al Device, such as a Programming Console. For example, use the following procedure to set mean value calculation for every 10 inputs for input 1. 1, 2, 3... 1. Set the number of terms (10) in DM 1008. DM word Contents Data DM 1008 0010 Number of terms for mean value calcula- tion for input 1 2. Turn ON IR 10007 (Mean Value ON Bit for input 1). Mean value calculations will begin for input 1 as soon as this bit is turned ON. This bit can be changed from the program using the following type of programming. 10007 Input condition Peak Value The peak value function can be used to hold the maximum output value for all outputs by turn ON the Peak Value ON Bit (IR10011). The peak value will be held individually for all inputs when this bit is turned ON. This bit can be changed from the program using the following type of programming. 10011 Input condition Square Root The square root function can be used to convert quadratic data to linear data by turn ON the Square Root ON Bit (IR10012). The square root will be calculated individually for all inputs when this bit is turned ON. This bit can be changed from the program using the following type of programming. 10012 Input condition Functions and Programming Section 2-3
  • 34. 26 2-4 Troubleshooting When an error occurs, the contents are output to the SR and HR areas. The fol- lowing tables show the various errors that may occur, along with their probable causes and remedies. Unit error Probable causes and operations Possible remedies Disconnection error • Causes of error • Input signal wire is disconnected. • Input signal range is set to “1 to 5V” but input is 0.5 V or less. • Input signal range is set to “4 to 20 mA” but input is 2 mA or less. • Disconnect indications • BROKEN WIRE indicator is lit. • The Input Disconnect Flag (IR n+5, bits 01 to 04) that corresponds to the erroneous input signal is turned ON (except when the input range is 0 to 10 V). Check the input signal wires, terminal block, and input voltage. Setting error The data set in the DM area is wrong. In this case, the Setting Error Flag (IR n+5, bit 00) will be ON. Check the contents of the data. Output disabled The converted data is unstable, as, for example, when the power is first turned on. In this case, the Output Disabled Flag (IR n+5, bit 08) will be ON. ––– RUN indicator not lit The RUN indicator on the Unit is not lit even though power is turned on to the PC, and none of the errors described in this table are applicable. Replace the Unit. CPU error Probable causes and operations Possible remedies CPU waiting • The Special I/O Unit is defective. • The PC will not run. • Replace the Special I/O Unit. • The defective Unit should appear as $ signs only in the I/O table read opera- tion. Duplicated unit number One number is assigned to more than one Special I/O Unit. In this case the PC will not run and SR25415 will turn ON. Do not assign the same number to more than one Unit. Use the I/O table read operation to display unit numbers. Special I/O Unit error An error has occurred in the refresh signal between the CPU and the Special I/O Unit. In this case, only the Special I/O Unit stops. SR 25415 is turned ON. Check AR 0000 to AR 0009 for the unit number of the Unit in error. After correcting the error, set restart (OFF →ON →OFF) in AR 0100 to AR 0109. If the error does not clear after initialization, replace the Unit. Special I/O Unit Error Detection Bit (SR) Bit Error Explanation Operation status SR 25415 Duplicated unit number The same number is assigned to more than one Special I/O Unit. PC operation stops. Special I/O Unit error An error has occurred in the refresh signal between the CPU and the Special I/O Unit Operation stops only for the faulty Unit. Detection When Errors Occur Troubleshooting Section 2-4
  • 35. 27 Special I/O Unit Error Flags (AR) Bit Item Function AR 0000 Unit #0 Error Flag When one of the CPU errors described above h AR bi ON f h U i h hAR 0001 Unit #1 Error Flag occurs, the AR bit turns ON for the Unit where the error occurred AR 0002 Unit #2 Error Flag error occurred. AR 0003 Unit #3 Error Flag AR 0004 Unit #4 Error Flag AR 0005 Unit #5 Error Flag AR 0006 Unit #6 Error Flag AR 0007 Unit #7 Error Flag AR 0008 Unit #8 Error Flag AR 0009 Unit #9 Error Flag Special I/O Unit Restart Bits (AR) Turn ON the Special I/O Unit Restart Bits in the following circumstances: • After DM data has been set or replaced. • To restart Unit operation after clearing an error. The same effect can be achieved by turning off the power to the PC and then turning it on again. Bit Item Function AR 0100 Unit #0 Restart Bit Special I/O Units can be restarted by turning the di bi ONAR 0101 Unit #1 Restart Bit y g corresponding bits ON. AR 0102 Unit #2 Restart Bit AR 0103 Unit #3 Restart Bit AR 0104 Unit #4 Restart Bit AR 0105 Unit #5 Restart Bit AR 0106 Unit #6 Restart Bit AR 0107 Unit #7 Restart Bit AR 0108 Unit #8 Restart Bit AR 0109 Unit #9 Restart Bit Troubleshooting Section 2-4
  • 36. 29 SECTION 3 C200H-DA001 Analog Output Units This section provides the information required to install and operate a C200H-DA001 Analog Output Unit. 3-1 Before Operation 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-1 Nomenclature and Functions 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-2 Switch Settings 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-3 Wiring 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Bit and DM Allocations 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Functions and Programming 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-1 Output Signal Range Setting 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-2 Output Limits 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-3 Output Limit Alarms 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-4 Pulse Output 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-5 Data Setting Example and Programming Concepts 43. . . . . . . . . . . . . . . 3-4 Troubleshooting 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • 37. 30 3-1 Before Operation 3-1-1 Nomenclature and Functions Display panel External output terminal block connectors Unit number setting switch Model label Function setting switch Backplane connector Indicators Indicator Color Function RUN Green Lit when the Analog Output Unit is operating correctly. If operation is not normal, this indicator turns OFF and Unit operation is stopped. ALARM Red Lit when an alarm is output as a result of the upper or lower limits being exceeded, The following table briefly outlines the basic functions of the C200H-DA001. These functions are covered in more detail in 3-3 Functions and Programming. Function Explanation Output range setting The output range can be set according to the output signal level that is to be used. The same output range is used for all of the outputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option at any output. Output limit The output limit function sets upper and lower limits on the output signal. The upper and lower limits are preset in the DM area. The output remains at the limit level as long as the output limit function is activated. Output limit alarm This function activates an alarm if the output signal is outside of the range defined by the upper and lower limits preset in the DM area, but it does not alter the output level. It is possible to include a deadband, which delays the resetting of the alarm. The output limit alarm turns ON and OFF according to the following conditions. Pulse output This function creates a 0 V to 5 V pulse output separate from the analog output. Functions Before Operation Section 3-1
  • 38. 31 The following diagram shows the basic internal configuration of the Analog Output Unit. Photo- coupler Photo- coupler Analog supply power DC/DC converter + 5 V 0 V Pulse output 1 COM I/O BUS Pulse output circuit Voltage output 1 current output 1 MemoryMemory Voltage output 2 current output 2 Pulse output 2 Photocoupler Converter Range selector Converter Businterface Alarm 1 upper limit Alarm 2 upper limit Alarm 1 lower limit Alarm 2 lower limit Pulse output circuit Photocoupler Block Diagram Before Operation Section 3-1
  • 39. 32 3-1-2 Switch Settings There are four settings necessary for this Unit: unit number, output range, pulse output line, and pulse output ON/OFF. Unit Number Unit number setting switch The switch notch points to the unit number. The switch in the figure to the left is set to 0. Odd num- bers, in parentheses here, are not shown on the Unit. Use a standard screwdriver to set a different unit number for each Analog I/O Unit. IR area memory is allocated according to unit number, as shown in the table below. Switch number Unit number IR words DM words 0 Unit #0 IR 100 to 109 DM 1000 to 1099 1 Unit #1 IR 110 to 119 DM 1100 to 1199 2 Unit #2 IR 120 to 129 DM 1200 to 1299 3 Unit #3 IR 130 to 139 DM 1300 to 1399 4 Unit #4 IR 140 to 149 DM 1400 to 1499 5 Unit #5 IR 150 to 159 DM 1500 to 1599 6 Unit #6 IR 160 to 169 DM 1600 to 1699 7 Unit #7 IR 170 to 179 DM 1700 to 1799 8 Unit #8 IR 180 to 189 DM 1800 to 1899 9 Unit #9 IR 190 to 199 DM 1900 to 1999 Note 1. The unit number setting switch is factory set to 0. 2. If two or more Special I/O Units are assigned the same unit number, an I/O UNIT OVER error will be generated and the PC will not operate. 3. Make the unit number settings with the power turned off to the PC. If the set- tings are made with the power on, they will not go into effect until either the power is turned off and then on again or the Special I/O Unit Restart Flag (AR0100 to AR0109) is turned ON. Set pins 1 through 3 before powering up the system. Pin 4 is not used, so please leave it set to OFF. 0: OFF 1: ON Use pin 1 to set the output range. Pin number 3 Output range OFF Voltage input 1 to 5 V Current input 4 to 20 mA ON Voltage input 0 to 10 V Note The same output range is used for all of the outputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option at any output. DIP Switch Settings Output Range Before Operation Section 3-1
  • 40. 33 Use pin 2 to set the pulse output line. Pin 2 OFF: Output 1 Pin 2 ON: Output 2 Use pin 3 to set pulse outputs to ON or OFF. Pin 3 OFF: Pulse output OFF Pin 3 ON: Pulse output ON 3-1-3 Wiring The following illustration shows the function of each output. A0 A2 A4 A6 A8 B0 B2 B4 B6 B9 B1 B3 B5 B7 B8 A7 A5 A3 A1 Voltage output 1 (–) Current output 1 (–) Pulse output 1 (–) Not used. Lower limit alarm output 1 Voltage output 2 (–) Current output 2 (–) Pulse output 2 (–) Lower limit alarm output 2 Voltage output 1 (+) Current output 1 (+) Pulse output 1 (+) Voltage output 2 (+) Current output 2 (+) Pulse output 2 (+) Not used. Upper limit alarm output 1 Upper limit alarm output 2 Alarm output common The Analog Output Unit has two built-in output lines, but it is not possible to si- multaneously use one of them for both voltage and current outputs. The same output range is used for all of the outputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option at any output. Pulse output is possible for either output 1 or output 2, but not for both. Refer to 3-1-2 Switch Settings for details. Pulse Output Line Pulse Output ON/OFF Terminal Allocation Before Operation Section 3-1
  • 41. 34 The following diagram shows the external wiring of outputs for the C200H-DA001. Voltage output 1 + – Voltage output 2 + – Current output 1 + – Current output 2 + – A0 Output 1 A1 A2 A3 A4 A5 A7 A8 B0 B1 B2 B3 B4 B5 B7 B8 B9 Pulse output 1 Pulse output 2 0 V 0 V Output 2 Shield Load Load Load Load Load 5 to 24 VDC 100 mA max. + – (Note 1.) C200H-DA001 Note 1. The maximum current capacity for this alarm output (open-collector output) is 100 mA/circuit. 2. A single output line cannot be used for voltage and current output at the same time. Output Wiring Before Operation Section 3-1
  • 42. ! 35 When wiring outputs, apply the following points to avoid noise interference and optimize Analog Output Unit performance. • Use shielded twisted-pair cable for external connections and power lines. • Route output cables separately from the AC cable, and do not run the Unit’s cables near a main circuit cable, high voltage cable, or a non-PC load cable. • Be sure to install surge-absorbing diodes or surge absorbers for inductive loads (relays, solenoids, electromagnetic valves, etc.) They should be installed right next to relays and solenoids. Use surge-absorbing diodes with a dielectric strength of at least five times the circuit voltage. DC Relay Surge-absorbing diode (Example: ERB44-06, by Fuji Electric) Solenoid, etc. AC Relay Surge absorber Surge absorber • If there is noise interference from power lines (if, for example, the power supply is shared with electrical welding devices or electrical discharge machines, or if there is a high-frequency generation source nearby) install a noise filter at the power supply output area. • Use at least a class-3 ground (to 100 Ω or less), with as heavy a wire as pos- sible (i.e., at least 1.25 mm2). Caution When using the C200H-DA001 Analog Output Unit, a voltage (current) may be output momentarily from the output terminal when the power supply to the PC is turned ON or OFF. Approximately 10 V will be output for approximately 1 second after the power is turned ON or OFF. If this causes a problem, provide countermeasures so that the power supply or output timing of external devices differs from the ON/OFF timing of the power supply to the PC. Output Wiring Considerations Before Operation Section 3-1
  • 43. 36 3-2 Bit and DM Allocations IR Allocations C200H/C200HS Analog Output Units are allocated ten words each from the por- tion of the IR area (IR 100 to IR 199) that is reserved for Special I/O Units. The words that are allocated a particular Analog Output Unit depend on the setting of the unit number setting switch on the front panel of the Unit. Those ten words are then reserved as an I/O refresh data area, and the bits that comprise that area are refreshed with every I/O refresh scan by the PC. IR n to IR n +2 IR n + 3IR 130 to 139 IR 140 to 149 IR 150 to 159 IR 100 to 109 IR 110 to 119 IR 120 to 129 IR 190 to 199 IR 160 to 169 IR 170 to 179 IR 180 to 189 SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-DA001 Analog Output Unit IN refresh (I/O refresh data area) (n = 100 + 10 x unit number) Unit #0 Unit #1 Unit #2 Unit #3 Unit #4 Unit #5 Unit #6 Unit #7 Unit #8 Unit #9 (Work area) At the I/O refresh by the PC, outputs (PC to Unit) and inputs (Unit to PC) are executed in or- der with every scan. The OUT and IN refreshes are as seen from the PC. OUT refresh Note The unit number that is set for an Analog Input Unit must not be used for any other Special I/O Unit. If overlapping numbers are set, an I/O UNIT OVER error will be generated and operation will be stopped. DM Allocations Output lower limitDM m DM (m + 1) DM (m + 2) DM (m + 3) DM (m + 4) DM 1900 to 1904 DM 1800 to 1804 DM 1700 to 1704 DM 1600 to 1604 DM 1500 to 1504 DM 1400 to 1404 DM 1300 to 1304 DM 1200 to 1204 DM 1100 to 1104 DM 1000 to 1004Unit #0 SYSMAC C200HS/C200H/C200HX/HG/HE PC C200H-AD001 Analog Input Unit (Fixed data area) Automatically transferred to each unit number at power up or when Spe- cial I/O Restart Flag is turned ON. Unit #1 Unit #2 Unit #3 Unit #4 Unit #5 Unit #6 Unit #7 Unit #8 Unit #9 (m = 1000 + 100 x unit number) (For more information regarding DM address allocation, refer to the DM Address Allocation Chart at the end of this section.) (DM area) Output upper limit Alarm lower limit Alarm upper limit Alarm dead band Bit and DM Allocations Section 3-2
  • 44. 37 IR Allocations I/O Wd (IR) Bit (IR) 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 OUT n Output 1 setting data (0000 to 0FFF); (Becomes duty ratio data for pulse output.) n+1 Output 2 setting data (0000 to 0FFF); (Becomes duty ratio data for pulse output.) n+2 0 0 0 0 OP O2L O1L O2A O1A 0 Pulse cycle 100: 20 s 011: 10 s 010: 5 s 001: 2 s 000: 1 s IN n+3 0 0 0 0 Output 2 limit detected Output 1 limit detected Output 2 alarm Output 1 alarm SE UL LL UL LL UL LL UL LL n+4 to n+9 Not used. Note The following abbreviations are used in this table. OP: output prohibited; O2L: output 2 limit; O1L: output 1 limit; UL: upper limit; LL: lower limit; SE: setting error. IR Area Contents (Outputs) Address Item Contents Word (IR) Bit n 15 to 00 Output 1 setting data Sets output 1 data in binary. This becomes duty ratio data when pulse outputs are set. The range is 0000 to 0FFF. n+1 15 to 00 Output 2 setting data Sets output 2 data in binary. This becomes duty ratio data when pulse outputs are set. The range is 0000 to 0FFF. n+2 15 to 09 ––– Not used. Set all bits to “0.” 08 Output prohibited Turn ON to prohibit outputs. This bit is used for outputs 1 and 2. 07 Output 2 limit Turn ON to execute output 2 limit. 06 Output 1 limit Turn ON to execute output 1 limit. 05 Output 2 alarm Turn ON to execute output 2 alarm. 04 Output 1 alarm Turn ON to execute output 1 alarm. 03 ––– Not used. Turn OFF (i.e., set to “0”). 02 to 00 Pulse cycle Sets the pulse period. Pulse period Bit 02 01 00 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 s 10 s 20 s2 s 5 s Bit and DM Allocations Section 3-2
  • 45. 38 IR Area Contents (Inputs) Word (IR) Bit Item Contents n+3 15 to 09 ––– Not used. 08 Output 2 limit d d Upper limit: Turns ON when output 2 value is greater than the upper limit. 07 detected Lower limit: Turns ON when output 2 value is less than the lower limit. 06 Output 1 limit d d Upper limit: Turns ON when output 1 value is greater than the upper limit. 05 detected Lower limit: Turns ON when output 1 value is less than the lower limit. 04 Output 2 alarm (S ) Upper limit: Turns ON when output 2 value is greater than the alarm upper limit. 03 (See note.) Lower limit: Turns ON when output 2 value is less than the alarm lower limit. 02 Output 1 alarm (S ) Upper limit: Turns ON when output 1 value is greater than the alarm upper limit. 01 (See note.) Lower limit: Turns ON when output 1 value is less than the alarm lower limit. 00 Setting error This bit turns ON if the data set in the DM area is wrong. (See note 2.) Note When alarm flags turn ON, their status can be read from external connection ter- minals A7, A8, B7, and B8. (Refer to 3-1-3 Wiring.) At that time the ALARM indi- cator on the display panel of the Unit will light. DM Allocations Word Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 DM m Output lower limit (0000 to 0FFF) DM (m+1) Output upper limit (0000 to 0FFF) DM (m+2) Alarm lower limit (0000 to 0FFF) DM (m+3) Alarm upper limit (0000 to 0FFF) DM (m+4) Alarm dead band (0000 to 0FFF) Note 1. The DM area that is used is a read-only area, so the data cannot be written from the program. Use the Programming Console to set data by changing the present value or changing three words together. 2. Data that is set in the DM area is transferred either at the time of power up or when the Special I/O Unit Restart Bit is turned ON. Any data that is set in the meantime will remain invalid until then. 3. The values set in DM are used for both output lines (i.e., for output 1 and output 2). 4. m = 1000 + 100 x unit number. 3-3 Functions and Programming The C200H-DA001 Analog Output Unit provides 4 functions • Output signal range setting • Output limit • Output limit alarm • Pulse output These functions are set using Unit switches and Peripheral Devices, such as a Programming Console. The words allocated to the Unit in the DM Area (DM m to DM m+4) cannot be written from user program and all data set in these words must be written from a Peripheral Device. When inputting data from a Programming Console, use the operations to change present values. When inputting from the SSS (SYSMAC Support Soft- ware), use the DM editing operations. The data set in the DM area is transferred to the Analog Output Unit when either of the following steps is taken. Be sure to perform one or the other of these steps whenever new data has been set or data has been changed. Functions and Programming Section 3-3
  • 46. 39 • Turning ON the power to the C200H/C200HS CPU. • Turning ON the Restart Bit allocated to the Unit as a Special I/O Unit (AR 0100 to 0109). 3-3-1 Output Signal Range Setting The C200H-DA001 converts 12-bit binary data (3-digit hexadecimal) from the PC to analog output in one of three ranges: 0 to 10 V, 1 to 5 V, or 4 to 20 mA. The C200H-DA001 can convert analog output signals in three ranges: 0 to 10 V, 1 to 5 V, or 4 to 20 mA. The range is set on pin 1 of the DIP switch as shown below. Pin 1 Input range OFF 1 to 5 V 4 to 20 mA ON 0 to 10 V If the 0 to 10 V setting is used, it must be used for all two outputs. The 1 to 5 V and 4 to 20 mA ranges can be used at the same time for different out- puts. Digital Output vs. Analog Input 10 V 0 0 V 0 1 V (4 mA) Output Digital value 0 V to 10 V Output (pin 1 ON) 1 V to 5 V and 4 mA to 20 mA Outputs (pin 1 OFF) 5 V (20 mA) Digital value Output 0FFF (4095) 0FFF (4095) 3-3-2 Output Limits The output limit function can be used to establish upper and lower limits for the output signal. The limits can be used to restrict the output for any of a number of possible reasons, e.g., to prevent unsuitable outputs from occurring even when incorrect data is set. This function can be used at the same time as the output limit alarm function. The upper and lower limits are preset as binary values in the DM area (lower limit in DM m and upper limit in DM m+1). The output will remain between the upper and lower limits as long as the output limit function is activated. Functions and Programming Section 3-3
  • 47. 40 If the output goes beyond either limit, an Output Limit Flag (bits 05 to 08 in IR n+3) will turn ON and the output will remain at the limit value Lower Limit Flag ON Output level Output limit upper level Output limit lower level Output remains at upper or lower limit Time Upper Limit Flag ON Use the following procedure to set upper and lower limits. 1, 2, 3... 1. Set the lower and upper limits in DM m and DM m+1. The setting range is between 0000 and 0FFF (binary data). Set the limits from the Programming Console. This data cannot be changed from the user’s program. Note Calculations of the desired limit can be made as shown in the follow- ing example. To set an upper limit of 8 V for a 0 to 10 V range setting, use the following equation and set the results (0CCC) in DM m+1: 8/10 x 0FFF = 0CCC 2. Turn power to the PC off then then back on or turn ON the Special I/O Unit Restart Bit allocated to the Unit (AR 0100 to AR 0109). 3. Turn ON the Output Limit ON Bit for the desired output: Output 1 Limit ON Bit: Bit 06 of IR n+2 Output 2 Limit ON Bit: Bit 07 of IR n+2 Functions and Programming Section 3-3
  • 48. 41 3-3-3 Output Limit Alarms This function activates an alarm if the output signal is outside of the range de- fined by the upper and lower limits preset in the DM area, but it does not alter the output level. It is possible to include a deadband, which delays the resetting of the alarm. ON OFF ON OFF Output limit alarm upper limit Output limit alarm lower limit Output Upper Limit Alarm Flag Output Lower Limit Alarm Flag Dead- band Dead- band Time Output level This function can be used at the same time as the output limit function. The output limit alarms turn ON and OFF according to the following conditions. Upper limit: ON: analog output ≥ output limit alarm upper limit OFF: analog output < output limit alarm upper limit – deadband width Lower limit: ON: analog output ≤ output limit alarm lower limit OFF: analog output > output limit alarm lower limit + deadband width When any of the Output Limit Alarm Flags turn ON, the ALARM indicator on the Unit will light and signals will be generated on external terminals A7, A8, B7, and B8 (refer to 3-1-3 Wiring for details). Use the following procedure to set upper and lower limit alarms. 1, 2, 3... 1. Set the lower and upper alarm limits in DM m+2 to DM m+4. The setting range is between 0000 and 0FFF (binary data). Set the limits from the Pro- gramming Console. This data cannot be changed from the user’s program. Note Calculations of the desired limit can be made as shown in the follow- ing example. To set an upper limit alarm at 4.75 V for a 1 to 5 V range setting, use the following equation and set the results (0F00) in DM m+1:(4.75 – 1)/(5 – 1) x 0FFF = 15/16 x 0FFF = 0F00 2. Turn power to the PC off then then back on or turn ON the Special I/O Unit Restart Bit allocated to the Unit (AR 0100 to AR 0109). 3. Turn ON the Output Alarm ON Bit for the desired output: Output 1 Alarm ON Bit: Bit 04 of IR n+2 Output 2 Alarm ON Bit: Bit 05 of IR n+2 Functions and Programming Section 3-3
  • 49. 42 3-3-4 Pulse Output The pulse output function can be used to create a 0 to 5 V pulse output for either output 1 or 2 in addition to the analog output. The pulse period and duty ratio (ON/OFF ratio) can be set for the pulse output. These settings can be made from the user program. 5 V 0 V ON OFF Amplitude Pulse period Duty ratio = ON time/pulse period Note The resolution of the duty ratio is 1/256. Use the following procedure to set a pulse output. 1, 2, 3... 1. Turn ON pin 3 of the DIP switch on the back of the Unit to select pulse output. 2. Turn OFF pin 2 to select output 1, or ON to select output 2. Both outputs can- not be pulse at the same time. 3. Set the pulse period in bits 00 to 02 of IR n+2 as shown below. Bis in IR n Period 00 01 02 0 0 0 1 s 1 0 0 2 s 0 1 0 5 s 1 1 0 10 s 0 0 1 20 s 4. Set the duty ratio (ON/OFF ratio) for the pulse output in IR n. Refer to 3-3-5 Data Setting Example and Programming Concepts for setting methods. Calculating Settings To set a duty ratio of 80% , set the results of the following calculation (0CCC) in IR n: 80/100 x 0FFF = 0CCC. If either the duty ratio or period is changed during operation, the output will not change until 1 full period has been completed. Data changed Pulse output calculation not changed until this point Functions and Programming Section 3-3
  • 50. 43 3-3-5 Data Setting Example and Programming Concepts Data Settings The following settings are used in this example. Data in the DM area is set using the SSS, a Programming Console, or another Peripheral Device. Turn power to the PC off then then back on or turn ON the Special I/O Unit Restart Bit allocated to the Unit (AR 0100 to AR 0109) after setting the data so that the data is read into the Analog Output Unit. Item Setting Unit number 0 (allocated words: IR 100 to IR 109 and DM 1000 to DM 1004) Item Output 1 Output 2 DM word for storing output data DM 0000 DM 0001 Lower limit output bit IR 00100 ––– Upper limit output bit IR 00101 ––– Lower limit alarm output terminal ––– A8 Upper limit alarm output terminal ––– B8 Details Item Output 1 Output 2 Output signal range 1 to 5 V 4 to 20 mA Output limit function ON OFF Limit alarm function OFF ON Item Actual value Setting Output limits Lower limit 1.25 V 0100 Upper limit 4.75 V 0F00 Alarm limits Lower limit 6 mA 0200 Upper limit 19 mA 0F00 Deadband 0.5 mA 0080 DM Area Settings DM word Data Setting DM 1000 0100 Output limit lower limit DM 1001 0F00 Output limit upper limit DM 1002 0200 Alarm lower limit DM 1003 0F00 Alarm upper limit DM 1004 0080 Deadband for alarm Programming The types of programming required to use an Analog Output Unit are described in this section. Refer to the operation manual for the C200H/C200HS for details on programming. Functions and Programming Section 3-3
  • 51. 44 Writing Output Data Output data can be written using instructions like MOV(21) and OUT. The follow- ing instruction move the binary contents of DM 0000 and DM 0001 to IR 100 and IR 101, causing the data to be converted to analog signals and to be sent to out- puts 1 and 2. MOV(21) DM 0000 100 Input condition MOV(21) DM 0001 101 Input condition Moves the binary contents of DM 0000 to IR 100, causing the data to be converted to analog signals and to be sent to output 1. Moves the binary contents of DM 0001 to IR 101, causing the data to be converted to analog signals and to be sent to output 2. Limiting Outputs This example assumes that the data settings given at the beginning of this sec- tion have already been made. The output will be limited to between 1.25 and 4.75 V when the following instruc- tions are executed. MOV(21) DM 0000 100 Input condition Moves the binary contents of DM 0000 to IR 100, causing the data to be converted to analog signals and to be sent to output 1. 10206 Input condition 00100 10305 00101 10306 Turns ON the Limit ON Bit for output 1. Turns ON output bit IR 00100 when the Lower Limit Flag turns ON. Turns ON output bit IR 00101 when the Upper Limit Flag turns ON. Lower Limit Flag Upper Limit Flag Monitoring Outputs This example assumes that the data settings given at the beginning of this sec- tion have already been made. Upper and lower limit alarms will be output as described below when the follow- ing instructions are executed. Upper limit alarm: ON when output reaches 19 mA until it drops to 18.5 mA Lower limit alarm: ON when output falls below 6 mA until it reaches 6.5 mA MOV(21) DM 0001 101 Input condition Moves the binary contents of DM 0001 to IR 101, causing the data to be converted to analog signals and to be sent to output 2. 10205 Input condition Turns ON the Alarm ON Bit for output 2. The alarm outputs can be wire externally using external terminals A8 and B8. The ALARM indicator on the Unit will light when any Alarm Flag is ON. Functions and Programming Section 3-3
  • 52. 45 Pulse Output This example shows how to set pulse outputs on output 1. The pulse output set- tings are given in the following table. Item Value Data setting Pulse output Duty 80% 0CCC in IR 100 Pulse period 2 s Turn ON IR 10200 1.6 s 2 s Duty = 80% (0CCC) Pulse period = 2 s (IR 10200 turned ON) 0.4 s 5 V 0 V Turn OFF pin 2 (specifying output 1) and turn ON pin 3 (enabling pulse output) on the back-panel DIP switch before starting. Execute the following instructions in the program. Pulse outputs will be made on output 1. MOV(21) #0CCC 100 Input condition Sets the duty ratio to 80%. Sets the period at 2 seconds. 10200 3-4 Troubleshooting When an error occurs, the contents are output to the SR and HR areas. The fol- lowing tables show the various errors that may occur, along with their probable causes and remedies. Unit error Probable causes and operations Possible remedies Setting error The data set in the DM area is wrong. In this case, the Setting Error Flag (IR n+3, bit 00) will be ON. Check the contents of the data. RUN indicator not lit The RUN indicator on the Unit is not lit even though power is turned on to the PC, and none of the errors described in this table are applicable. Replace the Unit. CPU error Probable causes and operations Possible remedies CPU waiting • The Special I/O Unit is defective. • The PC will not run. • Replace the Special I/O Unit. • The defective Unit should appear as $ signs only in the I/O table read opera- tion. Duplicated unit number The same number is assigned to more than one Special I/O Unit. In this case the PC will not run and SR25415 will turn ON. Do not assign the same number to more than one Unit. Use the I/O table read operation to display unit numbers. Special I/O Unit error An error has occurred in the refresh signal between the CPU and the Special I/O Unit. In this case, only the Special I/O Unit stops. SR 25415 is turned ON. Check AR 0000 to AR 0009 for the unit number of the Unit in error. After correcting the error, turn ON the proper bit in AR 0100 to AR 0109. If the error does not clear after initialization, replace the Unit. Detection When Errors Occur Troubleshooting Section 3-4
  • 53. 46 Special I/O Unit Error Detection Bit (SR) Bit Error Explanation Operation status 25415 Duplicated unit number One number is assigned to more than one Special I/O Unit. PC operation stops. Special I/O Unit error An error has occurred in the refresh signal between the CPU and the Special I/O Unit Operation stops only for the faulty Unit. Special I/O Unit Error Flags (AR) Bit Item Function AR 0000 Unit #0 Error Flag When one of the CPU errors described above h AR bi ON f h U i h hAR 0001 Unit #1 Error Flag occurs, the AR bit turns ON for the Unit where the error occurred AR 0002 Unit #2 Error Flag error occurred. AR 0003 Unit #3 Error Flag AR 0004 Unit #4 Error Flag AR 0005 Unit #5 Error Flag AR 0006 Unit #6 Error Flag AR 0007 Unit #7 Error Flag AR 0008 Unit #8 Error Flag AR 0009 Unit #9 Error Flag Special I/O Unit Restart Bits (AR) Turn ON the Special I/O Unit Restart Bits in the following circumstances: • After DM data has been set or replaced. • To restart Unit operation after clearing an error. The same effect can be achieved by turning off the power to the PC and then turning it on again. Bit Item Function AR 0100 Unit #0 Restart Bit Special I/O Units can be restarted by turning the di bi ONAR 0101 Unit #1 Restart Bit y g corresponding bits ON. AR 0102 Unit #2 Restart Bit AR 0103 Unit #3 Restart Bit AR 0104 Unit #4 Restart Bit AR 0105 Unit #5 Restart Bit AR 0106 Unit #6 Restart Bit AR 0107 Unit #7 Restart Bit AR 0108 Unit #8 Restart Bit AR 0109 Unit #9 Restart Bit Troubleshooting Section 3-4
  • 54. 47 Appendix A Standard Models Analog Output Unit PC Model C200H/C200HS C200H-DA001 Analog Input Unit PC Model C200H/C200HS C200H-AD001
  • 55. 49 Appendix B Specifications C200H-AD001 Analog Input Unit General Specifications All general specifications of the C200H-AD001 Analog Input Unit conform to those of the C Series. Performance Specifications Item Specifications Number of analog inputs 4 max. Input signal range (note 1) Voltage input 1 to 5 V 0 to 10 V Current input 4 to 20 mA Max. input signal (note 2) Voltage input 15 V Current input 30 mA Input impedance Voltage input 1 MΩ min. Current input 250 Ω (rated value) Resolution 1/4000 max. (full scale) Converted data 12-bit binary (0000 to 0FA0) Accuracy (note 3) 25°C 0.5% (full scale, including linearity error) 0° to 55°C 1.0% (full scale, including linearity error) Conversion time (note 4) 2.5 ms max./point Isolation Between input terminals and PC: photocoupler Between input terminals: none External connections 19-pin terminal block (removable) Power consumption 550 mA max. at 5 VDC Dimensions 34.5 x 130 x 128 (W x H x D) mm (see last page of this appendix) Weight 450 g max. Note 1. All points on the same Unit must use the same input range except for the 1 to 5-V and 4 to 20-mA ranges, which can be specified by point. 2. Operation in ranges beyond the maximum input signals will damage the Unit. Operate within the ranges listed above. 3. The accuracy is given for full scale (4,000). For example, an accuracy of 5% means a maximum error of 20 (BCD). 4. This is the time it takes for a full range input signal to be converted and to be stored in the memory of the Unit. It takes at least one scan before the converted data is read by the CPU.
  • 56. Appendix BSpecifications 50 Input Specifications 0 V 1 V (4 mA) 5 V (20 mA) 10 V 0 to 10 V 1 to 5 v/4 to 20 mA Converted output data (Top: Binary Parentheses: BCD) Input signal Note 1. All points on the same Unit must use the same input range except for the 1 to 5-V and 4 to 20-mA ranges, which can be specified by point. Refer to 2-1-2 Switch Settings for setting methods. 2. The maximum or minimum output value will be maintained if the input signals goes beyond the maxi- mum (10 V, 5V, or 20 mA) or minimum (0 V, 1V, or 4 mA).
  • 57. Appendix BSpecifications 51 C200H-DA001 Analog Output Unit All general specifications of the C200H-DA001 Analog Output Unit conform to those of the C Series. Item Specifications Number of analog outputs 2 Output signal range (note 1) Voltage outputs 1 to 5 V 0 to 10 V Current outputs 4 to 20 mA Max. output impedance Voltage output: 0.5 Ω Max. output current Voltage output: 15 mA Max. load resistance Current output: 400 Ω Resolution 1/4095 max. (full scale) Set data 12-bit binary (0000 to 0FFF) Accuracy (note 2) 25°C ±0.5% max. (full scale, including linearity error) 0° to 55°C ±1.0% max. (full scale, including linearity error) Conversion time (note 3) 2.5 ms max./point Isolation Between output terminals and PC: photocoupler Between output terminals: none External connections 19-pin terminal block (removable) Power consumption 650 mA max. at 5 VDC Dimensions 34.5 x 130 x 128 (W x H x D) mm (see last page of this appendix) Weight 450 g max. Note 1. All points on the same Unit must use the same output range except for the 1 to 5-V and 4 to 20-mA ranges, which can be specified by point. 2. The accuracy is given for full scale (4,095). For example, an accuracy of ±5% means a maximum error of 20 (BCD). 3. This is the time from after the data has been written to the Unit until an analog output appears. The output data will not be correct if output data is rewritten faster than it can be output.
  • 58. Appendix BSpecifications 52 Output Specifications Digital input data (Top: Binary Parentheses: BCD) Output signal 1 V (4 mA) 5 V (20 mA) 10 V 0 V 0 to 10 V 1 to 5 V/4 to 20 mA Note All points on the same Unit must use the same output range except for the 1 to 5-V and 4 to 20-mA ranges, which can be specified by point. Refer to 3-1-2 Switch Settings for setting methods. Dimensions (Unit: mm) The dimensions are the same for both the C200H-AD001 and C200H-DA001. Backplane
  • 59. 53 Appendix C Data Memory Coding Sheets C200H-AD001 Analog Input Unit C200H-AD001 Unit number: DM1_00 to DM1_11 DM address (rightmost digits) Data Usage 00 Scaling lower limit for input 1 01 Scaling upper limit for input 1 02 Scaling lower limit for input 2 03 Scaling upper limit for input 2 04 Scaling lower limit for input 3 05 Scaling upper limit for input 3 06 Scaling lower limit for input 3 07 Scaling upper limit for input 4 08 Number of terms for mean value for input 1 09 Number of terms for mean value for input 2 10 Number of terms for mean value for input 3 11 Number of terms for mean value for input 4
  • 60. Appendix CData Memory Coding Sheets 54 C200H-DA001 Analog Output Unit C200H-DA001 Unit number: DM1_00 to DM1_04 DM address (rightmost digits) Data Usage 00 Lower output limit 01 Upper output limit 02 Lower alarm limit 03 Upper alarm limit 04 Alarm deadband
  • 61. 55 Index A A/D conversion data, 16 analog input vs. digital output, 19 B block diagram C200HĆAD001, 9 C200HĆDA001, 31 C configurations, system, 4 considerations, 5 D data memory coding sheet, 53 data reading mode, setting, 11 digital output vs. analog input, 39 dimensions, 52 disconnection detection, 23 DM area allocation C200HĆAD001, 15 , 17 C200HĆDA001, 36 , 38 DM area contents, C200HĆAD001, 18 F field devices, 3 I indicators C200HĆAD001, 8 C200HĆDA001, 30 input disconnection detection function, 23 input signal range, setting, 11 , 19 inputs number, setting, 10 signal range, setting, 11 , 19 IR area allocation C200HĆAD001, 15 , 16 C200HĆDA001, 36 , 37 IR area contents C200HĆAD001, 16 C200HĆDA001, 37 M mean function, 21 models, 47 N number of inputs, setting, 10 O output limit alarm function, 41 output limit function, 39 output signal range, setting, 32 , 39 outputs, signal range, setting, 32 , 39 P peak value function, 22 precautions, xi , 2 , 5 applications, xiii general, xii operating environment, xiii safety, xii programming examples C200HĆAD001, 24 C200HĆDA001, 43 pulse output function, 42 pulse output line, setting, 33 pulse outputs, setting, 33 S scaling function, 20 Slave Racks, 5 specifications, 49 square root function, 19 switches C200HĆAD001, 10 C200HĆDA001, 32 T troubleshooting C200HĆAD001, 26 C200HĆDA001, 45 U unit number, setting, Analog Input Unit, 10 unit numbers, setting C200HĆAD001, 10 C200HĆDA001, 32 Units, number, 5 W wiring C200HĆAD001, 11 C200HĆDA001, 33