United Kingdom:One Omega Drive, River Bend Technology Centre
ISO 9002 CertifiedNorthbank, Irlam, ManchesterM44 5BD United Kingdom
It is the policy of OMEGA Engineering, Inc. to comply with all worldwide safety and EMC/EMI regulations that apply. OMEGA is constantly pursuing
certification of its products to the European New Approach Directives. OMEGA will add the CE mark to every appropriate device upon certification.
The information contained in this document is believed to be correct, but OMEGA accepts no liability for any errors it contains, and reserves the
right to alter specifications without notice.
WARNING : These products are not designed for use in, and should not be used for, human applications.
TEL: +44 (0)161 777 6611FAX: +44 (0)161 777 6622
Toll Free in United Kingdom: 0800-488-488e-mail: sales@omega.co.uk
Page 3
TABLE OF CONTENTS
GENERAL DESCRIPTION.............................................................................................................................................................1
Multiple Unit Stacking ..............................................................................................................................................................3
Unit Removal Procedure ..........................................................................................................................................................4
Removing Unit Assembly ........................................................................................................................................................4
Installing Unit Assembly ...........................................................................................................................................................5
AC Versions (DPF94XXX0) ...............................................................................................................................................7
DC Versions (DPF94XXX1)...............................................................................................................................................7
Serial Communication Wiring...................................................................................................................................................8
User Inputs ...............................................................................................................................................................................8
Input A and Input/User B..........................................................................................................................................................8
Various Sensor Output Connections......................................................................................................................................10
FRONT PANEL DESCRIPTION .................................................................................................................................................11
Single and Dual Preset Units .................................................................................................................................................12
3 Preset Batch Unit ................................................................................................................................................................12
Normal Operating Mode.........................................................................................................................................................12
Modifying A Secondary Display Parameter From the Front Panel ........................................................................................12
Protected Value Menu ...........................................................................................................................................................13
Front Panel Accessible Functions With Program Disable .....................................................................................................14
PROGRAMMING GENERAL DESCRIPTION .............................................................................................................................15
Programming Numeric Data Values.......................................................................................................................................15
Auto Scrolling...................................................................................................................................................................15
Saving Program ...............................................................................................................................................................15
USER INTERFACE/PROGRAMMING MODES...........................................................................................................................16
Numeric Value entry method ...........................................................................................................................................16
Decimal Point Position.....................................................................................................................................................17
Preset 1 Value .................................................................................................................................................................22
Preset 2 Value (Dual Preset/Batch Models only) ............................................................................................................22
Preset 3 Value (Batch Model only)..................................................................................................................................22
Access Output Time Values.............................................................................................................................................23
Output 1 Time Value ........................................................................................................................................................23
Output 2 Time Value (Dual Preset/Batch Models only) ...................................................................................................23
Output 3 Time Value (Batch Model only).........................................................................................................................23
User Inputs ......................................................................................................................................................................24
User Input 1 .....................................................................................................................................................................25
User Input 2 ....................................................................................................................................................................25
User Input B.....................................................................................................................................................................25
User F1 Key.....................................................................................................................................................................25
Programming / Protected Parameter Menu Code Value (0-199) ....................................................................................25
Serial Baud Rate and Parity Settings ..............................................................................................................................26
Serial Unit Address (00-99) .............................................................................................................................................26
Serial Abbreviate Mnemonics ..........................................................................................................................................26
Print and Reset Count .....................................................................................................................................................27
Prescaler Output Pulse at [Prescaler Output Model Only] .............................................................................................27
Prescaler Output Pulse Length (1-9) [Prescaler Output Model Only] .............................................................................27
RS-485 SERIAL COMMUNICATIONS.........................................................................................................................................30
User Settings Chart...................................................................................................................................................29
Communication Format ..........................................................................................................................................................30
Sending Commands and Data ...............................................................................................................................................30
Receiving Data .......................................................................................................................................................................32
Terminal Emulation Program For IBM
Serial Connections .................................................................................................................................................................33
Connecting To A Host Terminal........................................................................................................................................34
Troubleshooting Serial Communications................................................................................................................................35
The Model DPF94 Counter is available as a Standard Counter or a Batch
Counter. The Standard Counter is available with single or dual presets. The
Batch Counter has a main process counter with dual presets and a secondary
counter with a single preset. The secondary counter can be selected to function
as a batch or a total counter.
The DPF94 features a 7 segment, 2 line by 6 digit reflective or backlit LCD
display. For the backlit versions, the main display line is red and shows the
count value. When preset 3 or output 3 is viewed in the secondary display, the
Batch/Total value is viewed in the main display. The smaller secondary display
line is green and can be used to view the prescaler value, preset values, output
time values or Batch/Total count values (Batch model).
The DPF94 offers a choice of nine programmable counting modes for use in
applications requiring bi-directional, anti-coincidence, and quadrature counting.
The unit may be programmed to register counts on both edges of the input signal
providing frequency doubling capability. DIP switches are used for input
configuration set-up and to provide a Program Disable function.
Four front panel push-buttons are used for programming the operating modes
and data values, changing the viewed display, and performing user
programmable functions, i.e. reset, etc. The DPF94 can be configured for one of
two numeric data entry methods, digit entry or automatic scrolling. The digit
entry method allows for the selection and incrementing of digits individually.
The automatic scrolling method allows for the progressive change of one
through all digit positions by pressing and holding the “up” or “down” button.
The DPF94 Counter has programmable User Inputs and a programmable
front panel function key. The user inputs can be configured as sinking (active
low) or sourcing (active high) inputs via a single plug jumper. The following
functions are available for user inputs and the front panel function key.
ResetPrint Request
Store and ResetChange Display
Program DisableCount Inhibit
StoreReset Outputs
The Program Disable DIP switch, a user-programmable code value, an
external user input (selected for Program Disable), and the Accessible value
parameters can all be utilized to provide multi-level protection against
unauthorized changes to data values and unit configuration.
The Standard Counter with Dual Presets is available with solid-state or Relay
outputs. The Single Preset model has a solid-state and relay output. The Batch
Counter has relay outputs for Output 2 and the Batch/Total Output (3), with
Output 1 available as solid-state. The Batch Counter is also available with three
solid-state outputs. For all DPF94 Counters, the solid-state outputs are available
in a choice of NPN current sinking or PNP current sourcing, open-collector
transistor outputs. All relay output boards are field replaceable.
A Prescaler Output model is available as a Dual Preset, with solid-state
outputs. The Prescaler Output is useful for providing a lower frequency scaled
pulse train to a PLC or another external totalizing counter. The Prescaler Output
provides an output pulse for every count, or every 10 counts registered on the
display.
Optional RS485 serial communication capabilities allow for interrogation
and modification of the preset, count, and prescaler values.
Optional programming software is available to program all unit configuration
parameters. The software allows unit configurations to be created, uploaded,
downloaded, and saved to a file for later use or multi-unit programming.
The unit is constructed of a lightweight, high impact plastic case with a
textured front panel and a clear display window. The front panel meets NEMA
4X/IP65 specifications for indoor use, when properly installed. Multiple units
can be stacked horizontally or vertically. Modern surface-mount technology,
extensive testing, plus high immunity to noise interference makes the DPF94
Counters extremely reliable in industrial environments.
Safety Summary
All safety related regulations, local codes and instructions that appear in the
manual or on equipment must be observed to ensure personal safety and to
prevent damage to either the instrument or equipment connected to it. If
equipment is used in a manner not specified by the manufacturer, the protection
provided by the equipment may be impaired.
Do not use this unit to directly command motors, valves, or other actuators
not equipped with safeguards. To do so, can be potentially harmful to persons
or equipment in the event of a fault to the unit.
-1-
Page 8
BLOCK DIAGRAM
Figure 1, Block Diagram
-2-
Page 9
INSTALLATION & CONNECTIONS
The DPF94 Counter meets NEMA 4X/IP65 requirements for indoor
use to provide a watertight seal in steel panels with a minimum thickness
of 0.09 inch, or aluminum panels with a minimum thickness of 0.12 inch.
The units are intended to be installed into an enclosed panel. The
complete unit assembly (i.e. PC boards and bezel), MUST be in the case
when mounting the unit.
Multiple Unit Stacking
The DPF94 is designed for close spacing of multiple units. Units can
be stacked either horizontally or vertically. For vertical stacking, install
the panel latch with the screws to the sides of the unit. For horizontal
stacking, the panel latch screws should be at the top and bottom of the
unit. The minimum spacing from center line to center line of units is 1.96”
(49.8 mm). This spacing is the same for vertical or horizontal stacking.
Note: When stacking units, provide adequate panel ventilation to ensure
that the maximum operating temperature range is not exceeded.
PANEL LATCH INSTALLED FOR
VERTICAL UNIT STACKING
PANEL LATCH INSTALLED FOR
HORIZONTAL UNIT STACKING
Figure 2, Panel Installation
Figure 3, Multiple Unit Stacking
-3-
Page 10
Mounting Instructions
1. Prepare the panel cutout to the dimensions shown in Figure 3, Multiple Unit
Stacking.
2. Remove the panel latch from the unit. Discard the cardboard sleeve.
3. Carefully remove the center section of the panel gasket and discard. Slide the
panel gasket over the unit from the rear, seating it against the lip at the front
of the case.
4. Insert the unit into the panel cutout. While holding the unit in place, push the
panel latch over the rear of the unit, engaging the tabs of the panel latch in
the farthest forward slot possible.
5. To achieve a proper seal, tighten the panel latch screws evenly until the unit
is snug in the panel, torquing the screws to approximately 7 in-lbs.
Overtightening can result in distortion of the panel, and reduce the
effectiveness of the seal.
Note: The installation location of the counter is important. Be sure to keep it
away from heat sources (ovens, furnaces, etc.), and away from direct contact
with caustic vapors, oils, steam, or any other process by-products in which
exposure may affect proper operation.
Caution: Disconnect power to the unit and to the output control
circuits to eliminate the potential shock hazard when removing the
entire unit or unit assembly.
Unit Removal Procedure
To remove the entire unit with case from the panel, first loosen the panel latch
screws. Insert flat blade screwdrivers between the panel latch and the case on
either side of the unit, so that the latches disengage from the grooves in the case.
Push the unit through the panel from the rear.
Removing Unit Assembly
The unit assembly, shown in Figure 4, must be removed from the case to
change DIP switch settings or to replace the relay output board. To remove the
unit assembly, insert a flat blade screwdriver into the pry slot on either side of
the unit. Twist the screwdriver handle until the unit is ejected enough to allow
removal.
Figure 4, Unit Assembly
Caution: The unit assembly contains electronic circuits that can be damaged by
static electricity. Before removing the assembly, discharge static charge on
your body by touching an earth ground point. It is also important that the unit
assembly be handled only by the bezel. Additionally, if it is necessary to
handle a circuit board, be certain that hands are free from dirt, oil, etc., to
avoid circuit contamination that may lead to malfunction. If it becomes
necessary to ship the unit for repairs, place the unit in its case before
shipping it.
Installing Unit Assembly
To install the unit assembly, insert the assembly into the case until the bezel
is fully seated against the lip of the case. Properly installing the unit assembly
is necessary for watertight front panel sealing.
-4-
Page 11
Output Board
The DPF94 is supplied with an output board installed. The output board is
preconfigured for the type of output needed, based upon the Model ordered. See
Part Number Information, page 48, for available models. All relay output boards
are field replaceable.
Replacing Relay Output Board
1. Remove the unit assembly. (See Removing Unit Assembly, page 4).
2. Lift up on the top bezel board latch while gently pulling out on the
bezel/display board assembly. Do NOT remove the display board from the
bezel.
3. Remove the output board by pulling it away from the other boards. Replace
the output board by aligning the board to board connectors. Be certain
connectors are fully mated.
4. Connect the bezel/display board assembly by guiding the board ends into the
bezel latches. Slide the assembly on evenly until the display board connector
is completely engaged and bezel latches are fully seated onto the boards.
Note: When replacing the relay output board, be certain to install a new
output board of the same type.
Figure 5, Relay Output Board
Figure 6, Relay Output Board Replacement
-5-
Page 12
EMC INSTALLATION GUIDELINES
Although this unit is designed with a high degree of immunity to ElectroMagnetic Interference (EMI), proper installation and wiring methods must be
followed to ensure compatibility in each application. The type of electrical
noise, source or coupling method into the unit may be different for various
installations. The unit becomes more immune to EMI with fewer I/O
connections. Cable length, routing and shield termination are very important
and can mean the difference between a successful installation or a troublesome
installation. Listed below are some EMC guidelines for successful installation
in an industrial environment.
1. The unit should be mounted in a metal enclosure, that is properly connected
to protective earth.
2. Use shielded (screened) cables for all Signal and Control inputs. The shield
(screen) pigtail connection should be made as short as possible. The
connection point for the shield depends somewhat upon the application.
Listed below are the recommended methods of connecting the shield, in order
of their effectiveness.
a. Connect the shield only at the panel where the unit is mounted to earth
ground (protective earth).
b. Connect the shield to earth ground at both ends of the cable, usually when
the noise source frequency is above 1 MHz.
c. Connect the shield to common of the unit and leave the other end of the
shield unconnected and insulated from earth ground.
3. Never run Signal or Control cables in the same conduit or raceway with AC
power lines, conductors feeding motors, solenoids, SCR controls, and
heaters, etc. The cables should be run in metal conduit that is properly
grounded. This is especially useful in applications where cable runs are long
and portable two-way radios are used in close proximity or if the installation
is near a commercial radio transmitter.
4. Signal or Control cables within an enclosure should be routed as far away as
possible from contactors, control relays, transformers, and other noisy
components.
5. In extremely high EMI environments, the use of external EMI suppression
devices, such as ferrite suppression cores, is effective. Install them on Signal
and Control cables as close to the unit as possible. Loop the cable through the
core several times or use multiple cores on each cable for additional
protection. Install line filters on the power input cable to the unit to suppress
power line interference. Install them near the power entry point of the
enclosure. The following EMI suppression devices (or equivalent) are
recommended:
Ferrite Suppression Cores for signal and control cables:
Note: Reference manufacturer’s instructions when installing a line filter.
6. Long cable runs are more susceptible to EMI pickup than short cable runs.
Therefore, keep cable runs as short as possible.
7. Switching of inductive loads produces high EMI. Use of snubbers across
inductive loads suppresses EMI.
Wiring Connections
All conductors should meet voltage and current ratings for each terminal.
Also cabling should conform to appropriate standards of good installation, local
codes and regulations. It is recommended that power supplied to the unit (AC
or DC) be protected by a fuse or circuit breaker.
After the unit has been mechanically mounted, it is ready to be wired. All
wiring connections are made to rear screw terminals. When wiring the unit, use
the numbers on the label and those embossed on the back of the case, to identify
the position number with the proper function. See page 46 for terminal
descriptions. Strip the wire, leaving approximately 1/4" (6 mm) bare wire
exposed (stranded wires should be tinned with solder). Insert the wire under the
clamping washer and tighten the screw until the wire is clamped tightly.
Caution: Unused terminals are NOT to be used as tie points. Damage to the
counter may result if these terminals are used.
-6-
Page 13
POWER WIRING
AC Versions (DPF94XX0X)
AC Power Wiring
Primary AC power is connected to terminals 11 and 12, labeled AC. To
reduce the chance of noise spikes entering the AC line and affecting the counter,
an AC feed separate from that of the load should be used to power the counter.
Be certain that the AC power to the counter is relatively “clean” and within the
specified range. Connecting power from heavily loaded circuits or circuits that
also power loads that cycle on and off, (contacts, relays, motors, etc.) should be
avoided.
DC Power Wiring (Non PNP Output models)
The DC power is connected to terminals 9 & 10, marked COMM. and DC
OUT/IN. The DC power source must be capable of supplying the unit’s rated
current (150 mA max.) and be within the specified 11 to 14 VDC range. The
DPF94 has non-volatile memory that stores information on power down,
thereby eliminating the need for battery back-up.
Note: AC Versions with PNP outputs cannot be powered from DC.
CAUTION: Observe proper polarity when connecting DC
voltages. Damage to the unit will occur if polarity is
reversed.
DC Versions (DPF94XX1X)
DC power (18 to 36 VDC) or low voltage AC power (24 VAC) is connected
to terminals 11 and 12, labeled DC+ (AC) and DC- (AC) respectively.
Output Power
For DC/ Low Voltage AC units that do not have PNP current sourcing
outputs, Terminal 10, DC OUT (V
power (+12 VDC +/-15%). The maximum sensor current is 100 mA.
For units with PNP current sourcing outputs, this terminal serves a dual
purpose depending on the application’s PNP output voltage level and current
requirements.
1. The terminal may be used as a +12 VDC output for sensor power. In this
case, the PNP output voltage level will be +12 VDC (±15%). Amaximum
of 100 mA is available for the combination of sensor current and PNP
output sourcing current.
2. If a higher PNP output voltage level or additional output sourcing current
is desired, an external DC supply may be connected between the “DC
OUT (V
PNP output voltage level, and must be in the range of +13 to +30 VDC.
An external DC supply can also provide the additional output sourcing
current required in applications where two or more PNP outputs are
“ON” simultaneously. However, the maximum current rating of 100
mA per individual output must not be exceeded, regardless of external
supply capacity.
IN)” and “COMM.” terminals. This supply will determine the
SRC
IN), provides a DC output for sensor
SRC
-7-
Page 14
Serial Communications Wiring
It is recommended that shielded (screened) cable be used for serial
communications. This unit meets the EMC specifications using Alpha #2404
cable or equivalent. There are higher grades of shielded cable, such as four
conductor twisted pair, that offer an even higher degree of noise immunity.
Refer to RS-485 Serial Communications, page 30, for wiring and operational
procedures.
OUTPUT WIRING
Relay Connections
To prolong contact life and suppress electrical noise interference due to the
switching of inductive loads, it is good installation practice to install a snubber
across the contactor. Follow the manufacturer’s instructions for installation.
Note: Snubber leakage current can cause some electro-mechanical devices to be
held ON.
User Inputs
The external user inputs are programmable inputs that can be configured as
current sinking (active low) or current sourcing (active high) inputs via a single
plug jumper. Programmable external user inputs are digital inputs. The use of
shielded cable is recommended. Follow the EMC Installation Guidelines for
shield connection. The active logic state of ALL user inputs is dictated by the
position of the User Input plug jumper. The plug jumper is located on the CPU
board to the left of the DIP switches (See Figure 7, User Input Jumper
Location). Input/User B can be programmed to be a user input when only
unidirectional counting is required (See CNT IN parameter, page 17). When
programmed as a User Input, Input B’s active logic level is also controlled by
the User SNK/SRC plug jumper.
Figure 7, User Input Jumper Location
Input A and Input/User B
Input A and Input B have identical circuitry and share the same “COMM.”
terminal. Each input has separate DIP switches that configure the circuitry to
accept various types of sensor outputs.
The input schematic shows the details of the input circuitry. Each input has
three DIP switches whose functions are listed below.
To access the DIP switches, the unit assembly must be removed from the
case. See Removing The Unit Assembly, page 4, for instructions.
INPUT A
SW1 - SNK: Provides a 7.8 K
current sinking outputs.
SRC: Provides a 3.9K
current sourcing outputs.
SW2 - HI FRQ: Removes damping capacitor and allows operation up to the
maximum input frequency.
LO FRQ: Connects damping capacitor for switch contact debounce.
Limits count speed to 50 Hz maximum and count pulse ON or OFF
times to 10 msec. minimum.
Note:The HI/LO FRQ selection switch must be set on “LO FRQ” when switch
contacts are used to generate count input signals. The “LO FRQ” mode also
provides very high immunity against electrical noise pickup. It is
recommended that this mode also be used, whenever possible, with electronic
sensor outputs. The “LO FRQ” mode can be used with any type of sensor
output, provided count pulse widths never decrease below 10 msec, and the
count rate does not exceed 50 Hz.
-8-
Ω internal pull-up resistor for sensors with
Ω internal pull-down resistor for sensors with
Page 15
SW3 - HI BIAS: Sets input trigger levels at mid-range, to accept outputs from
2-wire proximity sensors, resistive photo-cells, and logic pulses
with full 0 to +12V swings.
Input trigger levels: V
LO BIAS: Sets input trigger levels to low range, to accept logic pulses
= 5.5 V max; VIH= 7.5 V min.
IL
with 0 to +5 V swings.
Input trigger levels: V
Note: V
and VIHlevels given are typical values ±10%, when the counter
IL
voltage at the DC OUT/IN terminal, is +12 VDC. These typical values will
= 1.5 V max; VIH= 3.75 V min.
IL
vary in proportion to the variations in DC OUT/IN terminal voltage, caused
by line voltage and load changes.
Note: Input B uses
DIP switches SW4,
SW5 and SW6.
INPUT B
SW4 - Same as SW1
SW5 - Same as SW2
SW6 - Same as SW3
SW7 - PGM.DIS.: See Front Panel Accessible
Functions With Program Disable,
page 14, for details.
Figure 8, DIP Switches
Figure 9, Input Circuit Schematic
-9-
Page 16
Various Sensor Output Connections
COUNT SWITCH OR ISOLATED TRANSISTOR OUTPUTS
CURRENT SOURCE CONNECTED (COUNT ON OPENING)
CURRENT SINK CONNECTED (COUNT ON CLOSING)
SENSORS WITH CURRENT SOURCE OUTPUT (PNP O.C.)
(COUNT ON TURN-OFF)
SENSORS WITH CURRENT SINK OUTPUT (NPN O.C.)
(COUNT ON TURN-ON)
OLDER STYLE SENSORS WITH E-F OUTPUT - CURRENT
SOURCE CONNECTED (COUNT ON FALLING EDGE)
2 WIRE PROXIMITY SENSORS - CURRENT SOURCE CONNECTED
(COUNT ON CURRENT FALL)
INTERFACING WITH TTL
INTERFACING WITH CMOS CIRCUITRY(B TYPE)
NOTES:
1.
SENSOR VOLTAGE AND CURRENT
The DC OUT/IN terminal can supply +12
VDC @ 100 mA max. within a ±15%
range, due to line and internal load
variations.
2.
HI/LO FRQ SELECTION
The HI/LO FRQ selection switch must be
set on “LO FRQ” when switch contacts
are used to generate count input signals.
The “LO FRQ” mode also provides very
high immunity against electrical noise
pickup. It is recommended that this mode
also be used, whenever possible, with
electronic sensor outputs. The “LO FRQ”
mode can be used with any type of sensor
output, provided count pulse widths never
decrease below 10 msec, and the count
rate does not exceed 50 Hz.
3. When shielded cable is used, connect the
shield to “COMM.” at the counter and
leave it disconnected at the sensor end.
4. Inputs A and B can accept source pulses
from other circuits up to +30 V in
amplitude. For voltages above +30 V, a
limiting resistor and zener diode should
be used to limit the voltage at the input
terminal.
-10-
Page 17
FRONT PANEL DESCRIPTION
The front panel bezel material is flame and
scratch resistant, textured plastic with clear
viewing window that meets NEMA 4X/IP65
requirements, when properly installed.
Continuous exposure to direct sunlight might
accelerate the aging process of the plastic
material used in the bezel. The bezel should be
cleaned only with a soft cloth and neutral soap
product. Do NOT use solvents.
The display is a dual line, 6 digit LCD. On
units with backlighting, the upper Main
Display is red and the lower Secondary
Display is green.
There are up to seven annunciators available
in the lower display that illuminate to inform the operator of the counter and
output status. See Figure 10, Front Panel, for a description of the annunciators.
Four front panel keys are used to access different modes and parameters. The
following is a description of each key.
Do not use tools of any kind (screwdrivers, pens, pencils, etc.) to operate the
keypad of this unit.
Keypad Functions
%- This key is a user programmable key. When the key is pressed, the unit
performs the appropriate function as programmed. The RST printing on
this key is used as a quick reference for the operator if the function key is
selected for a reset function.
" - This key is used to access programming, enter changes to data values,
and scroll through the available parameters in any mode.
Figure 10 , Front Panel
# - This key selects the next available mode option during programming.
When programming a numerical value in digit entry mode, this key is used
to increment the selected digit position. In auto scrolling entry mode, it
increments the value. When in the operating mode, this key is pressed to
allow changing of the data value viewed in the secondary display.
$ - When programming a numerical value in digit entry mode, this key
accesses the value and selects the digit to the right. In auto scrolling entry
mode, it decrements the value. When in the operating mode, this key is
pressed to allow changing of the data value viewed in the secondary
display.
-11-
Page 18
BASIC OPERATION
Single and Dual Preset Units
These units have one counter that keeps track of the input pulse count. On
each counter edge, the prescaler value is added to or subtracted from the count
value. This results in the desired reading value for the count display.
The counter has two reset action modes; Reset to Zero ( up-count modes) and
Reset to Preset (down-count modes). A reset can be a manual reset, using a
programmable user input, or it can be one of the programmable automatic reset
modes.
The counter displays the scaled number of pulses that have been entered.
When the count equals either preset 1 or 2, depending on the model, the
appropriate output activates. The count can be programmed to automatically
reset if desired.
3 Preset Batch Unit
This unit contains two counters that keep track of the Process Count, and the
Batch or Total Count. On each count edge, the prescaler value is added to or
subtracted from the count input value. This results in the desired reading value
for the process or total count displays. The batch count registers one count each
time the process is completed.
The process counter has two reset action modes; Reset to Zero (up-count
modes) and Reset to Preset (down-count modes). Areset can be a manual reset,
using a programmable user input, or it can be one of the programmable
automatic reset modes.
The batch counter displays the number of process cycles that have been
completed.
The total count is the total number of counts that have been received since the
total was last reset. It can be used to keep a running total of process units on a
desired per shift, per day, per week, etc. basis.
Normal Operating Mode
In the normal operating mode, the count or batch/total value is shown on the
main display. By successively pressing the
prescaler, output time values, or batch/total count can be viewed in the
secondary display.
With the exception of the batch/total count, each of the values can be
independently programmed to be viewable only, viewable and changeable, or
locked (not viewable) in the normal operating mode. On the batch models, if all
values are locked, only the batch/total count value is viewable in the secondary
display. On single or dual preset models, the display will be blank. Only from
the normal operating mode can access be gained to the Programming Menu or
Protected Value Menu.
" key, the accessible presets,
Modifying A Secondary Display Parameter
From the Front Panel
Secondary display parameters can be modified from the normal operating
mode if the Operator Access privileges allow it.
To modify a parameter, it must be viewed in the secondary display. When the
parameter to be modified is viewed, press the
appear and the least significant digit blinks. The value can now be modified as
described in Programming Numeric Data Values, page 15.
# or $ key. Leading zeros
-12-
Page 19
Protected Value Menu
The Protected Value Menu allows access to selected presets,
prescaler, and output time values without having them viewable
or changeable from the main display. To enter the protected
menu, the " key is pressed and held, and a code value is
entered. The Protected Value Menu and the Programming
Menu are not available at the same time. See Front Panel
Accessible Functions With Program Disable, page 14, for
available options.
Access value parameters that are programmed for “P” or “n”
are accessible in the Protected Value Menu. Parameters
selected as “n” (no) are viewable from the main display, but can
only be changed in the protected menu. Parameters selected as
“P” (protected) are not viewable from the main display, but can
be viewed and changed in the protected menu.
-13-
Figure 11, Protected Value Menu
Page 20
Front Panel Accessible Functions With Program Disable
There are several ways to limit the programming of parameters from the front
panel keypad. The Accessible Value parameters are used with the Program
Disable DIP switch and an external programmable User Input selected for
Pro.dis to limit programming. To enter the programming mode, a code number
may need to be entered, depending on the Program Disable Setting. Front Panel
Function Key F1 cannot be selected for program disable. The following table
describes the possible program disabling functions.
PGM.DIS.
SWITCH
OFF
OFFACTIVE0No
OFFACTIVE1 to 99
OFFACTIVE100 to 199No
USER INPUT TERMINAL
INACTIVE or Not
Programmed for Pro.dis
INACTIVE or Not
ON
Programmed for Pro.dis
INACTIVE or Not
ON
Programmed for Pro.dis
INACTIVE or Not
ON
Programmed for Pro.dis
ONACTIVEALLNoViewable onlyLevel 2No
PROGRAM CODE
NUMBER
ALLNo
0No
1 to 99
100 to 199No
PROTECTED VALUE
MENU
Yes
W/code
Yes
W/code
OPERATOR ACCESS AT
MAIN DISPLAY
All displayed values
changeable
Per Access Privileges
programmed
Per Access Privileges
programmed
Per Access Privileges
programmed
Per Access Privileges
programmed
Per Access Privileges
programmed
Per Access Privileges
programmed
PROGRAMMING
-14-
ENABLED
Yes
W/code
Yes
W/code
PROGRAM
DISABLE LEVEL
NoneYes
Level 1No
Level 1No
Level 1
Level 1No
Level 1No
Level 1
Page 21
PROGRAMMING GENERAL DESCRIPTION
Programming of the DPF94 is done through the front panel keypad. English
language prompts, flashing parameter values, and the front panel keypad aid the
operator during programming.
Although the unit has been programmed at the factory, the parameters
generally have to be changed to suit the desired application. In order to access
the Programming Menu, the Program Disable DIP switch and/or any User Input
programmed for
shipped from the factory, all programming is enabled. See Front Panel
Accessible Functions With Program Disable, page 14, for program disabling
options. With programming enabled, to enter the programming menu, the "
key is pressed and held for two seconds. Once in the programming menu, the
" key is used to sequence through the list of programming parameters. To loop
backwards one item in the Programming Menu, press and hold the " key, then
quickly press and hold the $ key while releasing the " key. Repeatedly
pressing the " key with the $ key held will continue the backwards
sequencing.
Programming Option Values
The operator can scroll through the available options for a selected parameter
by pressing the # or $ keys to enter parameter change mode, and then
pressing the # key repeatedly until the desired option is viewed. The option is
entered by pressing the " key, which returns the operator to the Programming
Menu.
Programming Numeric Data Values
The presets, prescaler, and output time values may be accessible when the
unit is in the normal operating mode (not programming mode), providing that
the Program Disable input is not activated. Pressing the " key will sequence
the secondary display through the available presets, prescaler, and output time
values.
To change a numeric data value it must be visible on the secondary display.
Pressing the # or $ key will allow changing of the value. The two methods
for changing numeric data values are “digit entry” and “auto scrolling”.
Pro.diS may need to be turned off or deactivated. When
Digit Entry
If the data entry method has been set to “digit entry”, the least significant
digit will blink. Pressing the $ key multiple times will select other digits.
Pressing the # key will increment the selected digit. The data value will be
entered when the " key is pushed, or the old value will be retained if no key
activity is detected for 10 seconds.
Short-Cut - Decrementing Value
To decrement a digit value, press and hold the # key and then press the $
key. This will decrement the selected digit to zero if held.
Auto Scrolling
If the data entry method is set to “auto scrolling”, the data value can be
progressively changed by pressing and holding the # or $ keys. If one of the
keys is pushed and held, the value will scroll automatically. After 5 counts, the
unit enters fast scroll mode. If a key remains pushed, a digit shift occurs every
one hundred counts until the maximum value or zero is reached. When the digit
shift occurs, the previously scrolling digit goes to zero. When scrolling at the
higher order digit locations, you can switch directions by quickly pressing the
other key (# or $) within a second following the release of previous direction
key.
Short-Cut - Quick Digit Shift
To quickly select higher order digits while incrementing or decrementing
numeric values (with # or $ held), press and hold the " key . This sequences
the selected digit from the least to the most significant digit. As each digit is
passed, it changes to zero. When the desired digit is reached, release the " key
to increment or decrement from the new digit location.
Saving Program
All parameter values changed in programming mode are saved when exiting.
To exit programming mode, press and hold the " key for two seconds. The
display will momentarily display
saved in non-volatile memory. The unit then returns to the indication display
that was last viewed.
-15-
Pro9 SAVE while the parameter values are
Page 22
USER INTERFACE/PROGRAMMING MODES
The operating modes of the DPF94 Counter are programmed using the front
panel keypad. Accessibility to the Programming Menu depends on the Program
Disable Function setting (See Front Panel Accessible Functions With Program
Disable, page 14, for available settings).
Note: Before attempting to program the DPF94, read the section Programming
General Description, page 15, for detailed information on using the front
panel keypad to navigate through the Programming Menu.
Programming Menu
EntrY
AutoSc
Numeric Value entry method
Configures push button response for entering numeric
data values such as Presets, Prescaler, and Output Times.
MODEDESCRIPTION
AutoSc
diGit
The auto scrolling method allows pressing and
holding the “up” or “down” keys to progressively
change all digits of the data value, similar to
incrementing or decrementing a counter.
The digit entry method allows the selecting and
incrementing of each numeric digit on an
individual digit-by-digit basis.
Ac PSc
-L
PScALr
PRS
1.00000
Access Prescaler Value
This parameter configures the type of access given to the
Prescaler Value when in normal operating mode with
Programming disabled. For more information on Program
Disable, see page 14.
MODEDESCRIPTION
-L
-P
-n
-y
Locked; Prescaler is not viewable at main display
or in Protected Value Menu. The Prescaler can
only be viewed or changed in the Programming
Menu.
Protected Value; Prescaler value is viewable and
changeable in Protected Value Menu only. It is not
viewable at Main Display.
No; Prescaler value is viewable only and not
changeable from main display when Programming
is Disabled. Value is viewable and changeable in
Protected Value Menu.
Yes; Prescaler value is viewable and changeable
at main display when at 1st level program disable.
Value is not shown in Protected Value Menu.
Prescaler (0.00001 - 9.99999*)
The Prescaler is used to convert a pulse input signal to the
desired units of indication. For each pulse input, the
Prescaler value is added to or subtracted from the internal
count value. Aprescaler of 1.00000, provides unity scaling,
i.e., for every pulse input, the display changes by 1. The
prescaler value selected will affect the maximum count rate
(See Appendix B - Specifications, page 39).
It is important to note that the precision of a counter
application cannot be improved by using a prescaler greater
than 1.
*Limited to 1.00000 or less on Prescaler Output Model or
when Counter 2 is assigned to total on the Batch Counter.
-16-
Page 23
dEc Pt
------
Cnt In
C1-Ud
*- These are the
only count
input modes
available on
the Prescaler
Output model.
Decimal Point Position
Programmable for display of 0 to 5 digits right of decimal
point.
MODEDESCRIPTION
------
-----.-
----.--
---.---
--.----
-.-----
No decimal Point
Decimal point for 10ths
Decimal point for 100ths
Decimal point for 1000ths
Decimal point for 10,000ths
Decimal point for 100,000ths
Count Input Mode
This parameter controls the Count / Control function of
Inputs A and B. It also allows Input B to be used as a User
Input when only uni-directional counting is required.
MODEInput AInput B
C1-USr*
C2-USr
C1-Ud*
C2-Ud
Ad-Sub
Ad-Ad
qUAd 1
qUAd 2
qUAd 4
Count X1;
Count on falling edge
Count X2;
Counts on both edges
Count X1;
Counts on falling edge
Count X2;
Counts on both edges
Add count;
Counts on falling edge
Add count;
Counts on falling edge
Quadrature X1 InputQuadrature X1 Input
Quadrature X2 InputQuadrature X2 Input
Quadrature X4 InputQuadrature X4 Input
User Input B (See
UsrInb parameter)
User Input B (See
UsrInb parameter)
Up/Down control;
Input B high = Up
Input B Low = Down
Up/Down control;
Input B high = Up
Input B Low = Down
Subtract count;
Counts on falling edge
Add count;
Counts on falling edge
Count Modes
Input Asignal is used for the count input. Input B is used in combination with
Input A for Count Direction Control, Quadrature counting, Anti-coincidence
Add/Subtract, or Anti-coincidence Add/Add counting applications.
C1-USR - The unit counts one count on every negative edge of the input signal
at Input A. In this mode, Input B acts as a user input and has no effect on the
count function.
C2-USR - The unit counts one count on every negative edge of the input signal
and one count on every positive edge of the input signal at Input A. In this
mode, the input signal is effectively doubled. Input B acts as a user input and
has no effect on the count function.
C1-UD - The unit counts one count on every negative edge of the input signal
at Input A. The direction of the count is determined by the logic state of Input
B. Ahigh level at Input B causes the unit to count in a positive direction. A
low level causes the unit to count in a negative direction.
C2-UD - The unit counts one count on every negative edge of the input signal
and one count on every positive edge of the input signal at Input A. In this
mode, the input signal is effectively doubled. The direction of the count is
determined by the logic state of Input B. A high level at Input B causes the
unit to count in a positive direction. Alow level causes the unit to count in a
negative direction.
AD-SUB - This mode effectively separates count pulses that may
simultaneously appear at the two inputs. The DPF94 processes the count
pulses into a string of time separated pulses, so the internal counter does not
miss any count pulses. Input Aserves as the add input (count increments) and
Input B serves as the subtract input (count decrements).
AD-AD - This mode effectively sums count pulses that may simultaneously
appear at the two inputs. The DPF94 processes the count pulses into a string
of time-separated pulses so the internal counter does not miss any count
pulses. Input Aserves as an add input (count increments) and Input B serves
as an additional add input (count increments).
-17-
Page 24
QUAD 1 - Quadrature counting modes are primarily used in positioning and
anti-jitter applications. This mode works due to the manner in which the two
incoming pulses are positioned relative to each other. The pulse signal on
Input B is shifted 90° away from the pulse signal at Input A. These two
signals are processed by the DPF94 as follows:
Input A serves as the count input, while Input B serves as the quadrature
input. For quadrature with single edge counting, the counter counts in a
positive direction when Input Ais a negative going edge and Input B is at a
low level. The counter counts in a negative direction when Input A is a
positive going edge and Input B is at a low level. All transitions on Input A
are ignored when Input B is at a high level. These logic rules provide the
basis for anti-jitter operation which prevents false counts from occurring due
to back-lash, vibration, chatter, etc.
QUAD 2 - When two edge counting is used, the quadrature mode works the
same as with single edge counting when Input B is low. But, when Input B
is a high level, counts at Input A are no longer ignored. Instead, the logic
rules for Input A are complemented, allowing both edges of Input A to be
counted. This doubles the effective resolution of the encoded input.
QUAD 4 - This takes the quadrature mode, with two edge counting, one step
further. In quadrature times 4, both Input Aand Input B serve as the count or
quadrature input, depending on their state. In one instance, Input Aserves as
the count input and Input B serves as the quadrature input. In another
instance, Input Ais the quadrature input and Input B is the count input. This
enables each edge, positive and negative going , of both inputs, Aand B, to
be counted. This results in a resolution four times greater than in the basic
quadrature X1 mode.
Counter (1) Operating Mode
Single or Dual
Preset Model
OPEr
11
The charts on the following pages show operating modes
for Single Preset and the Dual Preset / Batch Counter
Models. In the descriptions below the “Main Preset or
Output” refers to “Preset or Output 1” on the Single Preset
Model. On the Dual Preset or Batch Models it refers to
“Preset or Output 2”.
11
Reset Type:
Auto - unit automatically resets when count triggers
main preset’s output or at its timed output end, as
programmed.
Manual - unit does not reset when count triggers main
presets output or at its timed output end. The counter
can be manually reset by a User Input or by a Serial
Communications command.
Batch Model
OPEr 1
Reset to:
Zero - When reset (manually or automatically) counter goes to zero. The
Main Preset Output is triggered when count value reaches main Preset
Value
Preset - When reset (manually or automatically), the main Preset value is
loaded into the counter. The main Preset Output is triggered when count
reaches zero.
At Timed Output End:
When this mode is selected, Auto Reset occurs when the main preset’s
Output time elapses and the main output deactivates. If not selected, Auto
reset occurs when the main output is triggered.
Output 1: (Main Output for Single Preset Model)
Latched - When Output 1 activates, it stays activated or latched until it is
manually reset.
Timed - When Output 1 is activated it stays activated for the time specified
by the Output 1 Time Value. Output 1 deactivates after the Output 1 time
elapses.
O1 Off at O2: (Dual Preset / Batch Model only)
Output 1 activates at Preset 1. It deactivates when Output 2 is activated. Does
not apply when activating Output 2 using Serial Communications command.
Output 2: (Dual Preset / Batch Model only; Main Output)
Operates similarly to Output 1 Latched and Timed modes.
-18-
Page 25
SINGLE PRESET OPERATING MODES
Use either of the two charts below for more information on specific operating
modes.
DUAL PRESET/ BATCH COUNTER 1 OPERATING MODES
Use either of the two charts below for more information on specific
operating modes.
SINGLE PRESET OPERATING MODES
Manual Reset to Zero, Latched Output-1
Manual Reset to Zero, Timed Output-2
Manual Reset to Preset, Latched Output-3
Manual Reset to Preset, Timed Output
-4
Auto Reset to Zero, Timed Output-5
Auto Reset to Preset, Timed Output-6
Auto Reset to Zero at Timed Output End-7
Auto Reset to Preset at Timed Output End-8
MODE#RESET TYPE
Manual
Auto
1
√√√
2
√√√
3
4
5
6
7
8
To Zero
RESET
To Preset
End
at Timed
Output
OUTPUT 1
Latched
√√√
Timed
√√√
√√√
√√√
√√√√
√√√√
DUAL PRESET AND BATCH COUNTER 1 OPERATING MODES
1 - Manual Reset to Zero, Latched Outputs
2 - Manual Reset to Zero, 01 Timed, 02 Latched
3 - Manual Reset to Zero, 01 and 02 Timed
4 - Manual Reset to Zero, 01 off at 02, 02 Latched
9 - Manual Reset to Preset 2, 01 off at 02, 02 Latched
10 - Manual Reset to Preset 2, 01 off at 02, 02 Timed
11 - Auto Reset to Zero, 01 and 02 Timed
12 - Auto Reset to Zero, 01 off at 02, 02 Timed
13 - Auto Reset to Preset 2, 01 and 02 Timed
14 - Auto Reset to Preset 2, 01 off at 02, 02 Timed
15 - Auto Reset to Zero at 02 End, 01 and 02 Timed
16 - Auto Reset to Zero at 02 End, 01 off at 02, 02 Timed
17 - Auto Reset to Preset 2 at 02 End, 01 and 02 Timed
18 -
Auto Reset to Preset 2 at 02 End, 01 off at 02, 02 Timed
-19-
Page 26
DUAL PRESET/ BATCH COUNTER 1 OPERATING MODES
MODE#
RESET TYPE
Manual
Auto
To Zero
RESET
To Preset
2
at Timed
02 End
OUTPUT 1
Latched
Timed
O1 Off at
O2
OUTPUT 2
Latched
Timed
Counter 2 Assignment (Batch Model only)
This parameter configures Counter 2 to function as a
C2 ASn
Batch or Total Counter.
bAtch
1
√√√√
2
3
√√√√
4
5
√√√√
6
7
√√√√
8
9
√√√√
10
11
12
13
14
15
16
17
18
√√√√
√√√√
√√√√√
√√√√√
√√√√
DESCRIPTIONMODE
√√√√
√√√√
√√√√
bAtch
totAL
Counter 2 operates as a batch counter. A batch is counted when Output
2 of Counter 1 is triggered. The Count direction is determined by the
Counter 2 Operating Mode.
Counter 2 operates as a totalizing counter. The totalizer counts
whenever Counter 1 increments or decrements. The count direction is
determined by; Counter 1 count direction, Counter 1 Operating “Reset
to” mode, and the Counter 2 Operating “Reset to” mode.
Counter 2 Count Direction when configured as a Totalizer
√√√√
√√√√
√√√√
√√√√√
√√√√√
COUNTER 1 COUNT
DIRECTION FOR C1
OPERATING MODE
Reset to
When Counter 2 is assigned to Total, the Prescaler value is limited to
1.00000 or less. For Prescaler values less than one, that are not evenly
divisible into the Preset 2 value, the Total count incurs an accumulating
error of up to 1 count for every auto reset cycle of Counter 1. In effect,
it does not accumulate the “total” amount of material used, it
accumulates the “total” number of counts registered in Counter 1.
Reset to
0
RESULTANT COUNTER 2
COUNT DIRECTION FOR
C2 OPERATING MODE
Reset to
P2
0
Reset to
P3
DnUpDnUp
UpDnUpDn
NOTES
Count Reset
Modes
Normal Count
Direction
Reversed
Count
Direction
-20-
Page 27
Counter 2 Operating Mode (Batch Model only)
1
Reset Type:
Auto - unit automatically resets when count reaches
Output 3 or timed output 3 end.
Manual - Counter can only be manually reset by a User
Input or by Serial Communications command.
OPEr 2
Reset to:
Zero - When reset (manually or automatically), counter 2 goes to zero.
Output 3 is triggered when counter 2 value reaches Preset 3 Value
Preset - When reset (manually or automatically), the Preset 3 Value is loaded
into Counter 2. Output 3 is triggered when Counter 2 reaches zero.
At Timed Output 3 End:
When this mode is selected, Auto Reset occurs when the Output 3 time
value elapses and Output 3 deactivates. If not selected, Auto reset occurs
when output 3 is triggered.
Output 3:
Latched - When Output 3 activates, it stays activated or latched until it is
manually reset.
Timed - When Output 3 is activated, it stays activated for the time specified
by the Output 3 Time Value. Output 3 deactivates after the Output 3 time
duration expires.
The chart below shows operating modes for Counter 2 of the Batch Counter
Model.
RESET TYPERESETOUTPUT 3
MODE
#
Manual
√√√
1
√√√
2
√√√
3
√√√
4
5
6
7
8
COUNTER 2 OPERATING MODES (DPF94B ONLY)
Manual Reset to Zero, 03 Latched-1
Manual Reset to Zero, 03 Timed-2
Manual Reset to Preset 3, 03 Latched
-3
Manual Reset to Preset 3, 03 Timed-4
Auto Reset to Zero, 03 Timed-5
Auto Reset to Zero at 03 Timed Output End-6
Auto Reset to Preset 3, 03 Timed-7
Auto Reset to Preset 3 at 03 Timed Output End-8
To
Auto
ZeroToPreset 3
√√√
√√√√
√√√
√√√√
At Timed
03 End
Latched Timed
-21-
Page 28
Single Preset
Model
Ac PrS
PRS
-OR-
Dual Preset
Model
Ac PrS
PRS
-Y-Y
-OR-
Batch Model
Ac PrS
PRS
-y-y-y
Access Preset Values
This parameter configures the type of access given to
each Preset Value when in normal operating mode with
Programming disabled. The accessibility of each Preset can
-Y
be individually configured. For more information on
Program Disable, see Front Panel Accessible Functions
With Program Disable, page 14.
MODEDESCRIPTION
-L
-P
-n
-y
Programming Keys:
$ - Selects Preset Value being configured as indicated by
Locked; Preset is not viewable at main display or
in Protected Value Menu. The Preset can only be
viewed or changed in the Programming Menu.
Protected Value; Preset value is viewable and
changeable in Protected Value Menu only. It is not
viewable at Main Display.
No; Preset value is viewable only and not
changeable from main display when Programming
is Disabled. Value is viewable and changeable in
the Protected Value Menu.
Yes; Preset value is viewable and changeable at
main display when at 1st level program disable.
Value is not shown in Protected Value Menu
the number on the left side of the bottom display line.
# - Changes mode selection for selected Preset.
Note: All three available secondary
display variations are shown above.
Subsequent displays pertaining to
outputs will show only the batch
version unless otherwise labeled.
PrESEt
PRS
1
Dual Preset/Batch
PrESEt
PRS
PrESEt
PRS
Dual Preset/Batch
PltrAc
PRS
Models
2
Batch Model
3
Models
2
10
20
30
no
Preset Values (0-999999)
The Preset Values control the activation of the respective
Outputs.
Preset 1 Value
The Preset 1 Value is used to control Output 1 and is
assigned to the main counter (Counter 1 on Batch Model)
Preset 2 Value (Dual Preset/Batch Models
only)
The Preset 2 Value is used to control Output 2 and is
assigned to the main counter (Counter 1 on Batch Model)
Preset 3 Value (Batch Model only
The Preset 3 values is used to control Output 3 and is
assigned to Counter 2.
Preset 1 Track Preset 2 (Dual Preset/Batch
Models only
This parameter configures whether or not the Preset 1
value tracks or follows the Preset 2 value.
MODEDESCRIPTION
no
YEs
)
Preset 1 does not track Preset 2
Preset 1 tracks Preset 2 value. When Preset 2
value is changed the Preset 1 value will change
to maintain the same offset. Changing Preset 1
will modify the offset.
)
-22-
Page 29
Ac Out
-L-L-L
OutrES
0.01SEC
Access Output Time Values
This parameter configures the type of access given to
each Output Time Value when in normal operating mode
with Programming disabled (See Front Panel Accessible
Functions With Program Disable, page 14, for more details).
The accessibility of each Output Time Value can be
individually configured.
MODEDESCRIPTION
Locked; Output Time Value is not viewable at main
-L
display or in Protected Value Menu. The Output Time
Value can only be viewed or changed in the
Programming Menu.
Protected Value; Output Time Value is viewable and
-P
changeable in Protected Value Menu only. It is not
viewable at Main Display.
No; Output Time Value is viewable only and not
-n
changeable from main display when Programming is
Disabled. Value is viewable and changeable in the
Protected Value Menu.
Yes; Output Time Value is viewable and changeable
-y
at main display when at 1st level program disable.
Value is not shown in Protected Value Menu.
Programming Keys:
$ - Selects Output Time Value being configured as
indicated by the number on the left of the bottom display.
# - Changes mode selection for selected Output Time
Value.
Output Resolution
This parameter configures the timed output resolution for
all available Timed Outputs. Use the
all Output Time Values are below 99.99 seconds.
MODEDESCRIPTION
0.01SEC
0.1 SEC
0.01 Second Output Resolution; Maximum
Output time: 99.99 Seconds
0.1 Second Output Resolution; Maximum
Output time: 999.9 Seconds
0.01SEC resolution if
-23-
OutPut
1
t 0.10
Dual Preset/
Batch Models
OutPut
2
t 0.10
Batch Model
OutPut
3
t 0.10
rEVOut
-n-n-n
Output 1 Time Value
The Output 1 Time Value controls the Output 1 duration,
when Output 1 is set for timed mode of operation (
OPEr or
OPEr 1 parameter). The Output time value range will be
0.01-99.99 Seconds or 0.1-999.9 seconds, depending on the
setting of the Output Resolution (
OutrES) parameter.
Output 2 Time Value (Dual Preset/Batch
Models only)
The Output 2 Time Value controls the Output 2 duration,
when Output 2 is set for timed mode of operation (
OPEr or
OPEr 1 parameter). The Output time value range will be
0.01-99.99 Seconds or 0.1-999.9 seconds, depending on the
setting of the Output Resolution (
OutrES) parameter.
Output 3 Time Value (Batch Model only)
The Output 3 Time Value controls the Output 3 duration,
when Output 3 is set for timed mode of operation (
parameter). The Output time value range will be 0.01-99.99
Seconds or 0.1-999.9 seconds, depending on the setting of
the Output Resolution (
OutrES) parameter.
OPEr 2
Reverse Output Logic
This parameter individually configures whether or not the
Output Logic is reversed, for all Preset Outputs.
MODEDESCRIPTION
-n
-Y
No; Output Logic is not Reversed. Output / Relay
will turn ON at Preset Value or Zero (Reset to
Preset modes) and turn OFF when Reset or
Output Time expires.
Yes; Output Logic is Reversed. Output / Relay will
turn OFF at Preset Value or Zero (Reset to Preset
modes) and turn ON when Reset or Output Time
expires.
Page 30
rEVAnu
-n-n-n
OutP.uP
-F-F-F
Programming Keys:
$ - Selects Output being configured as indicated by the
number on the left side of the bottom display line.
# - Selects Output Logic mode for selected Output
Reverse Annunciator Logic
This parameter controls the logic state of the Output
Annunciators (‘01’, ‘02’, and ‘03’).
MODE
-n
-Y
Programming Keys:
DESCRIPTION
No; Output Annunciator Logic is not Reversed.
Output Annunciator will be ON when the Output
is ON.
Yes; Output Annunciator Logic is Reversed.
Output Annunciator will be ON when the Output
is OFF.
$ - Selects Output Annunciator being configured as
indicated by the number on the left side of the bottom
display line.
# - Selects Output Annunciator Logic for selected Output
Output Power-Up State
This parameter controls the Power-Up State of the
Outputs
MODEDESCRIPTION
-f
-O
-P
Programming Keys:
$ - Selects Output being configured as indicated by the
# - Selects Output Power-up State for selected Output.
Off; The output will be off at power-up.
On; The output will turn on at power-up.
Previous State; For latched output modes only.
The output will power-up in the state it was in at
power-down. For non-latched modes, the output
will power-up in the off state.
number on the left side of the bottom display line.
User Inputs
Up to three external User Inputs plus the front panel function key are
available on the DPF94 Counter/Batch Counter. The parameter list below
shows all available user input functions. The Input Pull-Up / Pull-down resistor
and Active logic level for all the User Inputs (except User Input B) are
configured with the Snk/Src jumper (See page 8). For User Input B (
the Active Logic Level is also configured with the Snk/Src jumper , however the
input Pull-Up / Pull-Down resistor is configured by DIP Switch position 4
(Input B ‘Snk/Src’).
User Input State
ActiveVin > 3.5 VDCVin < 1.5 VDCVin < 1.5 VDC
InActiveVin < 1.5 VDCVin > 3.5 VDCVin > 3.5 VDC
* Factory Setting
MODEDESCRIPTION
StorE
St.rS-L
St.rS-E
rSt. -L
rSt. -E
rSt.2-L
-24-
Store; When the user input is activated, the main display will ‘freeze’
and remain frozen until user input is released. On Batch Counter
Models, the unit will change to, and freeze the Counter 1/Counter 2
display. See Note 1.
Store&Reset (Level Active Reset); When the user input is activated,
the count display will freeze and the internal Counter value (Counter 2
on Batch Model) will reset. The count value will be frozen and internally
held reset as long as the user input is held active. On Batch Counter
Models, the unit will change to, and freeze the Counter 1/Counter 2
display. See Note 1.
Store&Reset (Edge Triggered Reset); When the user input is
activated, the display will freeze and be held until the user input is
released. The internal Counter value (Counter 2 on Batch Model) will
reset momentarily and then continue to count while input is held active.
See Note 1.
Reset (Level Active); When the user input is activated, the counter (1)
value and outputs will be reset and held reset until user input is
released.
Reset (Edge Triggered); When the user input is activated, the counter
(1) value and outputs will be momentarily reset and then continue to
count and activate while input is held active.
Reset Counter 2 (Level Active) [Batch model Only]; When the user
input is activated, the Counter 2 value and outputs will reset and be
held reset until user input is released.
Input Voltage Level for Jumper Position
SourceSink*
Count Inhibit (SNK or SRC)
USrInb),
Page 31
MODEDESCRIPTION
rSt.2-E
rS.AL-L
rS.AL-E
ChgdSP
Pro.diS
Inhib
Print
rStOut
Note 1: Only one user input may be programmed for a Store (
USrIn1
Reset Counter 2 (Edge Triggered) [Batch model Only]; When the user
input is activated, the Counter 2 value and outputs will be momentarily
reset and then continue to count and activate while input is held active.
Reset All (Level Active) [Batch model Only]; When the user input is
activated, the Counter 1 and Counter 2 values and outputs will reset
and be held reset until user input is released.
Reset All (Edge Triggered) [Batch Counter Only]; When the user input
is activated, the Counter 1 and Counter 2 value and outputs will be
momentarily reset and then continue to count and activate while input
is held active.
Change Display (edge triggered); When the user input is activated,
the secondary display will sequence to the next available value.
Program Disable [level active] (not available for F1 Key); See page 14
for details of Program Disable options.
Count Inhibit [level active] (User Input 1 only); When User Input 1 is
activated, the Counter(s) will stop counting until User Input 1 is
released.
Print Request [level active] (RS485 Option only); When the user input
is activated, the count, preset, prescaler values, as configured in the
Print Options (“PrnOPt”) parameter will be continually transmitted on
the RS485 terminals. See RS485 Serial Communications section.
Reset Outputs (Edge Triggered); When the user input is activated, all
active outputs will reset to their inactive states. This is a momentary
reset.
& Reset (
StrS-E
or
StrS-L
) function.
User Input 1
rSt. -L
User Input 1 can be programmed for any of the
parameters listed above. Only User Input 1 may be
programmed for the Inhibit function.
StorE
) or Store
USrIn2
rSt. -L
USrInb
rSt. -L
USr F1
rSt. -L
CodE
0
User Input 2
User Input 2 can be programmed for any of the
parameters listed previously except for the Inhibit function.
User Input 2 is not available on the Batch Model with relay
outputs.
User Input B
User Input B is available when the Count Input (Cnt In)
parameter is set to ‘
programmed for any of the parameters listed previously
except for the Inhibit function.
C1-Usr’or ‘C2-Usr’. This input can be
User F1 Key
User F1 is the front panel function key. This user input
can be programmed for any of the parameters listed
previously except for the Inhibit and Program Disable
functions.
Programming / Protected Parameter
Menu Code Value (0-199)
The Programming Code value can be used to provide
Data Value or Programming Menu security. Depending on
the Code range selected and the Program Disable Level, it
may be necessary to enter the code value before the unit
allows access to Programming Menus or Protected Values.
See Front Panel Accessible Functions With Program
Disable, page 14, for more information.
CODE VALUE
100-199
DESCRIPTION
Programming is Disabled and Code entry display
0
is not available when Program is Disabled.
1-99
Protected Parameter Menu appears when Code
is entered and unit is at 1st level program
disable.
Programming Menu appears when code is
entered and unit is at 1st level program disable.
-25-
Page 32
ScroLL
Note: The next five parameters pertain to serial communications, and are only
available on Dual Preset and Batch Models with the RS485 serial option
installed.
SErSEt
96n
Scroll Display
no
This parameter determines whether or not the secondary
display will scroll or sequence automatically to the next
available value.
DESCRIPTIONMODE
no
YES
Disables or turns off display scrolling
Enables display scrolling (2.5 Sec display time)
Serial Baud Rate and Parity Settings
This parameter configures the Baud Rate and Parity
Settings for RS485 Serial Communications.
MODE
12n
12o
12E
24n
24o
24E
48n
48o
48E
96n
96o
96E
DESCRIPTION
1200 Baud; No Parity (8 data bits)
1200 Baud; Odd Parity (7 data bits)
1200 Baud; Even Parity (7 data bits)
2400 Baud; No Parity (8 data bits)
2400 Baud; Odd Parity (7 data bits)
2400 Baud; Even Parity (7 data bits)
4800 Baud; No Parity (8 data bits)
4800 Baud; Odd Parity (7 data bits)
4800 Baud; Even Parity (7 data bits)
9600 Baud; No Parity (8 data bits)
9600 Baud; Odd Parity (7 data bits)
9600 Baud; Even Parity (7 data bits)
SErAdr
0
SErAbr
no
Serial Unit Address (00-99)
This parameter configures the Serial Unit Address. The
Address is used to uniquely identify each unit when
multiple units are connected on an RS485 bus.
Serial Abbreviate Mnemonics
When transmitting data, the unit can be programmed to
suppress the address number, mnemonics, and some spaces
by selecting
results in a faster transmission and may be useful when
interfacing with a computer. However, when interfacing
with a printer, sending mnemonics is usually desirable.
MODEDESCRIPTION
no
YES
yEs for this parameter. A selection of yEs
Unit sends Serial Address, Value Mnemonic,
and right justified numeric value when a serial
Transmit Value command, Print Request
command, or User Input Print Request is
issued. A 400 msec “printer delay” is inserted
between each value when a Serial Print
Request command or User Input Print Request
is performed.
Only the numeric data value is transmitted
when a serial Transmit Value command, Print
Request command, or User Input Print
Request is issued. No unit address,
mnemonics, or 400 msec printer delay are
transmitted. This option is beneficial when
communicating with a computer and faster
data throughput is desired.
-26-
Page 33
Print Options
PrnOPt
3
The Print Options parameter determines which values
are printed in response to a Print Request command or user
input print request.
This parameter is used in conjunction with Print Request
(User Input or Serial Command) and the Print Options to
determine whether or not all count values are reset after
being acquired for serial transmission.
MODEDESCRIPTION
no
YES
Do not reset count after Print.
Each Count Value specified in Print Options will
reset after being printed (transmitted on Serial)
when a Print Request is issued.
Prescaler Output Pulse at [Prescaler Output Model Only]
PScOAt
1 dig
This parameter selects if the Prescaler Output pulse
occurs when the 1’s or 10’s digit of the Count value
changes. See Prescaler Output, page 36, for more details.
DESCRIPTIONMODE
1 dig
10 dig
Prescaler Output Pulse activates when 1’s digit
of counter changes.
Prescaler Output Pulse activates when 10’s digit
of counter changes.
Prescaler Output Pulse Length (1-9)
[Prescaler Output Model Only]
PScLEn
1
This parameter determines the Prescaler Output Pulse
width. The Prescaler Output activates on falling edges of
the count signal. Once activated the Prescaler Output Pulse
will remain activated for the number of positive count
(input) edges specified by the Parameter. See Prescaler
Output, page 36, for more details.
-27-
Page 34
FAcSEt
FACTORY SETTINGS CHART *
EntrY
PRESCALER
Ac PSc
PScALr
COUNTER
dEc Pt
Cnt In
OPEr (1 )
C2 ASn
OPEr 2
PRESETS
Ac PrS
PrESEt
PrESEt
PrESEt
P1trAc
Factory Settings
no
This parameter is used to reset all parameters to their
factory defaults. The Factory Settings Chart below shows
the settings for each programming parameter.
DESCRIPTIONMODE
Do not reset parameters to Factory Settings.
no
Reset all programming parameters to their
YES
Factory Settings.
NUMERIC VALUE ENTRY METHOD
ACCESS PRESCALER VALUE
PRESCALER VALUE
DECIMAL POINT POSITION
COUNT MODE
COUNTER (1) OPERATING MODE
COUNTER 2 ASSIGNMENT
COUNTER 2 OPERATING MODE
ACCESS PRESET VALUES
PRESET 1 VALUE
PRESET 2 VALUE
PRESET 3 VALUE
P1 TRACK P2
AutoSc
-L
1.00000
-----C1-Ud
11
bAtch
1
3 2 1
-y-y-y
10
20
30
no
OUTPUTS
Ac Out
OutrES
OutPut
OutPut
OutPut
rEVOut-n-n-n
rEVAnu
OutP.uP
USER INPUTS
USrIn1
USrIn2
USrInb
USr F1
CodE
ScroLL
RS-485 SERIAL OPTION (DUAL PRESET/BATCH MODELS ONLY)
SErSEt
SErAdr
SErAbr
PrnOPt
PrnrSt
PRESCALER OUTPUT MODEL ONLY
PScOAt
PScLEn
ACCESS OUTPUT TIME VALUES
OUTPUT RESOLUTION
OUTPUT 1 TIME
OUTPUT 2 TIME
OUTPUT 3 TIME
REVERSE RELAY/OUTPUT LOGIC
REVERSE ANNUNCIATOR LOGIC
OUTPUT POWER-UP STATE
USER INPUT 1
USER INPUT 2
USER INPUT B
USER F1 KEY
PROGRAMMING CODE VALUE
SCROLL DISPLAY
SERIAL BAUD RATE & PARITY
SERIAL UNIT ADDRESS
ABBREVIATE SERIAL MNEMONICS
PRINT OPTIONS
PRINT & RESET COUNT VALUES
PRESCALER OUTPUT PULSE AT
PRESCALER OUT PULSE LENGTH
3 2 1
-L-L-L
0.01SEC
0.10
0.10
0.10
-n-n-n
-f-f-f
rSt. -L
rSt. -L
rSt. -L
rSt. -L
96n
1 dig
0
no
0
no
3
no
1
-28-
Page 35
* Settings on the previous page are shown for Dual Preset and Batch models.
Changes to Factory Settings for Single Preset Model are as follows:
OPEr
PrESEt
USER SETTINGS CHART
EntrY
PRESCALER
Ac PSc
PScALr
COUNTER
dEc Pt
Cnt In
OPEr (1 )
C2 ASn
OPEr 2
PRESETS
Ac PrS
PrESEt
PrESEt
PrESEt
P1trAc
COUNTER OPERATING MODE5
PRESET 1 VALUE20
NUMERIC VALUE ENTRY METHOD
ACCESS PRESCALER VALUE
PRESCALER VALUE
DECIMAL POINT POSITION
COUNT MODE
COUNTER (1) OPERATING MODE
COUNTER 2 ASSIGNMENT
COUNTER 2 OPERATING MODE
3 2 1
ACCESS PRESET VALUES
PRESET 1 VALUE
PRESET 2 VALUE
PRESET 3 VALUE
P1 TRACK P2
OUTPUTS
Ac Out
OutrES
OutPut
OutPut
OutPut
rEVOut
rEVAnu
OutP.uP
USER INPUTS
USrIn1
USrIn2
USrInb
USr F1
CodE
ScroLL
RS-485 SERIAL OPTION (DUAL PRESET/BATCH MODELS ONLY)
SErSEt
SErAdr
SErAbr
PrnOPt
PrnrSt
PRESCALER OUTPUT MODEL ONLY
PScOAt
PScLEn
ACCESS OUTPUT TIME VALUES
OUTPUT RESOLUTION
OUTPUT 1 TIME
OUTPUT 2 TIME
OUTPUT 3 TIME
REVERSE RELAY/OUTPUT LOGIC
REVERSE ANNUNCIATOR LOGIC
OUTPUT POWER-UP STATE
USER INPUT 1
USER INPUT 2
USER INPUT B
USER F1 KEY
PROGRAMMING CODE VALUE
SCROLL DISPLAY
SERIAL BAUD RATE & PARITY
SERIAL UNIT ADDRESS
ABBREVIATE SERIAL MNEMONICS
PRINT OPTIONS
PRINT & RESET COUNT VALUES
PRESCALER OUTPUT PULSE AT
PRESCALER OUT PULSE LENGTH
3 2 1
-29-
Page 36
RS-485 SERIAL COMMUNICATIONS
RS-485 communications allows for transmitting and receiving of data over a
single pair of wires. This feature can be used for monitoring various values,
changing values, and resetting output(s), from a remote location. Typical
devices that are connected to a DPF94 unit are a printer, a terminal, a PLC, an
HMI, or a host computer.
PC software allows for easy configuration of unit parameters. These setting
can be saved to disk for later use, or used for multi-unit down loading. On-line
help is provided within the software.
The RS-485 differential (balanced) design has good noise immunity and
allows for communication distances of up to 4000 feet. Up to 32 units can be
connected on a pair of wires and a common. The unit’s address can be
programmed from 00 to 99.
Communication Format
The half-duplex communication operation sends data by switching voltage
levels on the common pair of wires. Data is received by monitoring the levels
and interpreting the codes that were transmitted. After the unit receives a
Transmit Command or Print Request, it will wait 100 msec before it will begin
transmitting data. In order for data to be interpreted correctly, there must be
identical formats and baud rates between the communicating devices. The
formats available for the DPF94 unit are 1 start bit, 7 or 8 data bits, No parity
or 1 parity bit (odd or even) and 1 stop bit. The available baud rates are 1200,
2400, 4800, or 9600 baud.
DATA FORMAT - 10 BIT FRAME (Parity = odd or even)
Figure 12, Data Format - 7 Data Bits
DATA FORMAT - 10 BIT FRAME (Parity = none)
Figure 13, Data Format - 8 Data Bits
Before serial communication can take place, the unit must be programmed to
the same baud rate and parity as the connected equipment. In addition, the loop
address number and print options should be known. When used with a terminal
or host computer and only one unit is employed, an address of zero (00) may by
used to eliminate the requirement for the address specifier when sending a
command. If more than one unit is on the line, assignment of unique non-zero
addresses is recommended.
Sending Commands and Data
When sending commands to the DPF94 unit, a command string must be
constructed. The command string may consist of command codes, value
identifiers, and numerical data. Below is a list of commands and value
identifiers that are used when communicating with the DPF94 unit.
COMMAND
N(4EH)
P (50H)
R (52H)Reset value; Followed by one value identifier (E, F, 1, 2 or 3)
S (53H)Set value; Followed by one value identifier (1, 2 or 3)
T (54H)Transmit value; Followed by one value identifier (A thru F)
V (56H)
DESCRIPTION
Unit Address ; Followed by a one or two digit address number 1-99
Transmit Print Options; Transmits the options selected in the Print
Options section of the Programming Menu
Change value; Followed by one value identifier (A thru F) then the
proper numerical data
-30-
Page 37
VALUE IDENTIFIERSMNEMONIC
A (41H) Preset 1P1
B (42H) Preset 2P2
C (43H) Preset 3P3
D (44H) PrescalerPSC
E (45H) Count 1CT1
F (46H) Count 2CT2
1 (31H) Output 1N/A
2 (32H) Output 2N/A
3 (33H) Output 3N/A
Note: Command identifiers other than those listed should NOT be transmitted.
Otherwise, undefined or unpredictable operation could result.
The command string is constructed by using a command, a value identifier,
a data value if required, and the command terminator(*). The Data value need
not contain the decimal point since it is fixed within the DPF94, when
programmed at the front panel. The unit will accept the decimal point, however,
it does not interpret them in any way. Leading zeros can be eliminated, but all
trailing zeros must be present.
Example: If a Preset of 1.0000 is to be sent, the data value can be transmitted as
1.0000 or 10000. If a “1” is transmitted, the Preset will be changed to 0.0001.
The Address command is used to allow a command to be directed to a
specific unit on the Serial Communications Line. When the unit address is zero,
transmission of the Address command is not required. This is done for
applications that do not require more than one unit. For applications that require
several units, it is recommended that each unit on the line be given a specific
non-zero address. If they are given the same address, a command such as the
Transmit Value Command, will cause all of the units to respond simultaneously,
resulting in a communication collision. All units in a multiple unit application
should be given an address other than zero. If a unit has an address of zero, it
will attempt to process any transmissions from the other units as commands.
These transmissions fill up the receive buffer of the unit with an address of zero,
which may produce unpredictable results.
In a multiple unit configuration, an asterisk (2AH) must be sent to clear the
input buffer of all units on the line after a transmit value or print request
command is sent to a specific unit on the line. The DPF94 will require a
maximum of 50 msec to process the asterisk (*).
The command string is constructed in a specific logical sequence. The DPF94
will not accept command strings that do not follow this sequence. Only one
operation can be performed per command string. Below is the procedure to be
used when constructing a command string.
1. The first two to three characters of the command string must consist of the
Address Command (N) and the address number of the unit (1 thru 99). If the
DPF94 address is zero, the address command and number need NOT be sent.
2. The next character in the command string is the actual command that the unit
is to perform (P, R, S, T, or V).
3. AValue Identifier is next if it pertains to the command. The print command
(P) does not require a Value Identifier.
4. The numerical data will be next in the command string if the Change Value
command (V) is used.
5. All command strings must be terminated with an asterisk * (2AH). This
character indicates to the DPF94 that the command string is complete.
Below are some typical examples of properly constructed command strings.
Examples:
1. Change Preset 1 Value to 123.4 on the DPF94 with an address of 2.
COMMAND STRING: N2VA1234*
2. Transmit the Count Value of the DPF94 unit with an address of 3.
COMMAND STRING: N3TE*
3. Reset Output 1 of the DPF94 unit with an address of 0.
COMMAND STRING: R1*
If illegal commands or characters are sent to the DPF94, the unit will respond
by transmitting an error character “E” (45H) in which case the string must be
re-transmitted.
When writing application programs in Basic, the transmission of spaces or
carriage return and line feed should be inhibited by using the semicolon
delimiter with the “PRINT” statement. The DPF94 will not accept a carriage
return or line feed as valid characters. See Terminal Emulation Program, page
33, for a listing of an IBM
®
PC Basic terminal emulation program.
-31-
Page 38
It is recommended that a “Transmit Value” command follow a “Change
Value” Command. If this is done, the reception of the data can provide a timing
reference for sending another command and will ensure that the change has
occurred. When a “Change Value or Reset Value” command is sent to the
DPF94, there is time required for the unit to process the command string. The
diagrams show the timing considerations that need to be made.
Receiving Data
Data is transmitted from the DPF94 when a “T” Transmit Value or a “P”
Transmit Print Options command is sent to the unit via the serial port or when
a User Input, programmed for the Print Request function, is activated. The
DPF94 will wait a minimum of 100 msec and then begin transmissions. The
DPF94 can also be programmed to transmit mnemonics. The format for a
typical transmission string with mnemonics is shown below:
The first two digits transmitted are the unit address followed by one blank
space. The next three characters are the mnemonics followed by three or more
blank spaces. The numerical data value is transmitted next. The decimal point
position will “float” within the data field depending on the actual value it
represents. The numeric data is right justified without leading zeros.
When a “T” command or print request is issued, the above character string is
sent for each line of a block transmission. An extra <SP><CR><LF> is
transmitted following the last line of transmission from a print request, to
provide separation between print outs.
If serial is abbreviated (
SErAbr = YES), just numeric data is sent with no
time delay. If the DPF94 transmits mnemonics, there is a 400 msec built-in time
delay after each transmission string when “P” command or a Print Request is
issued. When interfacing to a printer, sending mnemonics is usually desirable.
Examples of transmissions are shown below:
3 P2 6732.5<CR><LF> Mnemonics Sent
6732.5<CR><LF> NO Mnemonics Sent
The various Print Options are used with a printer or a Computer Terminal.
They provide a choice of which DPF94 data values are to be printed, when
either the User Input, programmed for the print request function is activated, or
a “P” (Transmit Print Options) command is sent to the DPF94 via the serial port.
See Print Options, page 27, for the available options.
Print outs from a DPF94 unit with an address of 1 and the following print
options are shown below:
DUAL PrnOPt = 7
1 CT1
1 P1
BATCH PrnOPt = 15
1 CT1
1 CT21 PSC
1 PSC
1 P11 P2
1 P2
1 P3
1.000004000
54 54
1001.00000
40005000
5000
6000
Figure 14, Transmission String
-32-
Page 39
Terminal Emulation Program For IBM®PC
Utilizing the Serial communications capability of the DPF94 will require the
use of an RS485 serial card in the computer. If an IBM
used, this card would be installed in an expansion slot on the mother-board. The
RS485 card should be configured for “2-wire half-duplex” operation. For this
mode of operation, each piece of equipment must be able to switch from receive
mode to transmit mode and vice-versa. The DPF94 is normally in the receive
mode. It will automatically switch to the transmit mode when a Transmit Value
Command is issued or a Print Request is issued. For the computer to switch from
receive to transmit mode, the controlling software must be written to perform
this task. On most RS485 serial cards, the RTS (Request-to-send) signal can be
configured to be used as the direction (transmit/receive) control signal. The
controlling software must switch the state of the RTS line when the computer is
to switch from transmitting to receiving data.
Listed below is a basic program that will emulate a terminal. It is written
using IBM
®
PC Basic. The program may need to be modified if using a different
basic interpreter. Set up the DPF94 for a baud rate of 9600. When the program
is running, commands can be typed in from the keyboard as shown in the
previous examples above. An asterisk (*) is used to end all commands. Do NOT
use the carriage return to end a command.
1 REM “FOR THIS PROGRAM TO WORK THE “RS485” CARD SHOULD BE
SET-UP AS COM2”
2 REM “ALSO THE CARD SHOULD USE “RTS” FOR HANDSHAKING”
3 REM “THE DPF94 UNIT SHOULD BE SET-UP FOR 9600 BAUD, AND ODD
PARITY”
4 TXEMPTY = &H60
5 LSR = &H2FD: REM “COMM2 LINE STATUS REGISTER”
6 MCR = &H2FC: REM “COMM2 MODEM CONTROL REGISTER”
10 CLS : CLOSE :
20 OPEN “COM2:9600,O,7,1” FOR RANDOM AS #1
30 ON TIMER(1) GOSUB 300
40 A$ = INKEY$: IF A$ “ “ THEN GOTO 1000: REM “CHECK FOR KEYBOARD
INPUT”
50 IF LOC(1) = 0 THEN 40 ELSE 80: REM CHECK FOR INPUT
60 IF LOC(1) = 0 THEN 80: REM “SKIP CLEARING OF BUFFER”
70 B$ = INPUT$(LOC(1), #1): REM “CLEAR BUFFER”
80 F = INP (MCR) AND 253: OUT MCR, F: REM “SET FOR RECEIVE MODE”
®
PC compatible is being
90 IF INP(LSR) TXEMPTY THEN 90: REM “WAIT UNTIL DONE
TRANSMITTING”
100 TIMER ON
110 IF LOC(1) = 0 THEN 110
120 B$ = INPUT$(1, #1)
130 IF B$ = CHR$(10) THEN 160” REM “TO PREVENT DOUBLE SPACING ON
PRINT”
140 PRINT B$;
160 IF NOT B$ = “ “ THEN GOTO 90
170 TIMER OFF
200 GOTO 40
300 TIMER OFF: RETURN 40
1000 D = INP(MCR) OR 2: OUT MCR, D: REM “SET FOR TRANSMIT MODE”
1010 PRINT #1, A$; : PRINT A$; : REM “PRINT KEYSTROKE”
1020 IF A$ = “*” THEN PRINT
1030 IF A$ = “*” THEN IF INP(LSR) TXEMPTY THEN 1030 ELSE GOTO 60
1040 A$ = INKEY$: IF A$ “ “ THEN GOTO 1000
1050 GOTO 1010
Serial Connections
When wiring, refer to the numbers listed on the label with the terminal
description for installing each wire in its proper location.
For RS-485, the data (transceiver) wires connect to the A(+) and B(-)
terminals. It is recommended that shielded (screened) cable be used for serial
communications. In some applications, a signal ground may be required to
establish a ground reference. The signal ground is required if the equipment does
not have internal bias resistors connected to the transceiver lines. If necessary,
the shield can be used as the signal ground.
TERMINAL DESCRIPTIONS
COMM. - Common required for communication hook-up.
A (+) & B (-) - The DPF94 transmits and receives on these two terminals which
are connected to the external device.
-33-
Page 40
CONNECTING TO A HOST TERMINAL
Six DPF94 units are used to monitor and control parts
packaging machines in a plant. DPF94 units are located
at each machine in the production area of the building. A
communication line is run to an Industrial computer
located in the production office. The drawing shows the
line connection. Each DPF94 is programmed for a
different address and all are programmed for the same
baud rate and parity as the computer (ex. 9600 baud,
parity even). An application program is written to send
and receive data from the units using the proper
commands.
Figure 15, Connecting to a Host Terminal
-34-
Page 41
Troubleshooting Serial Communications
If problems are encountered when interfacing the DPF94(s) and host device
or printer, the following check list can be used to help find a solution.
1. Check all wiring. Refer to the previous application example and use it as a
guide to check your serial communication wiring. Proper polarity of all
DPF94(s) and other peripherals must be observed.
2. If the DPF94 is connected to a “host computer”, device or printer, check to
make sure that the computer or device is configured with the same
communication format as the DPF94. The communication format the DPF94
will accept is; 1 start bit, 7 or 8 data bits, no parity or 1 parity bit (odd or
even), and 1 stop bit.
3. Check the baud rate and parity in the Programming Menu
and make sure all devices on the line are set to the same baud rate and parity.
4. Check the DPF94’s unit address (
used when transmitting a command to the DPF94, the DPF94’s address must
be set to 0. See Sending Commands & Data, page 26, for command structure.
5. If two-way communications are to be established between the DPF94 and a
computer, have the computer receive transmissions from the DPF94 first.
Activating a User Input, programmed for the print request function, will
initiate transmissions from the DPF94.
6. When sending commands to the DPF94, an asterisk * (2AH) must terminate
the command. Make sure a carriage return or line feed does not follow the
command terminator.
7. In multiple unit configurations, make sure each unit has a different address
other than zero. If a transmit value or print request command is issued, an
asterisk (*) must be sent before sending another transmission.
8. If all of the above has been done, try reversing the polarity of the transceiver
wires between the DPF94(s) and the RS485 interface card. Some cards have
the polarity reversed.
SErAdr). If the Address command is not
SErSEt parameter,
-35-
Page 42
PRESCALER OUTPUT OPTION
The prescaler output is useful for providing a lower frequency scaled pulse
train to a PLC or another external totalizing counter. The prescaler output
provides programming parameters to determine when to turn the output on
(
PScOAt)[display dependent] and when to turn the output off (PScLEn) [input
pulse dependent].
The prescaler output turns on when the LSD (least significant digit) of the
display value changes by one digit (
one digit, effectively a display change of 10 (
The (
PScLEn) is the turnoff point of the prescaler output after the
programmed number of positive edge input pulses (1 through 9).
Note: The activation of the prescaler output is dependent on the display value
change. The deactivation of the prescaler output is dependent on the positive
edge of the input pulse, and NOT display value change.
During manual reset of the counter, an activated prescaler output is reset
(turned off).
The optimum prescaler length value for a specific prescaler value and
prescaler output at (
PScOAt) setting can be obtained from the tables at right.
Where possible, the optimum value will provide a duty cycle close to 50%.
Example: Amanufacturer needs to measure the flow of a liquid to their process
in tenths of a gallon. They also require a signal to their PLC to register the
total number of gallons used. The flow meter outputs 50 pulses per gallon.
Using the programming parameters set as described at right, the prescaler
output provides one output pulse for every 50 input signal pulses, or 1.0
display value change.
1 dig), or when the 2nd LSD changes by
10 dig).
PScOAt= 1
For
PRESCALER
VALUE
PScALr
0.50001-1.000001
0.25001-0.500002
0.17001-0.250003
0.12501-0.170004
0.10001-0.125005
0.08251-0.100006
0.07001-0.082507
0.06251-0.070008
0.00001-0.062509
When
PScLEn value is obtained from the tables:
Effective Prescaler Output Frequency =
dig
OUTPUT LENGTH
VALUE
PScLEn
For
PRESCALER
VALUE
PScALr
Application’
2 × (PScLEn - 0.5)
PScOAt= 10 dig
OUTPUT LENGTH
VALUE
PScLEn
60.82501-1.00000
70.70001-0.82500
80.62501-0.70000
90.00001-0.62500
s Max. Input Frequency
As a rule, the counter connected to the prescaler output should be able to
accept a count rate at or higher than the “Effective Prescaler Output Frequency”.
PScALr = 0.20000(Display will change 0.1 gallons for every 5 input
PScOAt = 10dig(Prescaler output will turn on as the 2nd LSD changes
signal pulses)
by one digit, or when the display changes to every
whole gallon.)
PScLEn = 9(Prescaler output turns off 9 input pulses after turn on.
Effectively 0.2 gallons after each whole gallon.)
-36-
Page 43
APPENDIX “A” - APPLICATION EXAMPLE
Slow Down & Cut to Length with Total Yardage
To improve production efficiency, a wallpaper manufacturing plant is
installing cut to length counters on the roll form machines. Currently, electromechanical counters are used for length measurements. The operator slows the
machine down upon arriving at the desired length, stops and then cuts. The
addition of the DPF94 batch counters eliminates the operator’s manual
observation and control.
The operator programs the required cut length as Preset 2. Preset 1 is
preprogrammed for tracking and will automatically follow Preset 2. Preset 1 is
used as the slow down, and is set for a value 0.25 yards less than Preset 2. The
process count is programmed to automatically reset at the Preset 2 cut length of
11.00 yards, and begin counting for the next roll. Counter 2 is programmed as a
totalizer and is recorded and reset (via key switch) at
the end of the operator’s shift. The DPF94 was
ordered with the RS-485 serial
communication option. Future plans
include a data acquisition
program to interrogate
the DPF94’s. A 100
ppr rotary pulse
generator is shaft
coupled to a 4"
pinch roller for
length measurement.
Display units desired is
0.01 yards. Program
Security features are set to allow
access to Preset 2 only. This allows
the operator to change the required cut
length, but prevents accidental changes to other
programming parameters that may adversely affect
process operation. After all programming is complete, the
Program Disable DIP switch is moved to the up position to
enable the Program Security function.
Circumference of pinch roller:
circumference = π x diameter
Pulses per yard:
Prescaler:
12.56636 = 3.14159 x 4.00
36 inches
1 yard 12.56636
Prescaler = Display Units
Prescaler = 100
Prescaler = 0.34907
1 rev
X
number of pulses
286.47913
= 2.8647913 rev/yard
-37-
Page 44
APPLICATION PROGRAMMING
EntrYAutoSc
Ac PSc
-L (locked)
PScALr0.34907
dEc Pt----.-Cnt InqUAd 1
OPEr 112
C2 ASntotAL
OPEr 202
Ac PrS-L-y-L
PrESEt
PrESEt
PrESEt
PRS1 10.75 (value 0.25 less than PRS2 for slow down)
PRS2 11.00 (cut length)
PRS3 9000.00 (set high so output does not activate)
P1trAcyES
Ac Out-L-L-L
OutrES0.01SEC
OutPut 1t
OutPut 2t
OutPut 3t
Note: The internal supply of the DPF94 can provide a total of 100 mA
for the combination of sensor current and PNPoutput sourcing current.
The supply voltage is +12 VDC (±15%), which will be the PNP output
voltage level when using only the internal supply.
If additional PNP output sourcing current or a higher output voltage
level is desired, an external DC supply may be connected between the
“DC Out/In” and “Comm.” terminals. This supply will determine the
PNP output voltage level, and must be in the range of +13 to +30 VDC.
An external supply can provide the additional output sourcing current
required in applications where two or more outputs are “ON”
simultaneously. However, the maximum rating of 100 mA per individual
output must not be exceeded, regardless of external supply capacity.
Relay: Form Acontact, Rating = 5 A @ 250 VAC, 30 VDC (resistive load),
1/10 HP @ 120 VAC (inductive load)
Relay Life Expectancy: 100,000 cycles min. at max. load rating
Programmable Timed Output: User selectable output time resolution.
0.01 Second Resolution: 0.01 to 99.99 sec, ± 0.01% +20 msec max.
(Prescalers less than 2)
0.1 Second Resolution: 0.1 to 999.9 sec, ±100 msec
(Prescalers less than 2)
Note: For Prescaler values above 2, the timed delay output is affected by
the count speed (rate).
9. RS485 SERIAL COMMUNICATIONS (Optional): Up to 32 units can be
connected.
Baud Rate: Programmable from 1200 to 9600 baud
Address: Programmable from 0 to 99
Data Format: 10 Bit Frame, 1 start bit, 7 or 8 data bits, 1 or No Parity bit,
and 1 stop bit
Parity: Programmable for Odd (7 data bits), Even (7 data bits), or None (8
data bits)
10. CERTIFICA TIONS AND COMPLIANCES:
SAFETY
UL Recognized Component, File #E313547, UL508, CSA C22.2 No. 14
Recognized to U.S. and Canadian requirements under the Component
Recognition Program of Underwriters Laboratories, Inc.
Type 4X Indoor Enclosure rating (Face only), UL50
IEC 61010-1, EN 61010-1: Safety requirements for electrical equipment
for measurement, control, and laboratory use, Part 1.
IP65 Enclosure rating (Face only), IEC 529
1. A power line filter, was installed when the unit was DC powered.
DC VERSIONS
T o insur e compliance with the EMC standards listed above, do not connect
any wires from the terminal(s) labeled “COMM.” to the “DC-” supply
terminal (12), when powering the unit from a DC supply.
Refer to EMC Installation Guidelines section of the manual for additional
12. CONSTRUCTION: Black plastic case with collar style panel latch. The
panel latch can be installed for horizontal or vertical stacking. Black plastic
textured bezel with clear display viewing window. Unit assembly with circuit
boards can be removed from the case without removing the case from the
panel or disconnecting the wiring. This unit is rated for NEMA 4X/IP65
indoor use. Installation Category II, Pollution Degree 2.
13. ENVIRONMENTALCONDITIONS:
Operating Temperature: 0°C to 50°C
Storage Temperature: -40°C to 70°C
Operating and Storage Humidity: 85% max. relative humidity (non-
condensing) from 0°C to 50°C.
Altitude: Up to 2000 meters
14. WEIGHT: 6.0 oz (170 g)
-42-
Page 49
APPENDIX “C” - TROUBLESHOOTING
The majority of problems can be traced to improper connections or incorrect set-up parameters. Be sure all
connections are clean and tight, that the correct output board is fitted, and that the set-up parameters are correct. Also,
be sure the DIP switch settings and the User Input Plug Jumper position are correct for the particular application. For
further technical assistance, contact technical support at the numbers listed.
PROBLEMSPOSSIBLE CAUSEREMEDIES
NO DISPLAY
Err 1 DISPLA YED AT
POWER UP
Err 2 DISPLA YED AT
POWER UP
Err 3 DISPLA YED AT
POWER UP
UNIT DOES NOT COUNT
UNIT COUNTS
INCORRECTLY
1. Power off.1. Verify power.
2. Loose connection or improperly wired.2. Check connections and wiring.
3. Brown out condition.3. Verify power reading.
4. Bezel assembly not fully seated into rear of unit.4. Check installation.
5. If powered by +12 VDC source, not enough current to drive C48.
1. Data error in count values detected by processor.
1. Data error in preset, prescaler, or output time values detected by
processor.
1. Data error in programming parameters detected by processor.
1. No input signal.1. Check sensor connections.
2. Type of input signal incorrectly selected.2. Check DIP switch settings.
3. Count inhibited.3. Disable count inhibit.
4. Prescaler value too small.4. Check prescaler value.
1. Input signal type incorrectly selected.
2. Inputs improperly connected.
3. Electrical noise interference.
4. Incorrect counting mode.
5. Prescaler incorrect.
5. Verify Source current rating.
1. Press " key.
2. Check signal lines for possible noise sources.
1. Press " key.
a. Check presets, prescaler, and output time values.
2. Check signal lines for possible noise sources.
1. Press " key.
a. Check all programming parameters.
2. Check signal lines for possible noise sources.
a. Verify power to sensor.
1. Check DIP switches. Set HI/LO FRQ. switch to LO for
count speed of less than 50 Hz.
2. Check sensor input connections.
3. Check power source for noise.
a. Check signal wire routing.
4. Verify count input mode.
5. Verify prescaler.
-43-
Page 50
APPENDIX “C” - TROUBLESHOOTING (Cont’d)
CAN NOT ENTER INTO
PROGRAMMING
PROCESS, BATCH, OR
TOTAL VALUES WILL NOT
RESET WHEN A MANUAL
RESET IS PERFORMED
PRESCALER, PRESETS, OR
OUTPUT TIME VALUES CAN
BE VIEWED BUT NOT
CHANGED
UNIT COUNTS WHILE
RESET IS ACTIVATED
OUTPUT WILL NOT RESET
OUTPUTS NOT WORKING
1. Front panel disabled.
REMEDIESPOSSIBLE CAUSEPROBLEMS
1. Check “Front Panel Accessible Functions With Program
Disable” section of the manual.
1. Verify programming of User Input parameter.1. User input not properly programmed.
2. Configure Snk/Src jumper.2. User Input Snk/Src jumper configured improperly.
1. Verify programming of Access parameters.1. Front panel disabled.
2. Check “Front Panel Accessible Functions With Program
Disable” section of manual.
1. Program User input to a maintained reset.1. User input reset mode set for momentary reset.
1. Verify programming of the user input parameter.1. User input not properly programmed.
1. Install output board.1. Output board not installed.
2. Check wiring.2. Improperly wired.
3. Check output board.3. Incorrect output board.
4. Check or replace output board.4. Defective output board.
-44-
Page 51
APPENDIX “D” - CALCULATING THE PRESCALER
The DPF94 is factory set to provide one count on the display for each pulse
that is input to the unit. In many applications, there will not be a one to one
correspondence between input pulses and desired display units. In these
applications, it will be necessary for the DPF94 to scale or multiply the input
pulses by a prescaler to achieve the proper display units desired (feet, meters,
gallons, etc.).
The first step in determining the prescaler is to obtain the Number of Pulses
per Display Unit. This may require a small amount of deductive reasoning.
Example: A48-tooth gear is mounted to a 2 ft circumference feed roll in a paper
processing plant. It is desired to display the footage of paper processed per
day. In this example, the display units are in feet. A sensor sensing the gear
teeth provides 48 pulses for each revolution of the feed roll. Each revolution
equates to a linear distance of 2 feet. The number of Display Units desired is
2. The Number of Pulses per Display Units is 48. When the number of
Display Units and the Number of Pulses have been obtained, the prescaler
can be calculated.
The Prescaler is obtained by dividing the Display Units by the Number of
Pulses as shown in the Formula below.
Prescaler
Display Units x Display Decimal Point
=
Number of Pulses
For the preceding example, the prescaler is calculated by plugging 2 and 48
into the formula:
WHERE:
Number of Pulses =
Display Decimal Point =
Display Units =
Desired Decimal PointEnter In Formula
The number of desired units (revolutions, feet, 10ths
of feet, meters, etc.) that would be acquired after the
Number of Pulses has occurred.
The number of pulses required to achieve the
number of Display Units.
The desired Display Decimal Point position.
01
0.010
0.00100
0.0001000
0.000010000
0.00000100000
⎯
Prescaler =
⎯
428
Prescaler = 0.041667
-45-
Page 52
APPENDIX “E” - TERMINAL CONFIGURATIONS FOR DPF94 COUNTERS
DPF94XXX0 VERSIONS (85 to 250 VAC POWERED)
CAUTION: Observe proper polarity when connecting DC voltages. Damage to the unit will occur if polarity is reversed.
*PNP O.C. Output(s) versions available, contact the factory.
NPN O.C. *
OUTPUT(S)
RELAY
OUTPUT(S)
-48-
RS485
PART NUMBERS FOR AVAILABLE
SUPPLYVOLTAGES
85 to 250 VAC18-36 VDC/24 VAC
REPLACEMENT
RELAYOUTPUT
BOARD
Page 55
THREE PRESET BATCH COUNTERS
DESCRIPTIONMODEL NO.
NPN O.C. *
OUTPUT(S)
Yes (O1)3 Preset Batch Counter, Reflective LCD
DPF94B
Note: On Batch Relay Models, Outputs 2 and 3 are Relays, and Output 1 is a solid-state output.
*PNP O.C. Output(s) versions available, contact the factory.
OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of 25 months from date of
purchase. OMEGA’s WARRANTY adds an additional one (1) month grace period to the normal two (2) year product warranty to cover
handling and shipping time. This ensures that OMEGA’s customers receive maximum coverage on each product.
If the unit malfunctions, it must be returned to the factory for evaluation. OMEGA’s Customer Service Department will issue an Authorized Return
(AR) number immediately upon phone or written request. Upon examination by OMEGA, if the unit is found to be defective, it will be repaired
or replaced at no charge. OMEGA’s WARRANTY does not apply to defects resulting from any action of the purchaser, including but not limited
to mishandling, improper interfacing, operation outside of design limits, improper repair, or unauthorized modification. This WARRANTY is VOID
if the unit shows evidence of having been tampered with or shows evidence of having been damaged as a result of excessive corrosion; or
current, heat, moisture or vibration; improper specification; misapplication; misuse or other operating conditions outside of OMEGA’s control.
Components in which wear is not warranted, include but are not limited to contact points, fuses, and triacs.
OMEGA is pleased to offer suggestions on the use of its various products. However, OMEGA neither assumes responsibility
for any omissions or errors nor assumes liability for any damages that result from the use of its products in accordance with
information provided by OMEGA, either verbal or written. OMEGA warrants only that the parts manufactured by the
company will be as specified and free of defects. OMEGA MAKES NO OTHER WARRANTIES OR REPRESENTATIONS OF ANY
KIND WHATSOEVER, EXPRESSED OR IMPLIED, EXCEPT THAT OF TITLE, AND ALL IMPLIED WARRANTIES INCLUDING ANY
WARRANTY OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. LIMITATION OF
LIABILITY: The remedies of purchaser set forth herein are exclusive, and the total liability of OMEGA with respect to this
order, whether based on contract, warranty, negligence, indemnification, strict liability or otherwise, shall not exceed the
purchase price of the component upon which liability is based. In no event shall OMEGA be liable for consequential,
incidental or special damages.
CONDITIONS: Equipment sold by OMEGA is not intended to be used, nor shall it be used: (1) as a “Basic Component” under 10 CFR 21 (NRC),
used in or with any nuclear installation or activity; or (2) in medical applications or used on humans. Should any Product(s) be used in or with
any nuclear installation or activity, medical application, used on humans, or misused in any way, OMEGA assumes no responsibility as set forth
in our basic WARRANTY/DISCLAIMER language, and, additionally, purchaser will indemnify OMEGA and hold OMEGA harmless from any
liability or damage whatsoever arising out of the use of the Product(s) in such a manner.
Page 57
RETURN REQUESTS/INQUIRIES
Direct all warranty and repair requests/inquiries to the OMEGA Customer Service Department. BEFORE RETURNING ANY PRODUCT(S) TO
OMEGA, PURCHASER MUST OBTAIN AN AUTHORIZED RETURN (AR) NUMBER FROM OMEGA’S CUSTOMER SERVICE DEPARTMENT (IN
ORDER TO AVOID PROCESSING DELAYS). The assigned AR number should then be marked on the outside of the return package and on any
correspondence. The purchaser is responsible for shipping charges, freight, insurance and proper packaging to prevent breakage in transit.
FOR WARRANTY RETURNS, please have the following information
available BEFORE contacting OMEGA:
1. Purchase Order number under which the product was PURCHASED,
2. Model and serial number of the product under warranty, and
3. Repair instructions and/or specific problems relative to the product.