2CDC120031M0201.pdf

download 2CDC120031M0201.pdf

of 54

Transcript of 2CDC120031M0201.pdf

  • 8/10/2019 2CDC120031M0201.pdf

    1/54

    Operating Manual ABB ProconticProgramming System

    907 PC 331Programming and Test Software

    System-Specific PartABB Procontic CS31Advant Controller 31

    ABB Schaltund Steuerungstechnik

  • 8/10/2019 2CDC120031M0201.pdf

    2/54

  • 8/10/2019 2CDC120031M0201.pdf

    3/54

    01907 PC 331/Issued: 11.98

    Preface

    ____________________________________________________________________________________________

    Notes for the user

    All commands entered by the user are shown in italics,keys are shown as and screen displays, e.g. in-structions, appear in bold.

    In the same way, you can use the left mouse keyfor theand the right mouse keyfor the .For yes/no enquiries, you can use the left mouse keyforyes and the right onefor no.

    Main menu: The selection of a main menu point is re-leased or defined every time the ispressed. The selected submenu point is carried out

    when the is pressed.

    Key combinations:keyor keykey:In this case, press the first key and hold it down. At thesame time, press the following keys.Example 1: 2Press the keyand hold it down; at the same time,press the key.Example 2: KWPress the keyand hold it down; at the same time,

    press the keys and in turn.

    Calling up online commands with hotkeys

    Hotkeys are used to rapidly select functions which can al-ternatively be executed via popup menus. E.g. Sfor Start the PLC (see Section 2, Work aid, ONLINEcommands).

    Selecting menu points in the popup menus

    Rapid selection: by entering the high-lighted letters of themenu line; cursor positioning with and

    or the mouse not necessary.

    Keyboards

    The designations of certain keys on keyboards with Ger-man, English or American character sets differ. The fol-

    lowing table shows the differences:

    German character set English/Americancharacter set

    oder

    The is used in this document. Other standarddesignations for this key are , ,and .

    Abbreviations

    AC31 Advant Controller 31AWP User programIL Instruction listFBD Function block diagramLD Ladder diagramPLC Programmable (logic) controllerCE Connection element Carriage Return or Enter, Return

    ZE Central unit

  • 8/10/2019 2CDC120031M0201.pdf

    4/54

    02 907 PC 331/Issued: 11.98

  • 8/10/2019 2CDC120031M0201.pdf

    5/54

    03907 PC 331/Issued: 11.98

    Contents

    ____________________________________________________________________________________________

    1 Installation 11. . . . . . . . . . . . . . . . . . . .1.1 Installing programming software

    on the PC 12. . . . . . . . . . . . . . . . . . . . . . . . .1.1.1 Manual installation 13. . . . . . . . . . . . . . . . .

    1.2 Start programming software 15. . . . . . . . .

    2 Notes on programming 21. . . . . . . . . . .2.1 Connectable programming and

    service devices 21. . . . . . . . . . . . . . . . . . . .2.2 Programming and

    test software 907 PC 331 22. . . . . . . . . . .2.3 Programming 22. . . . . . . . . . . . . . . . . . . . .2.3.1 Procedure for creating a program 22. . . .2.3.2 Entering/changing a program 22. . . . . . . .2.4 Saving a program

    in the Flash EPROM 23. . . . . . . . . . . . . . .

    2.4.1 Program: RAM > Flash EPROM 23. . .2.4.2 Program: Flash EPROM > RAM 23. . .2.4.3 Commissioning phase 23. . . . . . . . . . . . . .2.5 Special instructions 24. . . . . . . . . . . . . . . .2.5.1 System constants with

    ABB Procontic CS31,Advant Controller 31 24. . . . . . . . . . . . . . .

    2.5.2 Error diagnosis withABB Procontic CS31,Advant Controller 31 26. . . . . . . . . . . . . . .

    2.5.3 Intermediate flag, updating 26. . . . . . . . .

    3 Configuration 31. . . . . . . . . . . . . . . . . . . .3.1 Project management 31. . . . . . . . . . . . . . .

    4 ONLINE 41. . . . . . . . . . . . . . . . . . . . . . . . .4.1 PLC communication 41. . . . . . . . . . . . . . . .4.1.1 PLC communication 1 41. . . . . . . . . . . . . .4.1.2 PLC communication 2 44. . . . . . . . . . . . . .4.1.3 PLC communication 3 45. . . . . . . . . . . . . .4.1.4 PLC communication from FBD/LD

    and extended IL 46. . . . . . . . . . . . . . . . . . .

    4.2 Test 410. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5 Compare program 51. . . . . . . . . . . . . .

  • 8/10/2019 2CDC120031M0201.pdf

    6/54

    04 907 PC 331/Issued: 11.98

  • 8/10/2019 2CDC120031M0201.pdf

    7/54

    11907 PC 331/Issued: 11.98

    1 Installation

    ____________________________________________________________________________________________

    Installation of the programming and test software 907 PC331 under the MSDOS operating system is described

    below step by step. If you are still not familiar with someMSDOS terms, please look them up in your computersMSDOS operating system manual.

    The installation program creates the following directorystructure under MSDOS:

    C:\ ABBSPS AC31 PROJEKTBIB

    Notes

    At least 10 MBytes memory spacemust be free on thehard diskfor the installation. Insufficient memory spaceis indicated by the installation program by way of an ap-propriate message. In addition, at least 500 kB usermemoryis required. The DOS command CHKDSKgivesyou details about the size of the free user memory.

    The entries for FILES and BUFFERS in the CON-FIG.SYS file are checked by the installation program and,if necessary, are adjusted to the values required for oper-

    ating 907 PC 331:FILES=25BUFFERS=25

  • 8/10/2019 2CDC120031M0201.pdf

    8/54

    12 907 PC 331/Issued: 11.98

    1.1 Installing programming software on the PC

    The programming software 907 PC 331 consists of 2 diskettes. If a version of 907 PC 331 already exists on your PC,please first read the instructions at the end of this page.Insert diskette 1 into drive A. Enter the following instruction:

    A: INSTALL

    The installation program now determines the drives available on your PC.

    Installation from/von A: B:

    Installation to/nach C:

    ABB Schalt und Steuerungstechnik GmbH

    Select/Auswahl, Start, Abort/Abbruch

    I N S T A L L A T I O N

    Language/Sprache English Deutsch

    The followingappears, forexample:

    You can reach the individual lines with theand . Select one possibility in each case with theand . Select the appropriate drives: In the first line, the drive containing the installation diskette;in the following line the desired hard disk. Also select the required language version. Start the installation by pressingthe .

    If the values FILES and BUFFERS must be adapted in the CONFIG.SYS file, this is done automatically by the installa-tion program. An appropriate message for this appears. Installation is continued after the is pressed.

    The following message appears after installation is completed (selected drive: C:):

    907 PC 331 was installed completely.Remove installation diskette from the diskette drive and type

    C:\AC31

    to start.

    If the CONFIG.SYS file was changed, first press in order to restart the PC.

    Notes

    At the start, the installation program checks whether an old version of 907 PC 331 is already installed. Installation canonly take place if the old version is overwritten by the new one. Therefore, if you have relevant user data in thesubdirectory ABBSPS\AC31, you must first save this. All files in directory AC31 are deleted and replaced bynew files during installation.

    If difficulties arise during automatic installation, you can alternatively carry out the > manual installation.

  • 8/10/2019 2CDC120031M0201.pdf

    9/54

    13907 PC 331/Issued: 11.98

    Notes on an update installation:

    If you want to execute an Update Installationyou must update your library.

    Start the programming software as described under 1.2. Starting the programming software and choose Library,Read Manufacturer Library. In order to update your SER90 library, enter NEU (if you want to work with the Ger-man version) resp. NEW (if you want to work with the English version). In order to update your SER50 library, enterSER50NEU (if you want to work with the German version) resp. SER50NEW (if you want to work with the Englishversion). Please observe, that the library to be updated (AC31 or SER50) is entered in the project data.The existing library is now updated. Your user CEs will be conserved.

    1.1.1 Manual installation

    In the case of manual installation, you must make a distinction as to whether new installation is taking place or whetheran older version of 907 PC 331 already exists. In this case, installation can only be carried out by overwriting the olderversion with the new one. Therefore, if you have relevant user data in the subdirectory ABBSPS\AC31, youmust first store this data.All files in the directory AC31 are deleted and replaced by new ones during installation. Thefollowing steps describe manual installation of the programming software, divided up into new installation and updateinstallation. Here, installation is described from drive A: to hard disk C:. Adapt this accordingly for other drivedesignations.

    Enter the following commands from drive C:\. When doing so, terminate every line with the :Insert diskette 1 into drive A:.

    New installation Update installation

    C:\> COPY A:AC31.BAT

    C:\> MD \ABBSPS

    C:\> CD \ABBSPS C:\> CD \ABBSPS

    C:\ABBSPS> MD AC31

    C:\ABBSPS> CD AC31 C:\ABBSPS> CD AC31

    C:\ABBSPS\AC31> C:\ABBSPS\AC31> DEL *.*

    Then enter the following command: Then enter the following command:C:\ABBSPS\AC31> COPY A:AC31V3.? C:\ABBSPS\AC31> COPY A:AC31V3.?

    Insert floppy disk 2 into drive A:. Then enter the following command:C:\ABBSPS\AC31> COPY A:AC31V3.? C:\ABBSPS\AC31> COPY A:AC31V3.?

    Proceed with the following commands: Proceed with the following commands:

    C:\ABBSPS\AC31> A:PACKEN AC31V3.EXE AC31V2 C:\ABBSPS\AC31> A:PACKEN AC31V2.EXE AC31V3

    C:\ABBSPS\AC31> AC31V3 C:\ABBSPS\AC31> AC31V3

    This takes a few minutes. Please answer enquiries following Overwrite with Y for yes. Then enter the followingcommands:

    C:\ABBSPS\AC31> DEL AC31V3.* C:\ABBSPS\AC31> DEL AC31V3.*

    C:\ABBSPS\AC31> MD BIB

    C:\ABBSPS\AC31> MD PROJEKTC:\ABBSPS\AC31> COPY EXAMP*.* PROJEKT C:\ABBSPS\AC31> COPY EXAMP*.* PROJEKT

    C:\ABBSPS\AC31> DEL EXAMP*.* C:\ABBSPS\AC31> DEL EXAMP*.*

    C:\ABBSPS\AC31> COPY ONLINE.OE PROJEKT C:\ABBSPS\AC31> COPY ONLINE.OE PROJEKT

    C:\ABBSPS\AC31> DEL ONLINE.OE C:\ABBSPS\AC31> DEL ONLINE.OE

    If you want to use the German version, please enter the following:

    C:\ABBSPS\AC31> COPY MPST_F_D.TEX MPST_F.TEX C:\ABBSPS\AC31> COPY MPST_F_D.TEX

    MPST_F.TEX

    C:\ABBSPS\AC31> COPY SER50_D.VE? BIB\SER50.* C:\ABBSPS\AC31> DEL SER50_*.*

    C:\ABBSPS\AC31> COPY SER90_D.VE? BIB\AC31.* C:\ABBSPS\AC31> DEL SER90_*.*

    C:\ABBSPS\AC31> DEL SER90_*.* C:\ABBSPS\AC31> COPY SER50NEU.* BIB

    C:\ABBSPS\AC31> COPY NEU.* BIBC:\ABBSPS\AC31> COPY MPST_D.* MPST.* C:\ABBSPS\AC31> COPY MPST_D.* MPST.*

  • 8/10/2019 2CDC120031M0201.pdf

    10/54

    14 907 PC 331/Issued: 11.98

    If you want to use the English version, please enter the following:

    C:\ABBSPS\AC31> COPY MPST_FG.TEX MPST_F.TEX C:\ABBSPS\AC31> COPY MPST_FG.TEX

    MPST_F.TEX

    C:\ABBSPS\AC31> COPY SER50_GB.VE? BIB\SER50.* C:\ABBSPS\AC31> DEL SER50_*.*

    C:\ABBSPS\AC31> COPY SER90_GB.VE? BIB\SER90.* C:\ABBSPS\AC31> DEL SER90_*.*

    C:\ABBSPS\AC31> DEL AC31_*.* C:\ABBSPS\AC31> COPY SER50NEW.* BIB

    C:\ABBSPS\AC31> COPY NEW.* BIB

    C:\ABBSPS\AC31> COPY MPST_GB.* MPST.* C:\ABBSPS\AC31> COPY MPST_GB.* MPST.*

    Only now are the following commands entered:

    C:\ABBSPS\AC31> RENAME MPST_DA.EXE MPST_D.EXE C:\ABBSPS\AC31> RENAME MPST_DA.EXE

    MPST_D.EXE

    C:\ABBSPS\AC31> DEL NEU.* C:\ABBSPS\AC31> DEL NEU.*

    C:\ABBSPS\AC31> DEL NEW.* C:\ABBSPS\AC31> DEL NEW.*

    New installation Update installation

    This terminates the installation. This terminates the installation. Before starting theprogramming software, you must still check the valuesof FILES and BUFFERS in the file CONFIG.SYS. Thevalues must each be at least 25 and must, if necessary,be set at this figure. When CONFIG.SYS is changed,

    restart the PC next.Now start the programming software as described under1.2. Starting the programming software and chooseLibrary, Read Manufacturer Library. In order toupdate your SER90 library, enter NEU (if you want towork with the German version) resp. NEW (if you wantto work with the English version). In order to update yourSER50 library, enter SER50NEU (if you want to workwith the German version) resp. SER50NEW (if you wantto work with the English version). Please observe, thatthe library to be updated (SER90 or SER50) is enteredin the project data.

    The existing library is now updated. Your user CEs will beconserved.

    Take the diskette 2 out of drive A:. Take the diskette 2 out of drive A:.

  • 8/10/2019 2CDC120031M0201.pdf

    11/54

    15907 PC 331/Issued: 11.98

    1.2 Start programming software

    The following details apply to when you have installed the programming software under drive C:.

    A batch file AC31.BAT was filed in the root directory during the installation. This allows you to start the programmingsoftware as follows:

    C:\AC31

    Start the programming software. The switchon image becomes visible.

    Display:

    Free memory = 103488 bytes

    PC Programming system for AC31

    ABB Schaltund Steuerungstechnik GmbH

    = Abort =Proj.: EXAMPLE =Continue=Help always accessible

    GJP5 2046 00 R0402 Version 11/98

    To call up the project EXAMPLE: Press . Enter AC31as the password.This brings you into the main menu, from where you can process the project.

  • 8/10/2019 2CDC120031M0201.pdf

    12/54

    16 907 PC 331/Issued: 11.98

  • 8/10/2019 2CDC120031M0201.pdf

    13/54

    21907 PC 331/Issued: 11.98

    2 Notes on programming

    This section gives you an overview of the procedure for programming.

    Service device TCZwith connection cable

    Personal computer 07 PH 32 withABB Programming and test software

    COM1 Programming MMC

    COM2 MMC (only 07 KT 92/93/94)

    07

    SK9

    0

    optionally toPC or TCZ

    07 KT 94

    Contents

    2.1 Connectable programming andservice devices 21. . . . . . . . . . . . . . . . . . . . .

    2.2 Programming and test software907 PC 331 22. . . . . . . . . . . . . . . . . . . . . . . . .

    2.3 Programming 22. . . . . . . . . . . . . . . . . . . . . .Procedure for creating a program 22. . . . . .Entering/changing a program 22. . . . . . . . .

    2.4 Saving a programin the Flash EPROM 23. . . . . . . . . . . . . . . .

    2.5 Special instructions 24. . . . . . . . . . . . . . . .

    2.1 Connectable programming andservice devices

    Programming and test unit 07 PH 32

    IBM compatible notebook PC for the ABB program-ming and test software.

    Technical data:

    80386SL processor

    Clock frequency 25 MHz

    4 MByte RAM, can be extended up to 10 MByte

    Cache

    84 MByte hard disk

    3.5 floppy disk drive (1.44 MByte)

    9.5 VGA monitor

    Battery operation for 3 hours

    Mains connection

    Mouse for rapid cursor control

    Second serial interface EIA RS232

    Adaptor from 9pole to 25pole serial interface

    Dimensions 279 x 216 x 44 mm

    Weight ca. 2.7 kg

    Order No. for 07 PH 32: GJV 307 2104 R0002

    TCZ service device

    This handheld device is suitable for servicing and forsmall alterations, e.g. for changing variable address-es, flags, times and counters.

    Programming language: Instruction list (IL)

    Technical data:

    4 lines LED display with 16 characters each,5 x 7 dots

    Keyboard with 40 keys

    Dimensions 80 x 155 x 31 mm

    Weight ca. 400 g

    Order No. for TCZ: FPR3200002R1001

  • 8/10/2019 2CDC120031M0201.pdf

    14/54

    22 907 PC 331/Issued: 11.98

    2.2 Programming and test software

    907 PC 331

    Programming and test system for entering, testingand documenting programs.

    Programming languages: Function block diagram (FBD) Instruction list (IL) Ladder diagram (LD)

    Features:

    Easy handling due to modern menu surface

    Menu selection with mouse or keyboard

    Operater guidance through instruction and helptexts

    Comments

    Symbolic variables

    ONLINE functionen such as status displaybit/word, breakpoint, forces

    Comprehensive program documentation in differ-ent formats

    2.3 Programming

    The PLC can be programmed in:

    Instruction list (IL)

    Function block diagram (FBD)

    Ladder diagram (LD)

    Sequential function chart (SFC)

    Programming in the instruction list corresponds toDIN 19239. This DIN defines the structure of the instruc-tion and of the function block. The user program is en-tered into the PLC via the serial interface COM1 of thePLC.

    When doing so, the ASCII characters from the instructionlist are directly transferred to the PLC. The programmingand test software, integrated in the PLC, translates the in-struction list during the transfer into another format. Thisformat (pseudocode) is required for the processing. Thesoftware stores it in the user program RAM of the PLC.

    The ASCII clear text interface revealed enables access tothe PLC with different userfriendly aids. These rangefrom the simple ASCII keyboard with digital display, be-yond the terminal, up to the userfriendly programmingand test system.

    2.3.1 Procedure for creating a program

    Creating an executable PLC program can be divided upas follows:

    Enter program, constants, system constants for oper-ating modes and system constant for cycle time intothe programming system

    Translate the program in the programming system

    Send program to the control system

    Send constants to the control system

    Save program in the Flash EPROM

    Start up and test the PLC program

    For successful entering and altering of a program, pleasepay special attentionto the following detailed descrip-tion.

    2.3.2 Entering / changing a program

    A PLC program can be entered or changed via the serialinterface COM1 of the PLC in the following statuses:

    Aborted status

    Running status

    Entering / changing a program in theaborted status

    In the aborted status, program changes can be madewithout restriction. Beforestarting a changed program,the operating modes must be set so that all operandranges are initialized. It is thus ensured that all operandsand historical values are initialized to 0, and valuesstored by the battery backup do not lead to malfunctions.

    Procedure when entering / changing a program in

    the aborted status

    Enter program / changes into the programming sys-tem

    Translate program / changes in the programming sys-tem

    Send program / changes to the control system

    Save program in Flash EPROM

    Note:For details really see also chapter 2.4 Program saving inthe Flash EPROM.

    Entering / changing a program in the

    running status

    Changes can be made to a runningPLC program.

    When the changes are taken over, there is noPLCstandstill time.

    The user must exercise extreme care when makingchanges to a running PLC program, as the programchanges immediately influence the running processwithout the possibility of tests.Programming errors can have grave results.

  • 8/10/2019 2CDC120031M0201.pdf

    15/54

    23907 PC 331/Issued: 11.98

    Permissible program changes

    Any program changes are permissible as long as nofunction blocks with historical values are affected.

    Function blocks with historical values may only beadded to or omitted at the program end.

    Any changes to indirect constants are permissible.This also includes changing the cycle time. If systemconstants are changed, chapter system constantsmust be taken into account.

    Forbidden program changes

    Deleting or adding to function blocks with historicalvalues within the PLC program is not allowed.

    Procedure when changing a PLC

    program in the running status

    Carry out changes in the programming system

    Translate changes in the programming system

    Send changes to the control system

    Release changes

    Save changes in the Flash EPROM

    Note:For details really see also chapter 2.4 Program saving inthe Flash EPROM.

    Rejecting a released change to a running PLC pro-

    gram and reactivating the old program status

    Not with AC31 Series 30, 40, 50

    Using the Reactivate old program menu field, the old

    program status can be reproduced. I.e. the changes car-ried out to and released for a running PLC program arerejected again.

    In addition, the PLC reproduces the old program status.The old program status is the status of the program priorto the program alteration.

    After entering the Reactivate old program menu field,the reactivation of the old program status takes placewithout further interference by the user within approx. 1ms.

    The command can be used if the user realizes that theprogram changes carried out do not produce the resultshe hoped for.

    Caution:The reactivation of the old program status only takesplace in the PLC. The user is expected to make undonethe changes in the programming and test system himself.

    2.4 Saving a program in the

    Flash EPROM

    The user can copy the PLC program from the program

    RAM to the Flash EPROM in order to save it in case ofpower fail or power off. To protect the program against

    power off, a back-up battery is therefore not neces-sary.

    2.4.1 Program: RAM > Flash EPROM

    The program is saved in the Flash EPROM as follows:

    in the ABB programming and test system bycalling the menu field

    Progr. > EPROM

    or

    in the terminal emulation by entering thecommand

    SP

    The Flash EPROM is deleted as follows:

    in the ABB programming and test system bycalling the menu field

    Delete EPROM

    or

    in the terminal emulation by entering thecommand

    DEEPAll configuration data which is in conjunction with theuser program is saved inclusively when the PLC pro-gram is copied to the Flash EPROM.

    2.4.2 Program: Flash EPROM > RAM

    If a PLC program is stored in the Flash EPROM, thisprogram is copied automatically into the programRAM in the following events:

    Power ON

    RUN/STOP switch from STOP > RUN

    Program started with programming systemIn order to make sure that an changed program is notoverwritten by an old program version stored in theFlash EPROM, it is first necessary

    to store the changed program in theFlash EPROM

    or

    to delete the FlashEPROM

    before any of the above mentioned actions.

    2.4.3 Commissioning phase

    If many program changes must be made during a sys-tems commissioning phase, it is recommended to deletethe Flash EPROM and to use a backup battery for theRAM instead.This has the following advantages:

    The time taken for repeated programstorage is saved

    Inconsistencies between the programming de-vice and the controller due to forgotten pro-gram saving cannot occur.

    After commissioning has been completed, it is appropri-ate to save the program from the RAM into the EPROM.

  • 8/10/2019 2CDC120031M0201.pdf

    16/54

    24 907 PC 331/Issued: 11.98

    2.5 Special instructions

    When calling the connection elements, please alwaysnote the description of the corresponding element in thedocumentation.

    2.5.1 System constants with ABB Procontic

    CS31 and Advant Controller 31

    When a new project is opened, a default variable list con-taining reserved indirect constants is read in automatical-ly. These constants serve to preset system parametersfor the PLC.

    ABB Series 90 Variable editor EXAMPLE

    E Variable Symbol Long text

    K 00,00 BIT=0 0K 00,01 BIT=1 1KW 00,00 MAST_SLV 2KW 00,01 INIT_M 0KW 00,02 INIT_MW 0KW 00,03 INIT_MD 0KW 00,04 INIT_S 0KW 00,05 INIT_VW 0KW 00,06 MODE_SST 0KW 00,07 FK3_REAK 0KW 00,08 LAST_REAK 0KW 00,09 HOCHFAHR 0KW 00,10 SLV_SEND 0KW 00,11 SLV_REC 0

    KD 00,00 ZYKL_ZEIT 10

    A E E

    Free memory for variables 65200 Bytes (100%)

    Important:If these constants are notcontained in the user program,they are deleted after calling function Delete variables (inthe block). The constants and their values must be thenentered anew.

    The default variable list can, however, also be read in withthe Block command KR. The following source mustthen be entered:

    C:\ABBSPS\AC31\SYS_CONS.SYM

    The variable list contains the following entries:

    Bit constant 0

    K 00,00 Bit=0 (default value: 0)

    Bit constant 1

    K 00,01 Bit=1 (default value: 1)

    Setting Master PLC, Slave PLC

    or Standalone PLC

    KW 00,00 MAST_SLVDefault value: 2 i. e. Standalone

    Setting initialization: binary flags

    KW 00,01 INIT_MDefault value: 0 i. e. initialization of the entire range

    Setting initialization: word flags

    KW 00,02 INIT_MWDefault value: 0 i. e. initialization of the entire range

    Setting initialization: double word flags

    KW 00,03 INIT_MDDefault value: 0 i. e. initialization of the entire range

    Setting initialization: step chains

    KW 00,04 INIT_SDefault value: 0 i. e. initialization of the entire range

    Setting initialization: historical values

    KW 00,05 INIT_VW

    Default value: 0 i.e. initialization of thehistorical values

    Setting mode of use of the serial interface

    KW 00,06 MODE_SSTDefault value: 0 i.e. mode of use is determined by

    the status of pin 6 of the interfaceconnector.

    PLC response to errors of class 3

    KW 00,07 FK3_REAKDefault value: 0 i.e. only signal errors

  • 8/10/2019 2CDC120031M0201.pdf

    17/54

    25907 PC 331/Issued: 11.98

    PLC response to overload/short circuit at the

    direct outputs A 62,00 ... A 62,07

    KW 00,08 LAST_REAKDefault value: 0 i.e. automatic acknowledgement of

    the overloaded output

    Initialization of the AC31 system after power ON

    KW 00,09 HOCHFAHR

    Default value: 0 i.e. user program is startedimmediately

    Size of the transmitting area of the slave PLC

    KW 00,10 SLV_SENDDefault value: 0

    Size of the receiving area of the slave PLC

    KW 00,11 SLV_RECDefault value: 0

    Setting of the cycle time

    KD 00,00 ZYKL_ZEITDefault value: 10

    The cycle time of the user program is preset by the doubleword constant KD 00,00. Only integral multiples of 5 msecare permitted as the cycle time. The entry must be madein the unit of time [ms]. The value is entered in the longtext of the constant in the variable editor.

    Setting the system constants so that these con-

    stants are not deleted when using the function De-

    lete variables in block

    The user can configure the constants as follows:

    1. Variable list

    The system constants with the relevant, required value (inthe long text) can be transferred to the variable list as theyare or can be changed. They are transferred to the PLCwith function Send constants. In this case, the systemconstants are deleted by command Delete variables (inthe block).

    2. User program

    The system constants are planned in the user program.The value is entered in the long text of the constant.

    In this case, the system constants are retained even afterDelete variables (in the block).

    It is practical to preset by a connection element (CE) or aninstruction after the end of the program (PE).

    Example function block diagram:

    Function block diagram

    PE

    MD (any)

    =D

    KD 00,00

    KW 00,00 MW (any)

    KW 00,01 MW (any)

  • 8/10/2019 2CDC120031M0201.pdf

    18/54

    26 907 PC 331/Issued: 11.98

    2.5.2 Error diagnosis with Advant Controller 31

    Using the default online list, it is possible to perform errordiagnosis for Advant Controller 31. This online list can beread in with function Read block. The online list (which isblank at the start) must be called for this purpose. The de-fault online list is read in with command KR and byentering:

    C:\ABBSPS\AC31\PROJEKT\ONLINE

    2.5.3 Intermediate flag, updating

    If an output of a connection element (CE) is connected di-rectly to the input of another CE in the function block dia-gram, the programming and test system 907 PC 33 auto-matically assigns an intermediate flag for this connection.

    Intermediate flagCE1

    CE2

    This intermediate flag is used several times in the pro-gram unless it is assigned globally. Owing to this multi-ple use, new values are continually assigned to the inter-mediate flag. In the case of some connection elements(CEs), the outputs and therefore the associated interme-

    diate flags are not updated in every program cycle. Inter-

    mediate flags not updated by the CE1 can lead to faultyresults with CE2. These faults are often difficult to recog-nize and find.

    Remedy:

    1. As a result, the outputs may not be directly connectedwith inputs of the subsequent CEs by lines in the caseof CEs which do not update their outputs. In this case,the connection to the next CE must be made by the

    explicit definition of a flag which is not in the range ofthe intermediate flags.

    2. Alternatively, it is also possible to assign the interme-diate flags globally in the concerned partial plan byadding @GLO as a text at the start of the partial plan.

    Example:No updating of the CE outputs; consequently, assign aflag explicitly.

    UST0/1

    MW 03,03

    +MW 03,03

    01

  • 8/10/2019 2CDC120031M0201.pdf

    19/54

    31907 PC 331/Issued: 11.98

    3 Configuration

    ____________________________________________________________________________________________

    3.1 Project management (Project man.)

    907 PC 331 displays the following after you call the main menu option Project man.:

    Config. PC33System functionsDOSShell

    Print 1Print 2Print param.

    PLC commun. 1PLC commun. 2PLC commun. 3

    ABB Series 90 Program module function selection EXAMPLE

    1 Project data

    2 Store project3 Quit system

    4 Modularization

    5 Data backup6 Data restore7 Copy project

    Project man.EditLibrary

  • 8/10/2019 2CDC120031M0201.pdf

    20/54

    32 907 PC 331/Issued: 11.98

    1 Project data

    907 PC 331 displays the following after calling menu option Project data:

    Timeout:

    Project___: C:\ABBSPS\AC31\PROJEKT\EXAMPLELibrary___: BIB\AC31

    ABB Series 90 Project data EXAMPLE

    PLC manufacturer: ABB PLC name_______: AC31

    PLC type__________: Series 90Responsible________:

    Project designation__:

    Project description__:

    Series 9007KP62Series 30, 40, 50T320 V8

    PLC version

    Last upda

    The Project datamenu contains information relevant tocreation, processing and documentation of the user pro-gram.

    Refer to 907 PC 33, chapter 5, for explanation of the pa-rameters which can be entered.

    PLC type

    The first step is to select the PLC type field with the cursor.Press the space bar to set and select the PLC type for

    which the user program is intended.

    Series 90:

    Make this selection when you program a 07 KR 91,07 KT 92, 07 KT 93 or 07 KT 94.

    Series 30,40,50:

    Make this selection when you program a 07 KR 31,07 KT 31, 07 CR 41, 07 CT 41, 07 KR 51 or 07 KT 51.

    07 KP 62:

    Make this selection when you program the communica-

    tion processor 07 KP 62 of the system ABB ProconticT200.

    T320 V8:

    Make this selection when you are processing a projectwhich you have transferred with data transfer from 907

    PC 32. This allows you to process and adapt the oper-ands which, for example, exceed the limits of Series 90.

    This activates the PLC type-dependent syntax monitor-ing facility for the program input. The relevant range limitsof the operands of Series 30, 40, 50 and 90 are listed inVolume 4.

    Note: The flag ranges (M and MW) are not limited bythe Series 30, 40, 50 choice. The user has to take care

    not to use an invalid variable. Otherwise a transmis-

    sion error will occur when the program is sent to thecentral unit.

    There is no control type-dependent monitoring for the in-put of the connection elements (CEs) in the FBD/LD edi-tor. All CEs contained in the CE library can be enteredwith every control type setting.

    All further settings in the above screen display are ex-plained in the operating manual 907 PC 33, General Part.

    The choice of Series 30, 40, 50 selects the library withconnection elements (CEs) available for these central

    units.With the Series 30, 40, 50 the library of SER50 has tobe chosen instead of the SER90 library. The library of

    SER50 contains all connection elements (CEs) avail-able for Series 30, 40, 50.

  • 8/10/2019 2CDC120031M0201.pdf

    21/54

    41907 PC 331/Issued: 11.98

    4 Online

    ____________________________________________________________________________________________

    IMPORTANT:Depending on the nature of the ONLINE functions,

    these have a direct influence on the PLC programand/or the I/O signals and thus on the process.Therefore, in all cases before running the function,make sure that personal injury and machine damageare impossible!

    907 PC 331 provides a series of functions for commis-sioning and checking the PLC program. These includethe main menu options PLC Commun. 1...3 and theONLINE functions that can be called in the FBD/LD edi-tor, extended IL and the variable editor in a menu. To dothis, your PCs serial interface COM1 must be connectedto the PLCs serial interface with the cable 07 SK 90 R1,

    FPTN404948R0002 or 07 SK 50. You will find a furtherdescription of this cable in the system description of theAdvant Controller 31, Volume 2 Hardware.

    You can use either the interface COM1 or COM2 of yourPC for communication with the PLC. The interface is setin the main menu Config.PC33, COM port for prog..When delivered, 907 PC 331 is set to the interface COM1.

    4.1 PLC communication

    Monitoring of the access path

    If the programming system loads a PLC program in thePLC, the project name is also transferred to the PLC andstored.The programming system automatically checks whetherthe access path leads to the required user program, be-fore each access operation to the PLC.

    For this purpose, a check is conducted in order to estab-lish whether the project name in the PLC is the same as

    the project name in the programming system.

    This ensures that the programming system is connectedto the correct user program.

    The user does not notice this check of the access path ifthe settings in the PLC are the same as the settings in theprogramming system. If differences are established dur-ing the check, a message is displayed, informing the op-erator what setting exists in the PLC and what setting ex-ists in the programming system. The user must then ac-knowledge whether the setting in the programming sys-

    tem is to be transferred to the PLC or not.

    Message if the names do not correspond:ID in PLC:XXX / im System:YYY. Change? (Y/N)XXX = project name in the PLCYYY = project name in the programming system

    Note on communication:Communication between the PLC and the programmingand test system is possible only if operating modeDEUTSCH is set on the PLC (default setting when deliv-ered). This also applies if working with the English pro-

    gramming software.

    4.1.1 PLC communication 1

    The programming system displays the following after call-ing menu option PLC commun. 1:

    PLC commun. 1PLC commun. 2

    PLC commun. 3

    Project man.

    Edit

    Library

    Print 1

    Print 2

    Print param.

    Config. PC33

    System functions

    DOSShell

    ABB Series 90 Program module function selection KUNDE

    2 Receive program3 Compare program4 Delete program5 Send constants6 Receive constants

    1 Send program

    7 Compare constants

    8 Start program9 Abort program

  • 8/10/2019 2CDC120031M0201.pdf

    22/54

    42 907 PC 331/Issued: 11.98

    1 Send program

    The PLC program which exists in the form of an instruc-tion list is transferred if menu option Send programis se-lected.

    After transfer, you are prompted to decide whether thevalues of the constants (K, KW, KD) are also to be trans-ferred. If you answer Yes, the constants are transferred.

    We must distinguish between two cases when transfer-

    ring programs to the PLC. We suggest the following pro-cedure:

    Case 1:

    The program in the PLC is in status ABORTED: Transfer program to the PLC Transfer constants to the PLC Save program in flash EPROM Start program

    Note:

    Before starting the PLC program the system constantsKW00,01 ... KW00,05 have to be set to 0 (= default) if the

    program has been modified in order to be on the safe side,so that all operand areas are initialized with 0 when start-ing the program. This makes sure that stored values ofoperands or historical values do not result in malfunc-tions. After program start the system constants KW00,01... KW00,05 can again be set to the values required for theapplication.

    Case 2:

    The program in the PLC is in status RUNNING: Trans-fer program to the PLC Transfer constants to the PLC Enable changes in the PLC for processing Save program in flash EPROM

    Notes:

    When the alterations are taken over, there is no PLCstandstill time.The user must exercise extreme care when makingchanges to a running PLC program, as the programchanges immediately influence the running process with-out the possibility of tests. Programming errors can havegrave results.

    2 Receive program

    The program is read from the PLC and stored in the pro-gramming system if you select menu option Receive pro-gram.

    The start and end address of the program or program partto be read out must be specified. If the address of the endof the program PE is known, the program can be read outspecifically up to this address. It is advisable to determinethe address of the end of the program from the translatedIL since entering the end address substantially speeds upthe process of reading back from the PLC. If the PLC pro-gram is not read out as of word address 0, the range be-tween word address 0 and the entered start address ispadded automatically with NOPs in the programming sys-

    tem.

    3 Compare program

    The program is read out of the PLC and compared to thecurrent program stored in the programming system if youselect menu option Compare porgram.

    Modularized projects:Calling up from the overall project level

    In the case of modularized projects, the program compar-ison is conducted modulebymodule. The modules are

    compared in the order in which they are listed in the mod-ularization editor.

    Modularized projects:Calling up from the program module level

    In the case of modularized projects, program comparisontakes place on a modulerelated basis if it is called upfrom the program module level. The PLC program is readout and compared starting at the address where the mo-dule begins up to the last address of the module.

    After the program has been read out of the controller, allinstructions are checked for differences. Stating the wordnumber, it is shown whether the command, operand oroperand number differ.

    The program comparison can be aborted after every de-tected difference. The number of differences found is dis-played at the end.

    4 Delete program

    The program is deleted from the PLC if you select menuoption Delete program.

    The programming system suggests 0 as an initial word

    number and 30583 as an end word number. Change theend word number to the maximum number of addressessupported by the PLC.

  • 8/10/2019 2CDC120031M0201.pdf

    23/54

    43907 PC 331/Issued: 11.98

    5 Send constants

    The indirect constants (K, KW, KD) are transferred to thePLC if you select menu option Send constants.If only values of constants are changed in the program-ming system and the program remains unchanged, it suf-fices to transfer these to the PLC with function Send con-stants. In this case, it is not necessary to transfer the pro-gram itself again to the PLC.

    Function Send constantscan be performed if the PLCprogram is in

    status RUNNING or in

    status ABORTED.

    6 Receive constants

    The indirect constants (K, KW, KD) of the PLC programare read from the PLC and stored in the programmingsystem in the variable list if you select menu option Re-ceive constants.The two binary constants (K 00,00 and K 00,01) are readout automatically. In the case of the word constants (KW)and the double word constants (KD), the required rangemust be specified. For example:Word constants from: KW 00,00 toKW 01,00.You can quit the function with . When reading out,it is of no importance whether the constants to be read outare actually used in the program or not.

    7 Compare constants

    The constants (K, KW, KD) of the PLC program are readfrom the PLC and compared with those in the current proj-ect of the programming system if you select menu optionCompare constants. Differences are displayed.

    8 Start program

    The PLC program is started if you select menu optionStart program. If there is a program in the Flash EPROM,this program is copied to the user program RAM andstarted. The user must thus ensure that

    the most recent program version is always saved inthe Flash EPROM or

    he works with an erased Flash EPROM during the testphase in which many program changes occur.

    9 Abort program

    The PLC program is aborted if you select menu optionAbort program. The related process outputs are set to thevalue 0.

  • 8/10/2019 2CDC120031M0201.pdf

    24/54

    44 907 PC 331/Issued: 11.98

    4.1.2 PLC communication 2

    The programming system displays the following after calling menu option PLC commun. 2:

    Project man.

    Edit

    Library

    Print 1

    Print 2

    Print param.

    Config. PC33

    System functions

    DOSShell

    ABB Series 90 Program module function selection KUNDE

    PLC commun. 1PLC commun. 2PLC commun. 3

    1 Progr. > EPROM2 Delete EPROM3 Enable PLC mode4 Cold start5 Terminal emulation

    1 Program > EPROM

    When the menu point Progr. > EPROMis selected, theuser program is transferred from the RAM memory of thePLC into the Flash EPROM. This safeguards the userprogram against power failure.Whenever the PLC program is started up, the PLC pro-gram is first automatically transferred from the FlashEPROM to the RAM memory. The PLC program is thenstarted from the RAM memory. Automatic transfer of the

    PLC program from the Flash EPROM to the RAMmemory naturally only occurs when a PLC program is ac-tually present in the Flash EPROM.

    2 Delete EPROM

    Selecting the menu point Delete EPROMdeletes the userprogram in the Flash EPROM of the PLC. The FlashEPROM should be deleted, for example, when you wishto prevent the program being overwritten in the RAM bythe program version from the Flash EPROM at the start ofthe program (commissioning phase).

    3 Enable PLC modeThe PLC mode (e.g. Standalone or Master) is defined bythe value of the system constant KW 00,00. The defaultsetting for the mode is Standalone mode (KW 00,00 =2).

    A change of the PLC mode is performed in three steps:

    1. Change system constant KW 00,00 and transfer tothe PLC

    2. Save the PLC program in the Flash EPROM (thissaves the changed system constant KW 00,00 in the

    Flash EPROM)

    3. Activate the new PLC mode by: calling menu option Enable PLC modeor switching the power off and back on again or calling menu option Cold start

    If the RUN/STOP switch is set to RUN, the PLC programis also started with Enable PLC mode.

    4 Cold start

    A cold start is performed on the PLC if you call menu op-tion Cold start.

    A cold start sets the PLC to its initial state (condition asdelivered). All RAMs are tested and erased. If there is aprogram in the Flash EPROM, this program is transferredto the program RAM. The modes configured in this pro-gram are set on the PLC.

    5 Terminal emulation

    The programming and test system emulates a terminal ifyou select menu option Terminal emulation.The PLC has integrated programming, test and monitorfunctions which provide the user with access to all PLCcapabilities via a terminal. Certain PLC functions whichcannot be addressed directly by the programming systemcan be used with the aid of Terminal emulation. The possi-ble functions within terminal emulation are described inthe System description Advant Controller 31, Section 7.

    Quiiting TerminalEmulation:You can quit terminal emulation again by pressing key

    .

  • 8/10/2019 2CDC120031M0201.pdf

    25/54

    45907 PC 331/Issued: 11.98

    4.1.3 PLC communication 3

    The programming system displays the following after calling menu option PLC commun. 3:

    Projekt man.

    Edit

    Library

    Print 1

    Print 2

    Print param.

    PLC commun. 1PLC commun. 2PLC commun. 3

    Config. PC33

    System functions

    DOSShell

    ABB Serie 90 Program module function selection KUNDE

    1 Trace on2 Trace off3 Trace status4 I/O test on5 I/O test off6 Display PLC status7 Free progr. space

    Trace mode

    In Trace mode, the PLC notes in a trace register the userprogram address last executed. After a system crash, thistells you at what point in the program the crash occurred.Trace mode increases the execution time of the user pro-gram. The contents of the trace register are retained evenin the following cases:

    in the case of a warm start (Enable PLC mode)

    after powerup, if the PLC is equipped with a back-upbattery.

    Not available in Series 30, 40, 50.

    1 Trace on

    Trace mode is activated on the PLC if you select menu op-tion Trace on.

    2 Trace off

    Trace mode is deactivated on the PLC if you select menuoption Trace off.

    3 Trace status

    The contents of the trace register are displayed if you se-lect menu option Trace status. The trace register containsthe last program address executed.

    4 I/O test on

    Operating mode I/O test is activated if you select menuoption I/O test on.

    In operating mode I/O test, the user can check the cor-rectness of the wiring of his I/O signals from the PLC pro-gram through to the process.

    The PLC program is notexecuted after start in operatingmode I/O test. Only the I/O signals planned in the pro-

    gram are operated, i.e. the input signals are read in andthe output signals are output. However, the output signalsare output only if they have been set by the user, e.g. byforcing.

    By actuating limit switches etc., it is possible to checkwhether these signals are arriving in the PLC with the de-clared I/O designations. By specifically overwriting orforcingoutputs, you can check whether the signals issuedare arriving at the correct point in the process.

    The values of the I/O operands of interest in the PLC canbe displayed with function Status displayin online mode.

    Command I/O test oncan be executed even with the pro-gram running. The operating mode is then activated at thestart of the next program cycle.

    Not available in Series 30, 40, 50.

    5 I/O test off

    Operating mode I/O test is deactivated by selecting menuoption I/O test off, i.e. the user program is executed nor-mally again as of this point. It is practical to abort the pro-gram before activating the I/O test.

  • 8/10/2019 2CDC120031M0201.pdf

    26/54

    46 907 PC 331/Issued: 11.98

    6 Display PLC status

    The entire status of the PLC is displayed as follows if youselect menu option Display PLC status:

    Program identification (project name) Cycle time in ms Program status

    Active test functions Contents of the TRACE register Error messages Capacity utilization

    7 Free program space

    The number of program memory words still free in thePLC is calculated if you select menu option Free progr.space. The program memory in the PLC is checked fromthe end for NOPs. The number of NOPs found is then dis-

    played.

    4.1.4 PLC communication from FBD/LDand extended IL

    Besides PLC communication directly from the menu in-terface, it is also possible to communicate with the PLCfrom the FBD/LD or the extended IL. When you press thespace bar or the right mouse button, a window is pulleddown containing an overview of the functions available inthe FBD/LD or in the extended IL. You will see the follow-ing window after you select function TRANSLATE/TRAN-

    SFER:

    TRANSLATE/TRANSMIT

    Translate changesTranslate complete

    Translate/transmit changesSend changesReactivate old programSend programCompare program

    Send constantsCompare contstants

    Progr. > EPROMDelete EPROM

    Display transl. ILTroubleshooting

    Level higher

    Note on how to carry out changes in a program:

    If changes are made in a program, they have to be trans-lated and send before leaving the editor.

    Fast translation and transmission of the program

    A fast procedure can be used for translating the FBD/LDor extended IL, namely Translate changes. However, aprecondition is that the entire program has already beentranslated once.

    Sending the translated IL to the PLC can also be acceler-ated by Send changes. However, a precondition is thatthe entire program has already been sent once.

    With Send changes, whole partial plans (those in whichchanges have been made) are sent.

    In addition, it is also possible to transfer program changesor a complete program online, i.e. with the PLC running.

    In order to be able to use all possibilities, a few instruc-tions must be observed. These are listed in the table be-low.

  • 8/10/2019 2CDC120031M0201.pdf

    27/54

    47907 PC 331/Issued: 11.98

    Type of change inFBD/LD or extended IL

    Guidelines

    Change variablee.g. E0,0 to M0,0

    Swap CEe.g.

    & /

    to

    Set or delete inversion

    Add CEDelete CE (no CEs with histor-ical values; see CE descriptionin Volume 7)

    Split, move, insert or appendsegment plan

    Insert block into already existingsegment plan (with block functionKR), block does not fit inthe current SP

    Delete whole segment plan

    Modify sequence ofsegment plans

    Instructions for Translate changes andSend changes

    Translate changesis possible, even with changes in severalsegment plans.Send changesis possible, as long as no segment plans were added.

    Translate changesis possible, even with changes in severalsegment plans.Send changesis not possible. The entire program must betransferred with Send program.

    Translate changesis not necessary (the programming software notesthe deleted segment plan and does not send it to the PLC). However,the entire program must be transferred with Send program.

    Note: It is possible to send changes both in the Program aborted state and in the Program running

    state.

    Change text constante.g. #Text1 to #Text2

    Double CE connection

    Copy blockRead in block with (block fits in the current SP)

    Copy segment plan

    Read in block in the segmentplan management

    Note on using ZIf you just want to look at a variable with symbol and long text but notchange it, please use the key combination P. This tells 907PC 331 that no changes were made and also does not request thetranslation. The function can also be called up in online mode.

    Shift segment plan

    Change a text constant withZ or in the variable edi-tor

    Translate changes is not possible. Everything must be translated.The entire program must be transferred with Send program.

    Translate changesis possible, even with changes in severalsegment plans.Send changesis possible.

    Change a variablewith

    Change one or more variables inthe variable editor

    Translation is not necessary.The entire program has to be sent.

  • 8/10/2019 2CDC120031M0201.pdf

    28/54

  • 8/10/2019 2CDC120031M0201.pdf

    29/54

    49907 PC 331/Issued: 11.98

    The PLC requires approximately 1 ms to reactivate theold program status.You can use the command if you recognize that the pro-gram changes made on the runningPLC program are nothaving the required effect.

    Note:The abovedescribed functionality runs only in the PLC,i.e. the program changes made and stored in the pro-gramming system are not affected by this. The user him-

    self must ensure that the changes are cancelled again inthe programming system so that the program in the PLCis the same as the program in the programming systemagain.

    Send programm 3

    The PLC program which exists in the form of an instruc-tion list is transferred completely if you select menu optionSend program.

    After transfer, the system prompts you to decide whetherthe values of the constants (K, KW, KD) are also to betransferred. If you answer Yes, this is then done.

    We must distinguish between two cases when transfer-ring programs to the PLC. We suggest the following pro-cedure for this:

    Case 1:The program in the PLC is in status ABORTED: Transfer program to the PLC Transfer constants to the PLC Save program in Flash EPROM Start program

    Note:

    Before starting the PLC program the system constantsKW00,01 ... KW00,05 have to be set to 0 (= default) if theprogram has been modified in order to be on the safe side,so that all operand areas are initialized with 0 when start-ing the program. This makes sure that stored values ofoperands or historical values do not result in malfunc-tions. After program start the system constants KW00,01... KW00,05 can again be set to the values required for theapplication.

    Case 2:

    The program in the PLC is in status RUNNING: Trans-fer program to the PLC Transfer constants to the PLC Enable changes in the PLC for processing Save program in flash EPROM

    Notes:When the alterations are taken over, there is no PLCstandstill time.The user must exercise extreme care when makingchanges to a running PLC program, as the programchanges immediately influence the running process with-

    out the possibility of tests. Programming errors can havegrave results.

    Compare program 4

    The program is read out of the PLC and compared withthe current program stored in the programming system ifyou select menu option Compare program.

    In the case of modularized projects, program compari-sons are made on a modulerelated basis. The PLC pro-gram is read out as from the address at which the module

    starts and is compared up to the address at which the mo-dule ends.

    After the program has been read from the PLC, all instruc-tions are checked for differences. The system displayswhether command, operand or operand number differ,specifying the word number.

    The program comparison can be aborted after every de-tected difference. The number of differences found is dis-played at the end.

    The help program Compare offers a further possibilityfor comparing PLC projects. It is described in chapter 5.

    Send constants 6

    The indirect constants (K, KW, KD) are transferred to thePLC if you select menu option Send constants.If only values of constants have changed in the program-ming system and the program remains unchanged, it suf-fices to transfer these to the PLC with Send constants.The program itself does not need to be transferred to thePLC again.

    You can perform function Send constantsif the programis in

    status RUNNINGor in status ABORTED.

    Compare constants 7

    The constants (K, KW, KD) of the PLC program are readfrom the PLC and compared with those in the current proj-ect of the programming system if you select menu optionCompare constants. Differences are displayed.

    Program > EPROM

    The user program is transferred from the RAM of the PLCto the Flash EPROM if you select menu option Progr. >

    EPROM. This thus safeguards the user program againstpower failure.

  • 8/10/2019 2CDC120031M0201.pdf

    30/54

    410 907 PC 331/Issued: 11.98

    Each time the PLC program is started, the PLC programis first transferred automatically from the Flash EPROMto the RAM. The PLC program in the RAM is then started.Automatic transfer of the PLC program from the FlashEPROM to the RAM is performed, of course, only if thereis actually a PLC program in the Flash EPROM.

    Delete EPROM

    The user program in the Flash EPROM of the PLC is de-

    leted if you select menu option Delete EPROM. The FlashEPROM should be erased for instance if you wish to pre-vent the program in the RAM being overwritten by the pro-gram version from the Flash EPROM when starting theprogram (commissioning phase).

    4.2 Test

    Extensive operator control and test functions are avail-able for testing the PLC program in online mode. Theseoperator control and test functions can be used

    in the FBD/LD in the extended IL in the variable list in the online list.

    In addition, online information such as program status,variable status and breakpoint addresses is displayed onthe monitor.

    Status information is designated or abbreviated as fol-lows:

    Running Program execution is running.

    Aborted Program execution is aborted; theoutputs are set to 0.

    Stopped Program execution is stopped;the outputs retain their last value.

    On breakpoint Program execution has stoppedsince Single step (ES) or Singlecycle (EZ) is active or since abreakpoint has been reached.

    EZ Single cycle active

    ES Single step active

    On breakpoint Breakpoint set. The breakpointaddress, consisting of module

    number and word number, is dis-played when a breakpoint is re-ached.

    BV Breakpoint pursuit on

    FO Forcing active

    Variable sta outp Status of selected variables on

    The following functions are not available in the Se-ries 30, 40, 50:

    Stop

    On breakpoint EZ ES

  • 8/10/2019 2CDC120031M0201.pdf

    31/54

    411907 PC 331/Issued: 11.98

    Online

    Project: \EXAMPLE\Program example SP No: 02 ABS TX:00 TY:021

    Program example

    E 62,00

    E 62,01

    E 62,02

    KD 01,00

    ASV

    0T

    ZD

    /

    Q

    Your Program should then=======================

    ONLINE

    Online On/OffOnline functionsDisplay formatCollect

    Online listBreakpoint list

    Level higher

    The online test is activated and deactivated by selectingmenu option Online On/Off. The menu is displayed afteryou press the space bar or the right mouse button. Youcan select the required menu option with the Enter key orthe left mouse button.

    The online mode is possible:

    in the function block diagram/ladder diagr. FBD/LDin the extended instruction list (extended IL)in the variable listin the online list

    Notes:

    Display of variable states when the program is aborted:

    Inputs: As the central units use the process image,the last states of the inputs retain in the inputimage. If therefore the program is aborted andafter that, the states of the inputs change,then these states cannot be displayed as theprocess image is not updated.

    Outputs: When the program is aborted, the realoutputsare set to 0. However the outputs in the pro-cess image still have their old values. Thatmeans that the old states of the outputs aredisplayed in 907 PC 331. Only after a newstart of the PLC program the process imagewill be updated.

  • 8/10/2019 2CDC120031M0201.pdf

    32/54

    412 907 PC 331/Issued: 11.98

    ONLINE FUNCTIONS

    StartAbortStopContinue

    Abs./Sym.

    Level higher

    Bit/word

    Single cycleSingle stepBreakpointStatusOverwrite

    JogStat. sel. var. On/Off

    BREAKPOINT

    Set single

    Set all

    Abs./Sym.Level higher

    Bit/word

    JogStat. sel. var. On/Off

    STATUS

    Variable statusStatus trigger on var.Status trigger time

    Abs./Sym.

    Level higher

    Bit/word

    JogStat. sel. var. On/Off

    Edit stat. sel. var.

    OVERWRITE

    Edit overwrite list

    Overwrite all

    Level higher

    JogStat. sel. var. On/Off

    ABB Series 90 ONLINE editor KUNDE

    Variable Symbol B

    AAAA

    Va

    Return to the function menu ofthe editor from which the ON-LINE FUNCTIONS were called.

    Return tothe editorfrom whichthe onlinelist was se-lected, e.g.

    FBD/LD.

    Menu overviewOnline functions

    Force

    FORCE

    Edit force list

    Abs./Sym.

    Level higher

    Bit/word

    Jog

    Stat. sel. var. On/Off

    Display force values

    Disable forcing single

    Edit BP list

    Overwrite single

    Display

    Delete single

    Delete all

    BP pursuit on/off

    Accept status

    Force single

    Force allDisable forcing all

    Entries: 4 Line: 0 Marked:D:0 F:0 0:0

    ONLINE EDITOR Menu 6

    ONLINE Menu 7

    EditBlock commandsOnline onChange over layoutQuit editorAbort menu

    StartAbortStopContinueSingle cycle on/offSingle step on/offStatusOverwriteForceJogStat. sel. var. On/Off

    Online off

    Quit editorAbort menu

    Menu 1Menu 2

    Menu 3

    Menu 4

    Menu 5

    Collect for BP list

    Collect for force mode

    Collect for sel. var.

    Collect for overwrite

    Freeze status display

    (only FBD/LD)(only FBD/LD)

    on/offon/off

    (only FBD/LD)(only FBD/LD)

    (only FBD/LD)

    (only FBD/LD)

    (only FBD/LD)(only FBD/LD)

    Bit/word (only FBD/LD)

    Abs./Sym. (only FBD/LD)

    D F O M

  • 8/10/2019 2CDC120031M0201.pdf

    33/54

    413907 PC 331/Issued: 11.98

    ONLINE functions

    It is possible to call the required online functions by select-ing the corresponding menu option during online test.

    Menu ONLINE FUNCTIONS (Menu 1)

    ONLINE FUNCTIONS

    StartAbortStopContinue

    Abs./Sym. (only FBD/LD)

    Level higher

    Bit/word (only FBD/LD)

    Single cycle on/offSingle step on/offBreakpointStatusOverwrite

    JogStat. sel. var. On/Off

    Force

    >>>>

    Start program, S

    The PLC program is started if you select menu optionStartor if you press hotkey S.

    You can start the program only if the program is in statusAborted and the RUN/STOP switch is set to positionRUN.

    Timers which have been started continue to run indepen-dently of the status of the user program in the operatingsystem of the PLC. They are aborted only by a warm startor a cold start.

    Abort program, A

    The PLC program is aborted if you select menu optionAbortor if you press hotkey A. Execution of theuser program is aborted at the end of the program. Therelated process outputs are set to the value 0.

    You can abort the program only if the program is in statusRunningor Stopped.

    Timers which have been started continue to run indepen-dently of the status of the user program in the operatingsystem of the PLC. They are aborted only by a warm startor a cold start.

    Stop program, H

    The PLC program is stopped if you select menu optionStopor if you press hotkey H. Execution of the user

    program is stopped at the end of the program. The flagsand the process outputs retain their values.

    You can stop the program only if the program is in statusRunning.

    Timers which have been started continue to run indepen-dently of the status of the user program in the operatingsystem of the PLC. They are aborted only by a warm startor a cold start.

    Not available inSeries 30, 40, 50.

    Continue program, CThe PLC program is continued if you select menu optionContinueor if you enter command C.

    You can continue the program only if the program is in sta-tus Stopped.

    Timers which have been started continue to run indepen-dently of the status of the user program in the operatingsystem of the PLC. They are aborted only by a warm startor a cold start.

    Not available inSeries 30, 40, 50.

    Single cycle On/Off, Z

    Operating mode Single cycle is activated or deactivated ifyou select menu option Single cycleor if you press hotkeyZ.

    Execution of the PLC program is interrupted at the end ofthe program in operating mode Single cycle. The flagsand process outputs retain their values.

    Advancing by one program cycle: Jog.A further program cycle is executed in each case withfunction Jog. Timers which have been started continueto run independently of the status of the user program inthe operating system of the PLC. They are aborted onlyby a warm start or a cold start.

    Not available inSeries 30, 40, 50.

    Single step On/Off, S

    Operating mode Single step is activated or deactivated inthe PLC program if you select menu option Single steporif you press hotkey S.Execution of the PLC program is interrupted after each

    program step in operating mode Single step.

    A program step extends in each case:

    through to the end of the next function block, through to the next assignment, through to the next right bracket.

    The flags and process outputs retain the values assignedto them in the PLC program.

    Advancing by one program step: Jog.A further program step is executed in each case with func-tion Jog.

    Not available inSeries 30, 40, 50.

  • 8/10/2019 2CDC120031M0201.pdf

    34/54

    414 907 PC 331/Issued: 11.98

    Timers which have been started continue to run indepen-dently of the status of the user program in the operatingsystem of the PLC. They are aborted only by a warm startor a cold start.

    Not available in 07 KR 31.

    Breakpoint

    Execution of the user program can be interrupted specifi-

    cally at the program points at which breakpoints havebeen set in operating mode Breakpoint. The followingsubmenu is called if you select menu option Breakpoint:

    Not available inSeries 30, 40, 50.

    Menu BREAKPOINT(Menu 2)

    BREAKPOINT

    Set single

    DisplayBP pursuit on/off

    Abs./Sym. (only FBD/LD)

    Level higher

    Bit/word (only FBD/LD)

    JogStat. sel. var. On/Off

    Delete singleSet allDelete all

    Edit BP listCollect for BP list

    Set breakpoint, single, B

    The cursor must first be on the appropriate line in the ex-tended IL or must be positioned on the correspondingvariable field in the FUPKOP where the breakpoint shouldbe set.

    Selecting the Set singlemenu point or the hot key B al-lows the breakpoint to be set.

    An input window from the breakpoint list appears:

    B M Mod Addr Comment

    * 001 0005

    When you press , this confirms the display, thebreakpoint is activated immediately in the PLC and isadopted as marked in the breakpoint list.

    The entry is rejected if you press . No breakpoint isactivated.

    Breakpoints can be set to the word numbers of the follow-ing elements:

    to the word No. of the last operand of a functionblock

    to the word No. of the operand after an assignmentsymbol

    to the word No. of a right bracket to the word No. of the endofprogram identifier.

    Breakpoints can also be entered with the PLC programrunning.In the case of modularizedprojects, the word number dis-played in the window always relates to the startof therelevant module.

    A maximum of 15 breakpoints are permitted simulta-

    neously.

    Delete breakpoint single, B

    The set breakpoint can be deleted singly, i.e. deactivatedin the PLC if you select menu option Delete singleor if youpress hotkey B. You must move the cursor to thecorresponding variable or to the corresponding line be-fore selecting Delete singleor before pressing B.You will then see the input window displayed beforehand.Confirm the display with , after which the break-point is deactivated immediately in the PLC . The marking

    of the breakpoint in the breakpoint list is cancelled.The entry is rejected if you press . The breakpointremains set.

    Set breakpoints all, W

    The breakpoints entered in the breakpoint list with Edit BPlistare activated in the PLC if you select menu option Setall or if you press hotkey W.

    Breakpoints can be set to the word numbers of the follow-ing elements:

    to the word No. of the last operand of a function

    block to the word No. of the operand after an assignment

    symbol to the word No. of a right bracket to the word No. of the endofprogram identifier.

    Breakpoints can also be entered with the PLC programrunning.

    Advancing to the next breakpoint: Jog.Program execution is enabled until the next breakpoint isreached with function Jog.

    A maximum of 15 breakpoints are permitted simulta-neously.

  • 8/10/2019 2CDC120031M0201.pdf

    35/54

    415907 PC 331/Issued: 11.98

    Delete breakpoints all, W

    All set breakpoints can be cancelled at once, i.e. deacti-vated in the PLC, if you select menu option Delete allor ifyou press hotkey W. All markings are removedfrom the breakpoint list.

    Collect for breakpoint list, 2

    Program addresses can be entered in the breakpoint list ifyou select menu option Collect for BP listor if you press

    hotkey 2. You must move the cursor to the correspondingvariable in the FBD or to the corresponding line of the ex-tended IL before execution of the function. The samerules apply as when setting individual breakpoints. Col-lection for the breakpoint list is not possible in the ladderdiagram.

    Edit breakpoint list, L

    You call the breakpoint list by selecting menu option EditBP list.

    ABB Series 90 Breakpoint list KUNDE

    B M Mod Addr Comment

    * 001 0001

    Entries: 1 Line: 1 Marked:B:1

    You can then enter a list of breakpoint addresses, specify-ing the relevant module number, and these must then bemarked in column B with . The marking can be can-

    celled again with .

    In the case ofmodularizedprojects, the word number al-ways refers to the startof the relevant module.

    Display breakpoint, Q

    Selecting the menu point Display or the hot key Q readsthe set breakpoints into the breakpoint list. They can bedisplayed with the function Enter BP list (enter breakpointlist, hot key L). The readin breakpoints are marked.

    In the case of modularized projects, the word number al-ways refers to the start of the relevant module.

    Breakpoint persuit On/Off, P

    The relevant, active breakpoint can be detected in thePLC and displayed in the FBD/LD (orientation column orvariable field), in the extended IL (corresponding line) or

    in the translated IL (corresponding line) if you select menuoption BP pursuit on/offor if you press hotkey P.

    If the active breakpoint is not in the current module in thecase of modularized projects, the current module is quitand the corresponding module is automatically called up.

    Any entered changes are taken into account by an enqui-ry.

    Jog, G

    This command is operable only in modes Single step orSingle cycle or if breakpoints have been set.

    Selecting menu option Jogor pressing hotkey G meansthat

    the program executes the next program step inSingle step mode,

    the program is run through once in Single cyclemode,

    the program is executed through to the next break-point if breakpoints are set.

    Status of selected variables On/Off, A

    Only the status values of the variables selectedby theuser are updated on the monitor if you select menu optionStat. sel. var. On/Offor if you press hotkey A.

    The variables are selected by entering them in the online

    list and marking them in column D. The statuses of all oth-er variables are no longer updated.

  • 8/10/2019 2CDC120031M0201.pdf

    36/54

    416 907 PC 331/Issued: 11.98

    This operating mode is deactivated again if you selectmenu option Stat. sel. var. On/Offor if you press hotkey Aagain, and the statuses of allvariables are updated on themonitor.

    Bit/word (in the FBD/LD only), X

    The status display for word variables is switched over be-tween the two display modes Binary and Word value ifyou select menu option Bit/word (only FBD/LD)or if you

    press hotkey X.Binary display mode: The variable name is highlighted in the FBD/LD if the

    value is not equal to 0

    Word value display mode: The value of the word variable is displayed in place of

    the variable name in the FBD/LD

    Absolute/symbolic (in the FBD/LD only),

    The status display is switched over between the two dis-

    play modes Absolute and Symbolic if you select menu op-tion Abs./sym. (only FBD/LD)or if you press key .This means that eitherthe absoluteor the symbolicdesig-nations are shown for the variables.

    Level higher

    You return to menu ONLINE FUNCTIONS if you selectmenu option Level higher.

    Status

    The programming system makes available various op-

    tions for status display of variables. The variables are al-ways displayed cycleconsistently, i.e. the variable val-ues supplied by the PLC originate from the same programcycle.The following submenu is called if you select menu op-tion Status:

    MenuSTATUS(Menu 3)

    STATUS

    Variable statusStatus trigger on var.Status trigger time

    Abs./Sym. (only FBD/LD)

    Level higher

    Bit/word (only FBD/LD)

    JogStat. sel. var. On/Off

    Edit stat. sel. var.

    Accept statusCollect for sel. var.

    Freeze status display

    Variable status, V

    The status of the variables is displayed cyclically if you se-lect menu option Variable statusor if you press hotkey V.Display modes set beforehand such as Status triggertime for example are thus deactivated again.

    The PLC makes available the variable statuses as fol-lows:

    Always at the end of the program At the relevant breakpoint if operating mode

    Breakpoint or Single step is active

    Status trigger to variable, T

    The programming system awaits entry of a trigger vari-ableand the required trigger conditionif you select menuoption Status trigger on var.or press hotkey T. The trigger

    variable must be entered as an absolute variable.The variable statuses are only ever updated on the moni-tor if the trigger condition is fulfilled. The following triggerconditions are possible:

    In the case of bit variables:status: 0 status: 1 rising edge: / falling edge: \

    In the case of word variables:greater than: > value less than: < value equal to: = value

    Status trigger time, M

    The status of the variables is polled by the PLC at giventime intervals and the display is updated on the monitor ifyou select menu option Status trigger timeor if you presshotkey M.

    The user must enter the polling interval in milliseconds.

    Accept status, 6

    A snapshot of the variable statuses displayed in ON-LINE mode can be transferred to the online list if you se-lect menu option Accept statusor if you press hotkey 6.This information can then be furtherprocessed subse-quently, e.g. stored on hard disk.

    The variable statuses can also be stored with the blockfunctions.

  • 8/10/2019 2CDC120031M0201.pdf

    37/54

    417907 PC 331/Issued: 11.98

    Collect for selected variables, 5

    Variables can be collected for function Display selectedvariables (Stat. sel. var. On/Off) if you select menu op-tion Collect for sel. var.or if you press hotkey 5. You mustmove the cursor to the corresponding variable in the FBDor to the corresponding line in the extended IL before ex-ecution of the function. The corresponding variables areentered in the online list and marked in column D. Only theselected variables are then updated with hotkey A (Stat.sel. var. On/Off).

    Edit status of selected variables, O

    (Edit online list)

    The editor for processing the online list is called if you se-lect menu option Edit stat. sel. var.or if you press hotkeyO.

    The programming system displays the following:

    ABB Series 90 ONLINE editor KUNDE

    D F O M Variable Symbol B Value Long text

    * A 62,00 B 0A 62,01 B 0

    Entries: 2 Line: 0 Marked: D:1 F:0 O:0

    Any selection of variables can be edited in the online list.

    The online list is required in order to: display status values of variables in the online list;

    display status values of selected variables in the pro-gram (FBD/LD, extended IL; column D).You must first move the cursor to column D. Mark therequired variable with . Only the status valuesof the markedvariables are then displayed in the pro-gram. You can cancel the marking again with ;

    overwrite status values of variables in the PLC (col-umn O);

    force status values of inputs and outputs in the PLC(column F);

    store status values of variables in the online list (col-umn M)Set the marking with . Delete the marking with; please refer to Block processing for further op-erations.

    Menu ONLINEEDITOR can be called within the editorfor processing the online list.

    MenuONLINEEDITOR (Menu 6)

    ONLINE EDITOR

    EditBlock commands

    Abort menuQuit editor

    Change over layout

    Online On

  • 8/10/2019 2CDC120031M0201.pdf

    38/54

    418 907 PC 331/Issued: 11.98

    Online On

    The programming system displays the following if you se-lect menu option Online Onand then press the space bar:

    ABB Series 90 ONLINE editor KUNDE

    Variable Symbol B Var

    A 62,00 B 1A 62,01 B 0

    Entries: 2 Line: 0 Marked: D:1 F:0 O:0

    ONLINE

    StartAbortStopContinueSingle cycle on/offSingle step on/offOverwrite >Force >JogStat. sel. var. On/OffOnline offQuit editorAbort menu

    The programming system now communicates with thePLC. The status values of the variables are displayed andthe online functions are available.

    ____________________________________________________________________________________________

    MenuSTATUS, continued(Menu 3)

    Freeze status display, 0 (Zero)

    The current variable statuses are frozen on the monitor

    when this menu is called, and the user can decide wheth-er he wishes to also transfer this status to the online listwith menu Accept status.

    Jog, G

    This command is operative only in modes Single step,Single cycle or if breakpoints have been set.Selecting menu option Jogor pressing hotkey G meansthat

    the program executes the next program step in Sing-lestep mode,

    the program is run through once in Singlecyclemode,

    the program is executed as far as the next breakpointif breakpoints have been set.

    Status of selected variables On/Off, A

    Only the status values of the variables selectedby theuser are updated on the monitor if you select menu optionStat. sel. var. On/Offor if you press hotkey A. The vari-ables are selected by entering them in the online list and

    marking them in column D. The statuses of all other vari-ables are no longer updated.

    This operating mode is deactivated again and the sta-tuses of all variables are updated on the monitor by se-lecting menu option Stat. sel. var. On/Off again or bypressing hotkey A again.

    Bit/word (in the FBD/LD only), X

    The status display for word variables is switched over be-tween the display modes Binary and Word value if you se-lect menu option Bit/word (only FBD/LD)or if you presshotkey X.

    Binary display mode:The variable name is highlighted in the FBD/LD if the val-ue is not equal to 0

    Word value display mode:The value of the word variable is displayed in place of the

    variable name in the FBD/LD

    Absolute/symbolic (in the FBD/LD only),

    The status display is switched over between the two dis-play modes Absolute and Symbolic, i.e. either the abso-lute or the symbolic designations are displayed for thevariables, if you select menu option Abs./sym. (only FBD/LD)or if you press key .

    Level higher

    You return to menu ONLINE FUNCTIONS if you selectmenu option Level higher.

  • 8/10/2019 2CDC120031M0201.pdf

    39/54

    419907 PC 331/Issued: 11.98

    Overwrite

    The Overwrite function permits you to overwrite variableswith assignable values in the PLC. These values are re-tained until new values are assigned again to these vari-ables by the PLC program, the process or the user. It ispossible to overwrite both with the program running andwith the program aborted.

    Overwrite is possible for the following operands:

    Flags: M, MW, MD Inputs: E, EW Outputs: A, AW Indirect constants: K, KW, KD Steps: S

    (only Set possible; Reset is possible, by definitiononly by setting another step)

    Overwrite procedure:

    Several variables simultaneously:

    Enter the name of the variable to be overwritten and therequired value(s) in the online list with menu option Editoverwrite list;

    Variables are overwritten in the PLC with menu optionOverwrite allor by pressing hotkey R. This applies to allvariables identified accordingly in the online list.

    Overwrite single variables:

    A single variable is overwritten in the PLC with menuoption Overwrite singleor by pressing hotkey U.

    When does overwriting occur?

    Program execution running::

    Overwriting occurs at the end of the program; it isactive in the next program cycle.

    Program execution stopped:

    e.g. in the case of breakpoint, Single step, Singlecycle; overwriting occurs immediately and isactive immediately.

    Menu OVERWRITE(Menu 4)

    OVERWRITE

    Overwrite allCollect for overwrite

    Abs./Sym. (only FBD/LD)

    Level higher

    Bit/word (only FBD/LD)

    Jog

    Stat. sel. var. On/Off

    Overwrite single

    Edit overwrite list

    Overwrite single, U

    Selecting the menu point Overwrite singleor hot key Uoverwrites an individual variable in the PLC.

    The cursor must first be at the appropriate line in the ex-tended IL or must be positioned on the appropriate vari-able in the FBD/LD.

    The following input window appears when the menu pointOverwrite singleis selected or when hot key U is pressed:

    D F O M Variable Symbol B Value Long

    * A 62,00 B 0

    You confirm the display with and the overwritevalue is then activated immediately in the PLC.Use to reject the setting. No overwrite value is ac-tivated.

    Note:If indirect constants are to be overwritten, the constant

    value must be entered in column Value (not Long text).

    Overwrite all, R

    It is possible to overwrite variables with assignable valuesin the PLC if you select menu option Overwrite allor if youpress hotkey R. These values are retained until other val-ues are once again assigned to these variables by thePLC program.

    The precondition for calling menu option Overwrite allorfor pressing hotkey R is that the variables to be overwrit-

    ten and the related values have been entered in the onlinelist and marked in column O.

  • 8/10/2019 2CDC120031M0201.pdf

    40/54

    420 907 PC 331/Issued: 11.98

    Edit overwrite list, O (Edit online list)

    You can call the editor for processing the online list by se-lecting menu option Edit overwrite list or by pressinghotkey O.

    The programming system displays the following:

    ABB Series 90 ONLINE editor KUNDE

    D F O M Variable Symbol B Value Long text

    * A 62,00 B 0A 62,01 B 0

    Entries: 2 Line: 1 Marked: D:0 F:0 O:1

    Any selection of variables can be entered in the online list.

    The online list is required for:

    displaying status values of variables in the online list;

    displaying status values of selected variables in theprogram (FBD/LD, extended IL) (column D);

    overwriting status values of variables in the PLC (col-umn D).You must first the move cursor to column O for thispurpose. Mark the required variable with . Onlythe status values of the marked variables are thenoverwritten in the program. You can cancel the mark-ing again with ;

    forcing status values of inputs and outputs in the PLC(column F);

    storing status values of variables in the online list(column M);Set the marking with . Delete the marking with; please refer to Block processing for further op-erations.

    The menu ONLINE EDITOR can be called up via theinside the editor in order to process the on-line list.

    MenuONLINE EDITOR (Menu 6)

    ONLINE EDITOR

    EditBlock commands

    Abort menuQuit editor

    Change over layout

    Online On

  • 8/10/2019 2CDC120031M0201.pdf

    41/54

    421907 PC 331/Issued: 11.98

    Online On

    When the menu point Online Onis selected, the program-ming system starts communicating with the PLC. The sta-tus values of the variables are displayed and the onlinefunctions are available. If the is alsopressed, the following image appears.

    ABB Series 90 ONLINE editor KUNDE

    Variable Symbol B Var

    A 62,00 B 1A 62,01 B 0

    Entries: 2 Line: 0 Marked: D:1 F:0 O:0

    ONLINE

    StartAbortStopContinueSingle cycle on/offSingle step on/offStatus >Overwrite >Force >JogStat. sel. var. On/OffOnline offQuit editorAbort menu

    PLC:$ PRG:1 = running

    ____________________________________________________________________________________________

    MenuOVERWRITE, continued(Menu 4)

    Collect for overwrite, 4

    Selecting the menu point Collect for overwriteor pressinghot key 4 enables variables to be collected for overwriting.

    The cursor must be positioned on the appropriate variablefield in the FBD or must be positioned on the appropriateline in the extended IL before the function is carried out.

    The appropriate variables are entered in the online listand are marked in column O. The variables entered in theonline list and marked in column O are overwritten withthe hot key R (Overwrite all).

    Jog, G

    This command is operative only in modes Single step,Single cycle or if breakpoints have been set.

    Selecting menu option Jogor pressing hotkey G meansthat

    the program executes the next program step in Sing-lestep mode,

    the program is run through once in Singlecyclemode,

    the program is executed through to the next break-point if breakpoints have been set.

    Status of selected variables On/Off, A

    Only the status values of the variables selectedby theuser are updated on the monitor if you select menu optionStat. sel. var. On/Offor if you press hotkey A. The vari-ables are selected by entering them in the online list andmarking them in column D. The statuses of all other vari-ables are no longer updated.

    This operating mode is deactivated again and the sta-tuses of all variables are updated on the monitor by se-lecting menu option Stat. sel. var. On/Offagain or if youpress hotkey A again.

    Bit/word (in the FBD/LD only), X

    The status display for word variables is switched over be-tween the display modes Binary and Word value if you se-lect menu option Bit/word (only FBD/LD)or if you presshotkey X.

    Binary display mode:

    The variable name is highlighted in the FBD/LD if thevalue is not equal to 0

    Word value display mode:

    The value of the word variable is displayed in place ofthe variable name in the FBD/LD.

  • 8/10/2019 2CDC120031M0201.pdf

    42/54

    422 907 PC 331/Issued: 11.98

    Absolute/symbolic (in the FBD/LD only),

    The status display is switched over between the two dis-play modes Absolute and Symbolic, i.e. either the abso-luteor the symbolicdesignations are displayed for thevariables if you select menu option Abs./sym. (only FBD/LD)or if you press key .

    Level higher

    You return to menu ONLINE FUNCTIONS if you select

    menu option Level higher.

    Force

    Forcing means that the user can preset fixed values forinputs and outputs. These values remain operative untilthey are changed aga