Page 1
D1-USER-M User Manual Manual Number: D1-USER-M...
Page 2
This publication is based on information that was available at the time it was printed. At AutomationDirect we constantly strive to improve our products and services, so we reserve the right to make changes to the products and/or publications at any time without notice and without any obligation.
Esta publicación puede contener referencias a productos producidos y/u ofrecidos por otras compañías. Los nombres de las compañías y productos pueden tener marcas registradas y son propiedad única de sus respectivos dueños. Automationdirect.com, renuncia cualquier interés propietario en las marcas y nombres de otros.
(«activités à risque élevé»). La société AutomationDirect nie toute garantie expresse ou implicite d’aptitude à l’emploi en ce qui a trait aux activités à risque élevé.
Page 5
DL105 U anUaL Please include the Manual Number and the Manual Issue, both shown below, when communicating with Technical Support regarding this publication. Manual Number: D1-USER-M Issue: 3rd Edition, Rev. F Issue Date: 07/21 Publication History Issue Date Description of Changes...
Handheld Programmer ..................... 1–5 I/O Quick Chart Selection ..................1–6 Quick Start for PLC Checkout and Programming............. 1–7 Step 1: Unpack the Recommended DL105 Equipment ..........1–7 Step 2: Connect Switches to Input Terminals ............1–8 F1-130AR, F1-130AD, F1-130AA................1–8 F1-130DR, F1-130DD-D ...................
Page 7
Step 6: Review the Programming Concepts ............1–12 Step 7: Choose the Instructions ................1–12 Step 8: Understand the Maintenance and Troubleshooting Procedures ....1–12 Questions and Answers about DL105 Micro PLCs ..........1–13 Chapter 2 –Installation, Wiring and Specifications Safety Guidelines ....................... 2–2 Plan for Safety ......................
Page 8
F1–130DD/ F130–DD–CE DC Output Specifications..........2–41 F1–130AA I/O Wiring Diagram ................2–42 Auxiliary +24V Power Supply .................. 2–42 F1–130AA General Specifications ................2–43 F1–130AA I/O DC Output Specifications ..............2–44 F1–130DA I/O Wiring Diagram ................2–45 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 9
Preset Data Starting Location ................... 3–9 Using Fewer than 24 Presets ..................3–9 Equal Relay Numbers ....................3–9 Calculating Your Preset Values ................3–10 X Input Configuration .................... 3–10 Writing Your Control Program ................3–11 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 10
Trapezoidal Profile Defined ..................3–29 Registration and Home Search Profiles Defined ............3–29 Velocity Profile Defined ................... 3–29 Trapezoidal Profile Operation ................. 3–30 Trapezoidal Profile Applications ................3–30 Trapezoidal Profile Program Example ..............3–31 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 11
Setup for Mode 60 ....................3–52 X Input Configuration .................... 3–52 Filtered Inputs Program Example ................3–53 Chapter 4 - CPU Specifications and Operation Introduction ....................... 4–2 DL105 CPU Features ....................4–2 CPU Specifications ..................... 4–3 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 12
CPU Setup Information .................... 4–5 CPU Modes ......................4–6 Mode of Operation at Power-up ................4–6 Changing Modes in the DL105 PLC ................. 4–6 Setting Bits in V7633 ....................4–7 Auxiliary Functions ....................4–8 Clearing an Existing Program ................... 4–9 Initializing System Memory ..................
Page 13
Chapter 5 - Standard RLL Instructions Introduction ....................... 5-2 Using Boolean Instructions ..................5-4 END Statement ......................5-4 Simple Rungs ......................5-4 Normally Closed Contact ..................5-5 Contacts in Series ..................... 5-5 viii DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 14
Using the Accumulator Stack .................. 5-44 Using Pointers ......................5-46 Load (LD) ....................... 5-47 Logical Instructions (Accumulator) ................. 5-55 Exclusive OR Double (XORD) ................. 5-60 Math Instructions ....................5-63 Subtract (SUB) ......................5-65 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 17
Stage (SG) ......................7-19 Initial Stage (ISG) ....................7-20 Jump (JMP)......................7-20 Questions and Answers about Stage Programming ..........7-22 Chapter 8 - Maintenance and Troubleshooting Hardware System Maintenance ................8-2 Diagnostics ......................... 8-3 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 18
Purpose of Auxiliary Functions .................. A-2 Accessing AUX Functions via DirectSOFT ..............A-3 Accessing AUX Functions via the Handheld Programmer .......... A-3 AUX 2* — RLL Operations ..................A-4 AUX 21 · Check Program ..................A-4 xiii DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 19
AUX 81 · Modify Password ..................A-8 AUX 82 · Unlock CPU ....................A-9 AUX 83 · Lock CPU ....................A-9 Appendix B - DL105 Error Codes DL105 Error Code Tables ................... B-2 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 20
CPU Status Relays ..................... D-2 System Monitoring ....................D-3 Accumulator Status ....................D-3 Equal Relays for HSIO Mode 10 Counter Presets ............D-4 Appendix E - DL105 PLC Memory DL105 PLC Memory ....................E-2 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 21
BCD/Binary/Decimal/Hex/Octal - What is the Difference? ........G-7 Data Type Mismatch ....................G-8 Signed vs. Unsigned Integers ..................G-9 AutomationDirect.com Products and Data Types ..........G-10 DirectLOGIC PLCs ....................G-10 C-more and C-more Micro Graphic Panels ............. G-10 DL105 PLC User Manual, 3rd Ed. Rev. F...
Quick Start for PLC Checkout and Programming............. 1–7 Steps to Designing a Successful System ..............1–11 Questions and Answers about DL105 Micro PLCs ..........1–13 NOTE: F1-130-DD, F1-130-DD-D, F1-130AA, F1-130DA, F1-130DR-D, and F1-130AR modules have been discontinued. Please consider Productivity, CLICK, or BRX systems as a replacement...
Specifications”, and proceed on to other chapters as needed. Be sure to keep this manual handy for reference when you run into questions. If you are a new DL105 customer, we suggest you read this manual completely so you can understand the wide variety of features in the DL105 family of products.
Key Topics for Each Chapter The beginning of each chapter will list the key topics that can be found in that chapter. HAPTER Getting Started In This Chapter... General Information ..............1-2 Specifications ................1-4 1–3 DL105 PLC User Manual, 3rd Ed. Rev. F...
Units with DC outputs offer selectable pulse output capability on the first two output points. All DL105 Micro PLCs offer a large amount of program memory, a substantial instruction set and advanced diagnostics. Details of these features and more are covered in Chapter 4, CPU Specifications and Operation.
DirectLOGIC CPU families. This means that you can use the same DirectSOFT package to program DL05, DL06, DL105, DL205, DL305, DL405 or any new CPU we may add to our product line. (Upgrade software may be required for new CPUs as they become available.)
In several instances a particular Input or Output circuit can interface to either DC or AC voltages, or both sinking and sourcing circuit arrangements. Check this chart carefully to find the proper DL105 Micro PLC to interface to the field devices in your application.
Step 1: Unpack the Recommended DL105 Equipment Unpack the DL105 equipment and verify you have the recommended parts necessary to build this demonstration system. The components are: •...
X0 - X3. DC-powered units will require routing DC power to the simulator as shown. We recommend using one of the models compatible with the input simulator as you learn the DL105. However, you may wire individual toggle switches to AC-powered units as shown, as long as you follow the instructions in the accompanying WARNING note.
Most programmers will use DirectSOFT programming software, installed on a personal computer. Or, you may need the portability of the Handheld Programmer. Both devices will connect the COM1 port of the DL105 via the appropriate cable. Use cable part no.
Step 5: Switch on the System Power Apply power to the system and ensure the PWR indicator on the DL105 is on. If not, remove power from the system and check all wiring and refer to the troubleshooting section in Chapter 8 for assistance.
Chapter 2 provides several guidelines that will help you design a safer, more reliable system. This chapter also includes wiring guidelines for the various versions of the DL105 PLC. Step 2: Understand PLC Setup Procedures The PLC is the heart of your automation system.
Chapter 1: Getting Started Step 6: Review the Programming Concepts The DL105 PLC instruction set provides for three main approaches to solving the application program, depicted in the figure below. • RLL diagram-style programming is the best tool for solving boolean logic and general CPU register/accumulator manipulation.
Chapter 3. Q. Are the ladder programs stored in a removable EPROM? The DL105 contains a non-removable EEPROM for program storage, which may be written and erased thousands of times. You may transfer programs to/from DirectSOFT on a PC, or the HPP (which does support a removable EEPROM).
Page 35
Chapter 1: Getting Started Q. Which devices can I connect to the Com1 port of the DL105? The port is RS-232C, fixed at 9600 baud, and uses the proprietary K-sequence protocol. The port communicates with the following devices: • DV-1000 Data Access Unit or Optimation Operator interface panels •...
Page 36
IrIng pecIfIcatIons In This Chapter... Safety Guidelines ....................... 2–2 Orientation to DL105 Front Panel ................2–5 Mounting Guidelines ....................2–7 Wiring Guidelines ....................2–11 System Wiring Strategies ..................2–14 Wiring Diagrams and Specifications ............... 2–30 Glossary of Specification Terms ................2–54 NOTE: F1-130-DD, F1-130-DD-D, F1-130AA, F1-130DA, F1-130DR-D, and F1-130AR modules have been discontinued.
Also, you should use the following techniques, which may help reduce the risk of safety concerns. • Orderly system shutdown sequence in the PLC control program. • System power disconnects (guard limits, emergency stop switches, etc.) 2–2 DL105 PLC User Manual, 3rd Ed. Rev. F...
Neutral Use E-Stop and Master Relay Master Control Power On Guard E STOP Relay Limit Guard Limit Switch Emergency Stop L1 to Output Supply Arbor L1 to Input Supply (optional) 2–3 DL105 PLC User Manual, 3rd Ed. Rev. F...
WARNING: Explosion Hazard! Substitution of components may impair suitability for Class 1, Division 2. Do not disconnect equipment unless power has been switched off or area is known to be non– hazardous. 2–4 DL105 PLC User Manual, 3rd Ed. Rev. F...
Chapter 1: Getting Started Orientation to DL105 Front Panel All connections, indicators, and labels on the DL105 Micro PLCs are located on its front panel. Please refer to the drawing below. External Power Input Discrete Output Terminals Output Circuit Power Input...
Some machine fabrication environments may accidentally cause conductive debris to fall through the DL105 cooling vents and into the unit. All DL105 units come with a protective sheet wrapped around the unit, covering the cooling vents. However, it must be removed before electrical operation.
• Enclosure Selection and Component Dimensions Unit Dimensions The following diagram shows the outside dimensions and mounting hole locations for all versions of the DL105. Make sure you follow the installation guidelines to allow proper spacing from other components. 5.12”...
DL105 component Not to Scale 4. The ground terminal on the DL105 base must be connected to a single point ground. Use copper stranded wire to achieve a low impedance. Copper eye lugs should be crimped and soldered to the ends of the stranded wire to ensure good surface contact.
6. A good common ground reference (Earth ground) is essential for proper operation of the DL105. One side of all control and power circuits and the ground lead on flexible shielded cable must be properly connected to Earth ground. There are several methods of providing an adequate common ground reference, including: •...
Chapter 1: Getting Started Using Mounting Rails DL105 Micro PLCs can also be secured to a cabinet by using mounting rails. We recommend rails that conform to DIN EN standard 50 022. They are approximately 35mm high, with a depth of 7.5 mm. If you mount the Micro PLC on a rail, do consider using end brackets on each side of the PLC.
14AWG is the recommended size. NOTE: You can connect either 115VAC, 220VAC, or 125VDC to AC-powered versions of the DL105. Special wiring or jumpers are not required as with some of the other DirectLOGIC products. 110/220 VAC Power Input...
Typically, the main bus is fused at a higher level than the branch device, which in this case would be the DL105 unit. This double fusing technique is required when operating from direct current. The recommended fuse size for the branch circuit to the DL105 is 0.5 A (for example, a Littlefuse 312.500 or equivalent).
Planning the Wiring Routes The following guidelines provide general information on how to wire the I/O connections to DL105 Micro PLCs. For specific information on wiring a particular PLC refer to the corresponding specification sheet further in this chapter. 1. Each terminal connection of the DL105 PLC can accept one 14 AWG wire or two 16 AWG size wires.
8 or 16, depending on the number of points in an I/O group. For the DL105 the ten inputs use reference numbers X0 –X7 and X10 –X11. The eight output points use references Y0 –Y7.
Page 50
Operator Interface Boundary The next figure shows the internal layout of DL105 PLCs, as viewed from the front panel. In addition to the basic circuits covered above, it includes an auxiliary +24VDC power supply with its own isolation boundary. Since the supply output is isolated from the other three circuits, it...
Chapter 1: Getting Started Powering I/O Circuits with the Auxiliary Supply All AC-powered DL105 Micro PLCs feature the internal auxiliary supply. If input devices AND output loads need +24VDC power, the auxiliary supply can power both circuits as shown in the...
Some applications will use the Micro PLC power source to also power the input circuit. This typically occurs on a DC-powered DL105, as shown in the drawing below to the left. The inputs share the PLC power source supply, while the outputs have their own separate supply.
Data Access Unit, some C–more Micro–Graphic panels and some Optimation panels may be powered directly from the DL105 Micro PLC. Connect the DV-1000 to the DL105 Micro PLC COM1 port using the cable shown below. A single cable contains transmit/receive data wires and +5V power.
Current flows in the direction of the arrow when the switch is closed. By applying the circuit principle above to the four possible combinations of input/output sinking/sourcing types, we have the four circuits as shown below. DL105 Micro PLCs provide all except the sourcing output I/O circuit types.
I/O Common Grouping Bar I/O Common Grouping Bar I/O Common Grouping Bar Most DL105 input and output circuits are grouped I/O Common Grouping Bar into banks that share a common return path. The best indication of I/O common grouping is on the wiring label.
Common DC power to an actuator. The DL105’s DC outputs are sinking-only. This means that each DC output provides a path to ground when it is energized. Also, remember that all eight outputs have the same electrical common, even though there are three common terminal screws. Finally, recall that the DC output circuit requires power (10–30 VDC) from an external power source.
Page 57
D a r l i n g t o n NPN stage will have about 1.5 V ON-state saturation, but this is not a problem with low- current solid-state loads. Supply Output Common 2–22 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 58
In the circuit on the following page, loads for Y0–Y3 use the same AC power supply which In the circuit below, all loads use the same AC power supply which powers the DL105 PLC. In this example, all commons are connected together.
For example, the waveform in the figure below shows the energy released when opening a contact switching a 24VDC solenoid. Notice the large voltage spike. +24 VDC +24 VDC +24 VDC --24 VDC Module Relay Contact +24 VDC --24 VDC --324 VDC 2–24 DL105 PLC User Manual, 3rd Ed. Rev. F Module Relay Contact...
If installed backwards, it short-circuits the supply when the relay energizes. PLC Relay Output Inductive Field Device Input Output Supply – Common Common 2–25 DL105 PLC User Manual, 3rd Ed. Rev. F...
Chapter 1: Getting Started DC Input Wiring Methods DL105 Micro PLCs with DC inputs are particularly flexible because they can be either sinking or sourcing. The dual diodes (shown to the right) allow current to flow in either direction. The inputs accept either 10–26.4 VDC or 21.6–26.4 VAC.
• The output circuit inside the PLC requires external power. The supply (–) must be connected to a common terminal, and the supply (+) connects DL105 PLC User Manual, 3rd Ed. Rev. A the right-most terminal on the upper connector.
While the HSIO circuit has six modes, we show wiring diagrams for two of the most popular modes in this chapter. The high-speed input interfaces to points X0–X3. Properly configured, the DL105 can count quadrature pulses at up to 5kHz from an incremental encoder as shown below.
NOTE: Never attempt to install more than one simulator on one DL105 PLC. WARNING: DO NOT use the two wires as shown above on AC-powered DL105 PLCs. Doing so will permanently damage the Micro PLC and may result in electrical shock due to the exposed circuit board of the input simulator.
The remainder of this chapter dedicates two to three pages to each of the eight versions of DL105 Micro PLCs. Each section contains a basic wiring diagram, equivalent I/O circuits, and specification tables. Please refer to the section which describes the particular DL105 version used in your application.
<2mA @ 45VAC, or 60VDC OFF to ON Response < 8ms ON to OFF Response <15ms Status Indicators Logic Side 4 channels / common x 2 banks, Commons 2 channels / common x 1 bank 2–31 DL105 PLC User Manual, 3rd Ed. Rev. F...
100MΩ @ 500VDC Smallest Recommended Load 10mA OFF to ON Response 15ms ON to OFF Response Status Indicators Logic Side Commons 2 channels / common x 4 banks Fuses None (external recommended) 2–32 DL105 PLC User Manual, 3rd Ed. Rev. F...
The equivalent output circuit shows one channel of a typical bank. The relay contacts can switch AC or DC voltages. 2–33 DL105 PLC User Manual, 3rd Ed. Rev. F...
2–8 ms, 4ms typical Status Indicators Logic side Logic side 4 channels / common x 1 bank 4 channels / common x 1 bank, Commons 2 channels / common x 1 bank 2–34 DL105 PLC User Manual, 3rd Ed. Rev. F...
100MΩ @ 500VDC Smallest Recommended Load 10mA OFF to ON Response 15ms ON to OFF Response Status Indicators Logic Side Commons 2 channels / common x 4 banks Fuses None (external recommended) 2–35 DL105 PLC User Manual, 3rd Ed. Rev. F...
+24V to the output commons. Be sure the combined load currents do not exceed 0.5 A. Note that on the F1–130AD, the +24V auxiliary output is not high enough to power its input circuits (input ON threshold is 90VDC). 2–36 DL105 PLC User Manual, 3rd Ed. Rev. F...
<2mA @ 45VAC, or 60VDC OFF to ON Response < 8ms ON to OFF Response <15ms Status Indicators Logic Side 4 channels / common x 2 banks, Commons 2 channels / common x 1 bank 2–37 DL105 PLC User Manual, 3rd Ed. Rev. F...
OFF to ON Response <10μs 3.5 μs ON to OFF Response <70μs 110μs Status Indicators Logic Side Logic Side Commons Internally connected Internally connected Fuses None None 2–38 DL105 PLC User Manual, 3rd Ed. Rev. F...
In fact, it can be used as the DC supply for switches or sensors in the input circuit, or for loads in the DC output circuits (up to 0.5 A). 2–39 DL105 PLC User Manual, 3rd Ed. Rev. F...
2–8 ms, 4ms typical Status Indicators Logic side Logic side 4 channels / common x 1 bank 4 channels / common x 1 bank, Commons 2 channels / common x 1 bank 2–40 DL105 PLC User Manual, 3rd Ed. Rev. F...
Logic Side Logic Side Commons Internally connected Internally connected Fuses None None <<< F1-130DD has been discontinued. Please consider the PRODUCTIVITY, CLICK or BRX Series of PLCs as a replacement. >>> DL105 PLC User Manual, 3rd Ed. Rev. F 2–41...
These features make it ideal for powering sensors, solenoids, and other field devices. Note that on the F1–130AA, the +24V auxiliary output cannot directly power its input and output circuits(input ON threshold is 90VDC, outputs require AC only). 2–42 DL105 PLC User Manual, 3rd Ed. Rev. F...
<2mA @ 45VAC, or 60VDC OFF to ON Response < 8ms ON to OFF Response <15ms Status Indicators Logic Side 4 channels / common x 2 banks, Commons 2 channels / common x 1 bank 2–43 DL105 PLC User Manual, 3rd Ed. Rev. F...
10ms @ 50Hz, zero-crossing 8.33 ms @ 60Hz, zero-crossing, ON to OFF Response 10ms @ 50Hz, zero-crossing Status Indicators Logic Side Commons 2 channels / common x 4 banks Fuses None (external recommended) 2–44 DL105 PLC User Manual, 3rd Ed. Rev. F...
DC supply for switches or sensors in the input circuit. Note that on the F1–130DA, the +24V output cannot power its output circuits, because they require AC voltages. 2–45 DL105 PLC User Manual, 3rd Ed. Rev. F...
2–8 ms, 4ms typical Status Indicators Logic side Logic side 4 channels / common x 1 bank 4 channels / common x 1 bank, Commons 2 channels / common x 1 bank 2–46 DL105 PLC User Manual, 3rd Ed. Rev. F...
10ms @ 50Hz, zero-crossing 8.33 ms @ 60Hz, zero-crossing, ON to OFF Response 10ms @ 50Hz, zero-crossing Status Indicators Logic Side Commons 2 channels / common x 4 banks Fuses None (external recommended) DL105 PLC User Manual, 3rd Ed. Rev. F 2–47...
AC or DC voltages. No Auxiliary +24V Power Supply The F1–130DR–D does not include a +24V output, as do most other DL105 PLCs. Since this unit requires +24V as the main supply input, it usually most economical to use the same supply to power suitable field devices.
2–8 ms, 4ms typical Status Indicators Logic side Logic side 4 channels / common x 1 bank 4 channels / common x 1 bank, Commons 2 channels / common x 1 bank 2–49 DL105 PLC User Manual, 3rd Ed. Rev. F...
100MΩ @ 500 VDC Smallest Recommended Load 10mA OFF to ON Response 15ms ON to OFF Response Status Indicators Logic Side Commons 2 channels / common x 4 banks Fuses None (external recommended) 2–50 DL105 PLC User Manual, 3rd Ed. Rev. F...
No Auxiliary +24V Power Supply The F1–130DR–D does not include a +24V output, as do most other DL105 PLCs. Since this unit requires +24V as the main supply input, it usually most economical to use the same supply to power suitable field devices. In the wiring diagram above, the external power source for the unit also powers the input and output circuitry.
2–8 ms, 4ms typical Status Indicators Logic side Logic side 4 channels / common x 1 bank 4 channels / common x 1 bank, Commons 2 channels / common x 1 bank 2–52 DL105 PLC User Manual, 3rd Ed. Rev. F...
Logic Side Logic Side Commons Internally connected Internally connected Fuses None None NOTE: F1-130-DD and F1-130-DD-D modules have been discontinued. Please consider Productivity, CLICK, or BRX systems as a replacement platform. 2–53 DL105 PLC User Manual, 3rd Ed. Rev. F...
The LEDs that indicate the ON/OFF status of an input or output point. Status Indicators All LEDs on DL105 Micro PLCs are electrically located on the logic side of the input or output circuit. 2–54...
The internal CPU’s main task is to execute the ladder program and read/write all I/O points during each scan. In order to service high-speed I/O events, the DL105 includes a special circuit which is dedicated to a portion of the I/O points. Refer to the DL105 block diagram in the figure below.
Regular Output Default Mode Mode 60 (Filtered Inputs) is the default mode. The DL105 is initialized to this mode at the factory, and any time you clear V-memory scratchpad. In the default condition, X0–X3 are filtered inputs (10ms delay) and Y0–Y1 are standard outputs.
V7635 X0–X3. Other memory locations may require configuring, xxxx V7636 depending on the HSIO mode (see the corresponding xxxx V7637 section for particular HSIO modes). 3–5 DL105 PLC User Manual, 3rd Ed. Rev. F...
X1, X2, X3 X4- - X11 X1, X3 X4- - X11 Input Circuit Input Circuit Next, we will discuss how to program the high-speed counter and its presets. 3–6 DL105 PLC User Manual, 3rd Ed. Rev. F DL105 Output Circuit...
Counter Input Wiring Signal The DL105’s DC inputs are flexible in that they detect current flow in either direction, so they can be wired to a counter with either sourcing or sinking outputs. In the following circuit, a counter has open-collector NPN transistor outputs. It sinks current from the PLC input point, which sources current.
Refer to the figure below. The mnemonic for the counter is UDC (up-down counter). The DL105 can have up to 64 counters, labeled CT0 through CT77. The high speed counter in the HSIO circuit is accessed in ladder logic by using UDC CT76. It uses counter registers CT76 and CT77 exclusively when the HSIO mode 10 is active (otherwise, CT76 and CT77 are available for standard counter use).
Page 101
Y0. This technique can make more than 24 comparisons, but it is scan-time dependent. However, use the 24 built-in presets with the interrupt routine if your application needs a very fast response time, as shown in the next example. 3–12 DL105 PLC User Manual, 3rd Ed. Rev. F...
When the lead screw turns, the counter device generates pulses which the DL105 can count. The three preset variables A, B, and C represent the positions (number of pulses) corresponding to each of the three grooves.
Page 103
X2. The X2 contact will be on (inside the interrupt routine only) if the interrupt was caused by the external reset, X2 input. 3–14 DL105 PLC User Manual, 3rd Ed. Rev. F...
V1076-V1077. Enable the counter by setting C0, when the preolad pulse on C1 has occurred (C1 is o ). END coil marks the end of the main program. 3–15 DL105 PLC User Manual, 3rd Ed. Rev. F...
1. Check the LED status indicator for X2 to make sure it is active when you want a reset. Or, if you are using an internal reset, use the status mode of DirectSOFT to monitor the reset input to the counter. 3–16 DL105 PLC User Manual, 3rd Ed. Rev. F...
Leading Edge Signal Clockwise sequence Phase B Phase A Counterclockwise sequence Phase B Phase A Counterclockwise sequence Phase A Phase B Phase B one cycle Leading Edge Signal one cycle Leading Edge Signal 3–17 DL105 PLC User Manual, 3rd Ed. Rev. F...
Chapter 3: High-Speed Input and Pulse Output Features Wiring Diagram A general wiring diagram for encoders to the DL105 in HSIO Mode 20 is shown below. Encoders with sinking outputs (NPN open collector) are probably the best choice for interfacing. If the encoder sources to the inputs, it must output 12 to 24 VDC. Note that encoders with 5V sourcing outputs will not work with DL105 inputs.
Refer to the figure below. The mnemonic for the counter is UDC (up-down counter).The DL105 can have up to 64 counters, labeled CT0 through CT77. The quadrature counter in the HSIO circuit is accessed in ladder logic by using UDC CT76. It uses counter registers CT76 and CT77 exclusively when the HSIO mode 20 is active (otherwise, CT76 and CT77 are available for standard counter use).
Set Y1 to ON when the counter reaches our comparison value. END coil marks the end of the main program.. To preload the counter, just add the following example rungs to the program above. 3–21 DL105 PLC User Manual, 3rd Ed. Rev. F...
Also verify the configuration register V7636 for X2 is set to 7. Or, if you are using an internal reset, use the status mode of DirectSOFT to monitor the reset input to the counter. 3–22 DL105 PLC User Manual, 3rd Ed. Rev. F...
HSIO function automatically calculates the entire motion profile. The figure below shows the DL105 generating pulse and direction signals to the drive amplifier of a stepper positioning system. The pulses accomplish the profile independently and without interruption to ladder program execution in the CPU.
Hopefully, the above discussion will explain why some I/O reference names have dual meanings in Pulse Output Mode. Please read the remainder of this section with care, to avoid confusion about which actual I/O function is being discussed. 3–24 DL105 PLC User Manual, 3rd Ed. Rev. F...
The pulse signals from Y0 and Y1 outputs will typically go to drive input circuits as shown above. Remember that the DL105’s DC outputs are sinking-only. It will be helpful to locate equivalent circuit schematics of the drive amplifier. The following diagram shows how to interface to a...
Preload Position Value - if motion is stopped and Start Profile is off, you can load a new value in CT76/CT77, and turn on Y1. At that transition, the value in CT76/CT77 becomes the current position. 3–26 DL105 PLC User Manual, 3rd Ed. Rev. F...
Absolute position targets are referenced to zero. Relative position targets are referenced to the current position (previous target position). You may choose whichever reference method that is most convenient for your application. 3–27 DL105 PLC User Manual, 3rd Ed. Rev. F...
Function Range Units V-Memory Velocity Profile V2320 2000 only V2321/ 2322 80000000=CCW, Direction Select 0=CW Pulses V2323 Velocity 4 to 700 x 10 pps V2326 Error Code (see end of section) 3–28 DL105 PLC User Manual, 3rd Ed. Rev. F...
Only the first velocity value needs to be defined. The remaining velocity values can be created while motion is in progress. Arrows in the profile shown indicate velocity changes. Time 3–29 DL105 PLC User Manual, 3rd Ed. Rev. F...
HSIO counter. If the ladder program loads a new value in CT76/CT77 (V1076/ V1077), then energizing Y1 will copy that value into the HSIO circuit counter. This must occur before the profile begins, because the HSIO ignores Y1 during motion. 3–30 DL105 PLC User Manual, 3rd Ed. Rev. F...
10 mS filter time constant. K1006 Output this constant to V7635, configuring X1. V7635 Output this constant to V7636, configuring X2. V7636 Output this constant to V7637, configuring X3. V7637 3–31 DL105 PLC User Manual, 3rd Ed. Rev. F...
Output this constant to V1076/V1077 (CTA76/CTA77). the OUTD location of the current position value. Velocity V1076 Turn on Y1 for 1 scan. The off-to-on transition causes the HSIO to preload the current position with the value in 3–32 DL105 PLC User Manual, 3rd Ed. Rev. F...
Y0 to start the profile. Immediately the HSIO turns off the Profile Complete signal (logical X0), so the ladder program can monitor the move completion by sensing the signal’s on state. 3–33 DL105 PLC User Manual, 3rd Ed. Rev. F...
Output this constant to V7637, configuring X3. V7637 Load the constant K1006 which is required to select the external interrupt. K1006 Output this constant to V7636, configuring X2, the registration interrupt input. V7636 3–34 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 124
The profile will begin when the start input (X3) is given. Then the motion begins an indefinite move, which lasts until an external interrupt on X2 occurs. Then the motion continues on for 5000 more pulses before stopping. 3–35 DL105 PLC User Manual, 3rd Ed. Rev. F...
10 mS filter V7636 pulse outputs for pulse V7634 Direction K1006 registration interrupt input. K103 time constant. and direction, respectively. Output this constant to V7636, configuring X2, the V7636 V7634 registration interrupt input. 3–36 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 126
If the CW limit is encountered, the program searches for home in the CCW direction, passes it slightly, and does the final CW search for home. After reaching home, the last ladder rung preloads the current position to “0”. 3–37 DL105 PLC User Manual, 3rd Ed. Rev. F...
Unlike the trapezoidal and registration profiles, you must specify the desired direction of travel with velocity profiles. Load the direction select register (V2321/V2322 by default) with 8000 0000 hex for CCW direction, or 0 for CW direction. 3–38 DL105 PLC User Manual, 3rd Ed. Rev. F...
10 mS filter time constant. K1006 Output this constant to V7635, configuring X1. V7635 Output this constant to V7636, configuring X2. V7636 Output this constant to V7637, configuring X3. V7637 3–39 DL105 PLC User Manual, 3rd Ed. Rev. F...
Load the constant K600 which is required to select a velocity of 6000 pps when the operator closes X4. K600 Output this constant to V2323, the location of the velocity parameter register. The speed will change immediately. V2323 3–40 DL105 PLC User Manual, 3rd Ed. Rev. F...
2. Programming error - If there are no pulses on Y0 or Y1 you may have a programming error. Check the contents of V2326 for an error code that may be generated when the PLC attempts to do the move profile. Error code descriptions are given above. 3–41 DL105 PLC User Manual, 3rd Ed. Rev. F...
Y0 and Y1 outputs. 2. Direction control - If you have selected Pulse and Direction type operation, just change the direction bit to the opposite state. 3–42 DL105 PLC User Manual, 3rd Ed. Rev. F...
END coil marks the end of the main program.. The INT label marks the beginning of the interrupt service routine program. Interrupt Routine Insert interrupt service routine rungs here for your application. Return to the main ladder program. 3–46 DL105 PLC User Manual, 3rd Ed. Rev. F...
END coil marks the end of the main program.. The INT label marks the beginning of the interrupt service routine program. Interrupt Routine Insert interrupt service routine rungs here for your application. Return to the main ladder program. 3–47 DL105 PLC User Manual, 3rd Ed. Rev. F...
Note that the pulse catch and filtered input functions are opposite in nature. The pulse catch feature on X0 seeks to capture narrow pulses, while the filter input feature on X1, X2, and X3 seeks to reject narrow pulses. 3–48 DL105 PLC User Manual, 3rd Ed. Rev. F...
SP100 Use the pulse catch input to set output Y0 on. This will work even for a very short pulse on X0. END coil marks the end of the main program.. 3–50 DL105 PLC User Manual, 3rd Ed. Rev. F...
In this case, the logical input to the ladder program remains in the OFF state (input pulse was filtered out). Filter Time Filter Time Physical Input Logical Input Time Physical Input Logical Input 3–51 DL105 PLC User Manual, 3rd Ed. Rev. F...
99 mS filter time constant. K9906 Output this constant to V7637, configuring X3. V7637 Main Program Insert Main Program rungs here for your application. END coil marks the end of the main program.. 3–53 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 143
I/O Response Time ....................4–15 CPU Scan Time Considerations ................4–18 PLC Numbering Systems ..................4–20 Memory Map ......................4–22 DL105 System V-memory ..................4–26 DL105 Aliases ......................4–28 X Input Bit Map ....................... 4–30 Y Output Bit Map ....................4–30 Control Relay Bit Map .....................
Chapter 3. DL105 CPU Features The DL105 Micro PLC which has 2.4K words of memory comprised of 2.0K of ladder memory and 384 words of V-memory (data registers). Program storage is in the FLASH memory which is a part of the CPU board in the PLC. In addition, there is RAM with the CPU which will store system parameters, V-memory, and other data which is not in the application program.
Communication Port Pinout Diagrams Cables are available that allow you to quickly and easily connect a Handheld Programmer or a personal computer to the DL105 PLCs. However, if you need to build your own cables, use the pinout diagrams shown. The DL105 PLCs require an RJ-12 phone plug to fit the built-in jacks.
Connecting the Programming Devices If you’re using a Personal Computer with the DirectSOFT programming package, you can connect the computer to the DL105’s programming port. For an engineering office environment (typical during program development), this is the preferred method of programming.
The DL105 operates as follows when the power is connected. 1. The DL105 CPU will normally power-up in the mode that it was in just prior to the power interruption. For example, if the CPU was in Program Mode when the power was disconnected, the CPU will power-up in Program Mode (see warning note below).
Since the changes take affect immediately, you may receive an error message. For example, if you select Power-up in Run Mode and the CPU does not yet contain a program, an error will occur. DL105 PLC User Manual, 3rd Ed. Rev. F 4–7...
AUX Functions. Some of these AUX Functions are designed specifically for the Handheld Programmer setup, so they will not be needed (or available) with the DirectSOFT package. The following table shows a list of the Auxiliary functions for the Handheld Programmer. 4–8 DL105 PLC User Manual, 3rd Ed. Rev. F...
WARNING: The DL105 PLCs do not have battery back-up. The super capacitor will retain the values in the event of a power loss, but only for a short period of time, depending on conditions. If the retentive ranges are important for your application, make sure you program critical parameters into EEPROM locations.
Chapter 4: CPU Specifications and Operation Using a Password The DL105 PLCs allow you to use a password to help minimize the risk of unauthorized program and/or data changes. Once you enter a password you can “lock” the PLC against access.
CPU Operation Achieving the proper control for your equipment or process requires a good understanding of how DL105 CPUs control all aspects of system operation. There are four main areas to understand before you create your application program: • CPU Operating System — the CPU manages all aspects of system control.
Changes during Run Mode become effective immediately. Make sure you thoroughly consider the impact of any changes to minimize the risk of personal injury or damage to equipment. 4–12 DL105 PLC User Manual, 3rd Ed. Rev. F...
DirectSOFT or a HPP to force outputs on and off. The DL105 PLCs only retain the forced value for one scan. There is an exception to this rule. For example, if the point address is greater than X11 or Y7 or it is not used in the ladder program, then the point will maintain the forced status.
Probably one of the more important things that occurs during this segment is the scan time calculation and watchdog timer control. The DL105 CPU has a “watchdog” timer that stores the maximum time allowed for the CPU to complete the solve application segment of the scan cycle.
Off/On Delay I/O Response Time In this case, you can calculate the response time by simply adding the following items: Input Delay + Scan Time + Output Delay = Response Time 4–15 DL105 PLC User Manual, 3rd Ed. Rev. F...
Off/On Delay I/O Response Time In this case, you can calculate the response time by simply adding the following items: Input Delay +(2 x Scan Time) + Output Delay = Response Time 4–16 DL105 PLC User Manual, 3rd Ed. Rev. F...
It does not use the new status to update the image register. Therefore, any regular instructions that follow will still use the image register values. Any immediate instructions that follow will access the I/O again to update the status. DL105 PLC User Manual, 3rd Ed. Rev. F 4–17...
Force CPU into PGM mode Writing Outputs The time required to write the output status is 629μs. Don’t confuse this with the I/O response time that was discussed earlier. 4–18 DL105 PLC User Manual, 3rd Ed. Rev. F...
Just add the execution times for all the instructions in your program to determine to total execution time. Appendix C provides a complete list of the instruction execution times for the DL105 Micro PLC. For example, the execution time for running the program shown below is calculated as follows:...
Our circles are in an array of square containers to the right. To access a resource, our PLC instruction will address its location using the octal references shown. If these were counters, “CT14” would access the black circle location. 4–20 DL105 PLC User Manual, 3rd Ed. Rev. F...
Input Points (X Data Type) The discrete input points are noted by an X data type. There are 10 discrete input points available with DL105 CPUs. In this example, the output point Y0 will be turned on when input X0 energizes.
Counter CT1, etc. V1003 The primary reason for his is programming V1003 flexibility. The example shows how you can use relational contacts to monitor the counter values. V1003 V1003 V1003 V1003 V1003 V1003 4–24 DL105 PLC User Manual, 3rd Ed. Rev. F...
In this example, control relay C10 will energize for SP5: 100 ms clock 50ms and de-energize for 50ms because SP5 is a pre- defined relay that will be on for 50ms and off for SP6: 50 ms clock 50ms. 4–25 DL105 PLC User Manual, 3rd Ed. Rev. F...
DL105 System V-memory System Parameters and Default Data Locations (V Data Type) The DL105 PLCs reserve several V-memory locations for storing system parameters or certain types of system data. These memory locations store things like the error codes, High-Speed I/O data, and other types of system setup information.
Scan — stores the minimum scan time that has occurred since the last Program Mode to Run Mode transition (milliseconds). V7777 Scan — stores the maximum scan time that has occurred since the last Program Mode to Run Mode transition (milliseconds). DL105 PLC User Manual, 3rd Ed. Rev. F 4–27...
V41200 is the word memory reference for discrete bits SP0 through SP17, therefore, it’s alias is VSP0. V41201 is the word memory reference for discrete bits SP20 through SP37, therefore, it’s alias is VSP20. 4–28 DL105 PLC User Manual, 3rd Ed. Rev. F...
V7750–V7777 None specific, used for various purposes 1. The DL105 systems are limited to 10 discrete inputs and 8 discrete outputs with the present available hardware however, 128 point addresses exist. 4–29 DL105 PLC User Manual, 3rd Ed. Rev. F...
V40400 Y Output Bit Map This table provides a listing of individual output points associated with each V-memory address bit for the DL105’s eight physical outputs. Actual available references are Y0 to Y177 (V40500 –V40507). DL105 Output (Y) Points Address...
V41015 V41016 V41017 Timer Status Bit Map This table provides a listing of individual timer contacts associated with each V-memory address bit. DL105 Timer (T) Contacts Address V41100 V41101 V41102 V41103 4–31 DL105 PLC User Manual, 3rd Ed. Rev. F...
Chapter 4: CPU Specifications and Operation Counter Status Bit Map This table provides a listing of individual counter contacts associated with each V-memory address bit. DL105 Counter (CT) Contacts Address V41140 V41141 V41142 V41143 4–32 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 175
hapter hapter hapter tandard nStructIonS In This Chapter... Introduction ....................... 5-2 Using Boolean Instructions ..................5-4 Boolean Instructions ....................5-9 Comparative Boolean ....................5-18 Immediate Instructions ................... 5-24 Timer, Counter and Shift Register Instructions ............5-29 Accumulator/Stack Load and Output Data Instructions ........5-42 Logical Instructions (Accumulator) .................
Chapter 5: Standard RLL Instructions Introduction The DL105 Micro PLCs offer a wide variety of instructions to perform many different types of operations. This chapter shows you how to use each standard Relay Ladder Logic (RLL) instruction. In addition to these instructions, you may also need to refer to the Drum instruction in Chapter 6, or the Stage programming instructions in Chapter 7.
Page 177
5-65 SUBBD Subtract Binary Double 5-66 Timer 5-30 TMRF Fast Timer 5-30 TMRA Accumulating Timer 5-32 TMRAF Fast Accumulating Timer 5-32 Up Down Counter 5-39 Exclusive Or 5-59 XORD Exclusive Or Double 5-60 DL105 User Manual, 3rd Ed. Rev. F...
END Statement All DL105 programs require an END statement as the last instruction. This tells the CPU that this is the end of the program. Normally, any instructions placed after the END statement will not be executed. There are exceptions to this such as interrupt routines, etc. This chapter discusses the instruction set in detail.
The following example shows how you can use the AND instruction to continue a rung with more conditional outputs. DirectSOFT Example Handheld Mnemonics STR X0 AND X1 OUT Y0 AND X2 OUT Y1 AND X3 OUT Y2 DL105 User Manual, 3rd Ed. Rev. F...
STR X1 OR X2 ANDSTR OUT Y0 Combination Networks You can combine the various types of series and parallel branches to solve most any application problem. The following example shows a simple combination network. DL105 User Manual, 3rd Ed. Rev. F...
Y3 will energize. Boolean Stack There are limits to how many elements you can include in a rung. This is because the DL105 CPUs use an 8-level boolean stack to evaluate the various logic elements. The boolean stack is a temporary storage area that solves the logic for the rung.
Chapter 5: Standard RLL Instructions Immediate Boolean The DL105 Micro PLCs can usually complete an operation cycle in a matter of milliseconds. However, in some applications you may not be able to wait a few milliseconds until the next I/O update occurs. The DL105 PLCs offer immediate input and outputs which are special boolean instructions that allow reading directly from inputs and writing directly to outputs during the program execution portion of the CPU cycle.
In the following Store example, when input X1 is on output Y2 will energize. Used DirectSOFT Handheld Programmer Keystrokes HPP Used In the following Store Not example, when input X1 is off output Y2 will energize. Used DirectSOFT Handheld Programmer Keystrokes HPP Used STRN DL105 User Manual, 3rd Ed. Rev. F...
Page 184
In the following Or example, when input X1 or X2 is on, output Y5 will energize. Implied DirectSOFT Handheld Programmer Keystrokes Used In the following Or Not example, when input X1 is on or X2 is off, output Y5 will energize. Implied DirectSOFT Handheld Programmer Keystrokes Used 5-10 DL105 User Manual, 3rd Ed. Rev. F...
Page 185
Implied Used DirectSOFT Handheld Programmer Keystrokes In the following And Not example, when input X1 is on and X2 is off output Y5 will energize. Implied DirectSOFT Handheld Programmer Keystrokes Used ANDN 5-11 DL105 User Manual, 3rd Ed. Rev. F...
Store instruction. In the following Or Store example, the branch consisting of X1 and X2 have been OR’d with the branch consisting of X3 and X4. Implied Used DirectSOFT Handheld Programmer Keystrokes ORST 5-12 DL105 User Manual, 3rd Ed. Rev. F...
Page 187
Chapter 5: Standard RLL Instructions There are limits to what you can enter with boolean instructions. This is because the DL105 internal CPU uses an 8-level stack to evaluate the various logic elements. The stack is a temporary storage area that helps solve the logic for the rung. Each time you enter a STR instruction, the instruction is placed on the top of the stack.
Page 188
Inputs 0–177 Outputs 0-177 Control Relays 0–377 In the following example, when X1 or X4 is on, Y2 will energize. Used DirectSOFT Handheld Programmer Keystrokes Used OR OUT INST# INST# OR OUT 5-14 DL105 User Manual, 3rd Ed. Rev. F...
Outputs 0–7 Control Relays 0–377 In the following example, every time X1 makes an off to on transition, C0 will energize for one scan. Used Handheld Programmer Keystrokes DirectSOFT Used SHFT SHFT 5-15 DL105 User Manual, 3rd Ed. Rev. F...
Page 190
In the following example, when X1 is on, Y2 through Y5 will energize. Used DirectSOFT Handheld Programmer Keystrokes Used In the following example, when X2 is on, Y2 through Y5 will be reset or de–energized. Used DirectSOFT Handheld Programmer Keystrokes Used 5-16 DL105 User Manual, 3rd Ed. Rev. F...
Handheld Programmer Keystrokes INST# In some cases, you may want certain output points in the specified pause range to operate normally. In that case, use Aux 58 to override the Pause instruction. 5-17 DL105 User Manual, 3rd Ed. Rev. F...
Handheld Programmer Keystrokes DirectSOFT V2000 K4933 SHFT In the following example, when the value in V-memory location V2000 / = 5060, Y3 will energize. Handheld Programmer Keystrokes DirectSOFT SHFT V2000 K5060 STRN 5-18 DL105 User Manual, 3rd Ed. Rev. F...
SHFT In the following example, when the value in V-memory location V2000 = 3916 or V2002 / = 2500, Y3 will energize. DirectSOFT Handheld Programmer Keystrokes SHFT V2000 K3916 V2002 K2500 SHFT 5-19 DL105 User Manual, 3rd Ed. Rev. F...
Page 194
In the following example, when the value in V-memory location V2000 = 5000 and V2002 / = 2345, Y3 will energize. DirectSOFT Handheld Programmer Keystrokes V2000 K5000 V2002 K2345 SHFT SHFT ANDN 5-20 DL105 User Manual, 3rd Ed. Rev. F...
Page 195
Y3 will energize. Handheld Programmer Keystrokes DirectSOFT V2000 K1000 SHFT In the following example, when the value in V-memory location V2000 < 4050, Y3 will energize. DirectSOFT Handheld Programmer Keystrokes V2000 K4050 SHFT STRN 5-21 DL105 User Manual, 3rd Ed. Rev. F...
Page 196
K2345 SHFT In the following example when the value in V-memory location V2000 = 1000 or V2002 < 2500, Y3 will energize. Handheld Programmer Keystrokes DirectSOFT SHFT V2000 K1000 SHFT V2002 K2500 5-22 DL105 User Manual, 3rd Ed. Rev. F...
Page 197
SHFT In the following example, when the value in V-memory location V2000 = 7000 and V2002 < 2500, Y3 will energize. DirectSOFT Handheld Programmer Keystrokes SHFT V2000 K7000 V2002 K2500 SHFT ANDN 5-23 DL105 User Manual, 3rd Ed. Rev. F...
In the following example, when X1 is on, Y2 will energize. DirectSOFT Handheld Programmer Keystrokes SHFT In the following example, when X1 is off, Y2 will energize. DirectSOFT Handheld Programmer Keystrokes SHFT STRN 5-24 DL105 User Manual, 3rd Ed. Rev. F...
In the following example, when X1 or X2 is on, Y5 will energize. DirectSOFT Handheld Programmer Keystrokes SHFT In the following example, when X1 is on or X2 is off, Y5 will energize. Handheld Programmer Keystrokes DirectSOFT SHFT 5-25 DL105 User Manual, 3rd Ed. Rev. F...
Page 200
Operand Data Type DL-130 Inputs 0–11 In the following example, when X1 is on and X2 is off, Y5 will energize. DirectSOFT Handheld Programmer Keystrokes SHFT DirectSOFT Handheld Programmer Keystrokes SHFT ANDN 5-26 DL105 User Manual, 3rd Ed. Rev. F...
In the following example, when X1 or X4 is on, Y2 will energize. Range Operand Data Type DL-130 Outputs 0-177 DirectSOFT Handheld Programmer Keystrokes OUTI INST# DirectSOFT Handheld Programmer Keystrokes OR OUTI INST# OR OUTI INST# 5-27 DL105 User Manual, 3rd Ed. Rev. F...
SHFT In the following example, when X1 is on, Y5 through Y22 will be reset (off) in the image register and on the corresponding output module(s). DirectSOFT Handheld Programmer Keystrokes RSTI SHFT 5-28 DL105 User Manual, 3rd Ed. Rev. F...
9999999.9 and 999999.99 seconds respectively. The timing diagram below shows the relationship between the timer input, timer reset, associated discrete bit, current value, and timer preset. Seconds TMRA Enable Reset Input Current Value 1/10 Seconds 5-29 DL105 User Manual, 3rd Ed. Rev. F...
You can perform functions when the timer reaches the specified preset using the discrete status bit. Or, use the comparative contacts to perform functions at different time intervals based on one timer. The examples on the following page show these methods of programming timers. 5-30 DL105 User Manual, 3rd Ed. Rev. F...
When X1 is turned off, the timer will be reset to 0 and the comparative contacts will turn off Y3, Y4, and Y5. Timing Diagram DirectSOFT Seconds TA20 TA20 TA20 Current Value 1/10th Seconds Handheld Programmer Keystrokes SHFT SHFT SHFT 5-31 DL105 User Manual, 3rd Ed. Rev. F...
The following examples show two methods of programming timers. One performs functions when the timer reaches the preset value using the discrete status bit, or use comparative contacts to perform functions at different time intervals. 5-32 DL105 User Manual, 3rd Ed. Rev. F...
The maximum count value is 9999. The timing diagram below shows the relationship between the counter input, associated discrete bit, current value, counter preset and reset instruction. SGCNT Current Counter preset Value Counts 5-34 DL105 User Manual, 3rd Ed. Rev. F...
NOTE: * Both the Counter discrete status bits and the current value are accessed with the same data reference with the HPP. DirectSOFT uses separate references, such as “CT2” for discrete status bit for Counter CT2, and “CTA2” for the current value of Counter CT2. 5-35 DL105 User Manual, 3rd Ed. Rev. F...
C10 turns on, the counter status bit will turn off and the counter current value will be 0, and the comparative contacts will turn off. Counting diagram DirectSOFT CTA2 CTA2 Current Value CTA2 Handheld Programmer Keystrokes Handheld Programmer Keystrokes (cont) SHFT SHFT SHFT SHFT SHFT SHFT SHFT 5-36 DL105 User Manual, 3rd Ed. Rev. F...
Page 211
NOTE: * Both the Counter discrete status bits and the current value are accessed with the same data reference with the HPP. DirectSOFT uses separate references, such as “CT2” for discrete status bit for Counter CT2, and “CTA2” for the current value of Counter CT2. 5-37 DL105 User Manual, 3rd Ed. Rev. F...
CT2 will be held in V-memory location V1002. Counting diagram DirectSOFT SGCNT CTA2 CTA2 Current CTA2 Value Handheld Programmer Keystrokes Handheld Programmer Keystrokes (cont) SHFT SHFT SHFT SHFT SHFT SHFT SHFT SHFT 5-38 DL105 User Manual, 3rd Ed. Rev. F...
Page 213
NOTE: * Both the Counter discrete status bits and the current value are accessed with the same data reference with the HPP. DirectSOFT uses separate references, such as “CT2” for discrete status bit for Counter CT2, and “CTA2” for the current value of Counter CT2. 5-39 DL105 User Manual, 3rd Ed. Rev. F...
(X3) turns on, the counter status bit will turn off, the current value will be 0, and the comparative contacts will turn off. Counting Diagram DirectSOFT V2000 CTA2 CTA2 Current Value Handheld Programmer Keystrokes Handheld Programmer Keystrokes (cont) SHFT SHFT SHFT SHFT SHFT SHFT 5-40 DL105 User Manual, 3rd Ed. Rev. F...
Accumulator/Stack Load and Output Data Instructions Using the Accumulator The accumulator in the DL105 series CPUs is a 32-bit register that is used as a temporary storage location for data that is being copied or manipulated in some manner. For example, you have to use the accumulator to perform math operations, such as, add, subtract, multiply, etc.
(V2006 and V2007) V2006 Acc. Add the value in the accumulator with the value in V2006 and V2007 OUTD V2010 V2011 V2010 Copy the value in the accumulator to V2010 and V2011 5-43 DL105 User Manual, 3rd Ed. Rev. F...
POP is executed, the value that was in the accumulator is cleared and the value that was on top of the stack is in the accumulator. The values in the stack are shifted up one position in the stack. 5-44 DL105 User Manual, 3rd Ed. Rev. F...
Page 219
Level 1 accumulator and move stack values up one location Level 2 Level 3 Level 4 Level 5 V2002 Level 6 V2002 Level 7 Copy data from the accumulator to Level 8 V2002 5-45 DL105 User Manual, 3rd Ed. Rev. F...
NOTE: In the DL105, V-memory addressing is in octal. However the value in the pointer location which will reference a V-memory location is viewed as HEX. Use the Load Address instruction to move an address into the pointer location.
16 bits of the accumulator Acc. V2010 Copy the value in the lower 16 bits of the accumulator to V2010 V2010 Handheld Programmer Keystrokes SHFT ANDST SHFT 5-47 DL105 User Manual, 3rd Ed. Rev. F...
Load the value in V2000 and V2001 into the 32 bit accumulator Acc. OUTD V2011 V2010 V2010 Copy the value in the 32 bit accumulator to V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT 5-48 DL105 User Manual, 3rd Ed. Rev. F...
16 bits of the accumulator Acc. V2000 V2000 Copy the value in lower 16 bits of the accumulator to V2000 Handheld Programmer Keystrokes SHFT ANDST SHFT 5-50 DL105 User Manual, 3rd Ed. Rev. F...
Page 225
16 bits of the bits are set to zero accumulator Acc. V2010 Copy the value in the lower 16 bits of the accumulator to V2010 V2010 Handheld Programmer Keystrokes SHFT ANDST SHFT 5-51 DL105 User Manual, 3rd Ed. Rev. F...
DirectSOFT V2001 V2000 V2000 SHFT ANDST Load the value in V2000 and V2001 into the accumulator Acc. OUTD SHFT V2010 Copy the value in the accumulator to V2010 and V2011 V2010 V2011 5-52 DL105 User Manual, 3rd Ed. Rev. F...
Accumulator Copy the value of the specified number of bits from the accumulator to Location Constant Y26 Y25 Y24 Y23 Y22 Y21 Y20 Y20–Y26 Handheld Programmer Keystrokes SHFT SHFT ANDST SHFT SHFT 5-53 DL105 User Manual, 3rd Ed. Rev. F...
Page 228
Copy the value in the lower 16 bits of the accumulator to V2002 Level 4 Level 5 V2002 Level 6 Handheld Programmer Keystrokes Level 7 SHFT Level 8 SHFT SHFT INST# SHFT SHFT SHFT INST# SHFT SHFT SHFT INST# SHFT 5-54 DL105 User Manual, 3rd Ed. Rev. F...
Acc. Compared with V2000 Compare the value in the V2000 accumulator with the value in V2000 SP60 Handheld Programmer Keystrokes SHFT SHFT ANDST SHFT SHFT ORST SHFT STRN SHFT 5-61 DL105 User Manual, 3rd Ed. Rev. F...
Acc. Compared with CMPD V2010 Compare the value in the V2011 V2010 accumulator with the value in V2010 and V2011 SP60 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT ORST SHFT STRN SHFT 5-62 DL105 User Manual, 3rd Ed. Rev. F...
16 bits of the accumulator with the value in V2006 V2010 Copy the value in the lower V2010 16 bits of the accumulator to V2010 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT 5-63 DL105 User Manual, 3rd Ed. Rev. F...
Add the value in the accumulator with the value in V2006 and V2007 OUTD V2010 V2011 V2010 Copy the value in the accumulator to V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT SHFT 5-64 DL105 User Manual, 3rd Ed. Rev. F...
16 bits of the accumulator V2010 V2010 Copy the value in the lower 16 bits of the accumulator to V2010 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT SHFT 5-65 DL105 User Manual, 3rd Ed. Rev. F...
The value in V2006 and V2007 is subtracted from the value in the accumulator OUTD V2010 V2011 V2010 Copy the value in the accumulator to V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT SHFT 5-66 DL105 User Manual, 3rd Ed. Rev. F...
The value in V2006 is multiplied by the value in the accumulator OUTD V2011 V2010 V2010 Copy the value in the accumulator to V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT ORST ANDST SHFT 5-67 DL105 User Manual, 3rd Ed. Rev. F...
Page 242
V2006 V2010 V2010 Copy the value in the lower 16 bits of the accumulator to V2010 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT 5-68 DL105 User Manual, 3rd Ed. Rev. F...
In the following example, when C5 is on, the value in V2000 is decreased by 1. V2000 DirectSOFT Handheld Programmer Keystrokes DECB SHFT SHFT V2000 SHFT Decrement the binary value V2000 in V2000 by “1” 5-69 DL105 User Manual, 3rd Ed. Rev. F...
“1” in the accumulator to a 5 bit binary value V2010 Copy the value in the lower 16 bits of the accumulator to V2010 Binary value V2010 for 12. Handheld Programmer Keystrokes SHFT ANDST SHFT INST# SHFT 5-72 DL105 User Manual, 3rd Ed. Rev. F...
0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 pattern in the accumulator and set the corresponding bit position to a “1” Handheld Programmer Keystrokes SHFT ANDST SHFT INST# 5-73 DL105 User Manual, 3rd Ed. Rev. F...
OUTD V2010 The Binary (HEX) value copied to Copy the binary data in the V2010 V2011 V2010 accumulator to V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT 5-74 DL105 User Manual, 3rd Ed. Rev. F...
Acc. OUTD V2010 The BCD value Copy the BCD value in the copied to accumulator to V2010 and V2011 V2011 V2010 V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT 5-75 DL105 User Manual, 3rd Ed. Rev. F...
Page 250
0 1 0 1 1 1 1 Invert the binary bit pattern in the accumulator OUTD V2010 V2011 V2010 Copy the value in the accumulator to V2010 and V2011 Handheld Programmer Keystrokes SHFT ANDST SHFT SHFT 5-76 DL105 User Manual, 3rd Ed. Rev. F...
Page 251
Copy the specified table V2003 V2033 locations to a table V2030 beginning at location V2030 V2004 V2034 V2005 V2035 Handheld Programmer Keystrokes V2006 V2036 V2007 V2037 SHFT SHFT ANDST SHFT ANDST SHFT ORST INST# 5-77 DL105 User Manual, 3rd Ed. Rev. F...
Page 252
When an offset is outside of the source information boundaries, then unknown data values will be transferred into the destination table. 5-78 DL105 User Manual, 3rd Ed. Rev. F...
When an offset is outside of the source information boundaries, then unknown data values will be transferred into the destination table. 5-79 DL105 User Manual, 3rd Ed. Rev. F...
In the following example, when SP45 comes on indicating an I/O module failure, the CPU will stop operation and switch to the program mode. DirectSOFT Handheld Programmer Keystrokes SP45 SHFT STRN STOP SHFT SHFT INST# SP45 will turn on if there is an I/O module failure. 5-80 DL105 User Manual, 3rd Ed. Rev. F...
When contact X0 is ON, logic under the first MLS will be executed. When contact X0 and X2 are ON, logic under the second MLS will be executed. The MLR instructions note the end of the Master Control area. 5-81 DL105 User Manual, 3rd Ed. Rev. F...
X0 is on. The logic between the MLS K2 (C) and MLR K1 (D) will function only if input X10 and X0 is on. The last rung is not controlled by either of the MLS coils. DirectSOFT Handheld Programmer Keystrokes SHFT SHFT SHFT 5-82 DL105 User Manual, 3rd Ed. Rev. F...
After interrupt routine execution, the ladder program resumes from the point at which it was interrupted. See Chapter 3, the section on Mode 40 (Interrupt) Operation for more details on interrupt configuration. In the DL105, only one interrupt is available. Operand Data Type DL130 Range...
Page 258
* The value entered, 3-999, must be followed by the digit 4 to complete the instruction. SETI RSTI NOTE: Only one software interrupt is allowed in the DL105 and it must be Int 0. 5-84 DL105 User Manual, 3rd Ed. Rev. F...
EEPROM. Make sure you consider the instruction execution times (shown in Appendix C) if you are attempting to use the FAULT instructions in applications that require faster than normal execution cycles. 5-85 DL105 User Manual, 3rd Ed. Rev. F...
HEX ASCII for a blank is 20, a 1 is 31, 4 is 34 ...) SW 146 Direct SOFT Handheld Programmer Keystrokes FAULT SHFT ANDST DLBL SHFT SHFT ACON ANDST ANDST A SW SHFT INST# ANDN SHFT NCON INST# K 2031 SHFT INST# NCON K 3436 5-86 DL105 User Manual, 3rd Ed. Rev. F...
HEX ASCII equivalent of numerical K aaa data for use with other instructions. Two digits can be stored in an NCON instruction. Operand Data Type DL130 Range Constant 0–FFFF 5-87 DL105 User Manual, 3rd Ed. Rev. F...
The DV-1000 Manual also has information on displaying messages. DirectSOFT DLBL ACON A SW NCON K 2031 NCON K 3436 Handheld Programmer Keystrokes SHFT SHFT ANDST ANDST SHFT INST# ANDN SHFT INST# SHFT INST# 5-88 DL105 User Manual, 3rd Ed. Rev. F...
Page 263
nstructIon hapter hapter hapter rogrammIng In This Chapter... Introduction ....................... 6-2 Step Transitions ......................6-4 Overview of Drum Operation ................... 6-8 Drum Control Techniques ..................6-10 Drum Instructions ....................6-12...
Electronic drums provide the benefits of mechanical drums and more. For example, they have a preset feature that is impossible for mechanical drums: The preset function lets you move from the present step directly to any other step on command! DL105 User Manual, 3rd Ed. Rev. F...
Compare the two, and you will find that they are equivalent! If you can see their equivalence, you are well on your way to understanding drum instruction operation. Step Output DL105 User Manual, 3rd Ed. Rev. F...
The drum spends a specific amount of time in each step, given by the formula: Time in step = 0.01 seconds X Timebase x Counts per step DL105 User Manual, 3rd Ed. Rev. F...
(X0) remains true. When the counts for Step 1 have expired, then the drum moves to Step 2. The outputs change immediately to match the new pattern for Step 2. DL105 User Manual, 3rd Ed. Rev. F...
1 in this case. The value of CT12 changes only if the ladder program writes to it, or the drum instruction is edited and the program is restarted. Counter bit CT10 turns on when the drum cycle is complete, and turns off when the drum is reset. DL105 User Manual, 3rd Ed. Rev. F...
Complete Outputs: F F F f f f F f f F f F F F f F Reset input Active? Reset Reset Drum Complete bit CT10 = 0 Go to Preset Step DL105 User Manual, 3rd Ed. Rev. F...
• Preset Step – A step number from 1 to 16 that you define (typically is step 1). The drum moves to this step whenever Reset is on, and whenever the CPU first enters run mode. DL105 User Manual, 3rd Ed. Rev. F...
The default option is the retentive case. This means that if you initialize scratchpad V-memory, the memory will be retentive. DL105 User Manual, 3rd Ed. Rev. F...
Drum Complete bit (CT10), and forces the drum to enter the preset step. NOTE: The timing diagram shows all steps using equal time durations. Step times can vary greatly, depending on the counts/step programmed. 6-10 DL105 User Manual, 3rd Ed. Rev. F...
Just use a control relay contact such as C0 for the step transition event. Elsewhere in ladder logic, you may use C0 as an output coil, making it dependent on many other “events” (contacts). 6-11 DL105 User Manual, 3rd Ed. Rev. F...
Preset Step 1–16 Timer base cccc 0.01–99.99 seconds Counts per step dddd 0–9999 Event eeee X, Y, C, S, T, CT See page 4-29 Discrete Outputs ffff X, Y, C See page 4-29 6-12 DL105 User Manual, 3rd Ed. Rev. F...
Page 275
In the last rung, the Drum Complete bit (CT4) turns on output Y0 upon completion of the last step (step 11). A drum reset also resets CT4. Direct SOFT Display 6-13 DL105 User Manual, 3rd Ed. Rev. F...
DEF K0000 0–9999 Events eeee DEF K0000 X, Y, C, S, T, CT, SP See page 4-29 Output points ffff DEF K0000 X, Y, C Output Pattern gggg DEF K0000 0 - FFFF 6-14 DL105 User Manual, 3rd Ed. Rev. F...
Page 277
NEXT ( DEF K0000 ) ( DEF K0000 ) ( DEF 0000 ) SHFT NEXT NEXT ( DEF 0000 ) SHFT NEXT ( DEF K0000 ) NEXT (Continued on next page ) 6-15 DL105 User Manual, 3rd Ed. Rev. F...
Page 278
NOTE: Remember, you may use the NXT and PREV keys to skip past entries for unused outputs or steps. NOTE: For ease of operation when using the EDRUM instruction, we recommend using DirectSOFT over the handheld programmer. 6-16 DL105 User Manual, 3rd Ed. Rev. F...
Page 279
hapter hapter hapter PLUS tage RogRamming In This Chapter... Introduction to Stage Programming ................ 7-2 Learning to Draw State Transition Diagrams ............7-3 Using the Stage Jump Instruction for State Transitions ........... 7-7 Stage Program Example: Toggle On/Off Lamp Controller ........7-8 Four Steps to Writing a Stage Program ..............
• Study each stage programing concept by working through each example. The examples build progressively on each other. • Read the Stage Questions and Answers at the end of the chapter for a quick review. DL105 User Manual, 3rd Ed. Rev. F...
ON state. In a boolean sense, Y0=ON state. Next, we will implement the state diagram first as RLL, then as a stage program. This will help you see the relationship between the two methods in problem solving. DL105 User Manual, 3rd Ed. Rev. F...
S0 instruction executes, which simply turns off the Stage bit S1 and turns on Stage bit S0. On the next PLC scan, the CPU will not execute Stage S1, so the motor output Y0 will turn off. The Off state (Stage 0) will be ready for the next cycle. DL105 User Manual, 3rd Ed. Rev. F...
NOTE: If the ISG is within the retentive range for stages, the ISG will remain in the state it was in before power down and will NOT turn itself on during the first scan. DL105 User Manual, 3rd Ed. Rev. F...
• Any order – You can skip numbers and sequence the stage numbers in any order. • Last Stage – The last stage in the ladder program includes all rungs from its stage box until the end coil. DL105 User Manual, 3rd Ed. Rev. F...
Jmp Note: Assume we start with Stage 0 active and stage 1 inactive for both examples. NOTE: Assume we start with Stage 0 active and Stage 1 inactive for both examples. DL105 User Manual, 3rd Ed. Rev. F...
(ISG). In the ON state, we add special relay contact SP1, which is always on. Push–Off State Note that even as our programs grow more complex, it is still easy to correlate the state transition diagram with the stage program! DL105 User Manual, 3rd Ed. Rev. F...
Soon you will be able to start with a word description of an application and create a stage program in one easy session! DL105 User Manual, 3rd Ed. Rev. F...
Down limit The controller has two outputs to drive the motor. Lower Y1 is the up (raise the door) command, and Y2 is the down (lower the door) command. 7-10 DL105 User Manual, 3rd Ed. Rev. F...
Stage S5 to the DOWN stage S0, where we began. NOTE: The only thing special about an initial stage (ISG) is that it is automatically active at power-up. Afterwards, it is just like any other. DL105 User Manual, 3rd Ed. Rev. F 7-11...
Stage 6. That is, the door can go up, down, or whatever, but the light will be on for precisely 3 minutes. K1800 7-13 DL105 User Manual, 3rd Ed. Rev. F...
The second and third rungs implement the transitions we need. Note to Push-UP the opposite relay contact usage for X3, which ensures the stage will execute only one of the JMP instructions. 7-14 DL105 User Manual, 3rd Ed. Rev. F...
Drum – Realize the drum sequencer is its own process, and is a different programming method than stage programming. If you need to use a drum and stages, be sure to place the drum instruction in an ISG stage that is always active. 7-16 DL105 User Manual, 3rd Ed. Rev. F...
The standard Counter instruction does not have this global reset capability. You may still use a regular Counter instruction inside a stage, however, the reset input to the counter is the only way to reset it. DL105 User Manual, 3rd Ed. Rev. F 7-17...
Reference to Transition Jump Set Stage a stage Logic Reset Stage The following diagram is a typical stage view of a ladder program containing stages. Note the left-to-right direction of the flow chart. 7-18 DL105 User Manual, 3rd Ed. Rev. F...
The active stage that contains the Jump will be deactivated one scan after the Jump instruction is executed. Operand Data Type DL130 Range Stage 0-377 7-20 DL105 User Manual, 3rd Ed. Rev. F...
Page 299
NOTE: The F1-130 CPU does not have the Not Jump instruction (as does other PLC families). You may still achieve the same result by using the Jump instruction, while inverting the sense of contact logic that activates that instruction. DL105 User Manual, 3rd Ed. Rev. F 7-21...
Stage Jump instruction executed in the stage above, naming the stage below. Power flow transitions are more difficult to edit in DirectSOFT; we list them separately from two preceding questions. 7-22 DL105 User Manual, 3rd Ed. Rev. F...
Page 301
And a good process design will be mostly sequential, with only one stage on at a time. However, all the processes in the program may be active simultaneously. 7-23 DL105 User Manual, 3rd Ed. Rev. F...
• Fuses or breakers - verify that all fuses and breakers are intact. • DL105 Air Vents - check that all air vents are clear. If the exterior case needs cleaning, disconnect the input power, and carefully wipe the case using a damp cloth.
Appendix B in this manual has a complete list of error messages sorted by error number. Many of these messages point to supplemental memory locations which can be referenced for additional related information. These memory references are in the form of V-memory and SPs (special relays). DL105 User Manual, 3rd Ed. Rev. C...
Data is not in BCD SP41 Non-critical error SP76 Load zero SP43 Battery low SP44 Program memory error SP50 Fault instruction was executed SP51 Watchdog timeout SP52 Syntax error SP53 Cannot solve the logic DL105 User Manual, 3rd Ed. Rev. C...
Page 306
Invalid instruction E640 Mis-compare E520 Bad operation - CPU in Run E650 Handheld Programmer system error E524 Bad operation - CPU in Program E651 Handheld Programmer ROM error E652 Handheld Programmer RAM error DL105 User Manual, 3rd Ed. Rev. C...
The best way to check for a faulty PLC is to substitute a known good one to see if this corrects the problem. The removable connectors on the DL105 make this relatively easy. If there has been a major power surge, it is possible the PLC internal power supply has been damaged.
For problems in communicating with DirectSOFT on a personal computer, refer to the DirectSOFT manual. It includes a troubleshooting section that can help you diagnose PC problems in communications port setup, address or interrupt conflicts, etc. DL105 User Manual, 3rd Ed. Rev. C...
If you suspect an I/O error, there are several things that could be causing the problem. • High-Speed I/O configuration error • A blown fuse in your machine or panel (the DL105 does not have internal I/O fuses). • A loose terminal block.
Chapter 8: Maintenance and Troubleshooting Testing Output Points Output points can be set on or off in the DL105 series CPUs. If you want to do an I/O check out independent of the application program, follow the procedure below: Step Action Use a Handheld Programmer or DirectSOFT to communicate online to the PLC.
Switching DC power supplies commonly generate more noise than linear supplies. • Separate input wiring from output wiring. Never run I/O wiring close to high voltage wiring. 8-11 DL105 User Manual, 3rd Ed. Rev. C...
Chapter 8: Maintenance and Troubleshooting Machine Startup and Program Troubleshooting The DL105 Micro PLCs provide several features to help you debug your program before and during machine startup. This section discusses the following topics which can be very helpful. • Program Syntax Check •...
CR to control the instruction with a switch or a programming device. Or, you could add the instruction without any conditions so the selected outputs would be disabled at all times. PAUSE disables Y0 and Y1 Normal Program Y0 – Y1 PAUSE 8-13 DL105 User Manual, 3rd Ed. Rev. C...
NOTE: You can use the same coil in more than one location, especially in programs containing Stage instructions and / or OROUT instructions. The Duplicate Reference check will find occurrences, even though they are acceptable. 8-14 DL105 User Manual, 3rd Ed. Rev. C...
Chapter 8: Maintenance and Troubleshooting Run Time Edits The DL105 Micro PLC allows you to make changes to the application program during Run Mode. These edits are not “bumpless.” Instead, CPU scan is momentarily interrupted (and the outputs are maintained in their current state) until the program change is complete. This means if the output is off, it will remain off until the program change is complete.
Page 317
Press the arrow key to move to the X. Then enter the new contact (C10). RUNTIME EDIT? SHFT STR C10 Press ENT to confirm the change (Note, once you press ENT, the next address is displayed. OR C0 8-16 DL105 User Manual, 3rd Ed. Rev. C...
Solid fill indicates point is on. keystrokes to force Y10 ON SHFT SHFT BIT FORCE From a clear display, use the following No fill indicates point is off. keystrokes to force Y10 OFF SHFT SHFT BIT FORCE 8-17 DL105 User Manual, 3rd Ed. Rev. C...
Port 2 or another configurable port, you may be disconnected when this operation is complete. NOTE: Retentive ranges will be reset to the factory settings. NOTE: Manually addressed IO will be reset to factory default settings. 8-18 DL105 User Manual, 3rd Ed. Rev. C...
Page 320
Step Two – While connected with DirectSoft, go the PLC menu and then to the “Setup” submenu and select; “Initialize Scratch Pad” and press “Ok The PLC has now been reset to factory defaults and you can proceed to program the PLC 8-19 DL105 User Manual, 3rd Ed. Rev. C...
ppendix ppendix ppendix uxiliAry unctions In This Appendix... Introduction ......................A-2 AUX 2* — RLL Operations ..................A-4 AUX 3* — V-memory Operations ................A-4 AUX 4* — I/O Configuration ..................A-5 AUX 5* — CPU Configuration ................... A-5 AUX 6* —...
AUX functions operate, you should supplement this information with the documentation for your choice of programming device. Note, the Handheld Programmer may have additional AUX functions that are not supported with the DL105 PLCs. AUX Function and Description DL105 AUX Function and Description DL105 AUX 2* –...
Press ENT to select sub-menus AUX·3*·V·OPERATIONS · AUX·31·CLR· V·MEMORY· You can also enter the exact AUX number to go straight to the sub-menu. Enter the AUX number directly AUX·3*·V·OPERATIONS · AUX·31·CLR· V·MEMORY· DL105 PLC User Manual, 3rd Ed. Rev. F...
AUX 31 · Clear V- Memory AUX 31 clears all the information from the V-memory locations available for general use. This AUX function is available on the PLC/Clear PLC sub-menu within DirectSOFT. DL105 PLC User Manual, 3rd Ed. Rev. F...
AUX 51 · Modify Program Name DL105 PLCs can use a program name for the CPU program or a program stored on EEPROM in the Handheld Programmer. (Note, you cannot have multiple programs stored on the EEPROM.) The program name can be up to eight characters in length and can use any of the available characters (A- Z, 0- 9).
DirectSOFT by using the PLC/Setup sub-menu. WARNING: The DL105 CPUs do not have battery-backed RAM. The super-capacitor will retain the values in the event of a power loss, but only up to 3 weeks. (The retention time may be as short as 4 1/2 days in 60 degree C operating temperature.)
AUX 72 · HPP EEPROM to CPU AUX 72 copies information from the EEPROM installed in the Handheld Programmer to CPU memory in the DL105. You can copy different portions of EEPROM (HP) memory to the CPU memory as shown in the previous table.
WARNING: Make sure you remember the password before you lock the CPU. Once the CPU is locked you cannot view, change, or erase the password. If you do not remember the password, you have to return the CPU to the factory for password removal. DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 329
Appendix A: Auxiliary Functions NOTE: The DL105 CPUs support multi-level password protection of the ladder program. This allows password protection while not locking the communication port to an operator interface. The multi-level password can be invoked by creating a password with an upper case “A” followed by seven numeric characters (e.g.
Page 330
DL105 E rror oDEs In This Appendix... Error Code Tables ...................... B-2...
Page 331
RAM FAILURE again. Correct any grounding problems. If the error returns replace the CPU. E210 A short duration power drop-out occurred on the main power line supplying power to the base. POWER FAULT DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 332
An INT must be programmed after the end statement, not in the main body of the program. SP52 will be ON and the error code will be stored in V7755. INVALID INT ADDRESS DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 333
Two or more OUT instructions reference the same I/O point. DUPLICATE COIL REFERENCE E472 Two or more TMR instructions reference the same number. DUPLICATE TMR REFERENCE E473 Two or more CNT instructions reference the same number. DUPLICATE CNT REFERENCE DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 334
The password used to unlock the CPU with AUX 82 was incorrect. WRONG PASSWORD E542 The CPU powered up with an invalid password and reset the password to 00000000. A password may be re-entered using AUX 81. PASSWORD RESET DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 335
If the error returns replace the handheld programmer. HPP ROM ERROR E652 A RAM error has occurred in the handheld programmer. Power cycle the handheld programmer. If the error returns replace the handheld programmer. HPP RAM ERROR DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 336
ppendix ppendix ppendix nstructIon xEcutIon ImEs In This Appendix... Introduction ....................... C-2 Instruction Execution Times ..................C-3...
Appendix C: Instruction Execution Times Introduction This appendix contains several tables that provide the instruction execution times for DL105 Micro PLCs. Many of the execution times depend on the type of data used with the instruction. Registers may be classified into the following types: •...
–– –– Move E to V: Bit Reg. 250µs + 201 x N 6.2 µs Move E to V: Bit Reg. –– –– N= # of Words LDLBL 58µs 8.4 µs C-10 DL105 PLC User Manual, 3rd Ed. Rev. F...
ON when the CPU is in the program mode. mode SP20 Forced stop mode ON when the STOP instruction is executed. ON when interrupts have been enabled using the ENI SP22 Interrupt enabled instruction. DL105 PLC User Manual, 3rd Ed. Rev. F...
ON if a BCD number is expected and a non BCD number is SP75 Data error encountered. ON when any instruction loads a value of zero into the SP76 Load zero accumulator. DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 351
Current = target value value equals the value in: SP554 V2350 SP555 V2352 SP556 V2354 SP557 V2356 SP560 V2360 SP561 V2362 SP562 V2364 SP563 V2366 SP564 V2370 SP565 V2372 SP566 V2374 SP567 V2376 DL105 PLC User Manual, 3rd Ed. Rev. F...
Page 352
DL105 PLC M eMory In This Appendix... DL105 PLC Memory ....................E-2...
Page 353
When designing a PLC application, it is important for the PLC user to understand the different types of memory in the PLC. Two types of memory are used by the DL105 CPU, RAM and EEPROM. This memory can be configured by the PLC user as either retentive or non- retentive memory.
ppendix ppendix ppendix uropEan nion (cE) irEctivEs In This Appendix... European Union (EU) Directives ................F-2 Basic EMC Installation Guidelines ................F-5...
Certain standards within each Directive already require mandatory compliance. The EMC Directive, which has gained the most attention, became mandatory as of January 1, 1996. The Low Voltage Directive became mandatory as of January 1, 1997. DL105 User Manual, 3rd Ed. Rev. F...
Page 356
(including any amendments) applies. -2-32:1975 Part 2 Test Ed The DL105 system, when properly installed and used, conforms to the Electromagnetic Compatibility (EMC), Low Voltage Directive, and Machinery Directive requirements of the following standards: • Product Specific Standard for Programmable Controllers EN61131–2:2003 Programmable controllers, equipment requirements and tests.
Quickest contact is via the web at: http://ec.europa.eu/growth/single-market/european-standards/harmonised-standards. Another source is the British Standards Institution at: British Standards Institution – Sales Department, Linford Wood: Milton Keynes, MK14 6LE, United Kingdom. The quickest contact is via the web at www.bsigroup.com DL105 User Manual, 3rd Ed. Rev. F...
Machinery and Low Voltage Directives. House all control equipment in an industry- standard, lockable steel enclosure and use metallic conduit for wire runs and cables. * As of July 22, 2017 DL105 no longer meets CE compliance (see Declaration of Conformity for specific product requirements).
Appendix F: European Union Directives (CE) NOTE: As of July 22, 2017, the DL105 series does not meet CE compliance. Suppression and Fusing In order to comply with the fire risk requirements of the Low Voltage and Machinery Directive electrical standards (EN 61010–1 and EN 60204–1), by limiting the power into “unlimited”...
Shielded cables are also efficient emitters of RF noise from the PLC system, and can interact in a parasitic manner in networks and between multiple sources of interference. DL105 User Manual, 3rd Ed. Rev. F...
PLCs and/or operator interfaces should be routed well away from other equipment and its associated cabling. You can make special serial cables where the cable shield is connected to the enclosure’s earth ground at both ends, the same way that external cables are connected. DL105 User Manual, 3rd Ed. Rev. F...
Appendix F: European Union Directives (CE) Analog Modules and RF Interference All Automationdirect products are tested to withstand field strength levels up to 10V/m, which is the maximum required by the relevant EU standards. While all products pass this test, analog modules will typically exhibit deviations of their readings.
Hexadecimal Numbering System ................G-3 Octal Numbering System ..................G-4 Binary Coded Decimal (BCD) Numbering System ...........G-5 Real (Floating Point) Numbering System ..............G-6 BCD/Binary/Decimal/Hex/Octal - What is the Difference? ........G-7 Data Type Mismatch ....................G-8 Signed vs. Unsigned Integers ..................G-9 AutomationDirect.com Products and Data Types ..........G-10...
213 (1*2 + 1*2 +1*2 + 1*2 +1*2 or 128 + 64 + 16 Binary/ Decimal Bit Pattern Bit # Power Decimal Bit Value Max. Value 65535 Table 2 DL105 PLC User Manual, 3rd Ed. Rev. F...
0x. Thus, the hex number “D8AF“ can also be written “D8AFh“, where the lower case “h” at the end is just a label to make sure we know that it is a hex number. Also, D8AF can be written with a labeling prefix as “0xD8AF”. DL105 PLC User Manual, 3rd Ed. Rev. F...
(d x 80) + (d x 81) + (d x 82) + (d x 83) where “d“ means digit. This is the same format used in the binary, decimal, or hexadecimal systems except that the base number for octal is 8. DL105 PLC User Manual, 3rd Ed. Rev. F...
Bit # Power Bit Value Max. Value Table 5 One plus for BCD is that it reads like a decimal number, whereas 867 in BCD would mean 867 decimal. No conversion is needed. DL105 PLC User Manual, 3rd Ed. Rev. F...
• The first bit of the mantissa is typically assumed to be “1.fff“, where “f“ is the field of fraction bits. The Internet can provide a more in-depth explanation of the floating-point numbering system. DL105 PLC User Manual, 3rd Ed. Rev. F...
The unfortunate side effect is that unless the data type is documented, it’s difficult to know what the data type is unless it contains the letters A- F. DL105 PLC User Manual, 3rd Ed. Rev. F...
The decimal values of 67 and 4660 are used. Example of Decimal Number Represented by Bit Patterns Bit Pattern Bit Pattern 4660 Decimal 0110 0111 0100 0110 0110 0000 Binary 0100 0011 0001 0010 0011 0100 Octal 11064 DL105 PLC User Manual, 3rd Ed. Rev. F...
More information about 2’s complement can be found on -100 1111 1111 1001 1100 the Internet, however most of the websites deal with 8-bit examples. There are many websites to search for more Table 12 expansive information. DL105 PLC User Manual, 3rd Ed. Rev. F...
“BCD int 16“. Binary format is either “Unsigned int 16“ or “Signed int 16“ depending on whether or not the value can be negative. Real number format is “Floating PT 32”. Other available formats are, “BCD int 32“, “Unsigned int 32“ and “Signed int 32“. G-10 DL105 PLC User Manual, 3rd Ed. Rev. F...
Need help?
Do you have a question about the DL105 and is the answer not in the manual?
Questions and answers