AutomationDirect DL305 User Manual

Page 1
Errata Sheet
This Errata Sheet contains corrections or changes made after the publication of this manual.
Product Family: DL305
Manual Number D3-ANLG-M
Revision and Date 3rd Edition, February 2003
Changes to Chapter 2. D3-04AD 4-Channel Analog Input
This module is no longer available. Please consider the F3-08AD-1 or F3-04ADS as a replacement
Changes to Chapter 3. F3-04ADS 4-Channel Isolated Analog Input
Page 3-3. Setting the Module Jumpers; Jumper Locations
The PC board was redesigned and the locations of jumpers J10, J11, J12, and J13 changed. The jumpers were rotated 90 degrees and are closer to the back of the module than the original layout. The functionality of the jumpers did not change. The orientaton of the 5 pairs of pins for each channel is the same.
The photo on the right shows the new design, while the one on the left shows the original PC board. The photo on the left matches the drawing shown on page 3-3.
Original PC Board Layout
(Manufactured prior to mid-2012)
The redesigned PC boards are in modules manufactured starting in mid-2012.O
Redesigned PC Board Layout
(Manufactured after mid-2012)
Date: September 2018
Page 1 of 2
Page 2
Errata Sheet
Changes to Chapter 5. F3–16AD 16-Channel Analog Input
Page 5-9. Wiring Diagram
The wiring diagram shows “current transmitters” CH 4, 7, 12, and 16. The diagram should show external 24VDC power supplies for these current transmitters. A 2-wire current transmitter example of this has been added to the diagram below for CH12.
Also, CH16 has been changed to show a 4-wire current transmitter example.
Wiring Diagram
Note 1: Terminate all shields at their respective signal source. Note 2: Jumpers for CH4, 7, 12 and 16 are installed for current input.
2-Wire Current Transmitter Example
+
24VDC Supply
-
4-Wire Current Transmitter Example
+
24VDC Supply
Voltage
Transmitter
Voltage
Transmitter
Voltage
Transmitter
Current
Transmitter
Voltage
Transmitter
Voltage
Transmitter
Current
Transmitter
Voltage
Transmitter
Voltage
Transmitter
Voltage
Transmitter
Voltage
Transmitter
2-Wire Current Transmitter
Voltage
Transmitter
Voltage
Transmitter
Voltage
Transmitter
4-Wire Current Transmitter
+
+
ANALOG INPUT
CH
1
CH
3
CH
5
CH
7
CH
9
CH
11
CH
13
CH
15
C O M
F3–16AD
C O M
CH
2
CH
4
CH
6
CH
8
CH
10
CH
12
CH
14
CH
16
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
All resistors are 500
Page 2 of 2
Page 3
DL305
Analog I/O Modules
Manual Number D3–ANLG-M
Page 4
WARNING
Thank you for purchasing automation equipment from Automationdirect.com. We want your new DirectLOGIC automation equipment to operate safely. Anyone who installs or uses this equipment should read this publication (and any other relevant publications) before installing or operating the equipment.
To minimize the risk of potential safety problems, you should follow all applicable local and national codes that regulate the installation and operation of your equipment. These codes vary from area to area and usually change with time. It is your responsibility to determine which codes should be followed, and to verify that the equipment, installation, and operation are in compliance with the latest revision of these codes.
At a minimum, you should follow all applicable sections of the National Fire Code, National Electrical Code, and the codes of the National Electrical Manufacturer’s Association (NEMA). There may be local regulatory or government offices that can also help determine which codes and standards are necessary for safe installation and operation.
Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and standards. We do not guarantee the products described in this publication are suitable for your particular application, nor do we assume any responsibility for your product design, installation, or operation.
Our products are not fault–tolerant and are not designed, manufactured or intended for use or resale as on–line control equipment in hazardous environments requiring fail–safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in which the failure of the product could lead directly to death, personal injury, or severe physical or environmental damage (”High Risk Activities”). Automationdirect.com specifically disclaims any expressed or implied warranty of fitness for High Risk Activities.
For additional warranty and safety information, see the Terms and Conditions section of our Desk Reference. If you have any questions concerning the installation or operation of this equipment, or if you need additional information, please call us at 770–844–4200.
This publication is based on information that was available at the time it was printed. At Automationdirect.com we constantly strive to improve our products and services, so we reserve the right to make changes to the products and/or publications at any time without notice and without any obligation. This publication may also discuss features that may not be available in certain revisions of the product.
Trademarks
This publication may contain references to products produced and/or offered by other companies. The product and company names may be trademarked and are the sole property of their respective owners. Automationdirect.com disclaims any proprietary interest in the marks and names of others.
Copyright 2003, Automationdirect.com Incorporated
All Rights Reserved
No part of this manual shall be copied, reproduced, or transmitted in any way without the prior, written consent of Automationdirect.com Incorporated. Automationdirect.com retains the exclusive rights to all information included in this document.
Page 5
AVERTISSEMENT
Nous vous remercions d’avoir acheté l’équipement d’automatisation de Automationdirect.comE. Nous tenons à ce que votre nouvel équipement d’automatisation DirectLOGIC fonctionne en toute sécurité. Toute personne qui installe ou utilise cet équipement doit lire la présente publication (et toutes les autres publications pertinentes) avant de l’installer ou de l’utiliser.
Afin de réduire au minimum le risque d’éventuels problèmes de sécurité, vous devez respecter tous les codes locaux et nationaux applicables régissant l’installation et le fonctionnement de votre équipement. Ces codes diffèrent d’une région à l’autre et, habituellement, évoluent au fil du temps. Il vous incombe de déterminer les codes à respecter et de vous assurer que l’équipement, l’installation et le fonctionnement sont conformes aux exigences de la version la plus récente de ces codes.
Vous devez, à tout le moins, respecter toutes les sections applicables du Code national de prévention des incendies, du Code national de l’électricité et des codes de la National Electrical Manufacturer’s Association (NEMA). Des organismes de réglementation ou des services gouvernementaux locaux peuvent également vous aider à déterminer les codes ainsi que les normes à respecter pour assurer une installation et un fonctionnement sûrs.
L’omission de respecter la totalité des codes et des normes applicables peut entraîner des dommages à l’équipement ou causer de graves blessures au personnel. Nous ne garantissons pas que les produits décrits dans cette publication conviennent à votre application particulière et nous n’assumons aucune responsabilité à l’égard de la conception, de l’installation ou du fonctionnement de votre produit.
Nos produits ne sont pas insensibles aux défaillances et ne sont ni conçus ni fabriqués pour l’utilisation ou la revente en tant qu’équipement de commande en ligne dans des environnements dangereux nécessitant une sécurité absolue, par exemple, l’exploitation d’installations nucléaires, les systèmes de navigation aérienne ou de communication, le contrôle de la circulation aérienne, les équipements de survie ou les systèmes d’armes, pour lesquels la défaillance du produit peut provoquer la mort, des blessures corporelles ou de graves dommages matériels ou environnementaux (”activités à risque élevé”). La société Automationdirect.comE nie toute garantie expresse ou implicite d’aptitude à l’emploi en ce qui a trait aux activités à risque élevé.
Pour des renseignements additionnels touchant la garantie et la sécurité, veuillez consulter la section Modalités et conditions de notre documentation. Si vous avez des questions au sujet de l’installation ou du fonctionnement de cet équipement, ou encore si vous avez besoin de renseignements supplémentaires, n’hésitez pas à nous téléphoner au 770–844–4200.
Cette publication s’appuie sur l’information qui était disponible au moment de l’impression. À la société Automationdirect.comE, nous nous efforçons constamment d’améliorer nos produits et services. C’est pourquoi nous nous réservons le droit d’apporter des modifications aux produits ou aux publications en tout temps, sans préavis ni quelque obligation que ce soit. La présente publication peut aussi porter sur des caractéristiques susceptibles de ne pas être offertes dans certaines versions révisées du produit.
La présente publication peut contenir des références à des produits fabriqués ou offerts par d’autres entreprises. Les désignations des produits et des entreprises peuvent être des marques de commerce et appartiennent exclusivement à leurs propriétaires respectifs. Automationdirect.comE nie tout intérêt dans les autres marques et désignations.
Copyright 2003, Automationdirect.comE Incorporated
Nulle partie de ce manuel ne doit être copiée, reproduite ou transmise de quelque façon que ce soit sans le consentement préalable écrit de la société Automationdirect.comE Incorporated. Automationdirect.comE conserve les droits exclusifs à l’égard de tous les renseignements contenus dans le présent document.
Marques de commerce
Tous droits réservés
Page 6
1
Manual Revisions
If you contact us in reference to this manual, be sure to include the revision number.
Title: DL305 Analog I/O Modules, 2nd Edition, Rev. D Manual Number: D3–ANLG–M
Issue Date Description of Changes
Original 1/94 Original Issue 2nd Edition 3/96 Corrections Rev. A 4/96 Minor corrections Rev. B 6/98 Downsized to spiral
Corrected sequencing examples
Rev. C 11/99 Added example programs for the D3–350
CPU.
3rd Edition 2/03 Added pointer method and additional
D3–350 programming examples
Page 7
1
Table of Contents
Chapter 1: Getting Started
Introduction 1–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Purpose of this manual 1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Who should read this manual 1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How this manual is organized 1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supplemental Manuals 1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL305 Analog Components 1–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL305 Analog I/O 1–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Thermocouple Input 1–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Temperature Input 1–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Physical Characteristics 1–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Appropriate Module 1–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input 1–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Output 1–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Input 1–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Made Easy – Four Simple Steps 1–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Terminology 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channels per Module 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Ranges 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Resolution 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Type 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input Impedance 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conversion Method 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conversion Time 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Linearity Error and Total Tolerance (Relative Accuracy) 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accuracy vs. Temperature 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LED Display 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Points Required 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
External Power Source 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Base Power Required 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operating Temperature 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Relative Humidity 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terminal Type 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Weight 1–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Output Module Terminology 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channels per Module 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Ranges 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Resolution 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Current 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output Impedance 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load Impedance 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conversion Time 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accuracy 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accuracy vs. Temperature 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LED Display 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 8
ii
Table of Contents
External Power Source 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Base Power Required 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operating Temperature 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Relative Humidity 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terminal Type 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Weight 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Points Required 1–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 2: D3–04AD 4-Channel Analog Input
Module Specifications 2–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Configuration Requirements 2–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 2–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Custom Input Ranges 2–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Current Loop Transmitter Impedance 2–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 2–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 2–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
All Channel Scan Output 2–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single Channel Scan Outputs 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Active Channel Selection Inputs 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 2–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 2–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 2–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single Channel on Every Scan 2–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Multiple Channels over Alternating Scans 2–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single or Multiple Channels 2–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data 2–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 2–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 3: F3–04ADS 4-Channel Isolated Analog Input
Module Specifications 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Configuration Requirements 3–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 3–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jumper Locations 3–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Number of Channels 3–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting Input Signal Ranges 3–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Custom Input Ranges 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Current Loop Transmitter Impedance 3–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 3–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 3–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 9
Table of Contents
Module Operation 3–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 3–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 3–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Active Channel Selection Inputs 3–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 3–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 3–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 3–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single Channel on Every Scan 3–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Multiple Channels over Alternating Scans 3–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data 3–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4: F3–08AD–1 8-Channel Analog Input
Module Specifications 4–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Configuration Requirements 4–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 4–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jumper Locations 4–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Number of Channels 4–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Current Loop Transmitter Impedance 4–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 4–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 4–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 4–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 4–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 4–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Active Channel Indication Inputs 4–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 4–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 4–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 4–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single Channel on Every Scan 4–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Multiple Channels over Alternating Scans 4–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Multiple Channels over Alternating Scans on a DL350 4–11. . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data 4–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data on a DL350 4–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 4–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iii
Chapter 5: F3–16AD 16-Channel Analog Input
Module Specifications 5–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Configuration Requirements 5–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 5–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jumper Locations 5–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Number of Channels 5–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting Input Signal Ranges 5–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Gain Jumpers 5–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Variable Gain Adjustment 5–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 10
iv
Table of Contents
Connecting the Field Wiring 5–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 5–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 5–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Custom Input Ranges 5–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Current Loop Transmitter Impedance 5–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 5–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 5–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 5–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 5–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 5–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Active Channel Indicator Inputs 5–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 5–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 5–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 5–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Program 5–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Program for a DL350 with a Conventional Base 5–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Program for a DL350 with a D3–XX–1 Base 5–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data 5–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data on a DL350 with a Conventional Base 5–24. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Broken Transmitter Detection 5–25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 5–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 6: D3–02DA 2–Channel Analog Output
Module Specifications 6–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Output Configuration Requirements 6–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 6–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 6–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 6–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load Requirements 6–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 6–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 6–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 6–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 6–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 6–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 6–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 6–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 6–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calculating the Digital Value 6–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sending the Same Data to Both Channels 6–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sending Specific Data to Each Channel 6–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 6–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 7: F3–04DA–1 4-Channel Analog Output
Module Specifications 7–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Output Configuration Requirements 7–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 7–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jumper Locations 7–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 11
Table of Contents
Selecting Output Signal Ranges 7–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 7–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 7–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 7–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load Requirements 7–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 7–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 7–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 7–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 7–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 7–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Selection Inputs 7–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 7–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 7–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 7–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calculating the Digital Value 7–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sending Data to a Single Channel 7–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequencing the Channel Updates 7–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequencing Example 7–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 7–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
v
Chapter 8: F3–04DAS 4-Channel Isolated Analog Output
Module Specifications 8–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Output Configuration Requirements 8–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 8–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jumper Locations 8–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting Input Signal Ranges 8–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Output Signal Ranges 8–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 8–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 8–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 8–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Load Requirements 8–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 8–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 8–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Combining Voltage Outputs 8–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Combining Current Outputs 8–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 8–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 8–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 8–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Selection Inputs 8–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 8–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 8–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 8–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calculating the Digital Value 8–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sending Data to a Single Channel 8–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sequencing the Channel Updates 8–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog and Digital Value Conversions 8–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 12
vi
Table of Contents
Chapter 9: F3–08THM–n 8-Channel Thermocouple Input
Introduction 9–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Automatic Conversion 9–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Features 9–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostic Features 9–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Specifications 9–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Configuration Requirements 9–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Switches 9–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jumper Locations 9–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting °F or °C Operation 9–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting 0–4095 Operation 9–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 9–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 9–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 9–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 9–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module Operation 9–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 9–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 9–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Active Channel Indicator Inputs 9–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Temperature Sign Bit 9–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 9–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Temperature Input Resolution 9–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Millivolt Input Resolution 9–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 9–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 9–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Automatic Temperature Conversion 9–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Sign Bit 9–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Multiple Channels on a DL350 with a D3–XX–1 Base 9–12. . . . . . . . . . . . . . . . . . . . . . . . . . .
Scaling the Input Data 9–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Temperature and Digital Value Conversions 9–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Millivolt and Digital Value Conversions 9–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 10: F3–08TEMP 8-Channel Temperature Input
Module Specifications 10–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compatible Temperature Probe Specifications 10–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Input Configuration Requirements 10–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting the Module Jumpers 10–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Factory Settings 10–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting the Number of Channels 10–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting the Field Wiring 10–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Guidelines 10–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Power Supply Requirements 10–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Removable Connector 10–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring Diagram 10–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 13
Table of Contents
Module Operation 10–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Channel Scanning Sequence 10–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Understanding the I/O Assignments 10–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Active Channel Indicator Inputs 10–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog Data Bits 10–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Temperature Input Resolution 10–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing the Control Program 10–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Identifying the Data Locations 10–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading the Digital Value 10–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Converting the Data to Temperature 10–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Temperatures Below Zero 10–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storing the Temperature 10–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Temperatures on a DL350 with a D3–XX–1 Base 10–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Temperature and Digital Value Conversions 10–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A: DL305 Data Types and Memory Map
DL330 Memory Map A–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vii
DL330P Memory Map A–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL340 Memory Map A–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Point Bit Map A–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Relay Bit Map A–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Relays A–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Registers A–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 System V–Memory A–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 Comm Port 2 Control Relays A–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 Memory Map A–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 X Input/ Y Output Bit Map A–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 Control Relay Bit Map A–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 Staget Control / Status Bit Map A–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DL350 Timer and Counter Status Bit Maps A–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page 14
Page 15
Getting Started
In This Chapter. . . .
Ċ Introduction Ċ Physical Characteristics Ċ Analog Input Terminology Ċ Analog Output Module Terminology
1
1
Ċ Selecting the Appropriate Module Ċ Analog Made Easy - Four Simple Steps
Page 16
1–2
Introduction
Getting Started
Purpose of this manual
Who should read
Getting Started
this manual
Supplemental Manuals
Technical Support
This manual will show you how to select and install analog input and analog output modules. It also shows several ways to use the analog data in your PLC program.
If you understand the DL305 oand DL350 instruction sets and system setup requirements, this manual will provide all the information you need to install and use the analog modules. This manual is not intended to be a tutorial on analog signal theory, but rather, a user reference manual for the DL305 Analog I/O modules.
If you have purchased operator interfaces or DirectSOFT supplement this manual with the manuals that are written for these products.
We realize that even though we strive to be the best, the information may be arranged in such a way you cannot find what you are looking for. First, check these resources for help in locating the information:
S Table of Contents – chapter and section listing of contents, in the front
of this manual
S Quick Guide to Contents – chapter summary listing on the next page S Appendices – reference material for key topics, near the end of this
manual
S Index – alphabetical listing of key words, at the end of this manual
You can also check our online resources for the latest product support information:
S Internet – the address of our Web site is http://www.plcdirect.com S Bulletin Board Service(BBS) – call (770)–844–4209
, you will need to
If you still need assistance, please call us at 800–633–0405. Our technical support group is glad to work with you in answering your questions. They are available Monday through Friday from 9:00 A.M. to 6:00 P.M. Eastern Standard Time. If you have a comment or question about any of our products, services, or manuals, please fill out and return the ‘Suggestions’ card that was shipped with this manual.
Page 17
Getting Started
1–3
Chapters
1
2 3 4
5 6
The main contents of this manual are organized into the following nine chapters:
introduces the various DL305 Analog modules. Also includes
Getting Started
D3–04AD
F3–04ADS
F3–08AD
F3–16AD
D3–02DA
tips on getting started and how to design a successful system.
explains the 4 channel analog input module. Provides ladder logic examples for all bases and CPUs.
explains the 4 channel isolated analog input module. Provides ladder logic examples for all bases and CPUs.
explains the 8 channel analog input module. Provides ladder logic examples for all bases and CPUs.
explains the 16 channel analog input module. Provides ladder logic examples for all bases and CPUs.
explains the 2 channel analog output module. Provides ladder logic examples for all bases and CPUs.
Getting Started
7 8
9
10
Appendices
A
B
F3–04DA–1
F3–04DAS
F3–08THM–n
F3–08TEMP
Additional reference information on the DL305 analog modules is in the following five appendices:
Reference
Appendices
explains the 4 channel analog output module. Provides ladder logic examples for all bases and CPUs.
explains the 4 channel isolated analog output module. Provides ladder logic examples for all bases and CPUs.
explains the 8 channel Thermocouple input module. Provides ladder logic examples for all bases and CPUs.
explains the 8 channel temperature input module. Provides ladder logic examples for all bases and CPUs.
S A – DL305C Data Types and Memory Map S B – DL350 Data Types and Memory Map
Page 18
1–4
DL305 Analog Components
Getting Started
Getting Started
There are a wide variety of Analog I/O modules available for use with the DL305 family of automation products. These modules are well suited for monitoring and controlling various types of analog signals such as pressure, temperature, etc. There are modules specifically designed for thermocouple and temperature input requirements. No complex programming or module setup software is required. Simply install the module, add a few lines to your RLL program, and you’re ready!
Read the input data
DL305 Analog I/O
Thermocouple Input
Temperature Input
Store input data
Calculate output values
Write output values
Data OUT
Data IN
The following is a list of the types of analog input and analog output modules that are available.
S D3–04AD — 4 channel input, 8-bit resolution S F3–04ADS — 4 channel isolated input, 12-bit resolution S F3–08AD — 8 channel input, 12-bit resolution S F3–16AD — 16 channel input, 12-bit resolution S D3–02DA — 2 channel output, 8-bit resolution S F3–04DA–1 — 4 channel output, 12-bit resolution S F3–04DAS — 4 channel isolated output, 12-bit resolution
There is also an 8 channel thermocouple input module that converts type E, J, K, R, S, or T thermocouple signals into direct temperature readings. This module can also convert other types of low-level (millivolt range) signals into digital values. The part number for this module is F3–08THM–n, where n is the type of thermocouple. If you want a millivolt input version, simply replace n with a 1 (0–50 mV) or a 2 (0 – 100mV). All versions offer 12-bit resolution.
The Temperature Input module provides 8 channels for direct temperature measurement in either Celsius or Fahrenheit from –55_ to 150_ C. Order part number F3–08TEMP. This module offers 12-bit resolution.
Page 19
Getting Started
1–5
Physical Characteristics
The DL305 Analog Modules provide many features that make the modules easier to use. For example, the terminal block can be removed making wiring a simple task. You can also use our DINnector product line to organize your wiring even further (see our catalog for details).
Some of the modules provide LEDs used to determine the signal level. Since there are not enough LEDs to show all of the channels at once, there is a small switch underneath the terminal cover that allows you to select the channel for monitoring. Not all of the modules have this feature.
Most of the modules also have jumpers that can be set to select between the various types of signals. Each chapter will show how to set these jumpers for the selections you need.
Squeeze Tab
Squeeze Tab
ANALOG OUTPUT
F3–04DA–1
C O M
+I
+I
CH1
CH2
–I
–I
+I
+I
CH3
CH4
–I
–I
+V
+V
CH1
CH2
–V
–V
+V
CH3
+V
–V
CH4
–V
C O M
Getting Started
Page 20
1–6
Selecting the Appropriate Module
Getting Started
Analog Input
Specification D3–04AD F3–04ADS F3–08AD F3–16AD
Channels 4 4 8 16
Getting Started
The following tables provide a condensed version of the information you need to select the appropriate module. The most important thing is to simply determine the number of channels required and the signal ranges that must be supported. Once you’ve determined these parameters, look in the specific chapter for the selected module to determine the installation and operation requirements.
Input Ranges 1 – 5V
4 – 20 mA
Resolution 8 bit (1 in 256) 12 bit (1 in 4096) 12 bit (1 in 4096) 12 bit (1 in 4096) Channel
Isolation Input Type Differential Differential Single ended Single ended Maximum
Inaccuracy at 77 °F (25 °C)
See Chapter . . . 2 3 4 5
1
– resolution is reduced with 4–20 mA signals. You should use the F3–08AD if the primary
application requires 4–20 mA signals.
Non-isolated (one common)
1% "0.3% 0.35% 0.25% voltage
0 – 5V 1 – 5V 0 – 10V
"5V "10V
0 – 20mA 4 – 20mA
Isolated Non-isolated
4 – 20mA 0 – 5V
(one common)
1 – 5V 0 – 10V
"5V "10V
0 – 20mA 4 – 20mA
Non-isolated (one common)
1.25% current
1
Page 21
Getting Started
Analog Output
Specification D3–02DA FACTS F3–04DA–1 FACTS F3–04DAS
Channels 2 4 4
1–7
Getting Started
Output Ranges 1 – 10VDC
4 – 20 mA
Resolution 8 bit (1 in 256) 12 bit (1 in 4096) 12 bit (1 in 4096) Channel Isolation Non-isolated
(one common) Output Type Single ended Single ended Differential Maximum
Inaccuracy at 77 °F (25 °C)
See Chapter . . . . 6 7 8
Special Input
Specification F3–08TEMP FACTS F4–04DA
Channels 8, Temperature Input 8, Thermocouple Input Input Ranges 0 – 1mA
Resolution 12 bit (1 in 4096) 12 bit (1 in 4096)
"0.4% "0.2% voltage
AD590 input types
0 – 5V 0 –10V 4 – 12mA 4 – 20mA
Non-isolated (one common)
"0.6% current
0 – 5V 0 – 10V
"5V "10V
4 – 20mA
Isolated
"0.8%
E: –270/1000 _C, –450/1832 _F J: –210/760 _C, –350/1390 _F K: –270/1370 _C, –450/2500 _F R: 0/1768 _C, –32/3214 _F S: 0/1768 _C, –32/3214 _F T: –270/400 _C, –450/752 _F 50mV: 0 – 50 mV 100mV: 0–100 mV
Channel Isolation Non-isolated Non-isolated Input Type Single ended Differential Maximum Inaccuracy at
77 °F (25 °C)
See Chapter . . . . 10 9
0.25% 0.35%
Page 22
1–8
Analog Made Easy – Four Simple Steps
Getting Started
Getting Started
Once you’ve selected the appropriate module, use the chapter that describes the module and complete the following steps.
STEP 1. Take a minute to review the
detailed specifications to make sure the module meets your application requirements.
STEP 2. Set the module switches and/or
jumpers to select:
S number of channels S the operating ranges
(voltage or current)
Note, some of the modules may not have switches.
STEP 3. Connect the field wiring to the
module connector.
STEP 4. Review the module operating
characteristics and write the control program.
Read the input data
Store input data
Calculate output values
Write output values
Page 23
Getting Started
1–9
Analog Input Terminology
We use several different terms t h r oughout the rest of this manual. You don’t have to be an expert on analog terms to use the products, but it may help make it easier to select the appropriate modules if you take a few minutes to review these definitions.
Channels per Module
Input Ranges
Resolution
Input Type
Input Impedance
Conversion Method
Conversion Time
The number of analog channels or points available in the module to connect to field devices.
The input ranges in voltage and/or current that the module will operate properly within.
The number of binary weighted bits available on the digital side of the module for use in converting the analog value to a digital value.
Specifies if the module accepts single ended, bipolar or differential input signals.
The input impedance of the module using a voltage or current input signal.
The method the module uses to convert the analog signal to a digital value.
The amount of time required to complete the analog to digital conversion.
Getting Started
Linearity Error and Total Tolerance (Relative Accuracy)
Accuracy vs. Temperature
LED Display
I/O Points Required
External Power Source
Base Power Required
Operating Temperature
Relative Humidity
Terminal Type
The linearity and accuracy of the digital representation over the entire input range.
The effect of temperature on the accuracy of the module.
LED indicators on the module
The number of I/O points the CPU must dedicate to the module.
Some modules require a separate 24VDC power source. The 24VDC output supply at the local or expansion base can be used as long as you do not exceed the current rating.
The amount of base current required by the module. Use this value in your power budget calculations.
The minimum and maximum temperatures the module will operate.
The minimum and maximum humidity the module will operate.
Indicates whether the terminal type is a removable or non-removable connector or a terminal.
Weight
The weight of the module.
Page 24
1–10
Analog Output Module Terminology
Getting Started
Channels per Module
Output Ranges
Getting Started
Resolution
Output Current
Output Impedance
Load Impedance
Conversion Time
Accuracy
Accuracy vs. Temperature
The number of analog channels or points available in the module to connect to field devices.
The output ranges in voltage and/or current modes the module will operate properly within.
The number of binary weighted bits available on the digital side of the module for use in converting the digital value to a analog signal.
The maximum current the module will drive using a voltage output signal. The output impedance of the module using a voltage output signal. The minimum and maximum resistance the module can drive using a current output
signal. The amount of time required to complete the digital to analog conversion. The linearity and calibrated accuracy of the digital representation over the entire
output range. The effect of temperature on the accuracy of the module.
LED Display
External Power Source
Base Power Required
Operating Temperature
Relative Humidity
Terminal Type
Weight
I/O Points Required
LED indicators on the module Some modules require a separate 24VDC power source. The 24VDC output supply
at the local or expansion base can be used as long as you do not exceed the current rating.
The amount of base current required by the module. Use this value in your power budget calculations.
The minimum and maximum temperatures the module will operate.
The minimum and maximum humidity the module will operate. Indicates whether the terminal type is a removable or non-removable connector or a
terminal. The weight of the module. The number of I/O points the CPU must dedicate to the module.
Page 25
D3–04AD 4-Channel Analog Input
In This Chapter. . . .
Ċ Module Specifications Ċ Setting the Module Jumpers Ċ Connecting the Field Wiring Ċ Module Operation
1
2
Ċ Writing the Control Program
Page 26
2–2
D3–04AD 4-Channel Analog Input
Module Specifications
The following table provides the specifications for the D3–04AD Analog Input Module. Review these specifications to make sure the module meets your application requirements.
D3–04AD
4-Channel Analog Input
Number of Channels Input Ranges 1 – 5V, 4 – 20 mA Resolution 8 bit (1 in 256) Channel Isolation Non-isolated (one common) Input Type Differential or Single ended Input Impedance 1 MW minimum, voltage
Absolute Maximum Ratings 0 – +10V maximum, voltage
Linearity "0.8% maximum Accuracy vs. Temperature Maximim Inaccuracy Conversion Method Sequential comparison Conversion Time 2 ms maximum Power Budget Requirement 55 mA @ 9V External Power Supply 24 VDC, "10%, 65 mA, class 2 Operating Temperature Storage Temperature
4
W current
250
0 – 30 mA maximum, current
"70 ppm / _C maximum 1% maximum at 25_ C
32° to 140° F (0° to 60_ C) –4° to 158° F (–20° to 70_ C)
Analog Input Configuration Requirements
Relative Humidity 5 to 95% (non-condensing) Environmental air No corrosive gases permitted Vibration MIL STD 810C 514.2 Shock MIL STD 810C 516.2 Noise Immunity NEMA ICS3–304 Noise Rejection Ratio Normal mode: –6 dB/250Hz
Common mode: 60dB/60Hz (–5 to 10V)
The D3–04AD Analog Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for details on using 16 point modules in DL305 systems. The limitation on the number of analog modules are:
S For local and expansion systems, the available power budget and
16-point module usage are the limiting factors.
Page 27
Setting the Module Jumpers
There are four jumpers located on the module that select between 1–5V and 4–20 mA signals. The module is shipped from the factory for use with 1–5V signals.
If you want to use 4 – 20 mA signals, you have to install a jumper. No jumper is required for 1 – 5V operation. Each channel range may be selected independently of the others.
Range Jumper 1 – 5V Removed 4 – 20 mA Installed
2–3
D3–04AD 4-Channel Analog Input
4-Channel Analog Input
D3–04AD
Connecting the Field Wiring
Wiring Guidelines
User Power Supply Requirements
Y our company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider.
S Use the shortest wiring route whenever possible. S Use shielded wiring and ground the shield at the signal source. Do not
ground the shield at both the module and the source.
S Don’t run the signal wiring next to large motors, high current switches, or
transformers. This may cause noise problems.
S Route the wiring through an approved cable housing to minimize the risk
of accidental damage. Check local and national codes to choose the correct method for your application.
The D3–04AD requires a separate power supply. The DL305 bases have built-in 24 VDC power supplies that provide up to 100 mA of current. If you only have one analog module, you can use this power source instead of a separate supply. If you have more than two analog modules, or you would rather use a separate supply, choose one that meets the following requirements: 24 VDC "10%, Class 2, 65mA current (or greater, depending on the number of modules being used.)
Page 28
2–4
D3–04AD 4-Channel Analog Input
Custom Input Ranges
D3–04AD
4-Channel Analog Input
Occasionally you may have the need to connect a transmitter with an unusual signal range. By changing the wiring slightly and adding an external resistor to convert the current to voltage, you can easily adapt this module to meet the specifications for a transmitter that does not adhere to one of the standard input ranges. The following diagram shows how this works.
Internal Module
Circuitry
Jumper
Removed
250W
+
-
V
max
+
-
Field wiring
50mA
Current
transmitter
(single ended)
+ch1
R
-ch1
0V
R =
I
max
R = value of external resistor
= high limit of selected voltage range
V
max
= maximum current supplied by the transmitter
I
max
Example: current transmitter capable of 50mA, 1 - 5V range selected.
5V
R =
R = 100 ohms
50mA
NOTE: Your choice of resistor can affect the accuracy of the module. A resistor that has "0.1% tolerance and a "50ppm / _C temperature coefficient is recommended.
Page 29
D3–04AD 4-Channel Analog Input
2–5
Current Loop Transmitter Impedance
Standard 4 to 2 0 m A transmitters and transducers can operate from a wide variety of power supplies. Not all transmitters are alike and the manufacturers often specify a minimum loop or load resistance that must be used with the transmitter.
The D3–04AD provides 250 ohm resistance for each channel. If your transmitter requires a load resistance below 250 ohms, then you do not have to make any adjustments. However , if your transmitter requires a load resistance higher than 250 ohms, then you need to add a resistor in series with the module.
Consider the following example for a transmitter being operated from a 36 VDC supply with a recommended load resistance of 750 ohms. Since the module has a 250 ohm resistor, you need to add an additional resistor.
R = Tr – Mr R = 750 – 250
R 500
DC Supply
0V
+36V
R – Resistor to add Tr – Transmitter Requirement Mr – Module resistance (internal 250 ohms)
Module Channel 1
R
– +
250W
4-Channel Analog Input
D3–04AD
+–
Two-wire Transmitter
Page 30
2–6
D3–04AD 4-Channel Analog Input
Removable Connector
Wiring Diagram
D3–04AD
4-Channel Analog Input
The D3–04AD module has a removable connector to make wiring easier. Simply squeeze the tabs on the top and bottom and gently pull the connector from the module.
Note 1: Terminate all shields of the cable at their respective signal source.
Note 2: Unused channels should be shorted to 0V or have the Jumper installed for current input for best noise immunity.
Note 3: When a differential input is not used 0V should be connected to the – of that channel.
See Note 1
CH3 Differential
Current Transmitter
CH1 Differential
Voltage Transmitter
CH2 SingleĆended
Voltage Transmitter
+
OV
+
OV
– +
– +
24VDC
1
2
Internal Module Wiring
A–D
Convertor
+
Analog
+
+
3
Used
+
0V
0 V
See Note 2
+
4
0 V
+24
V
Internally
Connected
CH4
Not
CH1
CH2
CH3
CH4
+24VDC
0V 0V 0V
250
250
250
250
-
+
-
+
-
+
-
Internal
Circuitry
Switch
ANALOG INPUT
D3–04AD
1
16
1
CH DSPY
CH DSPY SEL
+ 1 –
+ 2
0
V
0
V
1
2
32
2
2
3
64
3
4
4
128
4
8
+ 3
– +
4 –
0 V
24
V
Page 31
Module Operation
Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals.
Channel Scanning Sequence
The D3–04AD module supplies 1 channel of data per each CPU scan. Since there are four channels, it can take up to four scans to get data for all channels. Once all channels have been scanned, the process starts over with channel 1.
Y ou do not have to select all of the channels. Unused channels are not processed, so if you select only two channels, then each channel will be updated every other scan.
2–7
D3–04AD 4-Channel Analog Input
4-Channel Analog Input
D3–04AD
Scan
I/O Update
Channel 1
Scan N
Execute Application Program
Channel 2
Channel 3
Channel 4
Channel 1
Scan N+1
Scan N+2
Scan N+3
Scan N+4
Read the data
Store data
Even though the channel updates to the CPU are synchronous with the CPU scan, the module asynchronously monitors the analog transmitter signal and converts the signal to a 8-bit binary representation. This enables the module to continuously provide accurate measurements without slowing down the discrete control logic in the RLL program.
Page 32
2–8
D3–04AD 4-Channel Analog Input
Understanding the I/O Assignments
D3–04AD
4-Channel Analog Input
You may recall the D3–04AD module appears to the CPU as a 16-point module. Some of the points are inputs to the CPU and some are outputs to the module. These 16 points provide:
S an indication of which channel is active. S the digital representation of the analog signal.
Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
D3–04AD
8pt
Relay
050 057
8pt
Output
Output
040
047
8pt
030
037
16pt
Input
020 027
– 120 127
4ch.
(Analog)
010 017
– 110 117
16pt
Input
000 007
100 107
R 002, R012 R 000, R010
All Channel Scan Output
R 011
MSB LSB
1 1 7
1 1 0
MSB LSB
R 001
0 1 7
0 1 0
- not used
Within these two register locations, the individual bits represent specific information about the analog signal.
The most significant point (MSP) assigned to the module acts as an output to the module and controls the channel
MSB LSB
R011
scanning sequence. This allows flexibility in your control program.
If this output is on, all channels will be scanned sequentially. If the output is off, you can use other points to select a single channel for scanning.
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
- scan all channels
1
1
1
1
1
1
0
2
1
Scan Out 117 Channel Input N Off None
N+1 On 1 N+2 On 2 N+3 On 3 N+4 On 4 N+5 On 1 N+6 Off None N+7 Off None
Page 33
D3–04AD 4-Channel Analog Input
2–9
Single Channel Scan Outputs
Active Channel Selection Inputs
The upper register also contains two additional outputs that can be used to choose a single channel for scanning. These outputs are ignored if the channel scan output is turned on.
(Note, our example shows outputs 114 and 1 15. Your output point will depend on where you have installed the module.)
Out 114 Out 115 Channel Off Off 1
On Off 2 Off On 3 On On 4
The first four points of the upper register are used as inputs to tell the CPU which channel is being processed. (Remember, the previous bits only tell the module which channels to scan.) In our example, when input 110 is on the module is telling the CPU it is processing channel 1. Here’s how the inputs are assigned.
Input Active Channel 110 1
111 2 112 3 113 4
R011
MSB LSB
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
1
1
1
1
1
1
0
2
1
- scan a single channel
R011
MSB LSB
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
1
1
1
1
1
1
0
2
1
- channel selection inputs
4-Channel Analog Input
D3–04AD
Page 34
2–10
D3–04AD 4-Channel Analog Input
Analog Data Bits
D3–04AD
4-Channel Analog Input
The first register contains 8 bits which represent the analog data in binary format.
MSB LSB
R001
Bit Value Bit Value 01416
12532 24664 3 8 7 128
0 1 7
- analog data bits
0 1 0
Since the module has 8-bit resolution, the analog signal is converted into 256 “pieces” ranging from 0 – 255 (2
8
). For example, with a 1 to 5V scale, a 1V signal would be 0, and a 5V signal would be 255. This is equivalent to a a binary value of 0000 0000 to 1111 1111, or 00 to FF hexadecimal. The following diagram shows how this relates to each signal range.
1V – 5V
+5V
1V
0 255
4 – 20mA
20mA
4mA
0 255
Each “piece” can also be expressed in terms of the signal level by using the
Resolution = (H–L)/255
equation shown. The following table shows the smallest signal levels that could possibly result in a change in the data value for each signal range.
H = high limit of the signal range L = low limit of the signal range
Range Highest Signal Lowest Signal Smallest Change
1 to 5V 5V 1V 15.6 mV 4 to 20mA 20mA 4mA 62.7 µA
Now that you understand how the module and CPU work together to gather and store the information, you’re ready to write the control program.
Page 35
D3–04AD 4-Channel Analog Input
Writing the Control Program (DL330 / DL340)
2–11
Identifying the Data Locations
Since all channels are multiplexed into a single data word, the control program must be setup to determine which channel is being read. Since the module provides input points to the CPU, it is very easy to use the channel status bits to determine which channel is being monitored.
D3–04AD
8pt
Relay
050 057
8pt
Output
Output
040
047
R 002, R012 R 000, R010
R 011
MSB LSB
1 1 7
8pt
030
037
16pt
Input
020 027
– 120 127
(Analog)
4ch.
010 017
– 110 117
16pt
Input
000 007
100 107
R 001
MSB LSB
1 1 0
- not used
0 1 7
0 1 0
4-Channel Analog Input
D3–04AD
Single Channel on Every Scan
The following example shows a program that is designed to read a single channel of analog data into a Register location on every scan. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. This example is designed to read channel 1. If you choose another channel, you would have to add a rung (or rungs) that use the channel select bits to select the channel for scanning. You would also have to change the rung that stores the data.
Read the data
374
Store channel 1
110
DSTR1 R001
BCD F86
DOUT R400
F51
F60
This rung loads the data into the accumulator on every scan. (You can use any permissive contact.)
The DL305 CPUs perform math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
The channel selection inputs are used to let the CPU know which channel has been loaded into the accumulator. Channel 1 input has been used in the example, but you could easily use a different input for a different channel. By using these inputs to control a DOUT instruction, you can easily move the data to a storage register. The BCD value will be stored in R400 and R401. (Two bytes are required for four digit BCD numbers.)
Page 36
2–12
D3–04AD 4-Channel Analog Input
Reading Multiple Channels over Alternating Scans
D3–04AD
4-Channel Analog Input
The following example shows a program that is designed to read multiple channels of analog data into Register locations. This example reads one channel per scan. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc.
Scan all channels
374
Read the data
117
Store channel 1
110
Store channel 2
111
117
OUT
DSTR1 R001
BCD F86
DOUT R400
DOUT R402
F51
F60
F60
Turn on output 117, which instructs the module to scan all channels.
This rung loads the data into the accumulator. This rung executes for all channels.
The DL305 performs math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the data in BCD format.)
The channel selection inputs are used to let the CPU know which channel has been loaded into the accumulator. By using these inputs to control a DOUT instruction, you can easily move the data to a storage register. Notice that the DOUT instruction stores the data in two bytes. (Two bytes are required for four digit BCD numbers.)
Store channel 3
112
Store channel 4
113
DOUT R404
DOUT R406
F60
F60
Page 37
D3–04AD 4-Channel Analog Input
2–13
Single or Multiple Channels
The following example shows how you can use the same program to read either all channels or a single channel of analog data into Register locations. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc.
Select all channels
000
Single Channel
001
Single Channel
001
002
003
001
000
000
117
OUT
114
OUT
115
OUT
Inputs 000 and 001 are used to select between single channel scanning and all channel scanning. These two points were arbitrarily chosen and could be any permissive contacts. When output 117 is on, all channels will be scanned.
Input 001 selects single channel scan. Inputs 002 and 003 select which channel by turning on outputs 114 and 115 as necessary.
114 115 Channel Off Off Ch. 1
On Off Ch. 2 Off On Ch. 3 On On Ch. 4
4-Channel Analog Input
D3–04AD
Read the data
000
001
Store channel 1
110
Store channel 2
111
Store channel 3
112
Store channel 4
113
DSTR1 R001
BCD F86
DOUT R400
DOUT R402
DOUT R404
DOUT R406
F51
F60
F60
F60
F60
This rung loads the data into the accumulator. This rung executes for all channel scan or single channel scan.
The DL305 performs math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the data in BCD format.)
The channel selection inputs are used to let the CPU know which channel has been loaded into the accumulator. By using these inputs to control a DOUT instruction, you can easily move the data to a storage register. Notice that the DOUT instruction stores the data in two bytes. This is because two bytes are required to store the BCD number.
Page 38
2–14
D3–04AD 4-Channel Analog Input
The following instructions are required to scale the data. We’ll continue to use the
42.9 PSI example. In this example we’re using channel 1. Input 110 is the active channel indicator for channel 1. Of course, if you were using a different channel, you would use the active channel indicator point that corresponds to the channel you were using.
This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401
Scale the data
110
DSTR R400
F50
This instruction brings the analog value (in BCD) into the accumulator.
Accumulator
0 1 1 0
Aux. Accumulator
0 0 0 0
R577 R576
D3–04AD
4-Channel Analog Input
DIV K256
DSTR R576
MUL K100
DSTR R576
DOUT R450
F74
F50
F73
F50
F60
The analog value is divided by the resolution of the module, which is 256. (110 / 256 = 0.4296)
Accumulator
0 0 0 0
This instruction moves the two-byte decimal portion into the accumulator for further operations.
Accumulator
4 2 9 6
The accumulator is then multiplied by the scaling factor, which is 100. (100 x 4296 = 429600). Notice that the most significant digits are now stored in the auxilliary accumulator. (This is different from the way the Divide instruction operates.)
Accumulator
9 6 0 0
This instruction moves the two-byte auxilliary accumulator for further operations.
Accumulator
0 0 4 2
This instruction stores the accumulator to R450 and R451. R450 and R451 now contain the PSI, which is 42 PSI.
Accumulator
0 0 4 2
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
0 0 4 2
R577 R576
Aux. Accumulator
0 0 4 2
R577 R576
Store in R451 & R450
0 0 4 2
R451 R450
Page 39
2–15
D3–04AD 4-Channel Analog Input
You probably noticed that the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale. Instead of a scale of 100, we’re using 1000, which implies 100.0 for the PSI range.
This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401
Scale the data
110
DSTR R400
F50
This instruction brings the analog value (in BCD) into the accumulator.
Accumulator
0 1 1 0
Aux. Accumulator
0 0 0 0
R577 R576
4-Channel Analog Input
D3–04AD
DIV K256
DSTR R576
MUL K1000
DSTR R576
DOUT R450
F74
F50
F73
F50
F60
The analog value is divided by the resolution of the module, which is 256. (110 / 256 = 0.4296)
Accumulator
0 0 0 0
This instruction moves the two-byte decimal portion into the accumulator for further operations.
Accumulator
4 2 9 6
The accumulator is multiplied by the scaling factor, which is now 1000. (1000 x 4296 = 4296000). The most significant digits are now stored in the auxilliary accumulator. (This is different from the way the Divide instruction operates.)
Accumulator
6 0 0 0
This instruction moves the two-byte auxilliary accumulator for further operations.
Accumulator
0 4 2 9
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
0 4 2 9
R577 R576
Aux. Accumulator
0 4 2 9
R577 R576
This instruction stores the accumulator to R450. R450 now contains the PSI, which implies 42.9.
Accumulator
0 4 2 9
Store in R451 & R450
0 4 2 9
R451 R450
Page 40
2–16
D3–04AD 4-Channel Analog Input
This example program shows how you can use the instructions to load the equation constants into data registers. The example is written for channel 1, but you can easily use a similar approach to use different scales for all channels if required.
You may just use the appropriate constants in the instructions dedicated for each channel, but this method allows easier modifications. For example, you could easily use an operator interface or a programming device to change the constants if they are stored in Registers.
Load the constants
374
DSTR K256
F50
On the first scan, these first two instructions load the analog resolution (constant of 256) into R430 and R431.
D3–04AD
4-Channel Analog Input
Read the data
374
Store channel 1
110
DOUT R430
DSTR K1000
DOUT R432
DSTR1 R001
BCD F86
DIV R430
DSTR R576
MUL R432
F60
F50
F60
F51
F74
F50
F73
These two instructions load the high limit of the Engineering unit scale (constant of 1000) into R432 and R433. Note, if you have different scales for each channel, you’ll also have to enter the Engineering unit high limit for those as well.
This rung loads the data into the accumulator on every scan. (You could use any permissive contact.)
The DL305 CPUs perform math operations in BCD. Since we will perform math on the data, the data must be converted from binary data to BCD.
The analog value is divided by the resolution of the module, stored in R430.
This instruction moves the decimal portion from the auxilliary accumulator into the regular accumulator for further operations.
The accumulator is multiplied by the scaling factor, stored in R432.
DSTR R576
DOUT R400
F50
F60
This instruction moves most significant digits (now stored in the auxilliary accumulator) into the regular accumulator for further operations.
The scaled value is stored in R400 and R401 for further use.
Page 41
D3–04AD 4-Channel Analog Input
Writing the Control Program (DL350)
2–17
Multiplexing: DL350 with a Conventional DL305 Base
The example below shows how to read multiple channels on an D3–04AD Analog module in the 10–17/1 10–117 address slot. This module must be placed in a 16 bit slot in order to work.
Load the data
_On
SP1
Store Channel 1
X110
LDFK8X10
BCD
X117
OUT
()
OUT
V3000
This rung loads analog data and converts it to BCD.
When X117 is On, all channels will be scanned.
This writes channel 1 analog data to V3000 when bit X110 is on.
4-Channel Analog Input
D3–04AD
Store Channel 2
X111
Store Channel 3
X112
Store Channel 4
X113
OUT
V3001
OUT
V3002
OUT
V3003
This writes channel 2 analog data to V3001 when bit X111 is on.
This writes channel 3 analog data to V3002 when bit X112 is on.
This writes channel 4 analog data to V3003 when bit X113 is on.
Page 42
2–18
D3–04AD 4-Channel Analog Input
Multiplexing: DL350 with a D3–xx–1 Base
D3–04AD
4-Channel Analog Input
The example below shows how to read multiple channels on an D3–04AD Analog module in the X0 address of the base. If any expansion bases are used in the system, they must all be D3–xx–1 to be able to use this example. Otherwise, the conventional base addressing must be used.
Load the data
_On
SP1
Store Channel 1
X10
LDFK8X0
BCD
X17
OUT
()
OUT
V3000
This rung loads analog data and converts it to BCD.
When X17 is On, all channels will be scanned.
This writes channel 1 analog data to V3000 when bit X10 is on.
Store Channel 2
X11
Store Channel 3
X12
Store Channel 4
X13
OUT
V3001
OUT
V3002
OUT
V3003
This writes channel 2 analog data to V3001 when bit X11 is on.
This writes channel 3 analog data to V3002 when bit X12 is on.
This writes channel 4 analog data to V3003 when bit X13 is on.
Page 43
D3–04AD 4-Channel Analog Input
2–19
Scaling the Input Data
Most applications usually require measurements in engineering units, which provide more meaningful data. This is accomplished by using the conversion formula shown.
The following example shows how you would use the analog data to represent pressure (PSI) from 0 to 100. This example assumes the analog value is 110, which is slightly less than half scale. This should yield approximately 43 PSI.
Units = (A/255)*S
Units = value in Engineering Units A = Analog value (0 – 255) S = Engineering unit range
Units = (A/255)*S
4-Channel Analog Input
D3–04AD
Units = (110/255)*100
Units = 43
Here is how you would write the program to perform the engineering unit conversion. This example assumes you have the analog data in BCD format data loaded into V3000.
NOTE: This example uses SP1, which is always on. You could also use an X, C, etc. permissive contact.
SP1
LD V3000
MUL K100
DIV K255
OUT V3010
When SP1 is on, load channel 1 data to the accumulator.
Multiply the accumulator by 100 (to start the conversion).
Divide the accumulator by 255.
Store the result in V3010.
Page 44
2–20
D3–04AD 4-Channel Analog Input
Analog and Digital Value Conversions
D3–04AD
4-Channel Analog Input
Sometimes it i s helpful to be able to quickly convert between the signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier.
Range If you know the digital value ... If you know the analog signal
level ...
1 to 5V
4 to 20mA
A = (4D/255) + 1
A = (16D/255) + 4
D = (255/4)(A–1)
D = (255/16)(A–4)
For example, if you are using the 1 to 5V range and you have measured the signal
D = (255/4)(A–1)
at 3V, you would use the following formula to determine the digital value that should be stored in the register location that contains the data.
D = (255/4)(3V–1) D = (63.75) (2) D = 127.5 (or 128)
Page 45
F3–04ADS 4-Channel Isolated Analog Input
In This Chapter. . . .
Ċ Module Specifications Ċ Setting the Module Jumpers Ċ Connecting the Field Wiring Ċ Module Operation
1
3
Ċ Writing the Control Program
Page 46
3–2
F3–04ADS 4-Channel Isolated Analog Input
Module Specifications
The following table provides the specifications for the F3–04ADS Analog Input Module. Make sure the module meets your application requirements.
F3–04ADS
4-Ch. Isolated Analog In.
Number of Channels Input Ranges 0 – 5V, 0 – 10V, 1 – 5V, "5V, "10V,
Resolution 12 bit (1 in 4096) Input Type Differential Max. Common mode voltage "750V peak continuous transformer isolation Noise Rejection Ratio Common mode: –100 dB at 60Hz Active Low-pass Filtering –3 dB at 10Hz, –12 dB per octave Input Impedance 250W "0.1%, 1/2W current input
Absolute Maximum Ratings "40 mA, current input "100V, voltage input Conversion Time 1 channel per scan, successive
Linearity Error "1 count (0.03% of full scale) maximum Full Scale Calibration Error "9 counts maximum Offset Calibration Error "4 counts maximum, bipolar ranges
Accuracy vs. Temperature Recommended Fuse 0.032 A, Series 217 fast-acting, current inputs Power Budget Requirement 183 mA @ 9 VDC, 50 mA @ 24 VDC
4, isolated
0 – 20 mA, 4 – 20 mA
W voltage input
200K
approximation, AD574
"2 counts maximum, unipolar ranges 57 ppm / _C maximum full scale
Analog Input Configuration Requirements
External Power Supply None required Operating Temperature Storage Temperature Relative Humidity 5 to 95% (non-condensing) Environmental air No corrosive gases permitted Vibration MIL STD 810C 514.2 Shock MIL STD 810C 516.2 Noise Immunity NEMA ICS3–304
The F3–04ADS Analog Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for details on using 16 point modules in DL305 systems. The limitation on the number of analog modules are:
S The module should not be placed in the last slot of a rack (due to size
constraints.)
S For local and expansion systems, the available power budget and
16-point module usage are the limiting factors.
32° to 140° F (0° to 60_ C) –4° to 158° F (–20° to 70_ C)
Page 47
Setting the Module Jumpers
3–3
F3–04ADS 4-Channel Isolated Analog Input
Jumper Locations
The module is set at the factory for a 4–20 mA signal on all four channels. If this is acceptable you do not have to change any of the jumpers. The following diagram shows how the jumpers are set.
Channel 1
Channel 2
Channel 3
Channel 4
J10
Pin 1
J11 J12
J13
4-Ch. Isolated Analog In.
F3–04ADS
Selecting the Number of Channels
UNIPOLAR BIPOLAR
If you examine the rear of the module, you’ll notice several jumpers. The jumpers labeled +1 and +2 (located on the larger board, near the terminal block) are used to select the number of channels that will be used.
Without any jumpers the module processes one channel. By installing the jumpers you can add channels. The module is set from the factory for four channel operation.
For example, if you install the +1 jumper, you add one channel for a total of two. Now if you install the +2 jumper you add two more channels for a total of four.
Any unused channels are not processed so if you only select channels 1, 2, and 3, channel 4 will not be active. The table shows which jumpers to install.
+1
+2
Jumpers installed as shown selects 4Ćchannel operation
Channel +1 +2
1NoNo 1, 2, Yes No 1, 2, 3 No Yes 1, 2, 3, 4 Yes Yes
Page 48
3–4
F3–04ADS 4-Channel Isolated Analog Input
Selecting Input Signal Ranges
As you examin the jumper settings, notice there are jumpers for each individual channel. These jumpers allow you to select the type of signal (voltage or current) and the range of the signal. The following tables show the jumper selections for the various ranges. Only channel 1 is used in the example, but all channels must be set.
NOTE: The Polarity jumper selects Unipolar or Bipolar operation for all channels.
Bipolar Signal Range Jumper Settings
–5 VDC to +5 VDC (–20 to +20 mA)
–10 VDC to +10 VDC
Polarity
Uni Bi
Polarity
Uni Bi
Channel 1 Ranges
1
Channel 1 Ranges
1
Current Jumper
J10
Current Jumper
J10
F3–04ADS
4-Ch. Isolated Analog In.
Unipolar Signal Range Jumper Settings
4 to 20 mA (1 VDC to 5 VDC, remove the cur-
rent jumper)
0 VDC to +5 VDC (0 to +20 mA, install the current
jumper)
0 VDC to +10 VDC
Polarity
Uni Bi
Polarity Uni Bi
Polarity
Uni Bi
Channel 1 Ranges
1
Channel 1 Ranges
1
Channel 1 Ranges
1
Current Jumper
J10
Current Jumper
J10
Current Jumper
J10
Page 49
Connecting the Field Wiring
3–5
F3–04ADS 4-Channel Isolated Analog Input
Wiring Guidelines
User Power Supply Requirements
Custom Input Ranges
Y our company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider.
S Use the shortest wiring route whenever possible. S Use shielded wiring and ground the shield at the signal source. Do not
ground the shield at both the module and the source.
S Do not run the signal wiring next to large motors, high current switches,
or transformers. This may cause noise problems.
S Route the wiring through an approved cable housing to minimize the risk
of accidental damage. Check local and national codes to choose the correct method for your application.
The F3–04ADS receives all power from the base. A separate power supply is not required.
Occasionally you may have the need to connect a transmitter with an unusual signal range. By changing the wiring slightly and adding an external resistor to convert the current to voltage, you can easily adapt this module to meet the specifications for a transmitter which does not adhere to one of the standard input ranges. The following diagram shows how this works.
Internal Module
Circuitry
4-Ch. Isolated Analog In.
F3–04ADS
+
50mA
Current
Transmitter
-
V
R =
R = value of external resistor
V
max
I
max
Example: current transmitter capable of 50mA, 0 - 10V range selected.
R =
max
I
max
= high limit of selected voltage range
= maximum current supplied by the transmitter
10V
50mA
R = 200 ohms
+CH1
R
-CH1
Jumper
Removed
250W
+
-
NOTE: Your choice of resistor can affect the accuracy of the module. A resistor with a "0.1% tolerance and a "50ppm / _C temperature coefficient is recommended.
Page 50
3–6
F3–04ADS 4-Channel Isolated Analog Input
Current Loop Transmitter Impedance
Standard 4 to 2 0 m A transmitters and transducers can operate from a wide variety of power supplies. Not all transmitters are alike and the manufacturers often specify a minimum loop or load resistance that must be used with the transmitter.
The F3–04ADS provides 250 ohm resistance for each channel. If your transmitter requires a load resistance below 250 ohms, then you do not have to make any adjustments. However , if your transmitter requires a load resistance higher than 250 ohms, then you need to add a resistor in series with the module.
Consider the following example for a transmitter being operated from a 36 VDC supply with a recommended load resistance of 750 ohms. Since the module has a 250 ohm resistor, you need to add an additional resistor.
R + Tr * Mr R + 750 * 250
R w 500
DC Supply
0V
+36V
R – Resistor to add Tr – Transmitter Requirement Mr – Module resistance (internal 250 ohms)
Module Channel 1
R
– +
250W
F3–04ADS
4-Ch. Isolated Analog In.
+–
Two-wire Transmitter
Page 51
F3–04ADS 4-Channel Isolated Analog Input
3–7
Removable Connector
The F3–04ADS module has a removable connector to make wiring easier. Simply squeeze the top and bottom tabs and gently pull the connector from the module.
Wiring Diagram
Note 1: Connect unused voltage or current inputs to 0VDC at terminal block or leave current jumper installed (see Channel 3).
Note 2: A Series 217, 0.032A, Fast-acting fuse is recommended for 4–20mA current loops.
Note 3: Transmitters may be 2, 3, or 4 wire type. Note 4: Transmitters may be powered from separate
power sources. Note 5: Terminate all shields of the cable at their respective
signal source.
See Notes
CH1
+
Voltage
Transmitter
CH2
Voltage
Transmitter
CH4
4-20mA
Current
Transmitter
+ –
CH3
Not Used
+ –
250
250
250
CH3
250 J14
Installed
CH4 Jumper
Internal Module Wiring
+
J10
-
+
J11
-
+
J13
Jumper
-
Installed
+
-
to
Analog
Circuitry
to
Analog
Circuitry
to
Analog
Circuitry
to
Analog
Circuitry
ANALOG INPUT
F3–04ADS
+ 1
+ 2 –
+ 3
+ 4 –
4-Ch. Isolated Analog In.
F3–04ADS
Page 52
3–8
F3–04ADS 4-Channel Isolated Analog Input
Module Operation
Channel Scanning Sequence
Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals.
The F3–04ADS module supplies1 channel of data per each CPU scan. Since there are four channels, it can take up to four scans to get data for all channels. Once all channels have been scanned the process starts over with channel 1.
Y ou do not have to select all of the channels. Unused channels are not processed, so if you select only two channels, then each channel will be updated every other scan.
Scan
F3–04ADS
4-Ch. Isolated Analog In.
I/O Update
Channel 1
Scan N
Execute Application Program
Channel 2
Channel 3
Channel 4
Channel 1
Scan N+1
Scan N+2
Scan N+3
Scan N+4
Read the data
Store data
Even though the channel updates to the CPU are synchronous with the CPU scan, the module asynchronously monitors the analog transmitter signal and converts the signal to a 12-bit binary representation. This enables the module to continuously provide accurate measurements without slowing down the discrete control logic in the RLL program.
Page 53
F3–04ADS 4-Channel Isolated Analog Input
3–9
Understanding the I/O Assignments
You may recall the F3–04ADS module appears to the CPU as a 16-point module. These 16 points provide:
S an indication of which channel is active. S the digital representation of the analog signal.
Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
F3–04ADS
8pt
Relay
050 057
8pt
Output
Output
040
047
030 037
R 002, R012 R 000, R010
R 011
MSB LSB
16pt
8pt
Input
(Analog)
020
027
– 120 127
4ch.
010 017
110 117
16pt Input
000 007
100 107
R 001
MSB LSB
4-Ch. Isolated Analog In.
F3–04ADS
Active Channel Selection Inputs
1 1 7
1 1 0
0 1 7
0 1 0
Within these two register locations, the individual bits represent specific information about the analog signal.
The last four points of the upper register are used as inputs to tell the CPU which channel is being processed. In our
MSB LSB
R011
example, when input 114 is on the module is telling the CPU it is processing channel 1. Here’s how the inputs are assigned.
Input Active Channel
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
- channel selection inputs
1
1
1
1
1
1
0
2
1
114 1 115 2 116 3 117 4
Page 54
3–10
F3–04ADS 4-Channel Isolated Analog Input
Analog Data Bits
The remaining twelve bits represent the analog data in binary format.
Bit Value
Bit Value
0 (LSB) 1 6 64 1 2 7 128 2 4 8 256 3 8 9 512 4 16 10 1024
R011
MSB LSB
1
1
1
1
1
1
1
1
1
1 7
1
6
5
4
1
1
1
1
1
3
2
1
0
- data bits
R001
0
0
0
0
0
1
1
1
1
1
7
6
5
4
3
0
0
0
1
1
1
0
2
1
5 32 11 2048
Since the module has 12-bit resolution, the analog signal is converted into 4096
12
“pieces” ranging from 0 – 4095 (2
). For example, with a 0 to 10V scale, a 0V signal would be 0, and a 10V signal would be 4095. This is equivalent to a a binary value of 0000 0000 0000 to 1111 1111 1111, or 000 to FFF hexadecimal. The following diagram shows how this relates to each signal range.
–10V – +10V
–5V – +5V
+V
0V
-V 0 4095
0V – 10V
0V – 5V
+V
0V
0 4095
+5V
1V
0 4095
1V – 5V
4 – 20mA
20mA
4mA
0 4095
F3–04ADS
4-Ch. Isolated Analog In.
Each “piece” can also be expressed in terms of the signal level by using the
Resolution +
H * L
4095
equation shown. The following table shows the smallest signal levels that will result in a change in the data value for each signal range.
H = high limit of the signal range L = low limit of the signal range
Range Highest Signal Lowest Signal Smallest Change
–10 to +10V +10V –10V 4.88 mV –5 to +5V +5 V –5V 2.44 mV 0 to 5V 5V 0V 1.22 mV 0 to 10V 10 V 0V 2.44 mV 1 to 5V 5V 1V 0.98 mV 4 to 20mA 20mA 4mA
3.91 mA
Now that you understand how the module and CPU work together to gather and store the information, you’re ready to write the control program.
Page 55
F3–04ADS 4-Channel Isolated Analog Input
Writing the Control Program (DL330 / DL340)
3–11
Identifying the Data Locations
Since all channels are multiplexed into a single data word, the control program must be setup to determine which channel is being read. Since the module provides input points to the CPU, it is very easy to use the active channel status bits to determine which channel is being monitored.
F3–04ADS
8pt
Relay
050 057
8pt
Output
Output
040
047
R 002, R012 R 000, R010
R 011
MSB LSB
1 1 7
8pt
030
037
16pt
Input
020 027
– 120 127
(Analog)
4ch.
010 017
– 110 117
16pt
Input
000 007
100 107
R 001
MSB LSB
1 1 0
0 1 7
0 1 0
4-Ch. Isolated Analog In.
F3–04ADS
Single Channel on Every Scan
The following example shows a program that is designed to read a single channel of analog data into a Register location on every scan. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. This example is designed to read channel 1. Since you use jumpers to select the number of channels to scan, this is the only channel that you can use in this manner.
Read the data
374
Store channel 1
114
DSTR1
F51
R001
BCD F86
DOUT
F60
R400
This rung loads the data into the accumulator on every scan. (You can use any permissive contact.)
The DL305 CPUs perform math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
The active channel inputs are used to let the CPU know which channel has been loaded into the accumulator. (Since you cannot isolate the individual channels for scanning, channel 1 is the only channel that can be used in this manner.) By using the input to control a DOUT instruction, you can easily move the data to a storage register. The BCD value will be stored in R400 and R401. (Two bytes are required for four digit BCD numbers.)
Page 56
3–12
F3–04ADS 4-Channel Isolated Analog Input
Reading Multiple Channels over Alternating Scans
F3–04ADS
The following example shows a program designed to read any of the available channels of analog data into Register locations. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s simple if you follow the example.
Read the data
374
Store channel 1
114
Store channel 2
115
DSTR3 R011
DOUT1 R501
DSTR1 R001
DOUT1 R500
DSTR R500
BCD F86
DOUT R400
DOUT R402
F53
F61
F51
F61
F50
F60
F60
This rung loads the four most significant data bits into the accumulator from Register 011. (A normally closed 374 means it is loaded on every scan.)
Temporarily store the bits to Register 501.
This rung loads the eight least significant data bits into the accumulator from Register 001.
Temporarily store the bits to Register 500. Since the most significant bits were loaded into 501, now R500 and R501 contain all twelve bits in order.
Now that all the bits are stored, load all twelve bits into the accumulator.
Math operations are performed in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
The channel selection inputs are used to let the CPU know which channel has been loaded into the accumulator. By using these inputs to control a DOUT instruction, you can easily move the data to a storage register. Notice the DOUT instruction stores the data in two bytes. (Two bytes are required for four digit BCD numbers.)
4-Ch. Isolated Analog In.
Store channel 3
116
Store channel 4
117
DOUT R404
DOUT R406
F60
F60
Page 57
F3–04ADS 4-Channel Isolated Analog Input
3–13
Scaling the Input Data
Most applications usually require measurements in engineering units, which provide more meaningful data. This is accomplished by using the conversion formula shown.
The following example shows how you would use the analog data to represent pressure (PSI) from 0 to 100. This example assumes the analog value is
1760. This should yield approximately
42.9 PSI.
Units +
Units = value in Engineering Units A = Analog value (0 – 4095) S = high limit of the Engineering
unit range
A
S
4096
Units +
Units +
Units + 42.9
4096
1760 4096
A
S
100
4-Ch. Isolated Analog In.
F3–04ADS
Page 58
3–14
F3–04ADS 4-Channel Isolated Analog Input
The following instructions are required to scale the data. We’ll continue to use the
42.9 PSI example. In this example we’re using channel 1. Input 114 is the active channel indicator for channel 1. Of course, if you were using a different channel, you would use the active channel indicator point that corresponds to the channel you were using.
This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401
Scale the data
114
DSTR R400
F50
This instruction brings the analog value (in BCD) into the accumulator.
Accumulator
1 7 6 0
Aux. Accumulator
0 0 0 0
R577 R576
F3–04ADS
4-Ch. Isolated Analog In.
DIV K4096
DSTR R576
MUL K100
DSTR R576
DOUT R450
F74
F50
F73
F50
F60
The analog value is divided by the resolution of the module, which is 4096. (1760 / 4096 = 0.4296)
Accumulator
0 0 0 0
This instruction moves the two-byte decimal portion into the accumulator for further operations.
Accumulator
4 2 9 6
The accumulator is then multiplied by the scaling factor, which is 100. (100 x 4296 = 429600). Notice the most significant digits are now stored in the auxilliary accumulator. (This is different from the way the Divide instruction operates.)
Accumulator
9 6 0 0
This instruction moves the two-byte auxilliary accumulator for further operations.
Accumulator
0 0 4 2
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
0 0 4 2
R577 R576
Aux. Accumulator
0 0 4 2
R577 R576
This instruction stores the accumulator to R450. R450 now contains the PSI, which is 42 PSI.
Accumulator
0 0 4 2
Store in R451 & R450
0 0 4 2
R451 R450
Page 59
3–15
F3–04ADS 4-Channel Isolated Analog Input
You probably noticed the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale. Instead of a scale of 100, we’re using 1000, which implies 100.0 for the PSI range.
This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401
Scale the data
114
DSTR R400
F50
This instruction brings the analog value (in BCD) into the accumulator.
Accumulator
1 7 6 0
Aux. Accumulator
0 0 0 0
R577 R576
DIV K4096
DSTR R576
MUL K1000
DSTR R576
DOUT R450
F74
F50
F73
F50
F60
The analog value is divided by the resolution of the module, which is 4096. (1760 / 4096 = 0.4296)
Accumulator
0 0 0 0
This instruction moves the two-byte decimal portion into the accumulator for further operations.
Accumulator
4 2 9 6
The accumulator is multiplied by the scaling factor, which is now 1000. (1000 x 4296 = 4296000). The most significant digits are now stored in the auxilliary accumulator. (This is different from the way the Divide instruction operates.)
Accumulator
6 0 0 0
This instruction moves the two-byte auxilliary accumulator for further operations.
Accumulator
0 4 2 9
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
0 4 2 9
R577 R576
Aux. Accumulator
0 4 2 9
R577 R576
F3–04ADS
4-Ch. Isolated Analog In.
This instruction stores the accumulator to R450 and R451. R450 and R451 now contain the PSI, which implies 42.9.
Accumulator
0 4 2 9
Store in R451 & R450
0 4 2 9
R451 R450
Page 60
3–16
F3–04ADS 4-Channel Isolated Analog Input
This example program shows how you can use the instructions to load these equation constants into data registers. The example is written for channel 1, but you can easily use a similar approach to use different scales for all channels if required.
You may just use the appropriate constants in the instructions dedicated for each channel, but this method allows easier modifications. For example, you could easily use an operator interface or a programming device to change the constants if they are stored in Registers.
Load the constants
374
DSTR K4096
F50
On the first scan, these first two instructions load the analog resolution (constant of 4096) into R430 and R431.
4-Ch. Isolated Analog In.
F3–04ADS
Read the data
374
Store channel 1
114
DOUT R430
DSTR K1000
DOUT R432
DSTR3 R011
DOUT1 R501
DIV R430
DSTR R576
MUL R432
F60
F50
F60
F53
F61
F74
F50
F73
These two instructions load the high limit of the Engineering unit scale (constant of 1000) into R432 and R433. Note, if you have different scales for each channel, you’ll also have to enter the Engineering unit high limit for those as well.
This rung loads the four most significant data bits into the accumulator from Register 011.
Temporarily store the bits to Register 501.
The analog value is divided by the resolution of the module, which is stored in R430.
This instruction moves the decimal portion from the auxilliary accumulator into the regular accumulator for further operations.
The accumulator is multiplied by the scaling factor, which is stored in R432.
DSTR R576
DOUT R400
F50
F60
This instruction moves most significant digits (now stored in the auxilliary accumulator) into the regular accumulator for further operations.
The scaled value is stored in R400 and R401 for further use.
Page 61
F3–04ADS 4-Channel Isolated Analog Input
Writing the Control Program (DL350)
3–17
Reading Values: Pointer Method and Multiplexing
Pointer Method
There are two methods of reading values for the DL350:
S The pointer method (all system bases must be D3–xx–1 bases to
support the pointer method)
S Multiplexing
You must use the multiplexing method with remote I/O modules (the pointer method will not work). You can use either method when using DL350, but for ease of programming it is strongly recommended that you use the pointer method.
NOTE: Do not use the pointer method and the PID PV auto transfer from I/O module function together for the same module. If using PID loops, use the pointer method and ladder logic code to map the analog input data into the PID loop table.
The DL350 has special V-memory locations assigned to each base slot that greatly simplifies the programming requirements. These V-memory locations allow you to:
S specify the data format S specify the number of channels to scan S specify the storage locations
The example program shows how to setup these locations. Place this rung anywhere in the ladder program or in the Initial Stage if you are using RLL
PLUS
instructions. This is all that is required to read the data into V-memory locations. Once the data is in V -memory, you can perform math on the data, compare the data against preset values, and so forth. V2000 is used in the example, but you can use any user V-memory location. In this example the module is installed in slot 2. You should use the V-memory locations for your module placement.
4-Ch. Isolated Analog In.
F3–04ADS
SP0
LD
K
00
04 K0084
OUT V7662
LDA O2000
OUT V7672
- or -
Loads a constant that specifies the number of channels to scan and the data format. The upper byte, most significant nibble (MSN) selects the data format (i.e. 0=BCD, 8=Binary), the LSN selects the number of channels (i.e. 1, 2, 3, 4).
The binary format is used for displaying data on some operator interfaces.
Special V-memory location assigned to slot 2 that contains the number of channels to scan.
This loads an octal value for the first V-memory location that will be used to store the incoming data. For example, the O2000 entered here would designate the following addresses. Ch1 - V2000, Ch2 - V2001, Ch3 - V2002, Ch 4 - V2003
The octal address (O2000) is stored here. V7672 is assigned to slot 2 and acts as a pointer, which means the CPU will use the octal value in this location to determine exactly where to store the incoming data.
LD
Page 62
3–18
F3–04ADS 4-Channel Isolated Analog Input
The table shows the special V-memory locations used with the DL350. Slot 0 (zero) is the module next to the CPU, slot 1 is the module two places from the CPU, and so on. Remember, the CPU only examines the pointer values at these locations after a mode transition. The pointer method is supported on expansion bases up to a total of 8 slots away from the DL350 CPU. The pointer method is not supported in slot 8 of a 10 slot base.
Analog Input Module Slot-Dependent V-memory Locations
Slot 0 1 2 3 4 5 6 7 No. of Channels V7660 V7661 V7662 V7663 V7664 V7665 V7666 V7667 Storage Pointer V7670 V7671 V7672 V7673 V7674 V7675 V7676 V7677
Multiplexing: DL350 with a D3–xx–1 Base
F3–04ADS
4-Ch. Isolated Analog In.
The example below shows how to read multiple channels on a F3–04ADS Analog module in the X20 adddress position of the D3–XX–1 base. If any expansion bases are used in the system, they must all be D3–xx–1 to be able to use this example. Otherwise, the conventional base addressing must be used.
Load the data
_On
SP1
Channel 1 Select Bit
X34
Channel 2 Select Bit
X35
Channel 3 Select Bit
X36
Channel 4 Select Bit
X37
LDF
BCD
OUT
V3000
OUT
V3001
OUT
V3002
OUT
V3003
X20
K12
This rung loads the first twelve bits of data from X20 and then converts it to BCD format.
This writes channel one analog data to V3000 when X34 (channel select 1) is on.
This writes channel two analog data to V3001 when X35 (channel select 2) is on.
This writes channel three analog data to V3002 when X36 (channel select 3) is on.
This writes channel four analog data to V3003 when X37 (channel select 4) is on.
Page 63
F3–04ADS 4-Channel Isolated Analog Input
3–19
Multiplexing: DL350 with a Conventional DL305 Base
The example below shows how to read multiple channels on an F3–04ADS Analog module in the 20–27/120–127 address slot. This module must be placed in a 16 bit slot in order to work.
Load the data
_On
SP1
Channel 1 Select Bit
X124
Channel 2 Select Bit
X125
LDFK8X120
SHFL
ORFK8X20
ANDD
BCD
OUT
V3000
OUT
V3001
K8
Kfff
This rung loads the upper byte of analog data from the module.
SHFL K8 shifts the data to the left eight places to make room for the lower byte of data.
The ORF X20 brings the lower byte of data from the module into the accumulator. At this time there is a full word of data from the analog module in the accumulator.
The ANDD Kfff masks off the twelve least significant bits of data from the word. This is the actual analog value.
The BCD command converts the data to BCD format.
This writes channel 1 analog data to V3000 when the Channel 1 Select Bit (X124) is on.
This writes channel 2 analog data to V3001 when the Channel 2 Select Bit (X125) is on.
4-Ch. Isolated Analog In.
F3–04ADS
Channel 3 Select Bit
X126
Channel 4 Select Bit
X127
OUT
V3002
OUT
V3003
This writes channel 3 analog data to V3002 when the Channel 3 Select Bit (X126) is on.
This writes channel 4 analog data to V3003 when the Channel 4 Select Bit (X127) is on.
Page 64
3–20
F3–04ADS 4-Channel Isolated Analog Input
Scaling the Input Data
Most applications usually require measurements in engineering units,
Units + A
H * L
4095
which provide more meaningful data. This is accomplished by using the conversion formula shown.
You may have to make adjustments to the formula depending on the scale you choose for the engineering units.
H = high limit of the engineering
unit range
L = low limit of the engineering
unit range
A = Analog value (0 – 4095)
For example, if you wanted to measure pressure (PSI) from 0.0 to 99.9 then you would have to multiply the analog value by 10 in order to imply a decimal place when you view the value with the programming software or a handheld programmer. Notice how the calculations differ when you use the multiplier.
Here is how you would write the program to perform the engineering unit conversion. This example assumes you have BCD data loaded into the appropriate V-memory locations using instructions that apply for the model of CPU you are using.
NOTE: This example uses SP1, which is always on. You could also use an X, C, etc. permissive contact.
SP1
LD V3000
MUL K1000
When SP1 is on, load channel 1 data to the accumulator.
Multiply the accumulator by 1000 (to start the conversion).
F3–04ADS
4-Ch. Isolated Analog In.
DIV K4095
OUT V3010
Divide the accumulator by 4095.
Store the result in V3010.
Page 65
F3–04ADS 4-Channel Isolated Analog Input
3–21
Analog and Digital Value Conversions
Sometimes it i s helpful to be able to quickly convert between the signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier.
Range If you know the digital value ... If you know the analog signal
level ...
–10V to + 10V
–5V to + 5V
0 to 5V
0 to 10V
1 to 5V
4 to 20mA
A +
A +
A +
A +
A +
A +
20D
4095
10D
4095
5D
4095
10D
4095
4D
4095
16D
4095
* 10
* 5
) 1
) 4
For example, if you are using the –10 to +10V range and you have measured the
D +
D +
D +
D +
D +
D +
D +
4095
4095
4095
4095
4095
4095
4095
20
(A ) 10)
20
(A ) 5)
10
A
5
A
10
(A * 1)
4
(A * 4)
16
(A ) 10)
signal at 6V, you would use the following formula to determine the digital value that should be stored in the register location that contains the data.
4095
20
(6V ) 10)
D +
D + (204.75) (16)
4-Ch. Isolated Analog In.
F3–04ADS
D + 3276
Page 66
Page 67
F3–08AD–1 8-Channel Analog Input
In This Chapter. . . .
Ċ Module Specifications Ċ Setting the Module Jumpers Ċ Connecting the Field Wiring Ċ Module Operation
1
4
Ċ Writing the Control Program
Page 68
4–2
F3–08AD–1 8-Channel Analog Input
Module Specifications
The following table provides the specifications for the F3–08AD Analog Input Module from FACTS Engineering. Review these specifications to make sure the module meets your application requirements.
Number of Channels Input Ranges 4 – 20 mA Resolution 12 bit (1 in 4096) Input Impedance 250W "0.1%, 1/2W current input Absolute Maximum Ratings "30mA Conversion Time
Converter Type Successive Approximation, AD574 Linearity Error "1 count (0.03% of full scale) maximum Maximum Inaccuracy 0.35% of full scale at 77 °F (25 °C) Accuracy vs. Temperature
Recommended Fuse 0.032 A, Series 217 fast-acting Power Budget Requirement 25 mA @ 9 VDC, 37 mA @ 24 VDC External Power Supply None required Operating Temperature Storage Temperature Relative Humidity 5 to 95% (non-condensing)
8, single ended (one common)
35ms per channel 1 channel per CPU scan
57 ppm / _C maximum full scale (including maximum offset change of 2 counts)
32° to 140° F (0° to 60_ C) –4° to 158° F (–20° to 70_ C)
F3–08AD–1
Analog Input Configuration Requirements
8-Channel Analog Input
Environmental air No corrosive gases permitted Vibration MIL STD 810C 514.2 Shock MIL STD 810C 516.2 Noise Immunity NEMA ICS3–304
The F3–08AD Analog Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for details on using 16 point modules in DL305 systems. The limitation on the number of analog modules are:
S For local and expansion systems, the available power budget and
16-point module usage are the limiting factors.
Page 69
Setting the Module Jumpers
4–3
F3–08AD–1 8-Channel Analog Input
Jumper Locations
Selecting the Number of Channels
The module is set at the factory for a 4–20 mA signal on all eight channels. If this is acceptable you do not have to change any of the jumpers. The following diagram shows how the jumpers are set.
Channels
+4
+2
+1
If you examine the rear of the module, you’ll notice several jumpers. The jumpers labeled +1, +2 and +4 are used to select the number of channels that will be used. Without any jumpers the module processes one channel (channel
1). By installing the jumpers you can add channels. The module is set from the factory for eight channel operation.
For example, if you install the +1 jumper, you add one channel for a total of two. Now if you install the +2 jumper you add two more channels for a total of four.
Any unused channels are not processed so if you only select channels 1–4, then the last four channels will not be active. The following table shows which jumpers to install.
Channel(s) +4 +2 +1
1NoNoNo 1 2 No No Yes 1 2 3 No Yes No 1 2 3 4 No Yes Yes 1 2 3 4 5 Yes No No 1 2 3 4 5 6 Yes No Yes 1 2 3 4 5 6 7 Yes Yes No 1 2 3 4 5 6 7 8 Yes Yes Yes
Jumpers installed as shown selects 8-channel operation
+4 +2 +1
Number of
Channels
8-Channel Analog Input
F3–08AD–1
Page 70
4–4
F3–08AD–1 8-Channel Analog Input
Connecting the Field Wiring
Wiring Guidelines
User Power Supply Requirements
Current Loop Transmitter Impedance
Y our company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider.
S Use the shortest wiring route whenever possible. S Use shielded wiring and ground the shield at the signal source. Do not
ground the shield at both the module and the source.
S Don’t run the signal wiring next to large motors, high current switches, or
transformers. This may cause noise problems.
S Route the wiring through an approved cable housing to minimize the risk
of accidental damage. Check local and national codes to choose the correct method for your application.
The F3–08AD receives all power from the base. A separate power supply is not required.
Standard 4 to 2 0 m A transmitters and transducers can operate from a wide variety of power supplies. Not all transmitters are alike and the manufacturers often specify a minimum loop or load resistance that must be used with the transmitter.
The F3–08AD provides 250 ohm resistance for each channel. If your transmitter requires a load resistance below 250 ohms, then you do not have to make any adjustments. However , if your transmitter requires a load resistance higher than 250 ohms, then you need to add a resistor in series with the module.
Consider the following example for a transmitter being operated from a 36 VDC supply with a recommended load resistance of 750 ohms. Since the module has a 250 ohm resistor, you need to add an additional resistor.
F3–08AD–1
8-Channel Analog Input
R + Tr * Mr R + 750 * 250
R w 500
DC Supply
+36V
0V
R – Resistor to add Tr – Transmitter Requirement Mr – Module resistance (internal 250 ohms)
Module Channel 1
R
+–
Two-wire Transmitter
– +
250W
Page 71
F3–08AD–1 8-Channel Analog Input
4–5
Removable Connector
The F3–08AD module has a removable connector to make wiring easier. Simply squeeze the top and bottom tabs and gently pull the connector from the module.
Wiring Diagram
Note 1: Terminate all shields at their respective signal source Note 2: To avoid “ground loop” errors, the following transmitter
types are recommended:
2 & 3 wire: Isolation between input signal & P/S 4 wire: Full isolation between input signal, P/S and output signal.
+
4 wire 4-20mA
-
Transmitter P/S
See note
4 wire
4-20mA
4 wire
4-20mA
4 wire
4-20mA
4 wire
4-20mA
2 wire
4-20mA
2 wire
4-20mA
3 wire
4-20mA
3 wire
4-20mA
+-
External P/S
for 4-20mA
Transmitters
(Switching Type DC P/S not recommended)
1+ 2+ 1– 2– 3+ 4+ 3– 4– 5+ 6+ 5– 6– 7+ 8+ 7– 8–
COM
Internal Module Wiring
COM
1+ 2+ 1– 2– 3+ 4+ 3– 4– 5+ 6+ 5– 6– 7+ 8+ 7– 8–
COM
250
250
250
250
250
250
250
250
A/D
Analog
Switch
ANALOG INPUT
F3–08AD
4–20mA
C O
M
+ 1
+
2
– + 3
+ –
4
– + 5
+ –
6
– + 7
+ –
8
C O M
8-Channel Analog Input
F3–08AD–1
Page 72
4–6
F3–08AD–1 8-Channel Analog Input
Module Operation
Channel Scanning Sequence
Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals.
The F3–08AD module supplies1 channel of data per each CPU scan. Since there are eight channels, it can take up to eight scans to get data for all channels. Once all channels have been scanned the process starts over with channel 1.
Y ou do not have to select all of the channels. Unused channels are not processed, so if you select only four channels, then the channels will be updated within four scans.
Scan
F3–08AD–1
8-Channel Analog Input
I/O Update
Channel 1
Scan N
Execute Application Program
Channel 2
. . .
Channel 8
Channel 1
Scan N+1
. . .
Scan N+7
Scan N+8
Read the data
Store data
Even though the channel updates to the CPU are synchronous with the CPU scan, the module asynchronously monitors the analog transmitter signal and converts the signal to a 12-bit binary representation. This enables the module to continuously provide accurate measurements without slowing down the discrete control logic in the RLL program.
Page 73
F3–08AD–1 8-Channel Analog Input
4–7
Understanding the I/O Assignments
You may recall the F3–08AD module appears to the CPU as a 16-point module. These 16 points provide:
S an indication of which channel is active. S the digital representation of the analog signal.
Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
F3–08AD
8pt
Relay
050 057
8pt
Output
Output
040
047
R 002, R012 R 000, R010
R 011
MSB LSB
8pt
030
037
16pt
Input
020 027
120 127
(Analog)
010 017
– 110 117
Input
000 007
– 100 107
16pt
8ch
R 001
MSB LSB
Active Channel Indication Inputs
1 1 7
1 1 0
0 1 7
0 1 0
- not used
Within these two register locations, the individual bits represent specific information about the analog signal.
The next to last three bits of the upper Register indicate the active channel. The indicators automatically increment with
MSB LSB
R011
each CPU scan. Scan Channel Inputs Active Channel N 000 1
N+1 001 2 N+2 010 3
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
- channel indicator inputs
1
1
1
1
1
1
0
2
1
N+3 011 4 N+4 100 5 N+5 101 6 N+6 110 7 N+7 111 8 N+8 000 1
8-Channel Analog Input
F3–08AD–1
Page 74
4–8
F3–08AD–1 8-Channel Analog Input
Analog Data Bits
The remaining twelve bits represent the analog data in binary format.
Bit Value
Bit Value
0 (LSB) 1 6 64 1 2 7 128 2 4 8 256 3 8 9 512 4 16 10 1024 5 32 11 2048
Since the module has 12-bit resolution, the analog signal is converted into 4096 “pieces” ranging from 0 – 4095 (2
12
). For example, with a 4 – 20 mA scale, a 4 mA signal would be 0, and a 20 mA signal would be 4095. This is equivalent to a binary value of 0000 0000 0000 to 1111 1111 1111, or 000 to FFF hexadecimal. The following diagram shows how this relates to each signal range.
Each “piece” can also be expressed in terms of the signal level by using the equation shown. The following table shows the smallest signal levels that will result in a change in the data value for each signal range.
R011
MSB LSB
1
1
1
1
1
1
1
1
1
1 7
1
6
5
4
1
1
1
1
1
3
2
1
0
R001
0
0
0
0
0
1
1
1
1
1
7
6
5
4
3
- data bits
4 – 20mA
20mA
4mA
0 4095
Resolution +
H = high limit of the signal range L = low limit of the signal range
H * L
4095
0
0
0
1
1
1
0
2
1
F3–08AD–1
8-Channel Analog Input
Range Highest Signal Lowest Signal Smallest Change
4 to 20mA 20mA 4mA
3.91 mA
Now that you understand how the module and CPU work together to gather and store the information, you’re ready to write the control program.
Page 75
F3–08AD–1 8-Channel Analog Input
Writing the Control Program (DL330 / DL340)
4–9
Identifying the Data Locations
Since all channels are multiplexed into a single data word, the control program must be setup to determine which channel is being read. Since the module provides input points to the CPU, it is very easy to use the active channel status bits to determine which channel is being monitored.
F3–08AD
8pt
Relay
050
057
8pt
Output
040 047
Output
8pt
030
037
16pt
Input
020
027
– 120 127
8ch
(Analog)
010 017
– 110 117
16pt
Input
000 007
100 107
R 002, R012 R 000, R010
R 011
MSB LSB
1 1 7
1 1 0
MSB LSB
R 001
0 1 7
0 1 0
- not used
Single Channel on Every Scan
The following example shows a program that is designed to read a single channel of analog data into a Register location on every scan. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. This example is designed to read channel 1. Since you use jumpers to select the number of channels to scan, this is the only channel that you can use in this manner.
374
DSTR1 R001
DOUT1 R400
DSTR1 R011
DOUT1 R401
DSTR R400
BCD
DOUT R400
F51
F61
F51
F61
F50
F86
F60
This rung loads the data into the accumulator on every scan. (You can use any permissive contact.)
Since the active channel indicators are all off when channel 1 is being read, you would not have to use them. (Since you cannot isolate the individual channels for scanning, channel 1 is the only channel that can be used in this manner.) The DOUT1 instruction moves the data to a storage register. The BCD value will be stored in R400 and R401. (Two bytes are required for four digit BCD numbers.)
The DL305 CPUs perform math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
8-Channel Analog Input
F3–08AD–1
Page 76
4–10
F3–08AD–1 8-Channel Analog Input
Reading Multiple Channels over Alternating Scans
The following example shows a program designed to read any of the available channels of analog data into Register locations. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s simple if you follow the example.
Read the data
374
Store channel 1
114
Store channel 2
114 115 116
115 116
DSTR3 R011
DOUT1 R501
DSTR1 R001
DOUT1 R500
DSTR R500
BCD F86
DOUT R400
DOUT R402
F53
F61
F51
F61
F50
F60
F60
This rung loads the four most significant data bits into the accumulator from Register 011 on every scan. (You could use any permissive contact.)
Temporarily store the bits to Register 501.
This rung loads the eight least significant data bits into the accumulator from Register 001.
Temporarily store the bits to Register 500. Since the most significant bits were loaded into 501, now R500 and R501 contain all twelve bits in order.
Now that all the bits are stored, load all twelve bits into the accumulator.
Math operations are performed in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
The channel indicator inputs are used to let the CPU know which channel has been loaded into the accumulator. By using these inputs to control a DOUT instruction, you can easily move the data to a storage register. Notice the DOUT instruction stores the data in two bytes. (Two bytes are required for four digit BCD numbers.)
F3–08AD–1
8-Channel Analog Input
Store channel 3
114 115 116
Store channel 4
114
Store channel 5
114 115 116
Store channel 6
114 115 116
Store channel 7
114 115 116
Store channel 8
114 115 116
115 116
DOUT R404
DOUT R406
DOUT R410
DOUT R412
DOUT R414
DOUT R416
F60
F60
F60
F60
F60
F60
Page 77
F3–08AD–1 8-Channel Analog Input
4–11
Scaling the Input Data
Most applications usually require measurements in engineering units, which provide more meaningful data. This is accomplished by using the conversion formula shown.
The following example shows how you would use the analog data to represent pressure (PSI) from 0 to 100. This example assumes the analog value is
1760. This should yield approximately
42.9 PSI.
Units +
Units = value in Engineering Units A = Analog value (0 – 4095) S = high limit of the Engineering
unit range
A
S
4096
Units +
Units +
Units + 42.9
4096
1760 4096
A
S
100
Page 78
4–12
F3–08AD–1 8-Channel Analog Input
The following instructions are required to scale the data. We’ll continue to use the
42.9 PSI example. In this example we’re using channel 1. Input 1 14, input 115, and input 116 are all off when channel 1 data is being read. Of course, if you were using a different channel, you would use the active channel indicator point combination that corresponds to the channel you were using.
This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401
Scale the data
114 115 116
DSTR R400
F50
This instruction brings the analog value (in BCD) into the accumulator.
Accumulator
1 7 6 0
Aux. Accumulator
0 0 0 0
R577 R576
F3–08AD–1
8-Channel Analog Input
DIV K4096
DSTR R576
MUL K100
DSTR R576
DOUT R450
F74
F50
F73
F50
F60
The analog value is divided by the resolution of the module, which is 4096. (1760 / 4096 = 0.4296)
Accumulator
0 0 0 0
This instruction moves the two-byte decimal portion into the accumulator for further operations.
Accumulator
4 2 9 6
The accumulator is then multiplied by the scaling factor, which is 100. (100 x 4296 = 429600). Notice the most significant digits are now stored in the auxilliary accumulator. (This is different from the way the Divide instruction operates.)
Accumulator
9 6 0 0
This instruction moves the two-byte auxilliary accumulator for further operations.
Accumulator
0 0 4 2
This instruction stores the accumulator to R450 and R451. R450 and R451 now contain the PSI, which is 42 PSI.
Accumulator
0 0 4 2
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
0 0 4 2
R577 R576
Aux. Accumulator
0 0 4 2
R577 R576
Store in R451 & R450
0 0 4 2
R451 R450
Page 79
4–13
F3–08AD–1 8-Channel Analog Input
You probably noticed the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale. Instead of a scale of 100, we’re using 1000, which implies 100.0 for the PSI range.
This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401
Scale the data
114 115 116
DSTR R400
F50
This instruction brings the analog value (in BCD) into the accumulator.
Accumulator
1 7 6 0
Aux. Accumulator
0 0 0 0
R577 R576
DIV K4096
DSTR R576
MUL K1000
DSTR R576
DOUT R450
F74
F50
F73
F50
F60
The analog value is divided by the resolution of the module, which is 4096. (1760 / 4096 = 0.4296)
Accumulator
0 0 0 0
This instruction moves the two-byte decimal portion into the accumulator for further operations.
Accumulator
4 2 9 6
The accumulator is multiplied by the scaling factor, which is now 1000. (1000 x 4296 = 4296000). The most significant digits are now stored in the auxilliary accumulator. (This is different from the way the Divide instruction operates.)
Accumulator
6 0 0 0
This instruction moves the two-byte auxilliary accumulator for further operations.
Accumulator
0 4 2 9
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
4 2 9 6
R577 R576
Aux. Accumulator
0 4 2 9
R577 R576
Aux. Accumulator
0 4 2 9
R577 R576
8-Channel Analog Input
F3–08AD–1
This instruction stores the accumulator to R450 and R451. R450 and R451 now contain the PSI, which implies 42.9.
Accumulator
0 4 2 9
Store in R451 & R450
0 4 2 9
R451 R450
Page 80
4–14
F3–08AD–1 8-Channel Analog Input
This example program shows how you can use the instructions to load these equation constants into data registers. The example was written for channel 1, but you could easily use a similar approach to use different scales for all channels if required.
You could just use the appropriate constants in the instructions dedicated for each channel, but this method allows easier modifications. For example, you could easily use an operator interface or a programming device to change the constants if they are stored in Registers.
Load the constants
374
DSTR K4096
F50
On the first scan, these first two instructions load the analog resolution (constant of 4096) into R430 and R431.
F3–08AD–1
8-Channel Analog Input
Read the data
374
Store channel 1
114 115 116
DOUT R430
DSTR K1000
DOUT R432
DSTR3 R011
DOUT1 R501
DIV R430
DSTR R576
MUL R432
DSTR R576
DOUT R400
F60
F50
F60
F53
F61
F74
F50
F73
F50
F60
These two instructions load the high limit of the Engineering unit scale (constant of 1000) into R432 and R433. Note, if you have different scales for each channel, you’ll also have to enter the Engineering unit high limit for those as well.
This rung loads the four most significant data bits into the accumulator from Register 011 on every scan. (You could use any permissive contact.)
Temporarily store the bits to Register 501.
The analog value is divided by the resolution of the module, which is stored in R430.
This instruction moves the decimal portion from the auxilliary accumulator into the regular accumulator for further operations.
The accumulator is multiplied by the scaling factor, which is stored in R432.
This instruction moves most significant digits (now stored in the auxilliary accumulator) into the regular accumulator for further operations.
The scaled value is stored in R400 and R401 for further use.
Page 81
F3–08AD–1 8-Channel Analog Input
Writing the Control Program (DL350)
4–15
Reading Values: Pointer Method and Multiplexing
Pointer Method
There are two methods of reading values for the DL350:
S The pointer method (all system bases must be D3–xx–1 bases to
support the pointer method)
S Multiplexing
You must use the multiplexing method with remote I/O modules (the pointer method will not work). You can use either method when using DL350, but for ease of programming it is strongly recommended that you use the pointer method.
NOTE: Do not use the pointer method and the PID PV auto transfer from I/O module function together for the same module. If using PID loops, use the pointer method and ladder logic code to map the analog input data into the PID loop table.
The DL350 has special V-memory locations assigned to each base slot that greatly simplifies the programming requirements. These V-memory locations allow you to:
S specify the data format S specify the number of channels to scan S specify the storage locations
The example program shows how to setup these locations. Place this rung anywhere in the ladder program or in the Initial Stage if you are using RLL
PLUS
instructions. This is all that is required to read the data into V-memory locations. Once the data is in V -memory, you can perform math on the data, compare the data against preset values, and so forth. V2000 is used in the example, but you can use any user V-memory location. In this example the module is installed in slot 2. You should use the V-memory locations for your module placement.
SP0
LD
K
00
08 K0088
OUT V7662
LDA O2000
OUT V7672
- or -
Loads a constant that specifies the number of channels to scan and the data format. The upper byte, most significant nibble (MSN) selects the data format (i.e. 0=BCD, 8=Binary), the LSN selects the number of channels (i.e. 1, 2, 3, 4, 5, 6, 7, 8).
The binary format is used for displaying data on some operator interfaces.
Special V-memory location assigned to slot 2 that contains the number of channels to scan.
This loads an octal value for the first V-memory location that will be used to store the incoming data. For example, the O2000 entered here would designate the following addresses. Ch1 - V2000, Ch2 - V2001, Ch3 - V2002, Ch4 - V2003, Ch5 – V2004, Ch6 – V2005, Ch7 – V2006, Ch8 – V2007
The octal address (O2000) is stored here. V7672 is assigned to slot 2 and acts as a pointer, which means the CPU will use the octal value in this location to determine exactly where to store the incoming data.
LD
8-Channel Analog Input
F3–08AD–1
Page 82
4–16
F3–08AD–1 8-Channel Analog Input
The table shows the special V-memory locations used with the DL350. Slot 0 (zero) is the module next to the CPU, slot 1 is the module two places from the CPU, and so on. Remember, the CPU only examines the pointer values at these locations after a mode transition. The pointer method is supported on expansion bases up to a total of 8 slots away from the DL350 CPU. The pointer method is not supported in slot 8 of a 10 slot base.
Analog Input Module Slot-Dependent V-memory Locations
Slot 0 1 2 3 4 5 6 7 No. of Channels V7660 V7661 V7662 V7663 V7664 V7665 V7666 V7667 Storage Pointer V7670 V7671 V7672 V7673 V7674 V7675 V7676 V7677
Multiplexing: DL350 with a Conventional DL305 Base
F3–08AD–1
The example below shows how to read multiple channels on an F3–08AD Analog module in the X20–27 / X120–127 address slot. This module must be placed in a 16 bit slot in order to work.
Load the data
_On
SP1
Channel 1 Select Bit States
X125
X124 X126
LDFK8X120
SHFL
ORFK8X20
ANDD
BCD
OUT
K8
Kfff
V3000
This rung loads the upper byte of analog data from the module.
SHFL K8 shifts the data to the left eight places to make room for the lower byte of data.
The ORF X20 brings the lower byte of data from the module into the accumulator. At this time there is a full word of data from the analog module in the accumulator.
The ANDD Kfff masks off the twelve least significant bits of data from the word. This is the actual analog value.
The BCD command converts the data to BCD format.
This writes channel one analog data to V3000 when bits X124, X125 and X126 are as shown.
8-Channel Analog Input
Channel 2 Select Bit States
X125X124 X126
Channel 3 Select Bit States
X125X124 X126
example continued on next page
OUT
V3001
OUT
V3002
This writes channel two analog data to V3001 when bits X124, X125 and X126 are as shown.
This writes channel three analog data to V3002 when bits X124, X125 and X126 are as shown.
Page 83
example continued from previous page
Channel 4 Select Bit States
X125X124 X126
Channel 5 Select Bit States
X125X124 X126
Channel 6 Select Bit States
X125X124 X126
OUT
V3003
OUT
V3004
OUT
V3005
4–17
F3–08AD–1 8-Channel Analog Input
This writes channel four analog data to V3003 when bits X124, X125 and X126 are as shown.
This writes channel five analog data to V3004 when bits X124, X125 and X126 are as shown.
This writes channel six analog data to V3005 when bits X124, X125 and X126 are as shown.
Channel 7 Select Bit States
X125
X124 X126
Channel 8 Select Bit States
X125X124 X126
OUT
V3006
OUT
V3007
This writes channel seven analog data to V3006 when bits X124, X125 and X126 are as shown.
This writes channel eight analog data to V3007 when bits X124, X125 and X126 are as shown.
8-Channel Analog Input
F3–08AD–1
Page 84
4–18
F3–08AD–1 8-Channel Analog Input
Multiplexing: DL350 with a D3–xx–1 Base
The example below shows how to read multiple channels on an F3–08AD Analog module in the X0 address slot of a D3–xx–1 base. If any expansion bases are used in the system, they must all be D3–xx–1 to be able to use this example. Otherwise, the conventional base addressing must be used.
Load the data
_On
SP1
_On
SP1
LD
SHFR
OUT
LDF
VX0
K12
V1400
X0
K12
This rung loads the only the channel select bits into V1400. The SHFR shifts the analog data out of the word.
This rung loads the only the analog input data and converts it to BCD.
F3–08AD–1
8-Channel Analog Input
BCD
Channel 1
V1400 K0
=
Channel 2
V1400 K1
=
Channel 3
V1400 K2
=
example continued on next page
OUT
V3000
OUT
V3001
OUT
V3002
These rungs store the BCD analog input data into consecutive V memory registers. V1400 will increment once per scan from 0 to 7.
Page 85
example continued from previous page
Channel 4
V1400 K3
=
Channel 5
V1400 K4
=
Channel 6
V1400 K5
=
Channel 7
V1400 K6
=
Channel 8
OUT
V3003
OUT
V3004
OUT
V3005
OUT
V3006
4–19
F3–08AD–1 8-Channel Analog Input
These rungs store the BCD analog input data into consecutive V memory registers. V1400 will increment once per scan from 0 to 7.
V1400 K7
=
OUT
V3007
8-Channel Analog Input
F3–08AD–1
Page 86
4–20
F3–08AD–1 8-Channel Analog Input
Scaling the Input Data
Most applications usually require measurements in engineering units,
Units + A
H * L
4095
which provide more meaningful data. This is accomplished by using the conversion formula shown.
You may have to make adjustments to the formula depending on the scale you choose for the engineering units.
H = high limit of the engineering
unit range
L = low limit of the engineering
unit range
A = Analog value (0 – 4095)
For example, if you wanted to measure pressure (PSI) from 0.0 to 99.9 then you would have to multiply the analog value by 10 in order to imply a decimal place when you view the value with the programming software or a handheld programmer. Notice how the calculations differ when you use the multiplier.
Here is how you would write the program to perform the engineering unit conversion. This example assumes you have BCD data loaded into the appropriate V-memory locations using instructions that apply for the model of CPU you are using.
NOTE: This example uses SP1, which is always on. You could also use an X, C, etc. permissive contact.
SP1
LD V3000
MUL K1000
When SP1 is on, load channel 1 data to the accumulator.
Multiply the accumulator by 1000 (to start the conversion).
Analog and Digital Value Conversions
F3–08AD–1
8-Channel Analog Input
DIV K4095
OUT V3010
Divide the accumulator by 4095.
Store the result in V3010.
Sometimes it i s helpful to be able to quickly convert between the signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier.
Range If you know the digital value ... If you know the analog signal
level ...
4 to 20mA
A +
16D
4095
) 4
For example, if you have measured the signal at 10mA, you would use the following formula to determine the digital value that should be stored in the register
D +
D +
D +
4095
16
4095
(A * 4)
16
4095
(10mA * 4)
16
(A * 4)
location that contains the data.
D + (255.93) (6)
D + 1536
Page 87
F3–16AD 16-Channel Analog Input
In This Chapter. . . .
Ċ Module Specifications Ċ Setting the Module Jumpers Ċ Connecting the Field Wiring Ċ Module Operation
1
5
Ċ Writing the Control Program
Page 88
5–2
F3–16AD 16-Channel Analog Input
Module Specifications
The following table provides the specifications for the F3–16AD Analog Input Module from FACTS Engineering. Review these specifications to make sure the module meets your application requirements.
Number of Channels Input Ranges "5V, "10V, 0–5V1, 0–10V,
Resolution 12 bit (1 in 4096) Input Impedance 2MW, voltage input
Absolute Maximum Ratings "25V, voltage input
Conversion Time
Converter Type Successive Approximation, AD574 Linearity Error "1 count maximum Maximum Inaccuracy at 77 °F
(25 °C) Accuracy vs. Temperature
Recommended Fuse 0.032 A, Series 217 fast-acting, current inputs Power Budget Requirement 33 mA @ 9 VDC, 47 mA @ 24 VDC External Power Supply None required Operating Temperature
16, single ended (one common)
0–20 mA, 4 – 20 mA
W "1%, current input
500
"30 mA, current input 35ms per channel
1 channel per CPU scan
0.25% of full scale, voltage input
1.25% of full scale, current input 57 ppm / _C maximum full scale
32° to 140° F (0° to 60_ C)
2
Analog Input Configuration Requirements
F3–16AD
16-Channel Analog Input
Storage Temperature Relative Humidity 5 to 95% (non-condensing) Environmental air No corrosive gases permitted Vibration MIL STD 810C 514.2 Shock MIL STD 810C 516.2 Noise Immunity NEMA ICS3–304
1 – requires gain adjustment with potentiometer. 2 – resolution is 3275 counts (instead of 4096). Allows easier broken transmitter detection
The F3–16AD Analog Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for details on using 16 point modules in DL305 systems. The limitation on the number of analog modules are:
S For local and expansion systems, the available power budget and
16-point module usage are the limiting factors.
–4° to 158° F (–20° to 70_ C)
Page 89
Setting the Module Jumpers
Ch
)
Ch
)
5–3
F3–16AD 16-Channel Analog Input
Jumper Locations
Selecting the Number of Channels
The module is set at the factory for a 0–20 mA signal on all sixteen channels. If this is acceptable you do not have to change any of the jumpers. The following diagram shows the jumper locations.
ADJ
10V
Span
20V
Current
Channels
8 4 2 1
Gain
X100
X1000
Gain
X1
X10
Polarity
Bipolar
Unipolar
If you examine the rear of the module, you’ll notice several jumpers. The
+8 +4 +2
+1
jumpers labeled +1, +2, +4 and +8 are used to select the number of channels that will be used. Without any jumpers the module processes one channel. By installing the jumpers you can add channels. The module is set from the
Number of
Channels
factory for sixteen channel operation. Any unused channels are not processed
so if you only select channels 1–8, then
Jumpers installed as shown selects 16-channel operation
the last eight channels will not be active. The following table shows which jumpers to install.
annel(s
1 No No No No 1 2 3 4 5 6 7 8 9 Yes No No No 1 2 No No No Yes 1 2 3 4 5 6 7 8 9 10 Yes No No Yes 1 2 3 No No Yes No 1 2 3 4 5 6 7 8 9 10 11 Yes No Yes No 1 2 3 4 No No Yes Yes 1 2 3 4 5 6 7 8 9 10 11 12 Yes No Yes Yes 1 2 3 4 5 No Yes No No 1 2 3 4 5 6 7 8 9 10 11 12 13 Yes Yes No No 1 2 3 4 5 6 No Yes No Yes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Yes Yes No Yes 1 2 3 4 5 6 7 No Yes Yes No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Yes Yes Yes No 1 2 3 4 5 6 7 8 No Yes Yes Yes 1 2 3 4 5 6 7 8 9 10 11 12 13141516 Yes Yes Yes Yes
Jumper +8 +4 +2 +1
annel(s
Jumper +8 +4 +2 +1
16-Channel Analog Input
F3–16AD
Page 90
5–4
0
0
F3–16AD 16-Channel Analog Input
Selecting Input Signal Ranges
As you examined the jumper settings, you may have noticed there are current jumpers for each individual channel. These jumpers allow you to select the type of signal (voltage or current).
The span and polarity jumpers are used to select the signal range. The polarity and span selection affect all the channels. For example, if you select unipolar operation and a 10V span, you can use both 0 –10V and 0–20 mA signals at the same time. Channels that will receive 0–20 mA signals should have the current jumper installed. The following table shows the jumper selections for the various ranges. (Only channel 1 is used in the example, but all channels must be set.)
Bipolar Signal Range Jumper Settings
–5 VDC to +5 VDC
–10 VDC to +10 VDC
Polarity
Polarity
Span
UniBi
UniBi
10V20V
Span
10V20V
Current Jumper
Gain Jumper
x1 x10
Current Jumper
Gain Jumper
x1 x10
Unipolar Signal Range Jumper Settings
0 to 20 mA (these settings are also used for the 4–20mA range)
Polarity
Span
UniBi
Current Jumper
10V20V
Gain Jumper
F3–16AD
0 VDC to +10 VDC
0 VDC to +1 VDC
0 VDC to +0.1 VDC
0 VDC to +0.01 VDC
Polarity
Polarity
Polarity
Polarity
x1 x10
Span
UniBi
Span
UniBi
Span
UniBi
Span
UniBi
Current Jumper
10V20V
Gain Jumper
x1 x10
Current Jumper
10V20V
Gain Jumper
x1 x10
Current Jumper
10V20V
Gain Jumper
x100
Current Jumper
10V20V
Gain Jumper
x100
x100
x100
16-Channel Analog Input
Page 91
F3–16AD 16-Channel Analog Input
Input Signal Range Jumper Settings
0 VDC to +5 VDC (requires gain adjustment
Polarity
Span
UniBi
see instructions below)
5–5
Current Jumper
10V20V
Gain Jumper
x1 x10
Variable Gain Adjustment
0 VDC to +12 VDC (requires gain adjustment see instructions below)
If you look at the terminal block closely, you’ll notice a small hole conceals an
Polarity
Span
UniBi
Current Jumper
10V20V
Gain Jumper
x1 x10
Potentiometer
Adjustment
adjustment potentiometer. This small potentiometer is used to adjust the gain for certain situations.
For example, if you have 0–5V transmitters you have to use the 0–10V scale on the module. Since the module converts the signal to a digital value between 0 and 4095, a 5V signal would only yield a value of 2048. Fortunately, the variable gain feature provides a simple solution. Just complete the following steps.
1. Install a jumper on the gain adjustment pins. (This jumper location is labeled ADJ. This jumper will remain installed after the gain adjustment .)
2. Apply 5V to one of the channels.
3. Use a handheld programmer or DirectSOFT to monitor the input register that contains the analog data. (If you’re not familiar with this procedure, wait until you read the section on Writing the Control Program. This will show you how to get data into a register. You can come back to this procedure later.)
4. Adjust the potentiometer until the register value reads 4094 or 4095. The potentiometer is turned clockwise to increase the gain.
Hole
Now the module has been adjusted so a 5V signal provides a digital value of 4095 instead of 2048.
16-Channel Analog Input
F3–16AD
Page 92
5–6
F3–16AD 16-Channel Analog Input
Connecting the Field Wiring
Wiring Guidelines
User Power Supply Requirements
Y our company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider.
S Use the shortest wiring route whenever possible. S Use shielded wiring and ground the shield at the signal source. Do not
ground the shield at both the module and the source.
S Don’t run the signal wiring next to large motors, high current switches, or
transformers. This may cause noise problems.
S Route the wiring through an approved cable housing to minimize the risk
of accidental damage. Check local and national codes to choose the correct method for your application.
The F3–16AD receives all power from the base. A separate power supply is not required.
F3–16AD
16-Channel Analog Input
Page 93
F3–16AD 16-Channel Analog Input
5–7
Custom Input Ranges
Occasionally you may have the need to connect a transmitter with an unusual signal range. By changing the wiring slightly and adding an external resistor to convert the current to voltage, you can easily adapt this module to meet the specifications for a transmitter that does not adhere to one of the standard input ranges. The following diagram shows how this works.
Internal Module
Circuitry
+CH1
R
COM
Jumper
Removed
250W
V
max
+
-
50mA
Current
Transmitter
R =
I
max
R = value of external resistor
= high limit of selected voltage range
V
max
= maximum current supplied by the transmitter
I
max
Example: current transmitter capable of 50mA, 0 - 10V range selected.
10V
R =
R = 200 ohms
50mA
NOTE: Your choice of resistor can affect the accuracy of the module. A resistor that has "0.1% tolerance and a "50ppm / _C temperature coefficient is recommended.
16-Channel Analog Input
F3–16AD
Page 94
5–8
F3–16AD 16-Channel Analog Input
Current Loop Transmitter Impedance
Standard 4 to 2 0 m A transmitters and transducers can operate from a wide variety of power supplies. Not all transmitters are alike and the manufacturers often specify a minimum loop or load resistance that must be used with the transmitter at the various voltages.
The F3–16AD provides 500 ohm resistance for each channel. If your transmitter requires a load resistance below 500 ohms, then you do not have to make any adjustments. However , if your transmitter requires a load resistance higher than 500 ohms, then you need to add a resistor in series with the module.
Consider the following example for a transmitter being operated from a 36 VDC supply with a recommended load resistance of 750 ohms. Since the module has a 500 ohm resistor, you need to add an additional resistor.
R + Tr * Mr R + 750 * 500
R w 250
DC Supply
0V
+36V
R – Resistor to add Tr – Transmitter Requirement Mr – Module resistance (internal 500 ohms)
Module Channel 1
R
– +
500W
F3–16AD
+–
Two-wire Transmitter
16-Channel Analog Input
Page 95
F3–16AD 16-Channel Analog Input
5–9
Removable Connector
The F3–16AD module has a removable connector to make wiring easier. Simply squeeze the top and bottom tabs and gently pull the connector from the module.
Wiring Diagram
Note 1: Terminate all shields at their respective signal source. Note 2: Jumpers for CH4, 7, 12 and 16 are installed for current input.
See note
CH1
CH2
CH3
CH4
CH5
CH6
CH7
CH8
CH9
CH10
CH11
CH12
CH13
CH14
CH15
CH16
Volatage
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Current
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Current
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Current
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Volatage
Transmitter
Current
Transmitter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1
3
5
7
9
11
13
15
COM
COM
2
4
6
8
10
12
14
16
Internal Module Wiring
Analog
Switch
ANALOG INPUT
F3–16AD
C O M
CH
1
CH
CH
2
3
CH
4
CH
5
CH
6
CH
7
CH
CH
8
9
CH
CH
10
11
CH
CH
12
13
CH
CH
14
15
CH
C
16
O M
All resistors are 500W
16-Channel Analog Input
F3–16AD
Page 96
5–10
Module Operation
Channel Scanning Sequence
F3–16AD 16-Channel Analog Input
Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals.
The F3–16AD module supplies 1 channel of data per each CPU scan. Since there are sixteen channels, it can take up to sixteen scans to get data for all channels. Once all channels have been scanned the process starts over with channel 1.
Y ou do not have to select all of the channels. Unused channels are not processed, so if you select only eight channels, then the channels will be updated within eight scans.
Scan
I/O Update
Channel 1
Scan N
Execute Application Program
Channel 2
. . .
Channel 16
Channel 1
Scan N+1
. . .
Scan N+15
Scan N+16
Read the data
Store data
Even though the channel updates to the CPU are synchronous with the CPU scan, the module asynchronously monitors the analog transmitter signal and converts the signal to a 12-bit binary representation. This enables the module to continuously provide accurate measurements without slowing down the discrete control logic in the RLL program.
F3–16AD
16-Channel Analog Input
Page 97
F3–16AD 16-Channel Analog Input
5–11
Understanding the I/O Assignments
You may recall the F3–16AD module appears to the CPU as a 16-point module. These 16 points provide:
S an indication of which channel is active. S the digital representation of the analog signal.
Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
F3–16AD
8pt
Relay
050 057
MSB LSB
8pt
Output
Output
040
047
8pt
030
037
16pt
Input
020 027
120 127
(Analog)
010 017
– 110 117
Input
000 007
– 100 107
16pt
16ch
R 002, R012 R 000, R010
R 011
MSB LSB
R 001
1 1 7
1 1 0
0 1 7
0 1 0
Within these two register locations, the individual bits represent specific information about the analog signal.
16-Channel Analog Input
F3–16AD
Page 98
5–12
F3–16AD 16-Channel Analog Input
Active Channel Indicator Inputs
The last four inputs of the upper Register indicate the active channel. The indicators automatically increment with each CPU scan.
Channel Active
Scan Inputs Channel N 0000 1
N+1 0001 2 N+2 0010 3 N+3 0011 4 N+4 0100 5 N+5 0101 6 N+6 0110 7 N+7 0111 8 N+8 1000 9 N+9 1001 10 N+10 1010 11 N+11 1011 12 N+12 1100 13 N+13 1101 14 N+14 1110 15 N+15 1111 16
R011
MSB LSB
1
1
1
1
1
1
1
1
1
1
7
6
5
4
3
1
1
1
1
1
1
0
2
1
- channel indicator inputs
F3–16AD
16-Channel Analog Input
Page 99
F3–16AD 16-Channel Analog Input
5–13
Analog Data Bits
The remaining twelve bits represent the analog data in binary format.
Bit Value
Bit Value
0 (LSB) 1 6 64 1 2 7 128 2 4 8 256 3 8 9 512 4 16 10 1024
R011
MSB LSB
1
1
1
1
1
1
1
1
1
1 7
1
6
5
4
1
1
1
1
1
3
2
1
0
- data bits
R001
0
0
0
0
0
1
1
1
1
1
7
6
5
4
3
0
0
0
1
1
1
0
2
1
5 32 11 2048
Since the module has 12-bit resolution, the analog signal is converted into 4096
12
“pieces” ranging from 0 – 4095 (2
). For example, with a 0 to 10V scale, a 0V signal would be 0, and a 10V signal would be 4095. This is equivalent to a a binary value of 0000 0000 0000 to 1111 1111 1111, or 000 to FFF hexadecimal. The following diagram shows how this relates to each signal range.
–10V – +10V
–5V – +5V
+V
0V
-V 0 4095
0V – 10V
+V
0V
0 4095
20mA
0mA
0 – 20mA
0 4095
20mA
4mA
4 – 20mA
819 4095
0
NOTE: When you use 4–20mA signals, you have to use the 0–20mA scale. You do not have resolution of 4096 if the 4–20mA signal is present. In this case, the range is 819 to 4095. This is because a 0 still represents 0mA, not 4mA.
Each “piece” can also be expressed in terms of the signal level by using the
Resolution +
H * L
4095
equation shown. The following table shows the smallest signal levels that will possibly result in a change in the data value for each signal range.
H = high limit of the signal range L = low limit of the signal range
Range Highest Signal Lowest Signal Smallest Change
–10 to +10V +10V –10V 4.88 mV –5 to +5V +5 V –5V 2.44 mV 0 to 5V 5V 0V 1.22 mV 0 to 10V 10V 0V 2.44 mV 0 to 12V 12V 0V 2.90 mV 0 to 20mA
20mA 0mA
4.88 mA
(4 to 20mA also) 0 to 1V 1 V 0 V 0.244 mV 0 to 0.1V 0.1 V 0 V 24.4 uV
16-Channel Analog Input
F3–16AD
0 to 0.01V 0.01 V 0 V 2.44 uV
Page 100
5–14
Writing the Control Program (DL330 / DL340)
F3–16AD 16-Channel Analog Input
Identifying the Data Locations
Since all channels are multiplexed into a single data word, the control program must be setup to determine which channel is being read. Since the module provides input points to the CPU, it is very easy to use the active channel status bits to determine which channel is being monitored.
F3–16AD
8pt
Relay
050 057
8pt
Output
Output
040
047
R 002, R012 R 000, R010
R 011
MSB LSB
1 1 7
8pt
030
037
16pt
Input
020 027
– 120 127
(Analog)
16ch
010 017
– 110 117
16pt Input
000 007
100 107
R 001
MSB LSB
1 1 0
0 1 7
0 1 0
F3–16AD
16-Channel Analog Input
Loading...