You are on page 1of 4

Application Note

A17549 - Having a DWELL time using the SQO instruction with an SLC 500 or Micrologix.

Last Modified: 10/08/2002


Previously Released as #11459

Generals Programmable Controllers


Category:
Product(s): SLC500 (1747); MicroLogix (1761); MicroLogix 1500 (1764)
Catalog #: 1747L20A; 1747L20B; 1747L20C; 1747L20D; 1747L20E; 1747L20F;
1747L20G; 1747L20L; 1747L20N; 1747L20P; 1747L20R; 1747L30A;
1747L30B; 1747L30C; 1747L30D; 1747L30L; 1747L30P; 1747L40A;
1747L40B; 1747L40C; 1747L40E; 1747L40F; 1747L40L; 1747L40P;
1747L511; 1747L514; 1747L524; 1747L531; 1747L532; 1747L541;
1747L542; 1747L542P; 1747L543; 1747L551E; 1747L552E; 1747L553E;
1761L10BWA; 1761L10BWB; 1761L16AWA; 1761L16BBB; 1761L16BWA;
1761L16BWADM1; 1761L16BWADM2; 1761L16BWADM3;
1761L16BWADM4; 1761L16BWAHHP; 1761L16BWAP1E; 1761L16BWB;
1761L20AWA-5A; 1761L20BWA-5A; 1761L20BWB-5A; 1761L32AAA;
1761L32AWA; 1761L32BBB; 1761L32BWA; 1761L32BWB; 176424AWA;
176424BWA; 176428BXB
Series /
Revision:
Subject application, discrete i/o, instructions, processors
(Keyphrases):
Summary of
Technote
Information:

NOTE:This document IS NOT intended to instruct/teach the user on the


    function of the SQO for the SLC or Micrologix processors.
     It is intended to explain how to have a dwell time feature with
    these processors such as was possible with the 1745 SLC product
line.

The 1745 product line had a very powerful SQO instruction. One feature
of the
instruction was the ability to have the sequencer "sit" for a user
specified time
period on a given step/position. This is known as a "DWELL TIME".

This document enables the user to have this dwell time feature with the
1747, 1761, 1762, and 1764 product lines.

Enter the ladder logic below as shown.


NOTES: FILE:The N files can be any number from 0-255.(9 should be
reserved for
           possible CIF, Common Interface File use).
       
      MASK:The MASK can be entered in hex (h), binary (b), or decimal
(d).
           For example FF. Enter these keystrokes Press 00FFh and
enter/return.
       
      DEST:The DESTination can be any valid file type.
       
      CONTROL:The Control file can be any number from 0-255.(9 should be
reserved
              for possible CIF, Common Interface File use).
   
      LENGTH:The length must be the same for both SQO instructions.
             Select from 1-255 words for 500 family processors
             Select from 1-104 for the Micrologix processors.
      POSITION:Select 0.   

Enter the data into the N10 file as shown below. This file data will be
transferred to the O:1.0 output.

NOTE; Instruction operation depends on whether the rung is true or false


on
      the first scan.

      If true, The instruction transfers the value in step zero.

      If false, The instruction waits for the first rung transition from
false
      to true and transfers the value in step one.
      In this example the cycle will be from N10:1 to N10:9.

Enter the data into the N11 file as shown below. This data is the dwell
time
for each step/position. The user can change this data in a number of
ways
such as using the data monitor while on-line or an H.M.I. such as a
DTAM.
NOTE;The SQO instruction when enabled for the first time uses the first
    step. This is N10:0 and N11:0 in this example. Steps will be 0-9.
     During successive scans it will not return to step 0. The steps
    will be 1-9. The user should take this into account.

Related Links:

DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an
exhaustive treatment of such subjects. Accordingly, the information in this web site is not intended to constitute application,
design, software or other professional engineering advice or services. Before making any decision or taking any action, which
might affect your equipment, you should consult a qualified professional advisor.

ROCKWELL DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA
CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT
NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT SHALL
ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF PROFIT OR DAMAGE, EVEN IF ROCKWELL HAS BEEN ADVISED ON THE POSSIBILITY OF
SUCH DAMAGES.

ROCKWELL DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT TO THE INFORMATION
(INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A
PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not countenance
the exclusion of implied warranties; thus, this disclaimer may not apply to you.

Copyright © 2002 Rockwell Automation. All rights reserved.

  

You might also like