Home
        9399-APSIE - Introducing the APS Import/Export Utility
         Contents
1.                                                                                       E T  Who Should Use this                                                        enne nnns  Purpose  of this  Manual      4          eee ceret een      ceci                        Terms and Abbreviations                                              nnne nnne nennen  Common T echniques Used in this                                                                     Introducing the APS Import Export Utility                                       APSIE OVOtVIOW      riail               bp Pero Fa dut xe dp he  System Requirements                      sssssssssssssssseeeeee enne nnne  R  urinirig tli   SoftWAare    2  lectore ier erre tese dire di or ioca  APSIE Display Format                    sss daripada nsns  APSIE Menu Display                      sessssssseseeeeeee ener  Starting the Utility                      haee p ete ipae            teer wee terea             Configuring the APS Import Export Software                                Configuring the System                    sse eene nennen nnns  Specifying the User Directories       Importing ASCII Documentation  Archive Files                              Configuring the Import Utility                         sess  Selecting Import QPtionS                                           nennen nens  Importing ASCII Files                        eese eene  Examining the Results of the                                                            
2.                    Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  AWA   ASCII Write with channel 0  Append  source direct ST none  control direct R none  string length 0 82  characters sent 0 82  AWT ASCII Write channel 0  source direct ST none  control direct R none  string length 0 82  characters sent 0 82  BSL Bit Shift Left file indexed direct O  I  S  B  N  A  ST   none  indexed indirect  control direct R none  bit address direct  indirect 0 1 5  B  T C  R    none  N  A  ST  M  length 0 2048  BSR Bit Shift Right file indexed direct O  I  S  B  N  A  ST   none  indexed indirect  control direct R none  bit address direct  indirect 0 1 5  B  T C  R    none  N  A  ST  M  length 0 2048  CLR Clear destination direct  indexed direct O  I  S  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M       A 6       Supported only by SLC 5 03 08301  08302 and SLC 5 04 08400  08401 processors     Programming Instruction References                                                          Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  COP Copy File source indexed direct 0 1 5                none  indexed indirect N  F  A  ST  M  destination indexed direct 0 1 5                none  indexed indirect N  F  A  ST  M  length 1 128  cos   Cosine source direct  indexed direct 0 1 5                   32 768 32 767  indirect  indexed indirect   N  F  A  ST     f min f max  destination direct
3.                none  indirect  indexed indirect        F  A  ST      TND Temporary End none  TOD Convert to BCD source direct  indexed direct O  I  S  B  T C  R    none  indirect  indexed indirect   N  A  ST  M  destination direct O  1  S  B  T C  R    none  N  A  ST  M  TOF Timer Off Delay timer direct T none  time base  SLC 0 01 only  5 01   time base  SLC 0 01 or 1 00  5 02  SLC 5 03   SLC 5 04   MicroLogix 1000  controllers   preset 0 32 767  accum 0 32 767                         Supported only by SLC 5 03 08302 and SLC 5 04 08401 processors        Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors     A 19    APS Import Export Utility User Manual                                                 Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  TON Timer On Delay timer direct T none  time base 0 01 only   SLC 5 01   time base 0 01 or 1 00   SLC 5 02  SLC  5 03  SLC 5 04   MicroLogix 1000  controllers   preset 0 32 767  accum 0 32 767  XIC Examine On  Examine   source bit direct  indirect O  I  S  B  L  GR    none  if Closed Contact  N  A  ST  M  XIO Examine Off  Examine   source bit direct  indirect O  I  S  B  T C  R    none  if Open Contact  N  A  ST  M  XOR Logical Exclusive OR address A direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  address B direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination 
4.           Keywords    ASCII Instruction Addresses ASCII Address Comments    Placing Instruction Comments    6 4    An instruction comment is a text string  a maximum of 50 characters   which  provides notes or remarks for an address instruction pair  The following rules apply  to instruction comments     Instruction comments should begin and end with quotation marks  77   and  should follow the instruction address pair on the same line     Do not use carriage returns  If you want a carriage return to appear in the  comment  use a back slash     in the comment to represent a carriage return    Note that this back slash is considered a character in the 50 character limit      Only the first 50 characters you enter are used in the comment  The  import export utility displays 5 lines  10 characters per line     If you want a quotation mark to appear in your comment  use two adjacent  quotation marks   One of the quotation marks is considered a character in the  50 character limit      If you enter a back slash in an instruction comment  precede the back slash with  a tilde         These are example instruction comments     IC  EC  IC            XIC N7 10 0    Surge Tank High Level Alarm     LBL 3 LBL10  Label 10 in ladder file 3   OTE 0 6 1 10    North Cutter Running               Keywords ASCII Instruction Addresses    ASCII Programming Instructions ASCII Instruction Comments    Creating an ASCII Documentation File    Placing Rung Comments    A rung comment is a text string   up
5.          symbols  66    system requirements  147     T  terms  P F     text file  4 1 01  timers  5 237     training  PEP    U    user directories  define directory function  1     specifying  2     2     Fe    V    value list  5201  value list options  53      Copyright Notice    Trademark  Notices    Important User  Information      1995 Rockwell Software Inc  All rights reserved  Printed in the United States of America  Portions copyrighted by Allen   Bradley Company  Inc  and used with permission    This manual and any accompanying Rockwell Software products are copyrighted by Rockwell Software Inc   Any reproduction and or distribution without prior written consent from Rockwell Software Inc  is strictly  prohibited  Please refer to the license agreement for details     WINtelligent Series is a registered trademark and the Rockwell Software logo  AdvanceDDE  Control View   INTERCHANGE  Packed DDE  WINtelligent  WINtelligent EMULATES  WINtelligent EMULATE 500   WINtelligent LINX  WINtelligent LOGIC 5  WINtelligent TREND  WINtelligent VIEW are trademarks of  Rockwell Software  Inc     PLC  PLC 2  PLC 3  and PLC 5 are registered trademarks of Allen Bradley Company  Inc  SLC  SLC 500   PanelView  RediPANEL  and Dataliner are trademarks of Allen Bradley Company  Inc     Microsoft  MS DOS  Windows  Microsoft Access and Visual Basic are registered trademarks  and Windows  NT is a trademark of the Microsoft Corporation     All other trademarks are the property of their respectiv
6.       statement   SYM 1 0 0 0 C5UNDERFL  AC 1 0 0 0  Totalizer Pulse Counter   IC XIO 1 0 0 0  North Cutter Running   IC JMP 2 LBL5  Jump to label 5               Keywords ASCII Instruction Addresses    ASCII Programming Instructions ASCII Address Comments    Placing Address Comments    An address comment is a text string  a maximum of 50 characters   which provides  notes or remarks for an address  To enter an address comment  keep the following  in mind     Address comments should begin and end with quotation marks  77   and should  follow the instruction address on the same line     Do not use carriage returns  If you want a carriage return to appear in a  comment  use a back slash  V  in the comment to represent a carriage return    Note that this back slash is considered a character in the 50 character limit      Only the first 50 characters you enter are used in the comment  The  import export utility displays 5 lines  10 characters per line     If you want a quotation mark to appear in a comment  use two adjacent  quotation marks   One of the quotation marks is considered a character in the  50 character limit      If you enter a back slash in an address comment  precede the back slash with a  tilde         APS Import Export Utility User Manual    These are example address comments                                   AC 1 0 0 0    UPPER LOADER HYDRAULIC SOLENOID     AC 1 0 0 1    OUT OF TOLERANCE ALARM ACKNOWLEDGE     AC 1 0 0 2    AIR STOP CLOSED LIMIT SWITCH           
7.    5 02 only   target device 2 500CPU   4 485CIF  control block direct N none  control block length 7  local address direct O  I  S  B  L  GR    none  N A  target node 0 31  target address direct O  1  S B T C  R    0 255  N  A  message length T C R 1 13  10  S B  N 1 41                         Supported only by SLC 5 03 08302 and SLC 5 04 08401 processors     Instruction    MSG   5 03 and  5 04 only        Description    Message    Programming Instruction References                                                             Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  type 64 peer to peer  read write 0           1 write  target device 2 500CPU   4 485CIF   8 PLC5  local remote 16 local   32 remote  control block direct N none  control block length 14  channel number Oor1  target node 0 31   0 254 if 485CIF  remote bridge 0 254   link ID 0 when local  remote bridge 0 254  node address 0 when local  local bridge node 0 254                address when local  local file address direct 0 1 5                none  N  F  A  ST  M   target file address   direct O     S  B  T  C  R  0 255  N  F  A  ST  M   message length O  LS B N A9   1 103       1 51     1 34       if PLC5  1 20  C R 1 34  sT   2or  if PLC5  1  message timeout 0 255                File types F  A  and ST only apply to SLC 5 03 OS301 or later and SLC 5 04     A 13    APS Import Export Utility User Manual                                                 Instruction Description Parameter Valid
8.    ES  FILES Eg           pog Ea              ES  Fi  ARCHIVE ASCII CONFIG SAVE  DIR DIR DIR CONFIG  2 F6 F7 F9       TOGGLE ALL ALL  ENTRY YES NO  Fi F2 F3       1 5    APS Import Export Utility User Manual  Starting the Utility    Select a task to perform from table 1        Table 1 B  Selecting a Task from the Main Menu    If you want to  Press  Then     configure the   see chapter 2  Configuring the APS  import export utility  F6    SYSTEM CONFIGR Import Export Utility               see chapter 3  Importing ASCII  import a We  F7    IMPORT Documentation Archive Files   export a file  F8    EXPORT see chapter 4  Exporting APS    Documentation Archive Files        2 APSIE software is terminated  the screen  See             EXIT  SYSTEM clears  and you are returned to DOS              1 6    Configuring the APS Import Export Utility    2 Configuring the APS Import Export  Software    This chapter shows you how to       choose between color and monochrome screens   You must have a color  adaptor card and color monitor to use the color selection        specify the user drives and directories    This chapter assumes that you have installed the APS APSIE software and selected  the  F6    SYSTEM CONFIGR function key from the main menu  If not  see  chapter 1  Introducing the APS Import Export Utility     2 1    APS Import Export Utility User Manual    Configuring the System    After selecting  F6    SYSTEM CONFIGR  the import export utility displays the  system configuration scre
9.    Program Header       Chassis Configuration  does not apply to MicroLogix 1000 controllers        Module Configuration  does not apply to MicroLogix 1000 controllers        Project Name       Program Files  File 2    File n       Data Table       Channel Configuration Data List  SLC 5 03 and SLC 5 04 processore only        Adjustable Input Filters  MicroLogix 1000 controllers only        Multi Point I O List  SLC 5 03 05302  SLC 5 04 05401 processors  and  MicroLogix 1000 controllers only        Creating an ASCII Archive File    Specifying the Program Header    The program header defines the target processor for the import utility  You must  provide information for this section of the archive file   You could leave any of the  other six sections empty      The program header format for fixed and modular controllers consists of the  keyword    START    and the controller catalog number  Do not enter the catalog  number with tabs or spaces  For    other    fixed controllers the program header  format consists of the keyword  START                 1      and the processor ID   See table 5 E        Table 5 E  Program Header Formats and Examples  Program Header Format  Example Program Header   START Controller catalog number START 1747 L20A  START Other 1K Processor ID START OTHER 1K 1920          The available controllers include 20  30  and 40 I O fixed controllers  as well as 3  different modular processors  Input  output and line power information in the tables  18 for refer
10.   3 255 except  Interrupt Start indirect  indexed indirect   N  A  ST  M MicroLogix 1000  controllers  always equal 5  time direct  indexed direct 0 1 5                0 255  SLC 5 02  indirect  indexed indirect   N  A  ST  M and MicroLogix  1000   0 32 767   SLC 5 03 and  5 04   SUB Subtract source A direct  indexed direct O  I  S            R     32 768 32 76  indirect  indexed indirect   N  F  A  ST     f min f max  source B direct  indexed direct 0 1 5 8              32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5 8             none  indirect  indexed indirect   N  F  A  ST  M       A 18       Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors and MicroLogix 1000 controllers        Indexed addressing is not allowed when using T  C  R  or M addresses     Programming Instruction References                                              Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  SUS Suspend suspend ID  32 768 32 767  svc  Service channel 0  SLC 0 no  1 yes  Communications 5 03 and SLC 5 04   channel 1  SLC 0 no  1 yes  5 03 and SLC 5 04   SWP Swap source indexed direct B  N  A  ST none  indexed indirect  length 1 128  bit   1 128  integer   1 41  string   1 128  ASCII  TAN  Tangent source direct  indexed direct 0 1 5                   32 768 32 767  indirect  indexed indirect   N  F  A  ST     f min f max  destination direct  indexed direct O  I  S   
11.   Any 8     Discrete Input Module 1746 1 8  Any 16 pt Discrete Input Module 1746   16  Any 32 pt Discrete Input Module 1746 1532  Any 8     Discrete Output Module 1746 0 8  Any 16 pt Discrete Output Module 1746 0 16         32     Discrete Output Module 1746 0 32  16 Input  FAST  SINK  24V dc 1746 ITB16  High Current 120 240V ac Output Card 1746 OAP12  16 Input  FAST  SOURCE  24V dc 1746 ITV16  4 Channel RTD Resistance Module 1746 NR4   4 Channel Thermocouple Input Module 1746 NT4  16 Output  TRANS 1 AMP  SOURCE  24V dc 1746 OBP16  16 Output  TRANS 1 AMP  SINK  24V dc 1746 OVP16  Stepper Controller Module 1746 HSTP1  Device Net Scaner Module 1747 SDN  DH 485 RS 232C Interface Module  Series A  1747 KEA  DH 485 RS 232C Interface Module  Series B  1747 KEB       Table 5 N lists the optional arguments for 1746 1 524     L532     L541  and  L542    modular controllers only     5 15    APS Import Export Utility User Manual    Table 5 N  Optional Arguments   For 1746 1524   1532     541          L542 modular controllers only                    ee    vitn the pone These integers specify   SCAN_IN  0   32 9 how many words of input the I O scan updates   SCAN_OUT  0   32    how many words of output the I O scan updates   the size  in words  of the MO file  The sum of Input        512    0   32768  P      Boel M1 file sizes must not  the size  in words  of the M1 file  The sum of Input   M1 SIZE  0   32768                     M1 file sizes must        ISR  0  3   255    a subroutine fi
12.   I 3 2   n        4    AIR STOP CLOSED  LIMIT SWITCH    This sample rung comment is    two lines long     UPLOAD  Dr3 1    rx   8                 Os    ITE    22           6   3    North Cutter  Running    OUT OF TOLERANCE  ALARM  ACKNOWLEDGE  0 3 2  tw  6    N7 10   EDT  0    Programming Instruction References    A Programming Instruction  References    This appendix lists all of the available programming instructions along with their  parameters  valid addressing modes  and file types     A 1    APS Import Export Utility User Manual  Valid Addressing Modes and File Types    The following addressing modes are available              Addressing Mode Example  Direct N7 0  Indexed Direct  N7 0  Indexed N7  N10 3   Indexed Indirect TNT   N10 3           The following file types are available     e    Output  e I Input   e S Status   e B Binary  e T Timer   e C Counter  e R Control      N Integer      F Float   e A ASCII   e ST String     e M Mo M12       Immediate     indicates that a constant is a valid file type       Supported only by SLC 5 03 08301  08302 and SLC 5 04 08400  08401 processors      Not supported by MicroLogix 1000 controllers     A 2    Programming Instruction References                                                       Instruction Description Instruction Valid Addressing Valid File Types Immediate  Parameter Mode s  Values  ABL   ASCII Test Buffer for channel 0  Line  control direct R none  characters 0 1024  ABS   Absolute Value source direct  indexed di
13.   R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M  AEX   ASCII String Extract source direct  indirect ST none  index direct  indexed direct 0 1 S B T C R    1 82  indirect  indexed indirect   N  A  ST  M  number direct  indexed direct O  1  S B T C  R    1 82  indirect  indexed indirect   N  A  ST  M  destination direct ST none  AHL   ASCII Set Reset channel 0  Handshake Lines  AND mask direct  indexed direct O  I  S  B  T C  R    0 FFFF  indirect  indexed indirect   N  A  ST  M  OR mask direct  indexed direct 0 1 5      T C  R    0 FFFF  indirect  indexed indirect   N  A  ST  M  control direct R none  channel status 0 001F        ASCII Integer to String   source direct  indexed direct O  l  S  B  L  GR     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct ST none  AND Logical AND source A direct  indexed direct 0 1 5                   32 768 32 767  indirect  indexed indirect            ST      source B direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct O  I  S  B  T C  R    none  indirect  indexed indirect   N  A  ST  M                      A 4       Supported only by SLC 5 03 08301  08302 and SLC 5 04 08400  08401 processors     Programming Instruction References                                                             Instruction 
14.   RUNG 0    SOR BST  MEQ B3 55 B3 56 8754 NXB  XIC B3 1 XIO B3 2 XIC B3 3 BND  XIC B3 0 BST  OTE B3 99 NXB  ADD N7 0 50 N7 1 NXB  SUB N7 2 N7 3 N7 0 BND    EOR    RUNG 1    SOR        N7 0 100 JSR 4 EOR    RUNG 2    SOR LBL 5 OTE N7 0 15 EOR  LADDER 4    RUNG 0    SOR ADD N7 1 N7 2 N7 3 EOR    RUNG 1    SOR RET EOR    FORCE TABLE INFORMATION    FORCE 0 2    ON OFF 5  0  0000 0  0000 5 FORCE 0 2 0    5 0  0000 0x0000  FORCE 0 2 1 8  FORCE 0 5    ON OFF 5  0  0000 0x0000  FORCE 0 5 0 8  0  0000 0  00005 FORCE 0 5 1 8  0  0000 0  00005 FORCE 0 5 2 8  0  0000 0x0000  FORCE 0 5 3 8  0  0000 0x0000  FORCE 0 5 4 8  0  0000 0x0000  FORCE 0 5 5 8  0  0000 0x0000  FORCE 0 5 6 8  0  0000 0x0000  FORCE 0 5 7 8  FORCE 0 7    ON OFF    0x0000 0x0000  FORCE O 7 0    FORCE I 2    ON OFF 5  0  0000 0x0000  FORCE 1 2 0 8  0  0000 0x0000  FORCE 1 2 1 8  FORCE 1 3    ON OFF    0x0000 0x0000  FORCE O 7 0    FORCE I 5    ON OFF 5  0  0000 0x0000  FORCE 0 5 0 8  0  0000 0x0000  FORCE 0 5 1 8  0  0000 0x0000  FORCE 0 5 2 8  0  0000 0x0000  FORCE 0 5 3 8  0  0000 0x0000  FORCE 0 5 4 8  0  0000 0x0000  FORCE 0 5 5 8  0  0000 0x0000  FORCE 0 5 6 8  0  0000 0x0000  FORCE 0 5 7 8  FORCE 1 7    ON OFF    0x0000 0x0000  FORCE I 7 0    FORCE I 8    ON OFF 5  0  0000 0x0000  FORCE 1 8 0 8       5 43    Creating an ASCII Documentation File    6 Creating an ASCII Documentation  File    This chapter shows you how to create your own ASCII documentation file  You can  use these documentation files with the import
15.   indexed direct 0 1 5                none  indirect  indexed indirect   N  F  A  ST  M          Compute destination direct  indexed direct 0 1 5                none  indirect  indexed indirect        F  A  ST  M  expression  lt expression gt   CTD Count Down counter direct C none  preset  32 768 32 767  accum  82 768 32 767  CTU Count Up counter direct C none  preset  82 768 32 767  accum  32 768 32 767  DCD Decode 4 to 1 of 16 source direct  indexed direct 0 1 5 8             none  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect   N  A  ST  M  DDV Double Divide source direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect   N  A  ST  M  DEG   Radians to Degrees source direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect        F  A  ST  M                         Supported only by SLC 5 03 08302 and SLC 5 04 08401 processors     A 7    APS Import Export Utility User Manual                                                    Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  DIV Divide source A direct  indexed direct O  1  S  B  T C  R     32 768 32 767  indirect  indexed indi
16.  5 A explains  the location of each keyword in the ASCII archive file     Table 5 A    Defining Keywords    This Keyword  START    Precedes  the start of an ASCII file        RACK    the definition of an expansion chassis   does not apply to MicroLogix  1000 controllers        SLOT    the definition of an 10 module   does not apply to MicroLogix 1000  controllers     These keywords are used in conjunction with SLOT   SLC 5 02  SLC 5 03  and SLC 5 04 processors only     e SCAN      Number of scanned inputs    e SCAN OUT Number of scanned outputs    e M1 SIZE Number of M1 data file words    e MO SIZE Number of MO data file words    e ISR Interrupt service routine file number   e G FILE Data for G file        DATA    the definition of a data table file        PROJECT    the project name and ladder filenames        LADDER    the definition of a ladder file        FORCE    the definition of a force table        CHAN CONFIG    the definition of a channel configuration file   SLC 5 03 and SLC 5 04  processors only        INPUT FILTERS    the definition of an input filter file   MicroLogix 1000 controllers only        MULTIPOINT       the definition of an 1    list   SLC 5 03 08302  SLC 5 04 08401  and  MicroLogix 1000 controllers only        The SLC 5 03 and SLC 5 04 processors have three keywords that indicate that a file  is protected  See table 5 B     5 2    Table 5 8    Defining Keywords for SLC 5 03 and SLC 5 04 Processors    This Keyword    PROTECT DATA    Creating an ASCII A
17.  7  C5 0 IN Underflow interrupt  MicroLogix 1000 controller HSC only  6  C5 0 IH Hi preset interrupt  MicroLogix 1000 controller HSC only  5  C5 0 IL Lo preset interrupt  MicroLogix 1000 controller HSC only  4    5 0      User interrupt pending  MicroLogix 1000 controller HSC only  3  C5 0 LS User interrupt is lost  MicroLogix 1000 controller HSC only  2  C5 0 IE Interrupt enable  MicroLogix 1000 controller HSC only  1             5 24    Creating an ASCII Archive File                         Table 5 U   Control Bits for Control Files Defined by the Word CTL     BitAddress   Bit Name Bit Number  R6 0 EN Enable 15  R6 0 EU Enable Unload  or  Queued 14  R6 0 DN Done  or  Asynchronous Done  13  R6 0 EM Empty  or  Synchronous Done  12  R6 0 ER Error 11  R6 0 UL Unload 10  R6 0 IN Inhibit  or  Running    09  R6 0 FD Found 08                When CTL is used with an ASCII instruction     Entering the Project Name and Program File List    The project name format consists of the keyword    PROJECT     project name   program file number and program filename  For example     PROJECT            2  POWERUP             70 x Program Filename    Project Name Program File Number       Keyword    Use up to eight alphanumeric  underscore  or IBM    extended characters  in any  combination  to specify the project name  If the project name does not match the  filename of the archive file  or if the project name is left blank  the import utility  uses the name of the archive file     The list of p
18.  A  ST  M f min f max  input max  direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  scaled min  direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  scaled max  direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  scaled output direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M                      A 16      Supported only      SLC 5 03 05302 and SLC 5 04 08401 processors        Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors and MicroLogix 1000 controllers     Programming Instruction References                                        Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  SIN  Sine source direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect   N  F  A  ST  M  500                                   file indexed direct 0 1  S  B  N  A  ST   none  indexed indirect  mask direct  indexed direct    O  I  S  B  T  C         32 768 32 767  indirect  indexed indirect   N  A  ST  M  source direct  indexed direct    O  I  S  B  T  C  R    none  indirect  indexed indirect   N  A  ST  M  control direct R none  length 1 255  position 0 25
19.  Addressing Valid File Types Immediate  Mode s  Values  MUL Multiply source A direct  indexed direct O  l  S  B  T C  R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  source B direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5      T C  R    none  indirect  indexed indirect   N  F  A  ST  M  MVM Masked Move source direct  indexed direct O  I  S      T C  R    none  indirect  indexed indirect   N  A  ST  M  source mask direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  A  ST  M  NEG Negate source direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M  destination direct  indexed direct 0 1 5  B  T C        none  indirect  indexed indirect   N  F  A  ST  M  NEQ Not Equal To source    direct  indexed direct 0 1 5      T C  R    none  indirect  indexed indirect   N  F  A  ST  M  source B direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  NOT Logical NOT source direct  indexed direct O  I  S      T C  R    none  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  A  ST  M  OR Logical OR source    direct  indexed dire
20.  Exporting APS Documentation  Archive Files                                Configuring the Export Utility    nnns  Selecting Export Options                                                           Selecting Export Address Types                                                   nenn nnnt  Exporting APS Files                                                                  Examining the Results of the                                                                 Creating an ASCII Archive File                                                                         Explaining Keywords  Operands                                                                       Specifying ASCII Archive Files     Protecting Archive Files  SLC 5 03 and SLC 5 04 Processors                          Examining ASCII Archive Files                       essen    Creating an ASCII Documentation File                                           Creating an ASCII Documentation File                         sssseeenee  Example ASCII Documentation File       Programming Instruction                                                                 alid Addressing Modes and File                                                                         U  1                                                                            Q mph  AD              w GO                   A  1    bes             gt            T       oo  PPP                                          gt             Preface    Preface    Read this
21.  Power    1747 L40A 24 120V ac 16 Relay 120 240V ac  1747 L40B 24 120V ac 16 Triac 120 240V ac  1747 L40C 24 dc Sink 16 Relay 120 240V ac  1747 L40E 24 dc Sink 16 Transistor 120 240V ac  1747 L40F 24 dc Sink 16 Relay 24   dc  1747 L40L 24 dc Source 16 Transistor 120 240V ac  1747 L40P 24 240V ac 16 Triac 120 240V ac   Table 5 1   Modular Processors              Type    1747 L511 SLC 5 01 1K User Memory  1747 L514 SLC 5 01 4K User Memory  1747 L524 SLC 5 02 4K User Memory  1747 L532 SLC 5 03 05300 12K User Memory  1747 1532 SLC 5 03 05301 12K User Memory  1747 L532 SLC 5 03 05302 12K User Memory  1747 L541 SLC 5 04 05401 12K User Memory  1747 1542 SLC 5 04 05400 20K User Memory  1747 1542 SLC 5 04 05401 28K User Memory  1747 1543 51  5 04 08401 60K User Memory          5 9    APS Import Export Utility User Manual                            Table 5 J  MicroLogix 1000 Controllers  Controller        1  Catalog Number  Inputs  Outputs  Line Power   1761 L16AWA 10 pt  ac 6 Relay 120 240V ac  1761 L32AWA 20 pt  ac 12 Relay 120 240V ac  1761 L16BWA 10 pt  ac 6 Relay 120 240V ac  1761 L32BWA 20 pt  ac 12 Relay 120 240V ac  1761 L16BWB 10 pt  dc 6 Relay 120 240V ac  1761 L32BWB 20 pt  dc 12 Relay 120 240V ac  4 FET and  1761 L16BBB 10 pt  dc 2 Relay 120 240V ac  1761 L32BBB 20 pt  de 10        und 120 240V       2 Relay  1761 L32AAA 20 pt  ac 10  Tric and 120 240V ac  2 Relay                5 10    Creating an ASCII Archive File    Configuring the Chassis  Does Not Apply to MicroLogix 
22.  TTL  SINK  5V dc 1746 OG16  4 output  RLY  240V ac 1746 OW4  8 output  RLY  240V ac 1746 OW8  16 output  RLY  240V ac 1746 OW16  2 input 100 120V ac 2 Output  RLY  1746 104  4 input 100 120V ac 4 Output  RLY  1746 108  6 input 100 120V       4    6 Output  RLY  1746 1012  Node Adaptor Module  1 4 Chassis  1747 DCM 1 4  Node Adaptor Module  1 2 Chassis  1747 DCM 1 2  Node Adaptor Module  3 4 Chassis  1747 DCM 3 4  Node Adaptor Module  Full Chassis  1747 DCM FULL  4 Channel Analog Input 1746 NI4  Analog Combination 2 In  amp  2 Current Out 1746       4            Table 5 M continues on to the next page     Table 5       Available Modules for SLC 500  continued     Description of Available Modules     Creating an ASCII Archive File    Catalog Number                       Fast Analog Combination 2 In  amp  2 Current Out 1746 FIO4I  Analog Combination 2 In  amp  2 Voltage Out 1746 NIO4V  Fast Analog Combination 2 In  amp  2 Voltage Out 1746 FIO4V  4 Channel Analog Current Output 1746 NO4I  4 Channel Analog Voltage Output 1746 NO4V  Single Axis Motion Controller 1747 HS  Remote 1 0 Scanner 1747 SN       Distributed 1 0 Scanner  7 blocks     1747 DSN 7BLK       Distributed I O Scanner  30 blocks     1747 DSN 30BLK       High Speed Counter Encoder Module    1746 HSCE                                                                      BASIC Module  SLC 5 01  1746 BAS 5 01  BASIC Module  SLC 5 02  1746 BAS 5 02  16 input 24V ac dc 1746 IN16  8 Output Isolated Relay V ac dc 1746     8
23.  Then   import ASCII archive  amp  documentation files  F7    IMPORT SLC  amp  TXT  import an ASCII archive file only  F8    IMPORT SLC  import an ASCII documentation file only  F9    IMPORT TXT  return to the main menu display  ESC           Importing ASCII Documentation Archive Files    Note If the processor type is incorrect you are immediately prompted     Processor type  missing or incorrect in  SLC file  Configure I O   You can         press  F8  Yes to reconfigure I O       press  F10  No to allow the import to continue  An archive file will not be  created      To correct the I O configuration  refer to the Advanced Programming Software  User Manual   APSIE uses the same I O configuration function as APS      Once the import process starts  the following screen is displayed     Rockwell Software Incorporated      9323 Series Software  Display Area        3      SLC 500 IMPORT EXPORT SOFTWARE       Source  FILE1 Utility  Import Documentation  Destin  FILE1 Status  Importing Archive File  Phase  Line 5    Import Status Area      3  These areas provide BEGIN ASCII ARCHIVE IMPORT    continually updated ASCII ARCHIVE FILE OPTIONS   status information  on the performance    IGNORE SLC ARCHIVE ERRORS        of the import  RES      abort the import by pressing  Control     C   The information in the bottom window of the import status area provides the same  information that is stored in a log file  When the import is complete  you have the  option of viewing the log file or r
24.  address  id   amp     oe    H    00000043 00000000 00000021 00170000    Defining Timers  Counters  and Control Data Files    Enter Timer  T  and Counter  C  data in the following order  CTL  PRE  and ACC   For example     DATA   4 0 0      000 100 0       5 23    APS Import Export Utility User Manual    Notice in the preceding example that                    indicates that control bits EN  TT  and DN are set to one     Enter the contRol  R  data values in the following order  CTL  LEN and POS  The  import utility does not prevent undefined control bits from being set  Providing data  for undefined control bits does not affect a program     The control word  CTL  defines the control bits for timers  T   counters  C  and  control  R  file  See tables 5 S      and U                    Table 5 S  Control Bits for Timers Defined by the Word CTL  Bit Address Bit Name Bit Number  T4 0 EN Enable 15  T4 0 TT Timing 14  T4 0 DN Done 13  Table 5 T    Control Bits for Counters Defined by the Word CTL    Bit Address Bit Name Bit Number                                              C5 0 CU Counter up enable 15  C5 0 CD Counter down enable 14  C5 0 DN Done  accumulator  gt  x preset value 13  C5 0 0V Overflow 12  C5 0 UN Underflow 11  C5 0 UA Update accumulator  HSC only  10    5 0      Accumulator   hi preset  MicroLogix 1000 controller HSC only  9   C5 0 LP Accumulator  lt  lo preset  MicroLogix 1000 controller HSC only  8   C5 0 IV Overflow interrupt  MicroLogix 1000 controller HSC only 
25.  and SLC 5 04   channel 1  SLC 0 no  1 yes  5 03 and SLC 5 04   RES Timer Counter Reset structure direct T C R none  RET Return none  RPI  Reset Pending Interrupt   slots double hex word                    list of slots           Supported only by SLC 5 03 08302 and SLC 5 04 08401 processors      Supported only by MicroLogix 1000 controllers        Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors     A 15    APS Import Export Utility User Manual                                                 Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  RTO Retentive Timer On timer direct T none  time base 0 01 only   SLC 5 01   time base 0 01 or 1 00   SLC 5 02  SLC  5 03  SLC 5 04   MicroLogix 1000  controllers   preset 0 32 767  accum 0 32 767  SBR Subroutine none  sciL  Scale source direct  indexed direct O  I  S  B  L  GR    none  indirect  indexed indirect   N  A  ST  M  rate direct  indexed direct O  l  S  B               32 768 32 767  indirect  indexed indirect        A  ST      offset direct  indexed direct 0 1 5 8                32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect   N  A  ST  M  scp   Scale with Parameters   input direct  indexed direct 0 1  S  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M  input min  direct  indexed direct O  l  S  B  T C  R     32 768 32 767  indirect  indexed indirect   N  F 
26.  data  one word of  force on data and one word of force off data  Force data tables start with the force  on word  followed by the corresponding force off word  Initialize the force data  tables one slot at a time     In the following example  the force address    FORCE L4  initializes the first three  words of input force data for slot four  forcing bits I 4 0 0 and    4 1 4 off  while  forcing bits I 4 2 0 and 1 4 2 1 on   This example assumes that you configured three  or more words of input for slot four      5 29    APS Import Export Utility User Manual       FORCE 1 4   5      5 5 OFF 5  5 1 4 0 8 0  0000 0  0001  5 1 4 1   0  0000 0  0010  5 1 4 2 8 0  0003 0  0000    In this example  the force address                    7 4    skips over the first four words  of slot seven and forces bit O 7 4 0 off and bit O 7 5 8 on        FORCE    0 7 4     ON     OFF    5 0 7 4   0  0000 0  0001  5 0 7 5 5 0  0100 0  0000    Specifying the Channel Configuration Data List   SLC 5 03 and SLC 5 04 Processors Only     The required format for specifying the channel configuration data list consists of the  keyword    CHAN_CONFIG    and a channel configuration file type  For example     CHAN CONFIG GEN       xS    Keyword Channel Configuration Type       You can also specify a value list  which contains the channel configuration  information for the specified channel configuration file  If you leave the list empty   APSIE initializes a default channel configuration file     Note While th
27.  destination file  F4    ENTER DESTIN   or with DESTIN blank  press  ENTER   to use the same file name as SOURCE   change the various options  that control how the export  F5    ET see the next section  Selecting Options   process works  export APS archive and  F7    EXPORT ACH  amp          documentation files DOC see the section  Exporting APS Files   export an APS archive file    F8    EXPORT ACH see the section  Exporting APS Files                       5    F9    EXPORTDOC _   see the section  Exporting APS Files   documentation file  discard any changes made any changes made during the session  during the session  ESC  are discarded and the previous display is    returned        4 3    APS Import Export Utility User Manual    Selecting Export Options    Note    After selecting  F5    SELECT OPTIONS from the main export menu  the  import export utility displays the Export Options window     EXPORT OPTIONS    ARCHIVE FILE OPTIONS    Fl Annotate ASCII Archive File    PROGRAM DOCUMENTATION FILE OPTIONS  F3 Sort Order   F4 Keyword Option   F5 Symbols   F6 Address Comments   F7 Instruction Comments   F8 Rung Comments    F10 Select Address Types    F9 Save Configuration       ESC exits ALT U aborts changes    Press a Function Key    This screen offers you options for configuring the export of both APS archive and  documentation files  The function keys for this particular screen  with the exception  of  F9    SAVE CONFIG  toggle through all the possible values for a given opti
28.  direct C none                         Supported only by MicroLogix 1000 controllers      Supported only by L20  L30  and L40 processors with DC inputs     A 9    APS Import Export Utility User Manual                                              Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  HSL   HSC Load counter direct C none  source direct B and N none  length always 5        1 0 Interrupt Disable   slots double hex word   list of slots         I O Interrupt Enable slots double hex word   list of slots        Immediate Input with slot direct             Mask  mask direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  A  ST  M  length 1 32   SLC 5 03 and  SLC 5 04   INT I O Interrupt none  10   Immediate Output with   slot direct 0           Mask  mask direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  A  ST  M  length 1 32   SLC 5 03 and  SLC 5 04   JMP Jump label number 0 999  JSR Jump to Subroutine subroutine file 3 255  number  LBL Label Declaration label number 0 999                      A 10    S Supported only by MicroLogix 1000 controllers       Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors and MicroLogix 1000 controllers      Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors     Programming Instruction References                                                    Instruction Description Parameter Valid Addressing Valid F
29.  modular style hardware it is 30  Determine  the number of configurable slots by the number and types of chassis used  See  figure 5 1     Figure 5 1  Determining the Slot Number of a 10 Slot Chassis  1747   10                                                                       VU 9    SLC 500 Processor   Slot Number 0     To complete the I O slot configuration  use one of the three formats specified in  table 5 L  See table 5 P for examples of the I O slot configuration formats              Table 5 P  Example I O Slot Configuration Formats  Format  Example of Format   1 SLOT 1 1746 IM8     SLOT 2 15535 SCAN IN 0 SCAN OUT 10 M1 SIZE 400 MO SIZE  800 ISR 6 G_FILE 5 0x0000 0x0010 Oxfff 0x2383 0  7823  3 SLOT 3 15900325 SCAN IN 12 SCAN OUT2ISR5       5 17    APS Import Export Utility User Manual    Configuring the Data Table Lists    The data table lists define the SLC 500 data table  There are two ways that  addresses are defined  You can     9 let the import utility define the file type and largest address when the data table  is empty  OR     enter the data table and describe each data file  This section will help you    accomplish this task     The data table is the list of data files that the processor uses  The data file format  consists of the keyword DATA and a logical address or logical file  Logical  addresses and files may also be entered with a value list     Creating an ASCII Archive File    Defining the Logical Address    The logical address consists of the file 
30.  preface to familiarize yourself with the rest of the manual  This preface  covers the following topics     9 who should use this manual  9 the purpose of this manual  9 terms and abbreviations used      conventions used in this manual    APS Import Export Utility User Manual    Who Should Use this Manual    Use this manual if you are responsible for designing  installing  programming  or  troubleshooting control systems that use Allen Bradley small logic controllers     You should have a basic understanding of SLC 500    products  If you do not   contact your local Allen Bradley representative for the proper training before using    this product     We recommend reviewing the APS Quick Start for New Users before using the    software     Purpose of this Manual    This manual is a reference guide for the APS Import Export utility  It describes the  procedures you use to convert APS archive files and program documentation into  ASCII text files  and vice versa     Contents of this Manual    P 2                         Chapter Title Contents  Describes the purpose  background  and scope of  Preface this manual  Also specifies the audience for whom  this manual is intended   1 Introducing the APS Introduces you to the APS Import Export utility and  Import Export Utility shows you how to start it   2 Configuring the APS Guides you through the configuration of the APS  Import Export Utility Import Export utility   3 Importing ASCII Guides you through the configuration of the impor
31.  symbol is a 10 character name associated with an address  IBM extended  characters can be used as part of symbols     You start a symbol with a letter from A to Z  To complete the symbol  you can use  any combination of ASCII characters except 0x00 through Ox2F and 0x3A through  Ox3F     The following are examples of symbols     ASCII Address Symbols    ASCII Instruction Addresses    Keywords    SYM O 3 1 8 UPLOAD  SYM 0 5 2 3            LINE  SYM 1 1 1 8 PALLET                      6 6    Creating an ASCII Documentation File    Annotating ASCII Documentation Files    You can add comments anywhere in the ASCII documentation file  To add a single  line comment  place the comment after an exclamation mark      In this case  the  import utility ignores all text after the exclamation mark on that line     You may also enter comments in the ASCII documentation file by inserting the  comment between two percent signs   Tabs  carriage returns or spaces before and    after the percent signs are optional   For example  5 This is a comment     You may include one or more carriage returns in a comment     Enter comments on a single line or several lines by themselves  or directly following     complete ASCII command  If the import utility encounters a comment character     or    between quotation marks  or a rung instruction address comment  it  considers the comment character as part of the rung instruction address comment     The following example shows you how the import utility dis
32.  to six lines long  80 characters each   which  provides notes or remarks for an output instruction address pair  Rung comments  help identify rungs  The following rules apply to rung comments        Rung comments should follow the instruction address pair on the same line   Start rung comments with opening quotation marks  7  followed by a carriage  return and end with closing quotation marks  7         Ifyou want a carriage return to appear in the comment  use a back slash  V     Note that this back slash is considered a character in the 80   character limit        Ifyou enter a quotation mark in the middle of a rung comment  use two  adjacent quotation marks  The initial and ending quotation marks are not  included in the comment   One of the quotation mark is considered part of the  80   character limit           If you enter a back slash in a rung comment  precede the back slash with a tilde          The following are example rung comments     ASCII Instruction Addresses    ASCII Programming Instructions ASCII Rung Comment  Keyword  RC OTE N7 10 0   carriage return     This is an example of a rung comment with quotation  marks and carriage returns at the beginning and end   This comment is three lines long         RC JMP 2 LBL5   carriage return    And here is an example of     andN a back slash  use the    to print a back slash  without a comment     IPDS  ATTACH  SLC500  This comment is four lines  long      APS Import Export Utility User Manual    Placing Symbols    A
33.  utility  This chapter consists of the  following sections       creating ASCII documentation files      examples of ASCII documentation files    6 1    APS Import Export Utility User Manual  Creating an ASCII Documentation File    When creating an ASCII documentation file  follow these guidelines        To create the file  use a text editor that produces only printable ASCII  characters  with no control or hidden characters       Do not use graphics characters  IBM extended characters can be used within  comment strings and as part of symbols     The ASCII documentation file may contain one or more of the following     9 address comments    instruction comments    rung comments      symbols    You can group statements together by keyword  or begin each statement with a  keyword  The following example shows an ASCII file using grouped statements   Notice that all symbols group together after you enter the keyword    5         The  address comments follow the keyword             You can have the keyword appear  multiple times in a file                       SYM  Ovl2439 UPLOADED  0 2 1 11 EMPTY_LITE  0 10 2 4 NOZ FILL  AC  0 11 1 6    comment   6     029 075    Temporary Storage Point     1 3 0 10    Conveyor Running     Note You must enter the keyword on a line by itself in order for the import utility to    recognize that you are grouping statements     6 2    Creating an ASCII Documentation File    The example below shows an ASCII documentation file with a keyword for each 
34. 0006  0  0007 0  0008 0x0009 0x000A 0x000B 0x000C    Specifying the Adjustable Input Filters List   MicroLogix 1000 Controllers Only     The format for specifying the input filters list consists of a keyword  INPUT_FILTERS and a value list  For example     INPUT_FILTERS 123    1    Keyword Value List       The value list represents the maximum on delay for the filters in ms  as shown in  table 5 Z     Creating an ASCII Archive File    Table 5 2  Value List Options    Maximum on Delay  for Filters  ms     075  5    Value List                                        41 OD  on          pe     o       pm         25       If you do not use the keyword INPUT_FILTERS  or if you leave the value list  empty  APSIE initializes a default input filter setting     The following are valid input filter formats     e EMPTY    The example below generates a default that sets all filters to 8 ms            INPUT FILTERS EMPTY    The example below generates a default that sets all filters to 8 ms                  FILTERS              FILTERS value list    The example below sets the filters to  5 ms  1 ms  2 ms      INPUT FILTERS 1 2 3    5 33    APS Import Export Utility User Manual    Specifying the Multi Point I O List    In the APS Import Export Utility  the multi point I O list has been added to the  ASCII archive file for use with the SLC 5 03 OS302 and SLC 5 04 OS401  processors  and MicroLogix 1000 controllers     The format for specifying the multi point I O list consists of a keyword  MU
35. 1000 Controllers   The chassis configuration format consists of the keyword    RACK     the chassis    number and catalog number  Use this format for each expansion chassis that you  have  For example     RACK 1 1746   4           Keyword Chassis Number Catalog Number       Specifying the Chassis Number    The chassis number is the location of the expansion chassis in the I O configuration   An SLC 500 modular processor can use up to three chassis  The chassis containing  the processor is always chassis number 1  If you have more than one chassis   number the chassis that follow number 2 and number 3  The chassis numbers must  be specified in order  that is  specify chassis 1 before specifying chassis 2   3 is the  largest valid chassis number for modular style hardware      SLC 500 Modular Controller    Chassis Number 1 Chassis Number 2 Chassis Number 3                                                                                                                                                                                                   SLC 500 Processor    The SLC 500 fixed controller has only one chassis  Therefore  always enter 1 for  the chassis number when using    fixed processor with a 2 slot  1746   2  expansion    chassis     5 11    APS Import Export Utility User Manual    SLC 500 Fixed Controller    Chassis Number 1                                                         SLC 500 Processor    1746 A2    Specifying the Chassis Catalog Number    5 12    The ch
36. 5  saL   Sequencer Load file indexed direct O  I  S  B  N  A  ST   none  indexed indirect  source direct  indexed direct    O  I  S  B  T  C  R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  control direct R none  length 1 255  position 0 255                         Supported only by SLC 5 03 08302 and SLC 5 04 08401 processors        Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors and MicroLogix 1000 controllers        Indexed addressing is not allowed when using T  C  R  or M addresses     A 17    APS Import Export Utility User Manual                                                             Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  500 Sequencer Output file indexed direct 0 1  S      N  A  ST   none  indexed indirect  mask direct  indexed direct    O  I  S  B  T  C  R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direc    O  I  S  B  T  C        none  indirect  indexed indirect   N  A  ST  M  control direct R none  length 1 255  position 0 255  san  Square Root source direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5                  none  indirect  indexed indirect        F  A  ST      STD  Selectable Timed none  Interrupt Disable  STE  Selectable Timed none  Interrupt Enable  5169 Selectable Timed file direct  indexed direct 0 1 5              0
37. 8 to 1 1754944  10 38 or 0 0              5 3    APS Import Export Utility User Manual    Comments    5 4    You can add comments anywhere in the ASCII archive file when you create it     To add a single line comment  place the comment after an exclamation mark      In  this case  the import utility ignores all text from the exclamation mark to the end of  the line     You may also enter comments in the ASCII archive file by inserting the comment  between two percent signs   Tabs  carriage returns or spaces before and after the  percent signs are optional   For example    This is acomment    You may  include one or more carriage returns in a comment of this type     Enter comments on a single line or several lines by themselves  or directly following  a complete ASCII command  If the import utility encounters a comment character   96 or    between two quotation marks  77   it considers the comment character as  part of the quoted string     The following example shows you how comments may look in your import file   Notice that the comments used to document ASCII files only describe those files   The import utility does not store these comments in the database      This is an example of a single line comment   Project 1747 L511   1747 L511 IK Modular CPU    LADDER 2   SOR  Rung 0 of File 2   XIC B3 0 OTL B3 1 EOR   SOR XIC B3 1 TON T4 0 0 01 1000 0          Timer 0 8             Creating an ASCII Archive File    Specifying ASCII Archive Files    Note    When specifying an ASCI
38. Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  ARD  ASCII Read Characters   channel 0  destination direct ST none  control direct R none  string length 0 82  characters read 0 82        ASCII Read Line channel 0  destination direct ST none  control direct R none  string length 0 82  characters read 0 82           ASCII String Search source direct  indirect ST none  index direct  indexed direct 0 1 S B T C R    1 82  indirect  indexed indirect        A  ST  M  search direct  indirect ST none  result direct  indexed direct O  I  S              R    none  indirect  indexed indirect        A  ST      ASN  Arc Sine source direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct O  I  S  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M  ASR   ASCII String Compare   source A direct  indirect ST none  source B direct  indirect ST none          Arc Tangent source direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect   N  F  A  ST  M                         Supported only by SLC 5 03 08301  08302 and SLC 5 04 08400  08401 processors        Supported only by SLC 5 03 05302 and SLC 5 04 08401 processors     A 5    APS Import Export Utility User Manual                                                      
39. F9    SAVE CONG  preference file          APSIE saves the configuration to the  user preference file        The text in the window varies depending on the function key pressed  For example     below is the    APS Archive  Comments and Symbols    window     SLC 500 APS IMPORT EXPORT UTILITY    Rockwell Software Incorporated  Copyright 1989 1995  9323   PA2E    All Rights Reserved  SYSTEM CONFIGURATION    USER DIRECTORIES    F4 APS Archive  Comments and Symbols  C  IPDS ARCH SLC500    APS ARCHIVE  COMMENTS and SYMBOLS                                OVERWRITE       ipds arch s1lc500 this is a valid path       ESC exits ALT U aborts changes    APS Import Export Utility User Manual    2  Enter the directory pathname  Press  INSERT  to toggle between overwrite  and insert modes     Overwrite mode     writes over and destroys text that may already exist     Insert mode     writes new text without destroying the already existing text     3  Press either      ENTER  or  ESC    to save the drive and directory pathname and return to  the previous display     OR   ALT U    to discard any changes that were made and return to the previous    display     After you press  ENTER    ESC  or  ALT U   the user directories screen is  displayed  If you want to enter another user directory  return to the start of this  section  If you want to save your configuration  press  F9      2 6    Importing ASCII Documentation Archive Files    3 Importing ASCII Documentation   Archive Files    This chapter 
40. I archive file  be aware of the following guidelines        To create the file  use a text editor that produces only printable ASCII  characters  with no control or hidden characters       Do not use graphics characters     The ASCII archive file is made up of six sections for MicroLogix 1000 controllers   six sections for SLC 5 01 and SLC 5 02 processors  and seven sections for SLC 5 03  and SLC 5 04 processors  These sections are shown in table 5 D     Of these sections  you must arrange three of them  the program header  chassis  configuration  and module configuration  bold in table 5 D  in the order shown in  table 5 D  In general  you can enter the remaining sections in any order  beginning  with the data table section     The order in which you enter the program files section and the data table section is  important if your program files contain instructions that use data table files to store  control information   For example  the MSG instruction uses a data table file to  store information such as the node number  message length  and file number   For  such cases  see the table below     be careful not to overwrite       If you enter the after you enter the the existing      1 control information with new  data table section program files section date  tablasntornations  data table values with  program files section data table section instruction control  information              5 5    APS Import Export Utility User Manual    5 6    Table 5 D  ASCII Archive File    
41. LTIPOINT and a bit position  bit address  access flag  on description  and off  description  For example        MULTIPOINT  Keyword 0      1 1    pilot light on   pilot light off     Bit Position  Bit On Description  Address Off Description  Access  Flag    There are 0   15 bit positions for MicroLogix 1000 controllers  and 0   31 bit positions  for SLC 5 03 OS302 and SLC 5 04 OS401 processors  An error occurs if you       assign duplicate bit positions    specify more than 16 value pairs     usea bit address that is invalid for the selected controller      assign invalid state    If you do not use the keyword MULTIPOINT  or if you leave the value list empty   APSIE initializes a default list of null values     Creating an ASCII Archive File    The following are valid multi point I O formats        EMPTY    The example below generates a default list of null values       e MULTIPOINT  EMPTY    The example below generates a default list of null values      MULTIPOINT    e MULTIPOINT  value list    The example below shows two entries in the list  all other positions in the list  default to null values      MULTIPOINT  1 N7 2 12 0  on description       off description   3  C5 0 IH 1  on description       off description     5 35    APS Import Export Utility User Manual    Protecting Archive Files   SLC 5 03 and SLC 5 04 Processors Only     There are three types of file protection  data  ladder  and force     Data File Protection    To protect a data file  place the keyword entry 
42. MPLE2    This software is licensed EXAMPLE3  EXPORT FILES  amp  EXAMPLE4    EXAMPLES  SOURCE  EXAMPLE1    DESTIN  ABC       ESC exits    Press a Function Key or Enter File Name    2  See the table below to perform the export              If you want to  Press   export APS archive  amp   F7    EXPORT ACH  amp   documentation files DOC  export an APS archive file  F8    EXPORT ACH  only  export an APS   F9    EXPORT DOC  documentation file only  return to the main menu  ESC           APS Import Export Utility User Manual    After the export process begins the screen below is displayed     Rockwell Software Incorporated  9323 Series Software  Display Area     3    SLC 500 IMPORT EXPORT SOFTWARE       Source FILEl Utility  Export Archive File  Destin  FILEl Status  Exporting Archive File  Phase  Line 5    Export Status Areas     3    These areas provide BEGIN APS ARCHIVE EXPORT  continually updated ARCHIVE EXPORT OPTIONS  status information on the  performance of  the export     ANNOTATE ASCII ARCHIVE FILE        The information in the bottom window of the export status area provides the same  information that is stored in the log file  When the export is complete  you have the  option of either viewing the log file or returning to the previous screen     Examining the Results of the Export    4 10    The log file provides the results of the export  It lists any errors that the utility  encountered during the export process  For each error  it identifies the type of error  and th
43. SCII Archive File    File 4  Rung 0    ADD    Source A       Rung 1       Rung 2    JEND    5 41    APS Import Export Utility User Manual       ASCII Archive File      PROCESSOR CONFIGURATION INFORMATION    START 1747 L511   1747 L511 5 01 CPU   1K USER MEMORY        PROCESSOR CHASSIS CONFIGURATION INFORMATION    RACK 1 1746 A10   10 Slot Backplane        SLOT CONFIGURATION INFORMATION    SLOT 2 1746   1041    Combo Analog 2 in 2 Out Current      e    SLOT 3 1746 IA16   16 pt  120 VAC Input    SLOT 5 1747 DCM FULL   Full Chassis DCM    SLOT 7 2323   SLOT 8 1746 IA16   16 pt  120 VAC Input        DATA TABLE INFORMATION      DATA 0 02    0 2 0   0x0000 0x0000    DATA 0 05    0 5 0   0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x000  0    DATA 0 07    0 7 0 8 0x000    DATA I 02    I 2 0   0x0000 0x0000    DATA I 03    I 3 0   0x000    DATA I 05    1 5 0   0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x000  0    DATA I 07    I 7 0   0x000    DATA I 08    1 8 0   0x00    DATA S 0  0 i 0 2560 0 0 0 0  0 0 0  1 zl 0 0 1025    DATA B3   B3 00  B3 08  B3 16  B3 24  B3 32  B3 40  B3 48  B3 56         de de op de de  o  o    e    de de oe oe oe de de oe                                                          oooooooo  oooooooo  oooooooo  oooooooo  oooooooo    e    DATA N7     N7 0   0 0 0 0    o  o       5 42    Creating an ASCII Archive File         PROJECT AND LADDER FILENAMES      PROJECT EXAMPLE2 2    MAIN_PROG    4    SUBR_4       5 Ladder File Information      LADDER 2  
44. TXT Documentation Errors YES    DESTIN    F9 Save Configuration       ESC e ESC exits ALT U aborts changes    Press a Function Key    This screen offers you options for configuring the import of both ASCII archive and  documentation files  The function keys for this screen  with the exception of  F9       SAVE CONFIG  toggle through all the possible values for a given option     For example  the    Ignore TXT Documentation Errors  option  Function key  F7       IGN TXT ERRORS toggles between the values    yes    and    no     which are the only  possible values for this option     Note APSIE can import online edit INSERT  REPLACE  and DELETE rungs  You can  only create these rungs with an SLC 5 03 or SLC 5 04 processor  For more details  on the use of these rungs  see the Advanced Programming Software User Manual     Select import options from table 3 B        Importing ASCII Documentation Archive Files                                                    Table 3 B  Selecting Import Options    Myouwantto    Toggle  Until the status is   UNE Ouwa PA  ignore any errors detected  during the archive import YES  process          IGN SLC  abort the archive import ERRORS  process when any errors NO   are detected  ignore any duplicate or  conflicting entries in the     imported ASCII DISCARD  documentation file        F5    ON COLLISION  overwrite any duplicate or  conflicting entries in the  imported ASCII OVERWRITE  documentation file  choose the keyword that the SYMBOL    Acne dn u
45. alue List    DATAN 75123456    If you leave the value list empty  the import utility creates the data table specified by  the logical address  The import utility then initializes the data file with zeros  For  example  the data file             N10 5  would create data table N10 and allocate six  words of data with zeros for data values     The import utility adjusts the size of the data table to fit all data table values  You  can enter initial data values using binary  decimal  hex  or octal format   Enter  formats in upper or lower case letters      Creating an ASCII Archive File    Important Notes on Data Table Files    Read these notes before entering the data table files     Input and output data tables are initialized one slot at a time  Therefore  the I O  configuration  not the value list  determines the data table size for output and  input files     The data table files of a MicroLogix 1000 controller are fixed in type and size   You can use the value list only to initialize or alter the data values of a  MicroLogix 1000 controller     You cannot provide initializing data for MO and M1 files     The processor type determines the size of the Status file  S2   The fixed  controllers and SLC 5 01 processors have 16 elements  the SLC 5 02 processors  and MicroLogix 1000 controllers have 33 elements  the SLC 5 03 processors  have 83 elements  the SLC 5 04 OS400 processors have 87 elements  and the  SLC 5 04 OS401 processors have 164 elements  The value list does not alt
46. and     N7 556    Address0 1 2  N7 0       05 20    Address0 1 2  N7 0 0    Address0 1 2  N7 0 Is 2  73    Address0 1 2  N7 0 Te 2  3    Address0 1 2  N7 0    0 0    Creating an ASCII Archive File    Example Data Files    The following examples show initial data values in decimal  hex and octal formats   The comments between the percent signs     explain each of the formats     DATA N7 16  Initial Data Values in Decimal Format         The import utility allocates data elements N7 0 to N7 16  which are  initialized to zero if they do not exist     The import utility places 5249 into the data file at address N7 16    The import utility places 110 into the data file at address N7 31      oe    oe    5249 0 549 0 0 0 0 1 0 0   16 0 81 0 0 110    DATA N7 37  Initial Data Values in Hex Format      The import utility allocates data elements N7 0 to N7 37  which are  initialized to zero if they do not exist     The import utility places 0  1111 into the data file at address   7 0      The import utility places 0X2323 into the data file at address N7 31      oe    0  1111 0  0000 0x0000 0  0000 0Xx0000 0X0000 0  0000  0  0000  0X0000  0  0000 Ox0000 0x0000 0  0000 0  0000 0X0000 0x0000  0  0000  0X0000    DATA 1 1  Initial Data Values in Octal Format    o      Since four words of input are given  there are four words of input  configured for slot 1 5     The import utility places 00000043 into the data file at address  I 1 0     The import utility places 00170000 into the data file at
47. assis catalog number defines the type of expansion chassis  When you enter  the catalog number  do not use tabs or spaces between the numbers and letters     If you enter an invalid catalog or chassis number  the import utility ignores the  chassis configuration section of the ASCII archive file and displays an error  message  which is written to the log file  Table 5 K lists the catalog numbers for the  available chassis   The information concerning chassis description and type of    hardware style required is provided for reference only                  Table 5 K  Available Expansion Chassis  Type of Hardware  Catalog Number   Chassis Description  Style Required   Modular Fixed    1746 A2 2 slot Backplane Fixed  1746 A4 4 slot Backplane Modular  1746 A7 7 slot Backplane Modular  1746 A10 10 slot Backplane Modular  1746 A13 13 slot Backplane Modular             Creating an ASCII Archive File    Configuring the I O Slots  Does Not Apply to MicroLogix 1000 Controllers     There are three formats that you can use to define the I O slot configuration  The  format that you use depends on your module  See table 5 L     Table 5 L    Determining which I O Slot Format to Use    If your module     is listed in Table 5 M    Use the following 1 0 Slot Format   Core Elements       Format 1   SLOT Slot number Catalog number       is not included in Table 5 M  and the module ID number is  not 63xx  95xx  127xx  159xx   199xx  223xx  or 255xx     Formal 2   SLOT Slot number Module ID       
48. at the end of the data file  For  example     PROTECT DATA   7 STATIC    Ld  p RD M    Keyword Logical File Protection Type       Note Default data file protection is  output file   STATIC  all other files   unprotected     The following are example data file protection entries        The example below causes data file      to be CONSTANT protected     PROTECT DATA B3 CONSTANT              example below causes data file N7 to be STATIC protected     PROTECT DATA N7 STATIC       Theexample below causes data file N7 to be MEMory MODule protected     PROTECT DATA N7 MEM MOD    Creating an ASCII Archive File    Ladder File Protection    To protect a ladder file  place the keyword entry at the end of the ladder file  Also   you cannot set file protection in a program that has edit zones from an online editing  session   The APS default for file protection is no program files protected   Use the  following format     PROTECT_LAD 3       Ax    Keyword File Number       The example above causes program file 3 to be protected     Force File Protection    Force files can be protected against changes by using the PROTECT FORCE  keyword  as shown here     PROTECT FORCE         Keyword       Note This keyword globally protects all force files     5 37    APS Import Export Utility User Manual  Examining ASCII Archive Files    This section provides you with two example programs  each shown as an ASCII  archive file and  for comparison  as an APS ladder program     Example Program  1    The 
49. contains an SLC  500 processor program     Documentation File     a file  stored on a disk and in binary format  that contains  rung  instruction  address comments and symbols     APS     Advanced Programming Software    APSIE     APS Import Export utility    ASCII     a group of alphanumeric characters that defines a line in an import file   RSI     Rockwell Software  Inc     SLC     small logic controller    Common Techniques Used in this Manual    P 4    The following conventions are used throughout this manual        Bulleted lists such as this one provide information  not procedural steps      Numbered lists provide sequential steps or hierarchical information       Italic type is used for emphasis    e Textinthis font indicates words or phrases you should type        Key names match the names shown and appear in bold  capital letters within  brackets  for example   ENTER    A function key icon matches the name of the      SAVE  amp   function key you should press  such as             F8    Introducing the APS Import Export Utility    1 Introducing the APS Import Export  Utility    This chapter provides     9 an overview of the APSIE utility  9 the system requirements     the APSIE display format     the APSIE menu display    This chapter also shows you how to       run the software      start the utility    APS Import Export Utility User Manual    APSIE Overview    The APS import export utility  APSIE  lets you convert        APS archive files and program documentation 
50. ct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  source B direct  indexed direct O  l  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5      T C        none  indirect  indexed indirect   N  A  ST  M  OSR One Shot Rising bit address direct  indirect 0 1 5  B  T C        none  N  A  ST                      Programming Instruction References                                                 Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  OTE Output Energize bit address direct  indirect O  I  S  B  L  GR    none  N  A  ST      OTL Output Latch bit address direct  indirect O  I  S  B  T C  R    none  N  A  ST  M  OTU Output Unlatch bit address direct  indirect 0 1 5  B  T C  R    none  N  A  ST  M  PID  PID control block direct N none  process variable direct  indirect O 1 B T C R N    none  A  control variable direct  indirect O 1 B  T C R N              A  control block length 23 always          HSC Reset counter direct C none  Accumulator  source direct  indirect 0 1 5                   32 768 32 767  N  A  ST     f min f max        Degrees to Ratians source direct  indexed direct 0 1 5 8              32 768 32 767  indirect  indexed indirect        F  A  ST  M f min f max  destination direct  indexed direct O  I  S                  none  indirect  indexed indirect        F  A  ST      REF  10 Refresh channel 0  SLC 0 no  1 yes  5 03
51. d  F8    EXPORT from the main menu  If not  see chapter 1  Introducing the  APS Import Export Utility     4 1    APS Import Export Utility User Manual  Configuring the Export Utility    After selecting  F8    EXPORT from the main menu  the import export utility  displays the main export screen     SLC 500 APS IMPORT EXPORT UTILITY       DIR Window   Contains the  names of all the  APS source files    that exist in the specified  EXAMPLE1    directory   EXAMPLE2  This software is licensed agains  1 EXPORT FILES 22  Export Files EXAMPLE4  Window   a        1 EXAMPLES  H SOURCE  EXAMPLE1  Contains the  names of the APS    source file and the  ASCII destination  file selected     ESC exits    Press a Function Key or Enter File Name       In the DIR window  notice the abbreviated words  ACH  and  DOC   ACH indicates that an APS archive file exists   DOC indicates that an APS program documentation file exists for a particular filename   The absence of one or the  other means that it does not exist      Select an export task to perform from table 4 A     4 2        Exporting APS Documentation Archive Files                               Table 4 A  Selecting an Export Task to Perform  If you want to  Press  Then   define a directory  Fi    DEFINE DIR see Chapter 2  Configuring the User  Directory   d SOURCE   F3    SELECT APSIE places the filename on the  ile the name of the file that SOURCE SOURCE line  the cursor is on    enter the name of the export enter the destination file name 
52. d Programming Software  APS   User Manual       A reference manual that contains status file data  and instruction set information for the SLC 500  processors and MicroLogix 1000 controllers     Instruction Set Reference Manual       An overview of the SLC 500 family of products    SLC 500 System Overview  Publication  Number 1747 2 30       A description on how to install and use your Fixed  SLC 500 programmable controller    Installation and Operation Manual for Fixed  Hardware Style Programmable Controllers   Catalog Number 1747     001       A description on how to install and use your  Modular SLC 500 programmable controller    Installation and Operation Manual for  Modular Hardware Style Programmable  Controllers  Publication Number 1747 6 2       A complete listing of current documentation   including ordering instructions  Also indicates  whether the documents are available on CD ROM  or in multi languages     Allen Bradley Publication Index  Publication  Number SD499       A glossary of industrial automation terms and  abbreviations       Allen Bradley Industrial Automation Glossary   Publication Number AG 7 1          3    APS Import Export Utility User Manual    Terms and Abbreviations    The following terms and abbreviations are specific to this product  For a complete  listing of Allen Bradley terminology  refer to the Allen Bradley Industrial  Automation Glossary  publication number AG 7 1     Archive File     a file  stored on a disk and in binary format  that 
53. d SLC 5 04 processors and MicroLogix 1000 controllers        Indexed addressing is not allowed when using T  C  R  or M addresses     APS Import Export Utility User Manual                                                          Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  LN   Natural Log source direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5  B  T C        none  indirect  indexed indirect   N  F  A  ST  M  Loc  Log to the Base 10 source direct  indexed direct 0 1 5            R     32 768 32 767  indirect  indexed indirect        F  A  ST     f min f max  destination direct  indexed direct O  I  S           R    none  indirect  indexed indirect   N  F  A  ST  M  MCR Master Control Relay none  MEQ Mask Compare Equal   source direct  indexed direct O  I  S  B  T  GR    none  To indirect  indexed indirect   N  A  ST  M  source mask direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  compare direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  MOV Move source direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5  B        R    none  indirect  indexed indirect   N  F  A  ST  M  MSG Message read write O read 1 write
54. describes how to     9 configure the import utility    import ASCII files    9 examine the results of the import    At this point we assume that you have installed the APS APSIE software and  selected  F7    IMPORT from the main menu  If not see chapter 1  Introducing the  APS Import Export Utility     3 1    APS Import Export Utility User Manual  Configuring the Import Utility    After selecting  F7    IMPORT from the main menu  the import screen is displayed     SLC 500 APS IMPORT EXPORT UTILITY                      Window  Rockwell Software 1              C  IPDS TEXT SLC500  ontains the names  of all the ASCII  source files that exist All R File Names  in the specified  directory   EXAMPLE1  EXAMPLE2  This software is licensed t  BATES  2 IMPORT FILES  Import Files             EXAMPLE4       ses AN SOURCE  EXAMPLE1 EXAMPLES  ofthe ASCII  source file and the  APS destination DESTIN DES  file selected     ESC exits    Press a Function Key or Enter File Name    e    In the DIR window  notice the abbreviated words    SLC    and    TXT     SLC indicates that an ASCII archive file exists   TXT indicates that an ASCII program documentation file exists for a particular filename   The absence of one or the  other means that it does not exist      Select an import task to perform from table 3 A     3 2    Importing ASCII Documentation Archive Files    Table 3 A  Selecting an Import Task to Perform    If you want to  Press  Then     DEFINE DIR see chapter 2  Configuring the APS    d
55. direct  indexed direct O  I  S      T C  R    none  indirect  indexed indirect   N  A  ST  M  xpy   X to the Power of Y source A direct  indexed direct O  1  S  B  T C  R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  source B direct  indexed direct O  l  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5      T C        none  indirect  indexed indirect   N  F  A  ST  M                Supported only by SLC 5 03 08302 and SLC 5 04 08401 processors     A 20          address  control bit  5 24   5 257     data file  5 22  5 2   data table  31  5 2  export address types  4 75 4   force table  5 2       logical  5 3775    multi point         slot  5 1  string file  9 1  symbols  6     address comments  45 63   addressing modes   T   adjustable input filters list  5347   annotating ASCII documentation files     17   APS archive files   ACH file extension  3   default archive path  3   definition  P   exporting  4   overview  147   APS files  documentation file   37   exporting   1   APS ladder program example  5 27  p 3  84004  CP  ASCII files  See also documentation file  ASCII archive file example  5 38 gt 5 4  ASCII program file example  5   creating archive file  511  exporting  4   importing  3   text file  4 1     ASCII text files  overview        bit address  5311  branching  5211    C    catalog numbers  SOPIE  channel configuration format  5307     chassis configura
56. e APSIE utility verifies that the driver  as encoded as the low byte of the  first word  is correct for the channel  it does not verify  range check  that the other  fields are correct     You can also set the channel configuration file to a default driver configuration  To  do this  use the default driver keyword entry     Channel Configuration File Types    Creating an ASCII Archive File    Table 5 Y defines the three file types that you can use as part of a channel  configuration data list              Table 5      File Types  Channel Owe File Definition  GEN General Configuration File  CHOSYS Channel 0 System Mode Configuration File  CH1SYS Channel 1 System Mode Configuration File  CHOUSER Channel 0 User Mode Configuration File          Default Drivers    The following are valid default driver entries     DH485  DFIHD  DFIFD  ASCII  SHUTDOWN           Channel Configuration Formats    The following are valid channel configuration formats     CHAN_CONFIG channel_config_file_type    The example below generates a default General Configuration File     CHAN_CONFIG GEN    5 31    APS Import Export Utility User Manual      CHAN CONFIG channel config file type default driver    The example below generates a default DH485  Channel 0 SYSTEM Mode  Configuration File     CHAN CONFIG CHOSYS DH485       CHAN CONFIG channel config file type value list  The example below generates a General Configuration File with a value list   CHAN CONFIG GEN    0  0001 0x0002 0x0003 0x0004 0  0005 0  
57. e holders and are hereby acknowledged     This Rockwell Software product is warranted in accord with the product license  The product s performance  will be affected by system configuration  the application being performed  operator control and other related  factors     The product s implementation may vary among users     This manual is as up to date as possible at the time of printing  however  the accompanying software may  have changed since that time  Rockwell Software reserves the right to change any information contained in  this manual or the software at anytime without prior notice     The instructions in this manual do not claim to cover all the details of variations in the equipment  procedure   or process described  not to provide directions for meeting every possible contingency during installation   operation  or maintenance     
58. e location where the error was encountered in the ASCII file   Illegal  Addresses  and  Illegal Comments  are two examples of errors that you may  encounter     The default location for the log file is  IPDS TEXT SLC500  The log filename  consists of the APSIE archive path  which you defined while configuring the export  utility using  F6  ASCII DIR  the destination file name which you defined in  the export utility using  F4  ENTER DESTIN  and the file extension            APSIE also allows you to verify that a new text file was created  The text filename  consists of the destination filename and the file extension  TXT     Creating an ASCII Archive File    5 Creating an ASCII Archive File    This chapter shows you how to create your own SLC 500 program in ASCII archive  file format  You can use these programs with the import utility  This chapter  consists of the following sections       explaining keywords  operands  and comments    specifying ASCII archive files    protecting archive files      examining ASCII archive files    So that you may better understand and see the relationship between APS and ASCII  programming languages  example APS ladder programs are included with the  example ASCII programs     5 1    APS Import Export Utility User Manual    Explaining Keywords  Operands  and Comments    Each section of the ASCII archive file usually consists of keywords  operands  and    comments     Keywords    Keywords include symbols and ladder instruction mnemonics  Table
59. efine a directory  F1    Import Export Utility        use as the import SOURCE  file the name of the file that  the cursor is on     F3    SELECT APSIE places the filename on the  SOURCE SOURCE line        enter the destination file name   F4    ENTER DESTIN   or with DESTIN blank  press  ENTER   to use the same file name as SOURCE     enter the name of the import  destination file       change the various options    that control how the import  F5    SELECT    see the next section  Selecting Options              process works OPTIONS   import ASCII archive and  F7    IMPORT SLC  amp      7  documentation files TXT see the section  Importing ASCII Files   import an ASCII archive file    F8    IMPORT SLC see the section  Importing ASCII Files   import an ASCII    documentation file  F9    IMPORT TXT see the section  Importing ASCII Files        discard any changes that  were made    APSIE discards any changes that were  made and returns the previous display           the  Esc  key       3 3    APS Import Export Utility User Manual    Selecting Import Options    After selecting  F5    SELECT OPTIONS from the main import menu  the  import export utility displays the Import Options window     SLC 500 APS IMPORT EXPORT UTILITY             Rockwell Software I C  IPDS TEXT SLC500    IMPORT OPTIONS    ASCII ARCHIVE FILE OPTIONS    F3 Ignore SLC Archive Errors NO    ASCII PROGRAM DOCUMENTATION FILE OPTIONS    F5 On Collisions DISCARD  IMPO  F6 Default Keyword SYMBOL  SOURCE F7 Ignore 
60. eginning of every  statement in the ASCII  documentation file       place keywords at the  beginning of groups with  similar statements        remove keywords from the  ASCII documentation file     F4    KEYWORD    OPTIONS    ALL           DEFAULT        NONE        export symbols       remove symbols from the  ASCII documentation file     F5    SYMBOLS    EXPORT        DO NOT EXPORT       export address comments       remove address comments  from the ASCII  documentation file      F6    ADDRESS    COMMENTS    EXPORT         DO NOT EXPORT       export instruction comments       remove instruction  comments from the ASCII  documentation file       INSTR  COMMENTS     F7       EXPORT           DO NOT EXPORT       4 5    APS Import Export Utility User Manual    If you want to   export rung comments    remove rung comments  from the ASCII  documentation file    save the configuration  permanently    Toggle    F8    RUNG   COMMENTS   F8    RUNG   COMMENTS     F9    SAVE CONFIG    Until the status is     EXPORT      DO NOT EXPORT    APSIE saves the configuration to the  user preference file        use this configuration for  this session only     ENTER        ESC     APSIE accepts any changes that were  made  Once APSIE is terminated  the  changes are discarded        discard any changes that  were made        ALT U        APSIE discards any changes that were  made and returns the previous display           Indicates the user preference default      You must specify    Sort by Key
61. en     SLC 500 APS IMPORT EXPORT UTILITY       Rockwell Software Incorporated  Copyright 1989 1995  9323   PAIR  SYSTEM CONFIGURATION  All Rights Reserved  Define Directories  Color Selection Monochrome      Save Configuration  This softwa    ESC exits ALT U aborts changes    Press a function key    From this menu you can do the following       choose color or monochrome screens    define user directories        savethe configuration    Table 2 A explains what to do for either task     2 2       Configuring the APS Import Export Utility    Table 2 A  Specifying User Directories or Choosing between Color and  Monochrome Screens                If you want to  Press  Then    specify the user directories  Fi    DEFINE DIR see the following section  Specifying the  User Directories    choose between color or toggle between COLOR and   monochrome displays    MONOCHROME     then press  F9       F3    COLOR SELECT SAVE CONFIG or  Esc  after making   your choice    save the configuration  F9    SAVE CONFIG APSIE saves the configuration to the   permanently user preference file           You must have a color adaptor card and color monitor to use the color selection      Indicates the user preference default     2 3    APS Import Export Utility User Manual    Specifying the User Directories    2 4    User Directories  Window    These are the  current directories  that the  import export utility reads    files from and writes files to     Below is the user directories screen  The direct
62. ence only  See tables 5 F  G  H  I  and J     If you use a fixed processor not specified in tables 5 F  G  or H  you must use the  processor name               1       undefined fixed controller with 1K of memory    The processor ID refers to the ID code specified in the user manual for your  processor     5 7    APS Import Export Utility User Manual    5 8    Table 5 F    20 I O Fixed Controller    Controller                                                             Catalog Number  Inputs  Outputs  Line Power   1747 L20A 12 120V ac 8 Relay 120 240V ac  1747 L20B 12 120V ac 8 Triac 120 240V ac  1747 L20C 12 dc Sink 8 Relay 120 240V ac  1747 L20D 12      Sink 8 Triac 120 240V ac  1747 L20E 12 dc Sink 8 Transistor 120 240V ac  1747 L20F 12 dc Sink 8 Relay 24V dc  1747 L20G 12 4   Sink 8 Transistor 24V de  1747 L20L 12 dc Source 8 Transistor 24V de  1747 L20N 12 dc Source 8 Transistor 24V dc  1747 L20P 12 240V ac 8 Triac 120 240V ac  1747 L20R 12 240V ac 8 Relay 120 240V ac   Table 5 G  30 I O Fixed Controllers   Pee Inputs  Outputs  Line Power   1747 L30A 18 120V ac 12 Relay 120 240V ac  1747 L30B 18 120V ac 12 Triac 120 240V ac  1747 L30C 18 dc Sink 12 Relay 120 240V ac  1747 L30D 18 40 Sink 12 Triac 120 240V ac  1747 L30L 18 4   Source 12 Transistor 120 240V ac  1747 L30P 18 240V ac 12 Triac 120 240V ac                Creating an ASCII Archive File                                                             Table 5 H  40 I O Fixed Controllers  C arta T Inputs  Outputs  Line
63. er  the data table size of the Status file  S2   There is no range checking done of  Status file values     You can enter a logical address to the element level only  The import utility  ignores subelement and bit addresses  See table 5 Q for an example of valid  and invalid logical addresses     Table 5 Q  Valid and Invalid Logical Addresses    Valid Logical Addresses  Invalid Logical Addresses   T4 10 T4 10 PRE       T4 0 T4 0 ACC 10          11 0 11 0 3 10       To define the data file  follow these steps     1     2     Enter the keyword DATA     Complete the data file using the data file formats shown in table 5 R     5 21    APS Import Export Utility User Manual    Data File Format     Table 5 R    Data File Formats and Examples    Examples of Data File    The Example Data File Entry    See the following                Entries  Creates  screen   DATA logical_address DATA N7 5 n7 0 5  initializes all to zero 1  DATA logical file DATA N7 n7 0    7 0   0 2  DATA Logical address Value list DATA N7 512345 n7 0 5  n7 0   1    7 1   2  etc  3  DATA Logical file Value list DATAN712345 n7 0 4  n7 0   1  n7 1   2  etc  4  DATA    Logical address Value list                 5 5 6   7 0 6  n7 0 4   0    7 5   5 6   6 5                5 22    The following screens show you how the APS data monitor displays the data file  examples in table 5 R     Screen 1    Command    7 5    Screen 2    Command  N7    Screen 3    Command  N7 512345    Screen 4    Command  N712345    Screen 5    Comm
64. eturning to the previous screen    Note You cannot download the program to a processor immediately  You must first load  the newly created APS archive file into APS and then save the file from the offline  editor     3 7    APS Import Export Utility User Manual    Examining the Results of the Import    3 8    The log file provides the results of the import  It lists any errors that the utility  encountered during the import process  For each error  it identifies the type of error  and the location where the error was encountered in the ASCII file   Illegal  Addresses  and  Illegal Comments  are two examples of errors that you may  encounter     The default location for the log file is  IPDS TEXT SLC500  The log filename  consists of the APSIE archive path  which you defined while configuring the import  utility using  F6  ASCII DIR  the destination file name which you defined in  the import utility using  F4  ENTER DESTIN  and the file extension  LOG     APSIE also allows you to verify that a new archive file was created  The default  location for the archive file is  IPDS ARCH SLCS500  The archive filename consists  of the destination filename and the file extension  ACH     Exporting APS Documentation Archive Files    4 Exporting APS Documentation   Archive Files    This chapter shows you how to     9 configure the export utility    export APS files       examine the results of the export    At this point we assume that you have installed the APS APSIE software and  selecte
65. following program example has two rungs  The first rung has a timer  instruction  the second a nested branch        APS Ladder Program  File 2  Rung 0  Fel Tal Tl  lt MO ERIS    EN  4 7 6  TIMER ON DELAY  Timer 4          1   5  Rung 1  TS 013  117     2 0  Rung2       SEQUENCER COMPARE            7 0       File          Mask         Source        Control        Length       Position    5 38    ASCII Archive File    START 1747 L524       RACK 1 1746 A4   SLOT 1 1746 IM8   SLOT 2 1746 NI4   SLOT 3 46 OA8   DATA 0 3   0  0001 8816 0 3 0 0 initialized to 1     DATA    T4 3  0    000 100 25   T4 3 CTL bits cleared  T4 3 PRE   100 T4 3 ACC   25 8    PROJECT    EX     LADDER 2   FILE 2    IRUNG 0  SOR BST XIC 1 1 4         XIO 1 1 5 BND         1 1 7 XIC 1 1 6 TON T4 3 1 0 200 10    EOR   RUNG 1  SOR        I 1 2 OTE O 3 0 EOR  FORCE I 1  FORCE 0 3   RUNG 2  SOR BST XIC B3 0 NXB  XIC B3 1  BST  XIO B3 2 BST  XIC B3 6 NXB  XIO B3 9 BND  XIO B3 7 NXB  XIC B3 3  XIC B3 4  XIC B3 8 BND  BND    SQC  N7 0 OxFFFF C5 0 ACC R6 0 10 20  EOR    Creating an ASCII Archive File          5 39    APS Import Export Utility User Manual    5 40    Example Program  2    This example provides you with a longer and more complex program  The key  feature of this program is its subroutine     Example program  2 in APS ladder format     APS Ladder Program  File 2  Rung 0    MASKED EQUAL    Source    NOT EQUAL JUMP TO SUBROUTINE    Source A 17  SBR file number       Rung 2    Rung 3    JEND    Creating an A
66. fter the import utility converts it from an  ASCII program file into an APS ladder program  Notice how the instructions and  structures in table 5 V correspond to the instructions in the ASCII program file and  the rung structures in the APS ladder program in figure 5 2     Creating an ASCII Archive File                         Table 5 V  The Branch Types of the Ladder Rung  Branch Type Notice this          Notice this same branch type in  Structure Mp  instruction in the Branch Type in APS ladder      defined in          the APS Ladder Program in  Types  ASCII  ASCII Program programming  Figure 5 2       File in Figure 5 2  gure wes  Branch Start BST BSTA            Ne 6 3  Next Branch   NXB B NXB        A TE  Branch End        C BND    i    Figure 5 2    Illustrating the Branch Types of the Ladder Rung    ASCII Program File    SOR BST A NXB    APS Import Utility  converts ASCII  Program File into  APS Ladder Program     Example ASCII Program and APS Ladder Rung    Note    APS Ladder Program       Figure 5 3 shows an example program first in ASCII file format  then in ladder  format  The program consists of an input and output instruction list  Also included  in the program is a timer instruction  TON    You can leave the input instruction list  empty  but not the output instruction list   Use table 5 W to understand the  comparisons made between the two programs in figure 5 3     In APS  you can nest only four levels of branches     5 27    APS Import Export Utility User Ma
67. ile Types Immediate  Mode s  Values  LEQ Less Than or Equal        source A direct  indexed direct 0 1 5 8             none  indirect  indexed indirect   N  F  A  ST  M  source B direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  LES Less Than source A direct  indexed direct O  l  S  B  L  GR    none  indirect  indexed indirect   N  F  A  ST  M  source B direct  indexed direct O  l  S  B               32 768 32 767  indirect  indexed indirect   N  F  A  ST     f min f max  LFL   LIFO Load source direct  indexed direct 0 1 S B T C R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  LIFO array indexed direct O  I  S  B  N  A none  indexed indirect  LIFO control direct R none  length 1 128  position 0 127  LFU   LIFO Unload LIFO array indexed direct O  I  S      N  A none  indexed indirect  destination direct  indexed direct 0 1 5  B  T C        none  indirect  indexed indirect   N  A  ST  M9  LIFO control direct R none  length 1 128  position 0 127  LM  Limit Test  circ  low limit direct  indexed direct 0 1 5                   32 768 32 767  indirect  indexed indirect   N  F  A  ST     f min f max  test direct  indexed direct O LS B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  high limit direct  indexed direct 0 1 5            R     32 768 32 767  indirect  indexed indirect        F  A  ST     f min f max                         Supported only by SLC 5 02  SLC 5 03  an
68. into ASCII text files       ASCII text files that contain an SLC 500 program and program documentation  into APS archive files    You install APSIE as you install APS  although it executes separately from APS   APSIE interacts with archive and documentation files generated by all versions of  APS     Another key feature of APSIE is its Define Directory function  This function lets  you specify the drives and directories that APSIE reads files from and writes files  to  With this capability you can have files in any MS   DOS directory  For more  information on user directories  see chapter 2  Configuring the APS Import Export  Utility     System Requirements    1 2    You can use APSIE with an Allen Bradley T47 or T70 terminal  386 SX  NEC  VERSA       Series Notebook  or GATEWAY 2000    models 386DX 25  386DX 33   486DX 33  486DX2 50  and 486DX2 66 personal computers  Your computer must  have       640 Kbytes of RAM     10 Mbyte fixed disk drive  APS requires 8 5 Mbytes of free disk space      DOS version 3 3 or higher    The maximum number of archive  documentation  and ASCII files allowed by  APSIE is limited solely by the available space on your floppy or fixed disk     Introducing the APS Import Export Utility    Running the Software    To run the APSIE software  follow these steps     1  If necessary  change the drive specifier to the drive where the software is  installed  typically C   To do this  type     C  and press  ENTER    2  If you are using the default director
69. is not included in Table 5 M  and the module ID is 63xx    95xx  127xx  159xx  199xx   223xx  or 255            Format 3   SLOT Slot number  Extended module ID Max input  Max output       Use these  optional  arguments with  the core elements  for Modular  Controllers only   SCAN IN x  SCAN OUT x  MO SIZE x  M1 SIZE x  ISR x  G FILE g file size  g file             See Table 5 N for  greater detail on  the optional  arguments         5 13    APS Import Export Utility User Manual    5 14                                                                                                          Table 5 M  Available Modules for SLC 500    Description of Available Modules  Catalog Number    4 input 100 120V ac 1746 1  4  8 input 100 120V      1746 1  8  16 input 100 120V      1746 1  16  4 input 200 240V      1746 IM4  8 input 200 240V ac 1746 IM8  16 input 200 240V ac 1746 IM16  8 output  TRIAC  100 240V ac 1746     8  16 output  TRIAC  100 240V      1746 OA16  8 input  SINK  24V dc 1746 1  8  16 input  SINK  24V dc 1746 1B16  32 Input  SINK  24V dc 1746 1B32  16 input  TTL  SOURCE  5V dc 1746 1616  8 input  SOURCE  24V dc 1746 1V8  16 input  SOURCE  24V dc 1746 IV16  32 Input  SOURCE  24V dc 1746 1V32  8 output  TRANS  SOURCE  10 50V dc 1746 OB8  16 output  TRANS  SOURCE  10 50V dc 1746 OB16  32 Output  TRANS  SOURCE  10 50V dc 1746 OB32  8 output  TRANS  SINK  10 50V dc 1746 OV8  16 output  TRANS  SINK  10 50V dc 1746 OV16  32 Output  TRANS  SINK  10 50V dc 1746     32  16 output 
70. le number   the number of words that the import utility allocates  G_FILE  0   255    for the G file   See Table 5 0 for example G file  arguments                           sure that the integer specified is less than or equal to the number of output words allowed for the module  specified by module ID  extended module ID  or catalog number     A subroutine file number of zero prevents a subroutine from being executed if the module in the defined slot            o     generates an 1 0 interrupt     Word 0 of the G file must equal 0  When the G file is viewed in APS  the first word will not be 0     Table 5 0 provides two example G file arguments        Table 5 0  Example G File Arguments  G File Format  This example G File argument  Creates a G file with  See     G_FILE Value_List SLOT 1 12385 G_FILE 10 10 elements  all   0 1  G_FILE Value_List SLOT 2 12385 G_FILES 502345 5 elements  0   0  1   2  etc  2                5 16    The following screens show you how the APS G file monitor displays the G file    examples in table 5 0     Creating an ASCII Archive File    Screen 1   Address 01 2 3 4 5 6 7 8 9  G1 0 Oa O  m  age 0 60e 40 00   10  Screen 2   Address 012 3 4 5 6 7 8 9  G2 0 02 3 4 5    The common elements in the three formats are the keyword    SLOT    and the slot  number  The slot number defines the location of the module  The first slot of the  first chassis  slot 0  always contains the CPU module  The largest possible slot  number for fixed style hardware is 2  for
71. les appears on this line   ee      Working       Menu functions  APSIE functions appear here  They are accessed by menu            function keys F1 to F10  Pressing a main function key calls up sub functions or  NENNT 7 option windows     APSIE Menu Display    1 4    From the APSIE main menu there are three tasks that you can start  You can import  ASCII files  export APS files  or configure the utility  As you press keys while  running APSIE  various windows are displayed depending on the function you are  accessing  The function keys also change as the windows change  See table 1        Table 1       Introducing the APS Import Export Utility    Function Keys     APSIE Menu Display    Press this  main  function   CONFIGR    F6       These sub functions are accessed          Ea Ea       Ea Ea    F1    17      Eg  17      Eg       IMPORT    F7    ES EX ES EE Eg IMPORT IMPORT  ES EX ES EE Eg SLC TXT  Fi F3 2 F5 F7 F8 F9     F8    YES and  F10    NO    are only displayed when the  YES MEAE A  processor definition is in  F8 F10 error  or an overwrite  destination file message is    YES displayed   F8 F10  ON DEFAULT               SAVE                                   ERRORS CONFIG  F5 F6 F7 F9       IGN SLC   ERRORS  F3   ome   EX    EA     EX    EA       EXPORT    F8    Ed Ea EH Ea E             Ea EH Ea E             8    YES         F10    NO  are only displayed when an  m overwrite destination file    message is displayed           ANNOTAT Eg                pog Ea           
72. ly      4 7    APS Import Export Utility User Manual    4 8    Table 4       Selecting the Export Address Types Individually                         If you want to  Toggle  Until the status is   export all of the program  documentation for YES  addresses of the type that  you have highlighted   F1    TOGGLE  export none of the program ENTRY  documentation for NO  addresses of the type that  you have highlighted   If you want to  Press  Then       7 APSIE accepts        changes that were  poe              for the  ENTER        ESC  made  Once APSIE is terminated  the     changes are discarded   discard any changes that APSIE discards any changes that were   ALT U     2  were made made and returns the previous display        Table 4 D    Selecting All or None of the Export Address Types    If you want to     export ail of the program    documentation for all  address types     Press      F2    ALL YES       export none of the program  documentation for any  address type      F3    ALLNO       use this configuration for the  session only and return to  the previous display     ENTER  Or  ESC        discard any changes that  were made and return to the  previous display        ALT U        Exporting APS Documentation Archive Files  Exporting APS Files    To export an APS file  follow these steps     1  Start from the main export display shown below     SLC 500 APS IMPORT EXPORT UTILITY              Rockwell Softwarq C  IPDS TEXT SLC500  932    All Rigi File Names    EXAMPLE1  EXA
73. ming Instruction References                                                       Instruction Description Parameter Valid Addressing Valid File Types Immediate  Mode s  Values  FLL Fill File source direct  indirect 0 1 5                 32 768 32 767  N  F  A  ST  M f min f max  destination indexed direct O  I  S  B  T C  R    none  indexed indirect N  F  A  ST  M  length 1 128  FRD From BCD to Binary source  SLC 5 01    direct O  I  S  B  T C  R    none  N  A  ST  M  source  SLC 5 02    direct  indexed direct 0 1 5  B  T C  R    none  SLC 5 03  SLC indirect  indexed indirect   N  5 04  MicroLogix  1000 controllers   destination direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  A  ST  M  GEQ Greater Than or Equal   source A direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M  source B direct  indexed direct O  l  S  B  T C  R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  GRT Greater Than source A direct  indexed direct 0 1 5                none  indirect  indexed indirect        F  A  ST  M  source B direct  indexed direct 0 1 5                 32 768 32 767  indirect  indexed indirect        F  A  ST  M f min f max           High Speed Counter counter none   SLC 5 01   preset 1 32 767  Hsc9 High Speed Counter   type 0 7  counter direct C none  preset  32 768 32 767  accum  32 768 32 767  Hsp9 HSC Interrupt Disable   counter direct C none  HSE   HSC Interrupt Enable   counter
74. nual             Table 5 W  Key to Figure 5 3  The following ASCII PP    Instructions  highlighted in      pe ca         the ASCII program below          accer rung   XIO 13 5           XIC 1316 EXP      1  OTE 0 5 6           4 31020008  0                  Figure 5 3  Example ASCII Program File and APS Ladder Program    ASCII Program File APS Ladder Program    Input Output  Rung 3 0 List List    SOR BST BST XICI 3 4 NXB    XIO I 3 5 BND  Input  XIC E37 List  XIC 3 6 NXB  XIC 1 3 6 BND TIMER ON DELAY  Output   BST OTE 0 5 6 NXB Timer              T4 3 1 0 200 0 BND    Time base    EOR       5 28    Creating an ASCII Archive File    Specifying the Force Table List    The format for specifying the force table consists of the keyword    FORCE     a force  table address and a value list  For example     FORCE  41234    bd  ae S    Keyword Force Table Address Value List       The value list contains the force on and force off information for the specified force  table address  You do not have to specify the value list     When specifying the force table list  use the formats in table 5 X           Table 5 X  Force Table Formats and Examples  Fore Table Formas Hun or ad  FORCE Force table address FORCE 1 4 checks if address is configured  FORCEForce_table_address Value_list FORCE 1 4 1 2 14 0 force on   1  force off   2  FORCE   Force table address Value list FORCE   0 77412 O 7 4 force on   1  force off   2             Every word of I O consists of two corresponding words of force
75. on     Take for example the ANNOTAT FILES option  function key  F1    ANNOTAT  FILES toggles between the values    yes    and             which are the only possible    SLC 500 APS IMPORT EXPORT UTILITY    YES    ADDRESS STRING   ALL   EXPORT   DO NOT EXPORT   EXPORT   DO NOT EXPORT  O I S B T C R  N F  M0  M1 ST A  Labels    values for this option  Select an export option from table 4 B     APSIE can export online edit INSERT  REPLACE  and DELETE rungs  You can  only create these rungs with an SLC 5 03 or an SLC 5 04 processor  For more  details on the use of these rungs  see the Advanced Programming Software User    Manual        Table 4 B    Exporting APS Documentation Archive Files    Selecting Export Options    If you want to     export the ASCII archive file    with comments explaining  the various sections  like  processor type and data  tables       export the ASCII archive file  without comments  explaining the various  sections     Toggle      F1    ANNOTAT FILE    Until the status is     YES        NO       sort by ascending order of  the address value  as in   N7 0  N10 2  N10 10       sort by ascending order of  the address string as in     10 10  N10 2    7 0       sort into groups the  comments in the ASCII  documentation file in this  order  symbols  address   instruction and then rung  comments     F3    SORT ORDER    ADDRESS VALUE       ADDRESS STRING        KEYWORD       place all the keywords for  symbols  rung  instruction   and address comments at  the b
76. ory paths shown are the default  directories when the import export utility is first run  The maximum number of  characters in the pathname is 65  If there are more characters in the pathname than  can fit in the window  the last 3 characters of the pathname are displayed as three  periods        for example      C  THIS IS A LONG PATHNAME FOR THE WINDOW          SLC 500 APS IMPORT EXPORT UTILITY    Rockwell Software Incorporated  Copyright 1989 1995  9323       2    All Rights Reserved  SYSTEM CONFIGURATION    USER DIRECTORIES    F4 APS Archive  Comments and Symbols  C  IPDS ARCH SLC500    F6 ASCII Archive  Comments and Symbols  C  IPDS TEXT SLC500    F7 User Configuration  C  IPDS ATTACH SLC500    F9 Save Configuration       ESC exits ALT U aborts changes    Press a Function Key       To enter a user directory  follow these steps     Configuring the APS Import Export Utility    1  Select the type of directory that you want to specify from table 2 B     Table 2 B  Entering the User Directories  If you want to  Press   specify the directory where  APS archive and  documentation files are  F4    ARCHIVE DIR  stored    Then     the screen below is displayed        specify the directory where  ASCII archive and  documentation files are  stored     F6    ASCII DIR    the screen below is displayed        specify the directory where  the user preference file is  F7    CONFIG DIR  stored    the screen below is displayed        save the options displayed  on this screen to the user  
77. plays comments   Notice that the comments used to document ASCII files only describe those files   The import utility does not store these comments in the database      Begin import file comments with an exclamation   mark  as you see here  You can document your           ASCII file as you would a program     SYM I 1 1 8 PALLET  IThis is a comment after a complete line   SYM  This is a comment  I 1 1 5  This is another comment  HI ALARM   This is a comment that spans    multiple lines     6 7    APS Import Export Utility User Manual    Example ASCII Documentation File    This example ASCII documentation file shows you how the import utility places  comments  address  instruction  and rung  and symbols on the APS ladder rung    The ASCII documentation files are grouped by keyword      ASCII Documentation File     This is a sample of a complete ASCII documentation file     SYM  0 3 1 8  0 5 2 3    I 1 1 8    TE   XIC  XIO  OTE    AC  0 2 1 3  1 3 2 6  1 6 1 10    RC    UPLOAD  EMPTY_LITE    PALLET   N7 10 0    Surge Tank High Level Alarm      I 3 2 4  Selector Switch Panel W North Cutter   0 6 1 10  North Cutter Running      UPPER LOADER HYDRALIC SOLENOID      OUT OF TOLERANCE ALARM ACKNOWLEDGE    AIR    STOP CLOSED LIMIT SWITCH     OTE N7 10 0     This sample rung comment is    two lines long      6 8    PALLET            Surge Tank High  Level Alarm    N7 10  j  I    UPPER LOADER  HYDRALIC  SOLENOID    Rung 2 0       APS Ladder Program    Selector Switch  Panel W North Cutter
78. port utility  configuring  3   examining the results of the import  347   function key definitions  SEPT    importing ASCII files        selecting import options         importing ASCII documentation archive    files  311    indexed addressing      indirect addressing   77  input filters list format  5347   installation  Fixed SLC 500  P   Modular SLC 500  P   instruction comments  6 4     instruction set  PEA    introducing the APSIE utility              keywords  52     L    ladder file protection  5317   ladder program example  5 21  p 38 7 p 40          ladder program filename format  5267   log file   export  4 1   import  341  logical address  501    data file  5 2   1 9 52  1    data table  5   definition        valid and invalid  9 217   M  main menu    configure APSIE  1  18  export APS file  1 5    import ASCII file  1 9  519     manuals  See documentation  MicroLogix 1000 Controllers  5107   modular processors  537   multipoint I O list  5381    0  operands  53     P    personal computer requirements  147  program examples    ASCII documentation file  6 2  6  4    ladder program  921  p3  4 41    program file list  5291    Index 1 3    program header  511   project name format  5 2   protect data file format  536   protect force keyword format  531   protect ladder file format  5311    R    rack configuration format  5411  rung comments  6    running the software  137     S    slot configuration formats  917   starting the APSIE utility  147   status file          
79. rchive File    Indicates    match and are valid     the type of DATA file protection applied to the specified file s   The  following keywords are used in conjunction with PROTECT_DATA        CONSTANT Data file cannot be changed by the user or user  program during program operation    e STATIC Data file can only be changed by the user  program during program operation    e MEM MOD Protects individual data files from changes  during memory module transfers if the programs       PROTECT_LAD    the LADDER file s  specified are protected        PROTECT FORCE       that all FORCE file s  are protected        Operands    Operands are either logical addresses or immediate values  You can enter the  logical addresses in any valid format  The import utility generates the complete  address format  You may enter the immediate values in decimal  hex  octal  or    binary formats  Se    e table 5 C                       Table 5 C  Defining Immediate Values  Format  Description  Example   decimal a number with an optional plus or minus sign and  32768  decimal digits   hex a number that starts with a zero  followed by an  X   then OXFA90  any four characters from 0 9 or A F   octal a number that starts with a zero  followed by an    O     00370010  then any six digits from 0 to 7   binary a number that starts with a zero  followed by a    B     then 0B010110  up to 16 zeros or ones       a number with an optional plus or minus sign that falls in     floating point the range of 3 402823x10  
80. rect   N  F  A  ST  M f min f max  source B direct  indexed direct O  1  S B T C  R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5      T C  R    none  indirect  indexed indirect   N  F  A  ST  M  ENC   Encode 1 of 16 to 4 source direct  indexed direct O  I  S      T C  R    none  indirect  indexed indirect   N  A  ST  M  destination direct  indexed direct 0 1 5  B  T C  R    none  indirect  indexed indirect   N  A  ST  M  EQU Equal source    direct  indexed direct O  I  S  B  T C  R    none  indirect  indexed indirect   N  F  A  ST  M  source B direct  indexed direct O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  FFL   FIFO Load source direct  indexed direct 0 1 S B T C R     32 768 32 767  indirect  indexed indirect   N  A  ST  M  FIFO array indexed direct 0 1 5 8                 indexed indirect  FIFO control direct R none  length 1 128  position 0 127  FFU   FIFO Unload FIFO array indexed direct O  I  S  B  N  A none  indexed indirect  destination direct  indexed direct 0 1 5  B  T C        none  indirect  indexed indirect   N  A  ST  M   FIFO control direct R none  length 1 128  position 0 127                      A 8       Supported only by MicroLogix 1000 controllers      Supported only by SLC 5 02  SLC 5 03  and SLC 5 04 processors and MicroLogix 1000 controllers     2 Indexed addressing is not allowed when using     C  R       M addresses     Program
81. rect O  1  S  B        R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  destination direct  indexed direct 0 1 5  B  T C        none  indirect  indexed indirect   N  F  A  ST  M  ACB ASCII Number of channel 0  Characters in Buffer  control direct R none  characters 0 1024  ACI   ASCII String to Integer   source direct  indirect ST none  destination direct  indexed direct 0 1 5                none  indirect  indexed indirect   N  A  ST  M  ACL   ASCII Clear Buffer channel 0  transmit buffer 0 no or 1 yes  receive buffer 0   0 or 1 yes          ASCII String source A direct  indirect ST none  Concatenate  source B direct  indirect ST none  destination direct ST none  Acs   Arc Cosine source direct  indexed direct O  l  S  B  L  GR     32 768 32 767  indirect  indexed indirect   N  F  A  STM f min f max  destination direct  indexed direct O  I  S  B  L  GR    none  indirect  indexed indirect   N  F  A  ST  M                         Supported only by SLC 5 03 08301  08302 and SLC 5 04 08400  08401 processors     2 Supported only by SLC 5 03 05302 and SLC 5 04 08401 processors     APS Import Export Utility User Manual                                                    Instruction Description Instruction Valid Addressing Valid File Types Immediate  Parameter Mode s  Values  ADD Add source A direct  indexed direct O  l  S  B  T C  R     32 768 32 767  indirect  indexed indirect   N  F  A  ST  M f min f max  source B direct  indexed direct O  1  S  B      
82. rogram file numbers and names  if included  follows the project name   You must specify the file number first  then the filename     The file number is an immediate integer value  2 15 for MicroLogix 1000  controllers  2   255 for all other controllers and processors   You do not have to  specify the program file numbers in order  for example  2    AB    5    A    3  B    You specify the program filename like the project name  You may use up to ten    characters     5 25    APS Import Export Utility User Manual    Specifying the Ladder Program Files    The ladder program filename consists of the keyword    LADDER     the file number  and  if included  the rung list  For example     LADDER 3 SOR OTE B 0 EOR    tf    Keyword Ladder File Number       If you leave the rung list empty  the import utility creates the EOR instruction     For MicroLogix 1000 controllers  files 2 to 15 are fixed ladder program files  For  all other controllers and processors you can specify program files 2 to 255 as ladder  program files     A rung may consist of the following         start of rung symbol  SOR      input instructions  9 output instructions       endofrung symbol  EOR     The import utility processes the rung left to right and top to bottom  Also  the  import utility processes each branch structure before proceeding to the next  instruction on a given line     The ladder rung consists of three basic structure types described in table 5 V  Figure  5 2 shows a simple program before and a
83. se for any  F      DEFAULT ADDR  COMMENTS   ine in the 5  documentation file without    KEYWORD INSTR  COMMENTS   keyword  RUNG COMMENTS   ignore any errors detected  during the documentation YES  import process  F7    IGN TXT  abort the documentation ERRORS  import process when any NO   errors are detected   If you want to  Press  Then   save the configuration _ APSIE saves the configuration to the  permanently  F9  een user preference file   thi fiouration for th APSIE accepts any changes that were  Use MIS a IIO oE ME  ENTER  Or  ESC  made  Once APSIE is terminated  the  SESSO ony changes are discarded   discard any changes that d APSIE discards any changes that were  were made   1 made and returns the previous display           Indicates the user preference default      You can choose only one of the four keywords as the default keyword      This only applies if you are not using keywords to group similar statements     3 5    APS Import Export Utility User Manual  Importing ASCII Files    To import an ASCII file  follow these steps     1  Start on the main import screen shown below     SLC 500 APS IMPORT EXPORT UTILITY          Rockwell Software I C  IPDS TEXT SLC500    File Names    EXAMPLE1  EXAMPLE2        This software is licensed EXAMPLE3  IMPORT FILES    EX  MPTER    EXAMPLE5  SOURCE  EXAMPLE1    DESTIN  ABC    ESC exits    Press a Function Key or Enter File Name    2  Seetable 3 C to perform the import              Table 3 C  Importing ASCII Files  If you want to 
84. t  5311  invalid catalog number  5 1  invalid chassis number  sip  message line  1   processor definition  137     examples  address comments  6   ASCII archive file  5    ASCII documentation file  6     channel configuration format  5 3  chassis configuration format  5411    comment line  5  1   data file  5 227 P   force table format  5     G file arguments  5 1   10 slot configuration formats  54111  input filters list format  5 3   instruction comments  6    ladder program  SP 4069 1  ladder program filename  5    logical address  acne  multipoint I O list format  5   operands  5    program header  5    project name format  5 2   protect data file format  5     protect force keyword  5 3  protect ladder file format  5   rack configuration format  5 1    rung comments  657   symbols  6     value list aM 5207     export options         export utility  configuring  4   examining the results of the export  4407   function key definitions  4   performing the export  4   selecting export address types      selecting export options   t     exporting APS documentation archive files               fixed controllers  58 11    force file protection  5311    force table  5 295 5 307     function keys  P 4711  1 97  APSIE menu display  1     used in configuring APSE  23 P    used in export utility  4   used in import utility  3        G  G file arguments  5 167     I O modules  5 14   10 slot configuration formats  5111  ignore errors  3    immediate value  53   import options  341  im
85. t  Documentation Archive Files   utility and then the import operation   4 Exporting APS Guides you through the configuration of the export  Documentation Archive Files   utility and then the export operation   5 Creating an ASCII Archive Explains how to build an ASCII archive file  then  File provides examples   6 Creating an ASCII Explains how to build an ASCII documentation file   Documentation File then provides an example   Appendix A Programming Instruction Provides you with valid addressing modes and file       References       types        Related Documentation    Preface    The following documents contain additional information concerning RSI and  Allen Bradley SLC products  To obtain a copy  contact your local sales office or    distributor     For    An introduction to APS for first time users   containing basic concepts but focusing on simple  tasks and exercises  and allowing the reader to  begin programming in the shortest time possible    Read this Document    APS Quick Start for New Users       A training and quick reference guide to APS    SLC 500 Software Programmer   s Quick  Reference Guide  Publication Number  ABT 1747 TSG001   available on PASSPORT  at a list price of  50 00       A guide of common procedures used in APS    SLC 500 Software Common Procedures  Guide  Publication Number  ABT 1747 TSJ50   available on PASSPORT  at a list price of  50 00       A procedural manual for technical personnel who  use APS to develop control applications    Advance
86. tion format  5411    comment line  S581     Index    comments  documentation file  address  6   instruction  6     rung  63     configuring  export utility  4   import utility  3   system  27   configuring APSIE  2   entering user directories  2   function key definition  2 95 2   user directories  24 1  contents of manual  P7  control applications  P3  control bits  924 525   control data files  5 237   control information  53   counters  529   Creating an ASCII archive file  9T   creating an ASCII documentation file            22      data file  522 p23     data file protection  5 307     data table files  55 21    definitions       1  direct addressing         directories  APS default  1   APS source files  4   ASCII source files  3   define directory  1 27 8 5 4   specifying user directories  2            display format        documentation  P   APS reference guide  P4     CD ROM  pei   multi language  31  documentation file   annotating file  6    definition  P  0   placing address comments  6     placing instruction comments  6   placing rung comments  637          Index    placing symbols  67   drivers  53     E    error  ignore errors function keys  335   ignore SLC errors  during import  3   menu display  1   ignore text errors  during import  3   menu display  1   illegal addresses  export  4 1  import  3   illegal comments  export  4 1  import  3   in examining the results of the export   4 1  in selecting importing options  a  in specifying the multi point 1 O lis
87. type  file number  a delimiter  a colon or  semicolon  and the largest logical address  For example     Logical Address    DATAN7 5123456    File Type Delimiter    File Number Largest Logical Address    Data File Addressing    If you precede the logical address with three periods        the import utility places  the data contained in the value list into the data file starting at the logical address   Otherwise  the import utility places the data contained in the value list into the data  file starting at word 0  The import utility determines the correct size for the file  based on the number of data elements in the value list     String File Addressing  When defining a String  ST  file address  you must precede the file type with three    periods  such as DATA    ST    where the  s are the file number and element  number  respectively   ranging from ST9 0 ST9 255 through 51255 0 51255 255      5 19    APS Import Export Utility User Manual    Defining the Logical File    The logical file consists of only the file type and data file number  For example     Logical File    DATAN 75123456    File Type File Number    If you supply only the file type and number  a logical file   the import utility  calculates the correct data table size for the file     Defining the Value List    The value list defines the initial values for the data table file  You can leave the  value list empty or supply immediate values  See the example below  it shows a  value list with immediate values     V
88. word    on this screen  otherwise the default keywords do not appear in the exported file      You can choose only one keyword option as the keyword options default     Exporting APS Documentation Archive Files    Selecting Export Address Types    Note    After selecting  F10    SELECT TYPES from the export options screen  APSIE  displays the following window  labeled    Select Export Address Types        SLC 500 APS IMPORT EXPORT UTILITY    EXPORT OPTIONS    SELECT EXPORT ADDRESS TYPES    Outputs YES  Inputs No   Status YES   Bit Binary YES   Timer NO   Counter YES   Control NO   Integer YES   Float NO   MO NO     1          String No   ASCII No Labels  Labels YES       ESC exits ALT U aborts changes    Press a Function Key    From this screen you select which address types in the ASCII documentation file  you want to export     Use the up  and down arrow cursor keys to move through the address types  displayed in the window  highlighting those types you wish to change     Tables 4 C and 4 D provide you with two options for configuring the address types   table 4 C explains how you can change the status of each address type one at a time   table 4 D explains how you can configure the export utility so that all or none of the  address types are exported     After you have configured the address types  you can save the configuration  permanently by pressing  F9    SAVE CONFIG from the Export Options window    Press  ENTER  or  ESC  to save the configuration for this session on
89. y  at the DOS prompt  type   CD  IPDS ATTACH SLC500 and press  ENTER      If you specified a different directory path  change to that directory and press   ENTER      3            APSIE and press  ENTER   The import export utility displays the  main screen     IMPORT EXPORT UTILITY       SLC 500 APS       Rockwell Software Incorporated  Copyright 1989 1995  9323       2      All Rights Reserved    This software is licensed to  Your Name  Your Company    0000000000    Mon July 18  1994 11 03 09 am      Press a function key    4  Become familiar with the APSIE display format and menu on pages 1 4 and  1 5  Then  go to the next section  Starting the Utility  to perform a task from  the main menu     APS Import Export Utility User Manual    APSIE Display Format    Display area    Message   Prompt   Data Cmd entry     Menu Functions        The APSIE screen is divided into three areas     display area    message  prompt  data entry and status lines       APSIE menu functions    The screen below indicates what appears in these areas     Display area  Various windows overlay the display depending on the function you  Rockwell Sof are performing     Rights Reserved    This software  Message line  Error codes descriptions and information concerning terminal  operation appear here      e Prompt line  Indicates action you should take   nou  Data Cmd entry line  Information entered from the keyboard appears on this line   mr SERERE Status line  Status information concerning the program fi
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
  DeLOCK 2m HDMI w/ Ethernet  Funciones básicas  取扱説明書を見る  ZX240-5 - Scai Spa    専用架台 TM-ST100 シリーズ 取扱説明書  Olympia TR 3705 Vario  Artículo en PDF  Martel BetaGauge 311 and 321 Pressure Calibrator    Copyright © All rights reserved. 
   Failed to retrieve file