Writing the Control Program ................................................................................ 10-11
Chapter
Chapter
Chapter
7
10
10
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Module Specifications
The F2-08DA-1 Analog Output module provides several
hardware features:
• Supported by D2-230, D2-240, D2-250-1, D2-260
and D2-262 CPUs (see firmware requirements).
• Analog outputs are optically isolated from the PLC logic.
• The module has a removable terminal block so
the module can be easily removed or changed
without disconnecting the wiring.
• All channels can be updated in one scan (D2240, D2-250-1, D2-260 and D2-262 only).
• Outputs are both current sinking and sourcing.
Firmware Requirements:
• To use this module, D2-230 CPUs must have firmware
version 2.7 or later.
• To use the pointer method for writing values, D2-240 CPUs
require firmware version 3.0 or later.
• D2-250-1 CPU requires firmware version 1.33 or later.
OUT
F2-08DA-1
18-26.4VDC
80mA
4-20mA
SNK-SRC
1-I
1-O
2-I
2-O
3-I
3-O
4-I
4-O
5-I
5-O
6-I
6-O
7-I
7-O
8-I
8-O
N/C
0V
24V
F2-08DA-1
ANALOG
8 CHANNEL
10-2
Analog Output Configuration Requirements
The F2-08DA-1 analog output module requires 16 discrete output points. The module can
be installed in any slot of a DL205 PLC system, but the available power budget and discrete
I/O points can be the limiting factors. Check the user manual for the particular model of CPU
and I/O base being used for information regarding power budget and number of local, local
expansion or remote I/O points.
DL205 Analog I/O Manual, 7th Edition, Rev. G
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
The following tables provide the specifications for the F2–08DA–1 Analog Output Module.
Review these specifications to make sure the module meets your application requirements.
Output Specifications
Number of Channels
Output Range
Resolution
Output Type
Maximum Loop Supply
Source Load
Sink Load
Total Load (sink plus source)
Linearity Error (end to end)
Conversion Settling Time
Full-scale Calibration Error
Offset Calibration Error
Maximum Full Scale Inaccuracy @ 0–60°C
Maximum Full Scale Inaccuracy @ 0–25°C
(includes all errors & temperature drift)
8, single-ended
4–20 mA
12 bit (1 in 4096)
Current sinking and current sourcing
30VDC
0–400 q (for loop power 18–30 V)
0–600 q / 18V, 900q / 24V, 1200q / 30V600q / 18V, 900q / 24V, 1200q / 30V
±2 counts (±0.050% of full scale) maximum
400µs maximum (full scale change)
±12 counts maximum, sinking (any load)
Output Points Required
Power Budget Requirement
External Power Supply
Operating Temperature
Storage Temperature
Relative Humidity
Environmental air
Vibration
Shock
Noise Immunity
General Specifications
8 channel per scan maximum
12 binary data bits, 3 channel ID bits, 1 output enable bit
16 (Y) output points required
30mA @ 5VDC (supplied by the base)
18–30 VDC, 50mA plus 20mA / output loop, class 2
0–60°C (32–140°F)
-20°C to 70°C (-4°F to 158°F)
5–95% (non-condensing)
No corrosive gases permitted
MIL STD 810C 514.2
MIL STD 810C 516.2
NEMA ICS3-304
DL205 Analog I/O Manual, 7th Edition, Rev. G
10-3
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
F2-08DA-1
Correct!
Incorrect
Special Placement Requirements (D2-230 and Remote I/O Bases)
It is important to examine the configuration if a D2-230 CPU is being used. As can be seen in the
section on Writing the Control Program, V-memory locations are used to hold the analog data that
will be written to the output. If the module is placed in a slot so that the output points do not start on a
V-memory boundary, the program instructions aren’t able to access the data. This also applies
when placing this module in a remote base using a D2-RSSS in the CPU slot.
Slot 0Slot 1Slot2 Slot 3Slot 4
16pt
8pt
Input
Input
Output
X0
X20
--
X27
Y0
--
Y17
--
X17
16pt
8pt16pt
OutputOutput
Y20
Y40
--
--
Y37
Y47
Data can be written correctly because
the output points start on a V-memory
boundary address as seen in the table below.
Slot 0Slot 1Slot2 Slot 3Slot 4
X17
16pt
Input
X0
--
V40500V40502
Y
3
7
8pt
Input
Output
X20
Y0
--
X27
--
Y17
V40501
Y
Y
2
3
7
0
F2-08DA-1
8pt
OutputOutput
Y20
--
Y27
16pt16pt
Y30
--
Y47
BSLBSM
Y
2
0
Data is split over two locations, so instructions cannot access data from a D2-230 (or when the
module is placed in a remote base).
V40502
Y
5
7
Y
Y
4
5
7
0
BSLBSM
Y
4
0
Y
3
7
V40501
Y
Y
2
3
7
0
BSLBSM
Y
2
0
To use the V-memory references required for the multiplexing method, the first output address
assigned to the module must be one of the following Y locations. The table also shows the
V-memory addresses that correspond to these Y locations.
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Connecting and Disconnecting the Field Wiring
Wiring Guidelines
Your company may have guidelines for wiring and cable installation. If so, check the guidelines
before beginning the installation. Here are some general things to consider:
• Use the shortest wiring route whenever possible.
• Use shielded wiring and ground the shield at the transmitter source. Do not ground the
shield at both the module and the source.
• Do not run the signal wiring next to large motors, high current switches, or transformers.
This may cause noise problems.
• 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.
User Power Supply Requirements
The F2-08DA-1 module requires at least one field-side power supply. The same or separate
power sources can be used for the module supply and the current transmitter supply. The
F2-08DA-1 module requires 18–30 VDC (at 50mA) and each current loop requires 18–30
VDC (at 20mA), from the external power supply.
The DL205 AC bases have a built-in 24VDC power supply that provides up to 300mA of
current. This can be used instead of a separate supply. Check the power budget to be safe.
It is desirable in some situations to power the transmitters separately in a location remote
from the PLC. This will work as long as the transmitter supply meets the required operating
current and the transmitter negative (-) side and the module power supply negative (-) side are
connected together.
WARNING: If the internal 24VDC power budget is exceeded, it may cause unpredictable system operation
that can lead to a risk of personal injury or equipment damage.
DL205 Analog I/O Manual, 7th Edition, Rev. G
10-5
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Wiring Diagram
The F2-08DA-1 module has a removable connector which helps to simplify wiring. Just
squeeze the top and bottom retaining clips and gently pull the connector from the module.
Use the following diagram to connect the field wiring. Channels 1 and 2 are shown wired for
sourcing, and channels 7 and 8 are shown wired for sinking. The diagram also shows how to
wire an optional loop power supply.
Typical User Wiring
1–I
2–I
3–I
4–I
5–I
6–I
7–I
8–I
N/C
24V
Internal
Module
Wiring
SOURCE
Configurations
Ch 1 load
250 ohms
typical
Ch 2 load
250 ohms
typical
SINK
Configurations
Ch 7 load
250 ohms
typical
Ch 8 load
250 ohms
typical
See
NOTE 1
Loop Power
Supply
+
+
18-30 VDC
–
1–O
2–O
3–O
4–O
5–O
6–O
7–O
8–O
0V
–
Sink/Source
Circuitry
OUT
F2-08DA-1
18-26.4VDC
80mA
4-20mA
SNK-SRC
1-I
1-O
2-I
2-O
3-I
3-O
4-I
4-O
5-I
5-O
6-I
6-O
7-I
7-O
8-I
8-O
N/C
0V
24V
ANALOG
8 CHANNEL
10-6
NOTE 1: Shields should be connected to the 0V terminal of the module.
Load Range
The maximum load resistance depends on the particular loop power supply being used.
Loop Power Supply VoltageSource Load RangeSink Load Range
30VDC
24VDC
18VDC
DL205 Analog I/O Manual, 7th Edition, Rev. G
0–400 q
0–1200 q
0–900 q
0–600 q
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Module Operation
Before beginning to write the control program, it is important to take a few minutes to
understand how the module processes the analog signals.
Channel Scanning Sequence (Multiplexing) for a D2-230 CPU
The D2-230 can send one channel of data to the output per CPU scan if the multiplexing
method is used. The module refreshes all field devices on each scan, but new data can only be
obtained from the CPU at the rate of one channel per scan. Since there are eight channels, it
can take eight scans to update all channels. However, if only one channel is being used, then
that channel will be updated on every scan. The multiplexing method can also be used for the
D2-240, D2-250-1, D2-260 and D2-262 CPUs.
Scan
Read inputs
System Using
Multiplex
Method
(D2-230)
ExecuteApplicationProgram
Calculatethe data
Writedata
Writeto outputs
DL205 Analog I/O Manual, 7th Edition, Rev. G
Scan N
Scan N+1
Scan N+2
Scan N+3
.
.
.
Scan N+8
Channel 1
Channel 2
Channel 3
Channel 4
.
.
.
Channel 8
10-7
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Channel Scanning Sequence (Pointer Method) for
D2-240, D2-250-1, D2-260 and D2-262 CPUs
If either a D2-240, D2-250-1, D2-260 or D2-262 CPU is used, all channels can be updated
on every scan. This is because the all three CPUs support special V-memory locations that are
used to manage the data transfer. This is discussed in more detail in the section on Writing the Control Program later in this chapter.
Scan
Read inputs
System With
D2-240, D2-250-- 1
D2-260 or D2-262 CPU
Using Pointer Method
Scan N
Channel1,2...8
ExecuteApplicationProgram
Calculatethe data
Writedata
Scan N+1
Scan N+2
Scan N+3
Scan N+4
Channel1,2...8
Channel 1, 2...8
Channel 1, 2...8
Channel1,2...8
Writeto outputs
Understanding the Output Assignments
Remember that the F2-08DA-1 module appears to the CPU as a 16-point discrete output
module. These points provide the data value and an indication of which channel to update.
Note, if either a D2-240, D2-250-1, D2-260 or a D2-262 CPU is being used, these bits may
never have to be used, but it may be an aid to help understand the data format.
Since all output points are automatically mapped into V-memory, the location of the data word
that will be assigned to the module can be simply determined.
10-8
DL205 Analog I/O Manual, 7th Edition, Rev. G
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
V40501
F2-08DA--1
Slot 0Slot1Slot 2Slot3Slot 4
16pt
Input
X0
X17
8pt
Input
Output
X20
-X27
Y0
-Y17
--
16pt
OutputOutput
Y20
Y37
8pt16pt
Y40
--
--
Y47
V40500V40502
V40501
BSLBSM
Y
Y
Y
Y
3
3
3
3
5
4
7
6
Data Bits
Y
2
0
The individual bits in this data word location, represents specific information about the
analog signal.
Channel Select Outputs
Three of the outputs select the active
channel. Remember, the V-memory bits
are mapped directly to discrete outputs.
The binary weight of the three bits will
determine the selected bit. By controlling
these outputs, the channel to be updated
can be selected.
Select Channel Outputs
Y36Y35Y34
–––1
––X2
–X–3
–XX4
X––5
X–X6
XX–7
XXX8
Y
Y
Y
3
3
3
6
4
5
=channel select outputs
Channel Number
Selected
BSLBSM
Y
2
0
DL205 Analog I/O Manual, 7th Edition, Rev. G
10-9
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Analog Data Bits
The first twelve bits represent the analog data i n
binary format.
The last output can be used to update outputs. Ifthis
output is OFF, the outputs will be cleared.
V40501
BSLBSM
01110987654321
= databits
V40501
BSLBSM
Y
3
7
= output enable
Module Resolution
Since the module has 12-bit resolution, the analog signal is converted into 4096 counts ranging
from 0–4095 (212). For example, send a 0 to get a 4mA signal, and 4095 to get a 20mA signal.
This is equivalent to a binary value of 0000 0000 0000 to 1111 1111 1111, or 000 to FFF
hexadecimal. The diagram shows how this relates to the signal range. Each count can also be
expressed in terms of the signal level by using the equation shown.
20mA
4mA
4--20mA
04095
Resolution =
H=high limitofthe signalrange
L=low limit of thesignalrange
16mA/4095 = 3.9 µA per count
H − L
4095
Y
2
0
10-10
DL205 Analog I/O Manual, 7th Edition, Rev. G
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
SP1
Writing the Control Program
Calculating the Digital Value
The control program must calculate the digital value that
is sent to the analog output. Several methods can be used
to do this, but the best method is to convert the values
to engineering units. This is accomplished by using the
formula shown.
Adjustments may have to be made to the formula
depending on the scale of the engineering units.
For 0–4095 output format
4095
A = U
H – L
A = Analog Value (0–4095)
U = Engineering Units
H = High limit of the engineering
unit range
L = Low limit of the engineering
unit range
Consider the following example which controls pressure from 0.0–99.9 psi. Using the
formula will calculate the digital value to be sent to the analog output. The example shows the
conversion required to yield 49.4 psi. The multiplier of 10 is used because the decimal portion
of 49.4 cannot be loaded in the program, so it is shifted right one decimal place to make a
usable value of 494.
A = 10U
10 (H–L) (1000–0)
4095
A = 494
4095
A = 2023
The Conversion Program
The example program shows how to write the program to perform the engineering unit
conversion. This example assumes that a BCD value has been stored in V2300 and V2301 for
channels 1 and 2 respectively.
NOTE: The DL205 has many instructions available so that math operations can simply be performed using BCD format.
Do the math in BCD, then convert to binary before writing to the module output.
SP1
LD
V2300
MUL
K4095
DIV
K1000
OUT
V2000
LD
V2301
MUL
K4095
DIV
K1000
OUT
V2001
TheLDinstruction loads the engineering unitsusedwithchannel 1 into
theaccumulator.This exampleassumesthe numbers areBCD.Since
SP1 is used, this rung automatically exec utes on every scan. Yo ucould
alsouse an X, C, etc. permissive contact.
Divide theaccumulator by 1000 (becauseweusedamultiplierof 10,
we have to use1000 instead of 100).
Storethe BCDresult in V2000 (the actual stepsrequiredtosendthe
data areshownlater).
TheLDinstruction loads the engineering unitsusedwithchannel 2 into
theaccumulator.This exampleassumesthe numbers areBCD.Since
SP1 is used, this rung automatically exec utes on every scan. Yo ucould
alsouse an X, C, etc. permissive contact.
Multiply theaccumulator by 4095 (tostart theconversion).
Divide theaccumulator by 1000 (becauseweusedamultiplierof 10,
we have to use 1000 instead of 100).
Storethe BCDresult in V2001 (the actual stepsrequiredtosendthe
data areshownlater).
DL205 Analog I/O Manual, 7th Edition, Rev. G
10-11
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
SP0
math
Writing Values: Pointer Method and Multiplexing
Pointer Method for the D2-240, D2-250-1, D2-260 and D2-262 CPUs
There are two methods of reading values:
• Pointer method
• Multiplexing
The multiplexing method must be used with a D2-230 CPU. The multiplexing method must
also be used with remote I/O modules (the pointer method will not work). Either method can
be used with the D2-240, D2-250-1, D2-260 and D2-262 CPUs, but for ease of programming
it is highly recommended to use the pointer method.
The D2-240, D2-250-1, D2-260 and D2-262 CPUs have special V-memory locations assigned
to each base slot that will greatly simplify the programming requirements.
These V-memory locations allow you to:
• Specify the data format
• Specify the number of channels to scan
• Specify the location of the data that will be written to the module
NOTE: D2-240 CPUs with firmware release version 1.5 or later and. D2-250-1 CPUs with firmware release version 1.06
or later support this method.
The following example program shows how to setup these locations. Place this rung anywhere
in the ladder program, or in the initial stage if stage programming instructions are being used.
V2000 is used in the example but any user V-memory location can be used. In this example the
module is installed in slot 3. Be sure to use the V-memory locations for the module placement.
The pointer method automatically converts values to BCD.
10-12
LD
2K82
K
OUT
V7663
LDA
O2000
OUT
V7703
-or-
Theoctal address(O2000)isstoredhere. V7703isassignedtoslot
3 and acts as a pointer,whichmeans theCPU will usethe octal
value in this location to determine exactlywheretostore the output
data.
LD
Loadsaconstant that specifies the numberofchannelstoscan and
thedataformat.The lowerbyte, most significantnibble (MSN)
selects the dataformat(i.e. 0=BCD, 8=Binary), theLSN selects the
numberofchannels(1or2).
Thebinaryformatisusedfor displayingdataonsomeoperator
interfaces.The D2-230 and D2-240 CPUs do notsupport binary
functions, whereasthe D2-250-1, D2-260, and D2-262 do.
Special V-memory location assignedtoslot3that contains the
numberofchannelsto scan.
This loads an octalvalue forthe firstV-memorylocationthat will be
used to storethe output data. Forexample,the O2000 entered here
would designatethe following addresses.
Ch1--V2000, Ch2--V2001
DL205 Analog I/O Manual, 7th Edition, Rev. G
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
The following tables show the special V-memory locations used by the D2-240, D2-250-1,
D2-260 and D2-262 for the CPU base and local expansion base I/O slots. Slot 0 (zero) is the
module next to the CPU or D2-CM module. Slot 1 is the module two places from the CPU or
D2-CM, and so on. Remember, the CPU only examines the pointer values at these locations
after a mode transition. Also, if the D2-230 (multiplexing) method is used, verify that these
addresses in the CPU are 0 (zero).
The table below applies to the D2-240, D2-250-1, D2-260 and D2-262 CPU base.
CPU Base: Analog Output Module Slot-Dependent V-memory Locations
Slot
No. of Channels
Storage Pointer
The table below applies to the D2-250-1, D2-260 or the D2-262 CPU base 1.
Expansion Base D2-CM #1: Analog Output Module Slot-Dependent V-memory Locations
Slot
No. of Channels
Storage Pointer
The table below applies to the D2-250-1, D2-260 or the D2-262 CPU base 2.
Expansion Base D2-CM #2: Analog Output Module Slot-Dependent V-memory Locations
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Continued
Writing Data (Multiplexing Example)
The following example program shows how to write data using the multiplexing method. This
may be used with all the DL205 CPUs.
C10
C7
C6
C5
LD
V2007
BIN
ORD
K7000
LD
V2006
BIN
ORD
K6000
LD
V2005
BIN
C0
OUT
C10
OUT
C7
OUT
Restarts the updatesequenc e.
Updates channel 8.
Updateschannel7.
Updateschannel6.
10-14
ORD
K5000
C6
OUT
C4
LD
V2004
BIN
ORD
K4000
C5
OUT
DL205 Analog I/O Manual, 7th Edition, Rev. G
Updateschannel5.
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
Write Data (Multiplexing Example) Continued
C3
C2
C1
C0
SP0
LD
V2003
BIN
ORD
K3000
LD
V2002
BIN
ORD
K2000
LD
V2001
BIN
ORD
K1000
LD
V2000
BIN
C4
OUT
OUT
OUT
Updates channel 4.
Updates channel 3.
C3
Updates channel 2.
C2
Updates channel 1.
SP1
ORD
K0
C1
OUT
OUT
V40501
Y37
OUT
Sends thedatatothe module.Our
example starts with V40501, but the
actual value dependsonthe location
of themoduleinyour application.
DL205 Analog I/O Manual, 7th Edition, Rev. G
10-15
Chapter 10: F2-08DA-1, 8-Channel Analog Current Output
r
Write Data to One Channel
If more than one channel is used, or if updates are to be controlled separately, the following
program can be used.
SP1
LD
V2000
BIN
ANDD
K0FFF
OUT
V40501
Y34
RST
Y35
RST
Y36
RST
Y37
OUT
TheLD instruction loadsthe data intothe
accumulator.Since SP1 is used, this rung
automatically executes on every scan. Yo ucould
alsouse an X, C, etc. permissive contact.
TheBIN instruction converts theaccumulator data
to binary (you must omit this step if youhave
already convertedthe data elsewhere).
TheANDD instructionmasks offthe channelselect
bitstoprevent an accidental channelselection.
TheOUT instruction sends the datatothe module.Ou
examplestartswithV40501,but theactualvalue
dependsonthe location of themodule in your
application.
Y34, Y35, Y36--OFF selectschannel 1for updating.
Y37isthe output enablebit.
Analog and Digital Value Conversions
It is sometimes useful to do quick conversions between the signal levels and the digital values.
This can be helpful during startup or troubleshooting. The following table shows some formulas
help with the conversions.
Range If the digital value is known
16D
A =
4–20 mA
+ 4
4095
If the analog signal level is
known.
4095
D =
(A 4)
16
10-16
For example, to covert a 10mA signal level to a digital value,
substitute 10 for A and complete the math as shown in the
example to the right.
DL205 Analog I/O Manual, 7th Edition, Rev. G
4095
D =
(A – 4)
16
4095
D =
(10mA – 4)
16
D = (255.93) (6)
D = 1536
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.