ABB AC 31 Technical Manual

ABB AC 31 Technical Manual

Advant controller 31 40 & 50 series
Hide thumbs Also See for AC 31:
Table of Contents
Technical Manual
1SBC 260400 R 1001-b
Advant Controller 31
40 & 50 Series
Table of Contents
loading

Summary of Contents for ABB AC 31

  • Page 1 Advant Controller 31 Technical Manual 40 & 50 Series 1SBC 260400 R 1001-b...
  • Page 2: Table Of Contents

    3.1. The front of the central unit (see Figure 3-1) 3.2. Technical specification 4. Extensible remote units 3-13 4.1. The front (see Figure 3-3) 3-13 4.2. Technical specifications of the extensible remote units 3-14 Summary - Page 1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 3 8. TC50 Display 3-38 9. Dimensions (in mm) 3-39 Chapter 4 Installation 1. Implementation of an AC 31 system 1.1. Assembly conditions 1.2. Input/output cabling 1.3. Earthing 1.3.1. Basic earthing principles 1.3.2. Earthing principles for numerous cabinets 1.4. Cabling of the CS 31 bus 1.5.
  • Page 4 5.9. Up/Down counter function 5-42 5.10. Scaling an analog value 5-43 5.10.1. Using the potentiometers of the 40 and 50 series 5-43 5.10.2. Processing an analog input 5-44 Summary - Page 3 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 5 2.2.2. Communication parameters 7-13 2.3. Programming 7-14 2.3.1. Sending messages 7-14 2.3.2. Receiving messages 7-14 2.3.3. Programming example 7-14 3. Point to point communication with the programming protocol 7-17 Summary - Page 4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 6 8-12 4.4.2. Example for saving numerous errors of the same class 8-13 Annexes 1. List of variables 2. List of functions 3. Mapping 4. Historical values Index Summary - Page 5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 8: Presentation / Operation

    AC 31 technical documentation Chapter 1 Presentation / operation Page 1-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 9: Presentation

    Presentation / operation This chapter gives you an introduction to the AC 31 automation, from the overall architecture to the operational rules of the 40 and 50 series central units. 1. Presentation The AC 31 brings accessibility to beginners and experienced automation users alike, for any application with 14 to 1000 inputs / outputs and more, using the same set of basic components.
  • Page 10: General Setup Rules

    Presentation / operation 2. General setup rules An ABB AC 31 system always includes an AC 31 central unit. There are three types of central units: - The 40 series central unit, with a local inputs / outputs extensions interface...
  • Page 11 8 an alo g in p u ts an d 8 an alo g o u tp u ts Figure 1-2 : Central unit with extensions and CS 31 bus Page 1-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 12: Central Units With Extensions

    Connecting a central unit without a remote unit is simple and corresponds to normal electrical standards. The electrical connections of a AC 31 system which consists of remote units, notably where there are numerous electrical cubicles, should adhere to the obligatory rules.
  • Page 13 Presentation / operation CENTRAL UNIT At program launch SRAM Flash Micro- processor ASIC UART Isolated RS232/485 liaison Program dispatch Figure 1-3 : Functional diagram of the central unit Page 1-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 14: Operation Of The 40 And 50 Series Central Units

    SRAM for processing by the microprocessor (Figure 1-3). The structure of the system program memory, the user program, the inputs / outputs and internal variables are described in the annex (mapping). Page 1-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 15 Figure 1-4 : The program execution cycle Event based Main program Periodic interruptions interruptions Sub-program 1 maximum of 12 sub-programs Sub-program 12 ascending priority order Figure 1-5 : Task priorities Page 1-8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 16: Program Execution

    The messages always end with an end of frame control: checksum CRC8. The length of the exchanged frames depends on the type of unit. Frames exchanged with an analog unit are the longest. Page 1-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 17: Refresh Times / Reply Times

    The cycle time calculation is given in chapter 5 at the cycle time configuration level as well as the communication times of each unit for the bus transmission times calculation. Page 1-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 18: Power On / Program Launch

    - Clear the program and data in RAM - Copy the Flash EPROM contents to RAM The bus system is also initialized after startup if the central unit is the master on the CS 31 bus. Page 1-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 19: Power Cuts Or Drops

    It is also possible to save historic variables. A power cut or drop occurring on a 40 series central unit will result in all the functions and internal data being reset to 0. Page 1-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 20: References

    Programming software for central units, 1SBS260250R1001 under Windows 3.x, NT and 95. English version ABB AC31GRAF Programming software for central units, 1SBS260251R1001 under Windows 3.x, NT and 95. French version Page 1-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 21 8 channels configurable for inputs or transistor outputs 24 V d.c. / 0.5 A 8 analog inputs and 4 analog outputs interface for programming or ASCII or MODBUS and ARCNET communication 24 V d.c. power supply Page 1-14 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 22 Optic fiber (plastic) LWL GATS110112R0002 Optic fiber (plastic) LWL with redundancy GATS110112R0012 Optic fiber (glass) LWL GATS110112R0003 Optic fiber (glass) LWL with redundancy GATS110112R0013 Special software is necessary for these products Page 1-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 23 Display extension 1SBP260107R1001 with 8 channels (4 figures + sign + selected channel) 30 series plug-in base Plug-in base for mounting series 30 remote units FPR 370 0001 R0001 Page 1-16 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 24 120 V a.c. power supply ICSA 04 B5 230VAC Analog remote unit FPR 334 1501 R0046 with 4 outputs configurable current / voltage resolution 12 bits 230 V a.c. power supply. Page 1-17 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 25 FPR 332 3101 R1012 ICSF 08 D1 120VAC 120 V a.c. power supply FPR 332 3101 R0014 ICSF 08 D1 230VAC 230 V a.c. power supply FPR 332 3101 R0016 Page 1-18 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 26 128 help messages + 128 information messages RS232 liaison through the serial ports of the central units MODBUS protocol or AC 31 programming mode 24 V d.c. power supply Delivered with connecting cable for 40 and 50 series central units...
  • Page 27 40 and 50 series documentation English technical documentation for the 40 and 50 series 1SBC260400R1001 central units Each of the following AC 31 products are described in their respective documentation : 90 series units, 30 series, IP 65 protection, high speed counter, robot interfaces, displays and CS 31 bus accessories.
  • Page 28: Getting Started

    AC 31 technical documentation Chapter 2 Getting started Page 2-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 29 Presentation / operation Figure 2-1 : ABB AC31GRAF group Figure 2-2 : Cabling of a 07 KR 51 230 V a.c. central unit for our example Page 2-2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 30: Required Material

    Presentation / operation In order to familiarize yourself with the AC 31 system this chapter details, point by point, the necessary operations for starting with a 40 or 50 series central unit. The demonstration is based on a simple example of OR function with an input (switch), an internal bit (test) and an output (lamp).
  • Page 31 Figure 2-3 : The "Project management" window which appears after launching AC31GRAF. Figure 2-4 : Project creation window Click on the right to enlarge Figure 2-5 : The editor window of the main program MAIN of the DEMO project Page 2-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 32: Programming

    Presentation / operation 3. Programming 3.1. Launching the AC31GRAF software Double-click the AC31GRAF icon in the ABB AC31GRAF group (see Figure 2-1). 3.2. Project creation Click on the "New" button in the "Project management" window (Figure 2-3). The project is defined by its name, programming language and programmed central unit (see Figure 2-4).
  • Page 33 Figure 2-7 : Program editor window with LD toolbar Figure 2-8 : Program editor window with FBD toolbar Figure 2-9 : Placing the OR function in the program editor page Page 2-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 34: Variable Declarations

    - an output variable (to the right of the block). A complete description of the function block is available by double-clicking the block and then clicking on the "Info" followed by the "Note" buttons. Page 2-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 35 Figure 2-10 : Inserting variables Figure 2-11 : Linking the variables and the function block Figure 2-12 : Compiler window. Text after verification: "Verify" Figure 2-13 : Compiler window. Text after translation: "Build" Page 2-8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 36: Inserting Variables

    Click the "Verify" button, wait for the message "0 error detected" (Figure 2-12) then click on the "Build" button. Once the "Project ready for download" message has appeared (Figure 2-13), click on "Exit" to exit and return to the DEMO:MAIN program editor window. Page 2-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 37 Presentation / operation Figure 2-14 : Serial interface configuration window Figure 2-15 : Control window Download parameters Figure 2-16 : Central unit configuration window Page 2-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 38: Communication With The Plc

    "Exit" from the "Control" menu to return to the control window. If there aren’t any differences, then select "Exit from the "Control" menu to return to the control window. Page 2-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 39 Figure 2-18 : Message 2 when sending the program to the PLC Figure 2-19 : Test window of the program on-line Figure 2-20 : "Trace" window for a graphic visualization of the signals Page 2-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 40: Initializing The Central Unit

    Follow the same procedure to insert the "O62.00 - OUT1 - Lamp" variable. The input, internal bit and output signals are immediately traced in the "Trace " window (Figure 2-20). Page 2-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 41 Figure 2-21 : "On-line List" Figure 2-22 : Forcing the input to 1 Figure 2-23 : The software result of the input forcing Figure 2-24 : Changing the variable value to 1 Page 2-14 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 42: Quitting Ac31Graf

    "On-line list" and "Trace " windows. To quit the program editor, go to "File" then "Exit". To quit the "Project Management", go to "File" then "Exit" Page 2-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 44: Technical Specifications

    AC 31 technical documentation Chapter 3 Technical specifications Page 3-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 45 Technical specifications Page 3-2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 46: General Operating Conditions

    This chapter presents the products and their general characteristics and operating conditions. 1. General operating conditions The AC 31 units were developed according to the European EC directives, the main national and international IEC 1131-1 and IEC 1131-2 standards and the EN61131-2 product standard concerning automation devices.
  • Page 47 AWG 18 (0.8 mm²) 0.8 Nm (given as an indication only) - Screws tightening torque Serial interface RS 232 / RS 485 - For programming RS 485 - For the bus Page 3-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 48: Cs 31 Bus Technical Specifications

    2000 m with 3 amplifiers (NCB or NCBR) yes with NCBR Bus redundancy Isolation yes by optocoupler Refresh time 2 ms minimum typically 12 ms with 31 CS 31 interfaces 187.5 kBauds Speed Page 3-5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 49 Technical specifications Figure 3-1 : Front of the central unit Figure 3-2 : Enlargement of item 9 without the cover Page 3-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 50: Central Units

    3 - Potentiometer whose value is read into the IW62.00 variable by the program (value of 0 to 150 in the program) 4 - Central unit program ON/OFF switch Page 3-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 51: Technical Specification

    Flash Eprom and the constants - Data memory SRAM SRAM - Data backup: yes with battery Backup autonomy 40 days at 25°C Charge time under power 100% in 12 h Page 3-8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 52 (interruptions) triggered by alarm (interruptions) - Sub-program: Level - Operation set: Basic functions Boolean, arithmetic, comparison Boolean, arithmetic, comparison Advanced functions over 60 over 60 Page 3-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 53 Shielded 500 m 500 m 500 m 500 m 500 m 500 m Non standard inputs 50 m 50 m 50 m 50 m 50 m 50 m Page 3-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 54 - Cable length: unshielded 150 m 150 m 150 m 150 m 150 m 150 m shielded 500 m 500 m 500 m 500 m 500 m 500 m Page 3-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 55 Technical specifications Figure 3-3 : The front of the unit Figure 3-4 : Enlargement of item 9 without cover Page 3-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 56: Extensible Remote Units

    Enlargement of item 9 without cover (see Figure 3-4) 1 - Rotate switch for addressing, reserved for decade selection 2 - Screwdriver for settings adjustments 3 - Rotate switch, reserved for unit selection Page 3-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 57: Technical Specifications Of The Extensible Remote Units

    9 mA - Minimum filtering time 5 ms 5 ms 5 ms - Cable length: unshielded 300 m 300 m 300 m shielded 500 m 500 m 500 m Page 3-14 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 58 - Outputs diagnosis overload and short circuit - Cable length: unshielded 150 m 150 m 150 m shielded 500 m 500 m 500 m Page 3-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 59 Figure 3-6 : XK 08 F1 binary extension Figure 3-7 : XO 08 R1 binary extension Figure 3-8 : XO 16 N1 binary extension Figure 3-9 : XC 08 L1 binary extension: front Page 3-16 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 60: Binary Extensions

    7 - Connector location for the connection of supplementary input/output extensions 8 - Connector for connection to the central unit / remote unit or to the last input / output extension connected to the central/remote unit Page 3-17 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 61: Binary Extensions Specifications

    0.5 V à 500 mA 0.5 V à 500 mA max. max. - Minimum cut-off value 10 mA at 12 V 10 mA at 12 V 12 V d.c. 12 V d.c. Page 3-18 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 62 - Cable length: unshielded 150 m 150 m 150 m 150 m shielded 500 m 500 m 500 m 500 m Page 3-19 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 63 Technical specifications Figure 3-10 : XM 06 B5 and XE 08 B5 analog extensions Figure 3-11 : XTC 08 analog display Figure 3-12 : Display description Page 3-20 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 64: Analog Extensions

    6.2. Analog display (see Figure 3-12) 1 - Sign of the value 2 - Value 3 - Channel identification 4 - Dot of the value (it can be programmed by the function blocks CONFIO) Page 3-21 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 65: Technical Specifications Of The Analog Extension

    220 ms * time for all channels - Diagnosis - Cable length: 50 m 50 m 50 m 50 m shielded short-circuited unused channels without filtering time 50 and 60 hz Page 3-22 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 66 (chapter 5 – configuration 4.1.12 ) The analog configuration through the central units (functions blocks CONFIO1, CONFIO4, CONFIO8 ) is available since the following versions Product version 07KR51 07KT51 07CR41 07CT41 ICMK14F1 ICMK14N1 Page 3-23 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 67: Analog Inputs Diagram

    Resolution is equal to 0-20 mA I ( in mA ) = Value x (16 / 32767) + 4 with value ( 0 ≤ X ≤ + 32767 ) Page 3-24 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 68: Analog Outputs Diagrams

    Current output 4-20 mA: Resolution is equal to 0-20 mA with value (0 ≤ X ≤ - 32767 ) I ( in mA ) = Value x (16 / 32767) + 4 Page 3-25 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 69 Technical specifications Figure 3-13 : 07 SK 50 programming cable Page 3-26 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 70: Accessories

    They are shielded and are 2 meters long. 7.1.1. 07 SK 50 connection diagram (see Figure 3-13): Central unit end PC end MIN DIN 8 SUB D9 (yellow) (red) (black) Shield Shield Page 3-27 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 71 Technical specifications Figure 3-14 : 07 SK 52 programming cable Page 3-28 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 72: Sk 52 Connection Diagram (See Figure 3-14)

    RTS RTS+ blue active at high or low level RTS- Shield Shield ® Comment: The programming cable is distinguished from the ASCII/MODBUS communication cables by its gray color. Page 3-29 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 73 Technical specifications Figure 3-15 : 07 SK 51 communication cable Page 3-30 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 74: Ascii/Modbus ® Communication Cables: 07 Sk 51 And

    They are shielded and 2 meters long. 7.2.1. 07 SK 51 connection diagram (see Figure 3-15): Central unit end PC end MIN DIN 8 SUB D9 (yellow) (red) (black) (white) (blue) Shield Shield Page 3-31 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 75 Technical specifications Figure 3-16 : 07 SK 53 communication cable Page 3-32 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 76: Sk 53 Connection Diagram (See Figure 3-16)

    RTS RTS+ blue active at high or low level RTS- Shield Shield ® Comment: The ASCII/MODBUS is distinguished from the programming cables by its BLACK color. Page 3-33 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 77 Figure 3-17 : External dual connectors (07 ST 50) Figure 3-18 : External dual connectors (07 ST 51) Figure 3-19 : “cage-clamp” type connectors Figure 3-20 : External dual connectors (07 ST 51) Page 3-34 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 78: Tc50 Display Cables: 07 Sk 54 And 07 Sk

    A set of "cage-clamp" type connectors for XO 08 R1, XC 08 L1, XK 08 F1 extensions 07 ST 57 A set of "cage-clamp" type connectors for XM 06 B5 extension Page 3-35 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 79 Figure 3-21 : Cabling current protection 4 – 20 mA with 07 ST 51 / XM 06 B5 or XE 08 B5 Figure 3-22 : Cabling PT100/PT1000 with 07 ST 51 and 2 wire probe Figure 3-23 : Cabling PT100/PT1000 with 07 ST 51 and 4 wire probe Page 3-36 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 80: External Dual Connector: 07 St

    J2-1 J2-2 J2-3 J2-4 J2-5 J1-3 J1-6 J1-1 J1-2 J1-4 J1-5 J1-8 J1-7 Electrical diagram inside of 07 ST51 Page 3-37 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 81: Stickers

    The TC50 is programmed using a configuration software TCWIN operating in Windows 95, 98, NT environment on a Computer. See TC50 technical documentation réf: 1SBC005499R0101 See TCWIN software documentation réf: 1SBC004999R0101 Page 3-38 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 82: Dimensions (In Mm)

    Technical specifications 9. Dimensions (in mm) Figure 3-24 : Central unit and remote unit 84.5 Figure 3-25 : Extension Figure 3-26 : Connector Figure 3-27 : Display Page 3-39 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 84: Installation

    AC 31 technical documentation Chapter 4 Installation Page 4-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 85 Installation Page 4-2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 86: Implementation Of An Ac 31 System

    CS 31 bus and the different types of power supply. 1.1. Assembly conditions The products of the AC 31 range may be mounted on two types of fixation. They may be installed vertically or horizontally: - either on a DIN rail (35 mm) by using the support lock.
  • Page 87 Installation Figure 4-1 : Earthing principle for numerous cabinets Figure 4-2 : Recommended connections with noise generating devices. Page 4-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 88: Earthing

    Use rigid wires or multi-conductor wires AWG 14 (1.95 mm The earth and mains wires should be connected in star. All AC 31 components of a cabinet should be connected to the same earth. When the remote units are situated outside the cabinet they should be connected to the nearest earth.
  • Page 89 Figure 4-5 : Correct bus cabling Figure 4-6 : Prohibited star bus cabling Figure 4-7 : Correct symmetrical twisted pair Figure 4-8 : Incorrect twisted pair Figure 4-9 : Bus shielding connection diagram Page 4-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 90: Cabling Of The Cs 31 Bus

    As the CS 31 bus is opto-isolated, it is possible to place elements with different voltage power on the bus. Refer to the respective descriptions if a bus amplifier or amplifier with bus redundancy is used. Page 4-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 91 Installation Figure 4-10 : Power supply T-T Figure 4-11 : Power supply I-T Page 4-8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 92: Different Power Supply Types

    - I-T neutral: The neutral is isolated in relation to the earth and the metallic parts are earthed (see Figure 4-11). Each cabinet (including the 24 V version), in a disturbed environment, should be fitted with an isolated shielded transformer. Page 4-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 93 Figure 4-15 : Negative logical inputs NPN 120/230 V a.c. unit power supply 120/230 V a.c. unit power supply Figure 4-16 : Relay outputs Figure 4-17 : Transistor outputs. Page 4-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 94: Central Unit And Remote Unit Cabling

    Warning: In the case of the terminal O V is disconnected and in the same time the 24 V d.c. is connected, the leakage current on output is 16 mA. Page 4-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 95 Figure 4-18 : Extension XI 16 E1 Figure 4-19 : Extension XO 16 N1 Figure 4-20 : Extension XO 08 R1 Figure 4-21 : Extension XK 08 F1 Figure 4-22 : Extension XC 08 L1 Page 4-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 96: Cabling Binary Extensions

    The common C of inputs has to be linked to the 0 V or 24 V d.c. according to the sensor type. Warning: The extensions must not be connected or disconnected under power supply. Page 4-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 97 Figure 4-24 : XE 08 B5 with 2 wire probe Figure 4-25 : XM 06 B5 with 3 wire probe Figure 4-26 : XE 08 B5 with 3 wire probe Page 4-14 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 98: Cabling The Analog Extension

    2 wire, 3 wire sensors (see Figure 4-23 to Figure 4-26). Usage of the connectors 07 ST 51 is recommended for mounting a 4 wire probe or use the function current protection (see chapter 3 : § 7.4.3) Page 4-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 99 Installation Figure 4-27 : AC31GRAF "PLC Configuration" window Page 4-16 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 100: Addressing

    Addressing the CS 31 bus enables programming the utilization of the inputs/outputs in a manner completely transparent to the user. The inputs/outputs of an AC 31 remote unit are defined by: their type (input or output, binary or analog), the unit address, their channel number on the unit.
  • Page 101 => The address of the following binary extension, whether it is input or output, is incremented by 1. 40 or 50 series Addresses Page 4-18 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 102 - the address of the first analog extension starts at 63 and is incremented for the following by 1, up to 68. 40 or 50 series IW / IW / Addresses Page 4-19 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 103 Installation Figure 4-28 : Rotative switches for addressing the remote extension unit Page 4-20 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 104: Addressing Slave Central Units Or Remote Extension Units On The Cs 31 Bus

    TCAD display a variable speed drive ABB NCSA-01 interface a high speed counter a central unit (50 series with extension possibilities, 90 or 30 series). Warning : an extensible remote unit with analog extensions counts 2 connection points.
  • Page 105 When an XM 06 B5 type analog extension unit is used, it is possible to associate a maximum of two units to the extensible remote unit, because the number of inputs and outputs of this unit is less than eight. Page 4-22 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 106: Addressing Slave Central Units

    IW / master Addresses CS 31 interface X+3 X+4 X+4 X+5 Addresses series slave Addresses managed by the slave central unit Page 4-23 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 107: Addressing Example

    Address 8 TCAD with an analog configuration Address 12 30 series with a binary configuration This example takes 6 connection points (CS 31 bus addresses). Page 4-24 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 108: Summary

    - 90 series slave central unit Binary configuration 0 to 61 0 to 61 by programming software Analog configuration 0 to 5 0 to 5 by programming software Page 4-25 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 110: Programming

    AC 31 technical documentation Chapter 5 Programming Page 5-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 111: Software Introduction

    Programming 1. Software introduction The AC31GRAF software is used with all of the AC 31 central units. ® This software runs under Windows (3.1, NT or 95). 12 Megabytes of free disk space are required for the installation. Execute the setup.exe for an automatic installation.
  • Page 112 - Memory access functions All the functions are comprehensively described in AC31GRAF online help as well as in the documentation. Refer to the "AC31GRAF User's guide" for software utilization. Page 5-3 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 113: List Of Variables

    The historical values of the timer functions are independent from the list of historical values of the other functions. The number of authorized timer functions is unlimited, however the number of simultaneous timer functions is limited to 42. Page 5-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 114 8 to 15: used on the master central units ; they indicate the number of remote units recognized on the CS 31 bus. IW 63.00 IW 68.15 analog inputs on the extensions of a central unit Page 5-5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 115 Double word constants not accessible by AC31GRAF KD 00.01 KD 07.15 indirect double word constants Not accessible historical values System internal historical values Page 5-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 116: Initialization

    - Clear the RAM data depending on the configuration Software " Cold restart" - Clear the program and data in the RAM - Copy the Flash EEPROM contents to RAM Page 5-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 117 Programming Figure 5-1 : List for the 40 series Figure 5-2 : List for the 50 series Page 5-8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 118: Configuration

    Flash EEPROM of the central unit. It is necessary to initialize the central unit, so that it can start with the right configuration, if the "Central unit operative mode" parameter was modified. Page 5-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 119: The Central Unit Operative Mode

    Change and send the configuration. While sending, the backup in the Flash EEPROM of the central unit is carried out automatically. Activation of the new central unit mode via a central unit cold or warm start. Page 5-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 120: Transmission/Reception Range Of A Slave Central Unit

    = 6 years Data backup is possible by modifying the n value of the following tables. The 40 series does not have a battery incorporated and doesn't allow data backups. Page 5-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 121: Initialization /Internal Bits Backup

    = 230...255 MW 000.00...MW 099.15 MW n.00...MW 255.15 MW 230.00...MW n-1.15 n < 0, n > 255 MW 000.00...MW 099.15 no initialization MW 230.00...MW 239.15 MW 255.00...MW 255.15 Page 5-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 122: Initialization / Internal Double Word Backup

    < 0, n > 0 backup of all the historical no initialization values A change in the data initialization parameters is take into account immediately. Page 5-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 123: Central Unit Reaction To Class 3 Errors

    Programming 4.1.9. Central unit reaction to class 3 errors The AC 31 central units possess a diagnosis system aimed at ensuring a rapid and efficient localization of faults. This diagnosis system is divided into 4 error classes: - Class 1: fatal error...
  • Page 124: Communication Mode Of The Com1 Serial Interface

    Communication mode Standard STOP programming programming programming ® ASCII/MODBUS ASCII Programming programming ASCII ASCII STOP programming ® ® ® MODBUS ASCII/MODBUS MODBUS programming programming x: choice with no effect Page 5-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 125 I max = 2mA TX signal 4 7 K Ω RTS+ (white colour) RTS signal Modem V - + (V + * 4,7/(R1 +4 ,7)) RTS- (blue colour) Frame sent Delay Page 5-16 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 126: Communication Parameters

    2101 < KW 00.06 < 2355 64 ms 3101 < KW 00.06 < 3355 96 ms 4101 < KW 00.06 < 4355 128 ms 5101 < KW 00.06 < 5355 Page 5-17 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 127: The Central Unit Cycle Time

    The total time for the extensible remote units is given by adding the unit time and the times of the connected extensions. Page 5-18 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 128: Cs31 Bus Communication Times

    516 to 590 µ s depending on configuration Remote extensible Input / Output units ICMK 14 F1 340 µ s without extension ICMK 14 N1 340 µ s without extension Page 5-19 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 129 ICST 08 A9 1 355 µ s 07 AI 91 1 355 µ s ICSA 04 B5 700 µ s High speed counter ICSF 08 D1 1 300 µ s Page 5-20 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 130 Programming Page 5-21 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 131 Programming Set PLC clock Figure 5-3 : A clock is available on the 50 series central units Figure 5-4 : Update of the clock Page 5-22 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 132 Here is an example using the UHR function: %I62.00 %M001.00 FREI %I62.01 %MW001.00 FEHL %KW001.00 %MW000.00 ASEC %KW001.01 %MW000.01 AMIN %KW001.02 %MW000.02 %KW001.03 %MW000.03 ATAG %KW001.04 %MW000.04 AMON %KW001.05 %MW000.05 AJHR %KW001.06 %MW000.06 AWTG Page 5-23 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 133 Programming Password protection Figure 5-5 : Write access denied Figure 5-6 : Password composed of 4 values Figure 5-7 : Re-enter the password to unlock Page 5-24 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 134: Clock

    - Configuration of the filtering time of a binary input. A detailed description of the function block is available in the AC31GRAF software help as well as in the documentation. Page 5-25 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 135 Programming Figure 5-8 : Dip switches configuration on XM 06 B5 Figure 5-9 : Dip switches configuration on XE 08 B5 Page 5-26 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 136: Analog Configuration ( Extension)

    Pt100/Pt1000 current Dip switch N°6 current source is set to 0.25mA for Pt1000 current source is set to 2.5mA for Pt100 (Used for channels 4 to 7) Page 5-27 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 137 (5 seconds) of all channels. 60 H 50 H When the choice is selected , release the push button for 5 seconds and the new filtering is store in the EEPROM Page 5-28 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 138 Pt1000 configuration The minimum displayed value is 0.1°C 1.0.0. Pt100 3 wires configuration The minimum displayed value is 0.1°C 1.0.0.0. Pt1000 3 wires configuration The minimum displayed value is 0.1°C Page 5-29 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 139 The display value is The latest configured channel on one extension is always the channel number displayed. It is possible to select a channel number to the display from the user program. Page 5-30 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 140 WARNING: The second extension XM06B5 connected to a remote unit can not be configured by the user program. Only one analog extension can be configured on a remote unit. Page 5-31 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 141 Programming Figure 5-10 : Duplicating inputs of a function block Page 5-32 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 142: Programming Examples

    The duplication of inputs is carried out by modifying the block property with a double-click and selecting the number of inputs from the scrolling "Number of inputs" menu (see Figure 5-10). The duplication number varies depending on the block used. Page 5-33 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 143: Operation And

    If the number of inputs to an AND is greater than the editor limit an internal variable can be used as a relay or a second AND function can be used. & %M000.00 %M000.00 %M000.01 %M000.01 ..... & %M005.00 %O62.00 ..%O62.00 & %M005.00 %M005.01 ..Page 5-34 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 144: Nand Operation

    The diagram to the right represents the same function with a function block. The number of inputs for an OR function block is limited to a maximum of 128. %I62.00 %O62.00 %I62.01 %I62.00 %I62.01 %I62.02 %O62.00 %I62.02 Page 5-35 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 145: Nor Operation

    If the intermediate result is required further on in the program, the result of each base function is placed in the intermediate variables as shown following: %I62.00 %I62.01 %M000.00 %I62.02 %I62.03 %M000.01 %M000.00 %O62.00 %M000.01 Page 5-36 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 146: Timer Functions

    - If the time of the new value has not yet been exceeded then the time already passed is taken into account and the timer stops when it has attained the new value. Page 5-37 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 147: Ton: On Delay

    The TOF function enables delaying the command IN passage to 0. The TOF block adheres to the IEC1131-3 standard. The AND output allows you to see the time passed. %I62.00 %O62.00 %KD001.00 %MD000.00 t< PT Page 5-38 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 148: Tp: Monostable (Constant)

    The function W_TIME is needed when the time value has to be modified during program (i.e. Control panel, supervisor, set point validation…) W_TIME %OW63.00 %OW63.01 %OW63.02 %OW63.03 %MD000.00 TIME %I62.00 %O62.00 %MD000.00 %MD000.01 Page 5-39 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 149: Oscillators

    Hz (period 1 min.) Each oscillator starts at a low level on startup. The oscillators can be used , for example, to flash a lamp or to provide a rhythm. Page 5-40 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 150: Detecting The First Cycle With The M 255.15 Variable

    Initialization test: initial: %M255.15 & %I62.00 %I62.01 %O62.00 Initialization program: POTENTIOMETER_0 %MW000.00 POTENTIOMETER_1 %MW000.01 TRUE %M255.15 initial: Rest of the program Page 5-41 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 151: Up/Down Counter Function

    LOW_LIMIT or HIGH_LIMIT are respectively at 1, when the counter arrives at the value 0 or 800. TRUE FREI INPUT OUTPUT STEP DIFF PRESET PRESET_VALUE RESET CURRENT_RESULT CURRENT_RESULT Z1=? MAX_800 HIGH_LIMIT CURRENT_RESUL Z1=? MIN_0 LOW_LIMIT Page 5-42 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 152: Scaling An Analog Value

    The value y set is such that: y = (30 000 * x) / 150 . The result y is placed in the variable MW 000.00. POTENTIOMETER_1 VAL_30000 VAL_150 %MW000.00 Page 5-43 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 153: Processing An Analog Input

    VAL_100 METERS VAL_32760 It is not necessary to scale values to carry out comparison tests (equal, greater, lesser...). The compared values can be those read in the central unit. Page 5-44 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 154: Program Optimization

    AC 31 technical documentation Chapter 6 Program Optimization Page 6-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 155 Program Optimization Figure 6-1 : Creation of a sub-program Figure 6-2 : A sub-programs example Page 6-2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 156: Sub-Program

    The programming language used is either Quick Ladder, or FBD/LD or IL (Instruction List). A sub-program is defined by name (see Figure 6-2). All of the functions or instructions may be used in a sub-program. Page 6-3 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 157: Calling A Sub-Program

    The only exception concerns all of the time based functions such as TON, TOF, ... where their status is unique, independently of the number of times the sub-program is called within the program. Page 6-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 158: Passing Parameters

    The maximum number of sub-programs is 12. Should this number be exceeded a class 4 code 144 error will appear and the central unit will not be able to pass to RUN. Page 6-5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 159 Program Optimization Figure 6-3 : Creating an interruption Figure 6-4 : An interruptions example Page 6-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 160: Interruptions

    INT2 and the cyclic interruption is called INT3 with a time base of 30 ms (see Figure 6-4). All of the functions or instructions may be used in an interruption. Page 6-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 161: Validation Of Interruptions

    The delay, for considering the interruption, depends on the central unit configuration. In fact, when the central unit is configured as master the CS 31 bus management has the highest priority. AC 31 master central unit AC 31 slave central unit stand-alone central unit Alarm (hardware interruption) max.
  • Page 162: Step Motor Command

    The number of pulses is between 0 and 32767. The number of pulses already generated may be visualized. The error of the value currently being executed is ± 1. Page 6-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 163 100 Hz, is not exceeded,. The motor command is ensured whatever the other functions are that are used by the central unit, for example the interruptions. Page 6-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 164: High Speed Counter With Value Capture, Zero Reset And Overflow Detection

    If one of the two cables of the incremental encoder is cut or not connected, the counter value is incremented by + 1 and then decremented by - 1 with each new pulse. Page 6-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 165 Figure 6-6 : Slave CS31 number choice ® Figure 6-7 : Slave Modbus number choice Figure 6-8 : Choice of type and number of data to exchange on the CS 31 bus Page 6-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 166: Communication Between Central Units On The Cs 31 Bus

    8 word inputs and 8 word outputs. This choice is made in the " CONTROL PANEL " "PLC configuration tool" menu of the AC31GRAF software (see Figure 6-8). Page 6-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 167: Programming

    For example : The transmission of the "VALUE_M00" bit value from the slave 20 central unit to the master central unit and the transmission of the "VALUE_FOR_SLAVE" bit value from the master central unit to the slave 20 central unit. Page 6-14 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 168: Transmission By Word

    IWxx.00 to IWxx.N inputs, (N+1) being the number of words to transmit from the slave central unit to the master central unit. The slave central unit will send this information through the OW00.00 to OW00.N outputs. Page 6-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 169 %IW04.00 VALUE1 word emission in %OW04.05 VALUE2 %OW04.05 - In the slave central unit at address 4: word reception in %IW00.05 %IW00.05 VALUE2 word emission in %OW00.00 VALUE1 %OW00.00 Page 6-16 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 170: Utilization Of The Function Blocks

    3 remaining words being reserved for the rapid transfer of the inputs/outputs. The available outputs on the master are OWxx.07, OWxx.06, etc. and the corresponding inputs on the slave are IW00.07, IW00.06, etc. This number should be identical for both functions. Page 6-17 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 171 The memory address list can be found in the annex The function blocks for the data exchange master/slave and slave/master may be used at the same time by the same program. Page 6-18 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 172 AC 31 technical documentation Chapter 7 Communication Page 7-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 173 Figure 7-3 : Network connection with a PC 40 or 50 40 or 50 series series MODBUS protocol RS485 line 40 or 50 series Figure 7-4 : Network connection between CUs Page 7-2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 174: Network Communication With The Incorporated Modbus Interface

    Communication Communication is of greater importance in wide area installations. The AC 31 system possesses other interfaces, apart from the CS 31 bus, adapted to different communication modes. This chapter presents, in particular, the interfaces available with the 40 and 50 series central units which possess three communication protocols on the same serial interface (Figure 7-1).
  • Page 175 Fast reading of 8 bits Diagnosis / initialization Write n bits Write n words The codes generated on error are: Error codes Description Unknown function code Address error Data error Page 7-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 176: Communication Configuration

    OFF), when the black 07 SK 51 or 07 SK 53 cable is connected and the serial interface is configured for MODBUS communication. The programming mode for tests and modifications becomes available when the grey 07 SK 50 or 07 SK 52 cable is used. Page 7-5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 177: Programming

    M 232.01 = 8192 + ( 16 * 232 ) + 1 = 11905 MD002.07 = 4000 + ( 32 * 2 ) + ( 2 * 7 ) = 16462 Page 7-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 178 12271 M 255.00 2FF0 12272 M 255.15 2FFF 12287 Steps S 00.00 3000 12288 S 00.01 3001 12289 S 00.15 300F 12303 S 01.00 3010 12304 S125.15 37DF 14303 Page 7-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 179 12304 KW 31.15 31FF 12799 Indirect double KD 00.00 5000 20480 word constants KD 00.01 5002 20482 KD 00.15 501E 20510 KD 01.00 5020 20512 KD 07.15 50FE 20734 Page 7-8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 180: Example Using The Modbus Function

    MW00.00 to MW00.19. MODBUS FREI SLAVE_1 SLAV READ_BITS TIME_2S TIME ADDR ERROR1 %O62.00 ERROR_CODE1 MODBUS DATA FREI SLAVE_2 SLAV WRITE_WORDS TIME_2S TIME 0000 ADDR ERROR2 %MW000.00 ERROR_CODE2 DATA Page 7-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 181: Reply Times For Modbus Communication

    10 - 60 10 - 60 10 - 60 10 - 60 10 - 60 110 - 170 50 - 60 220 -280 50 - 110 50 - 110 Page 7-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 182 Communication Page 7-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 183 Communication 40 or 50 series ASCII communication Figure 7-7 : ASCII configuration example Figure 7-8 : AC31GRAF configuration window of the central unit. Page 7-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 184: Point To Point Communication With The Incorporated Ascii Interface

    There isn’t a default configuration. It is therefore necessary to configure the communication parameters (speed, stop bits, data bits, parity, end of frame) with the SINIT function in the user program. Page 7-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 185: Programming

    0 to 9, and then to validate by replying "Action x OK" or to return "error message" in the case of a message error using the SEND block. Page 7-14 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 186 ACQUIT & ERROR READY1 Jump TRUE ACQUIT VAL_2 MESSAGENUMBER Jump Message sending SEND READY FREI COM1 MESSAGENUMBER TXNR #"sending READY2 TEXT #"sending #"\010\013Action #201 %MW000.00 #"OK #"\010\013 Error message Page 7-15 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 187 Communication 40 or 50 series Programming mode Figure 7-9 : programming protocol configuration example Page 7-16 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 188: Point To Point Communication With The Programming Protocol

    This protocol uses the serial interface of the central unit and is reserved for devices which dispose of an ABB programming interface (Figure 7-9). All variable values can be read or written by this protocol without any configuration or any particular program in the central units.
  • Page 190 AC 31 technical documentation Chapter 8 Diagnosis Page 8-1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 191 Diagnosis Figure 8-1 : Error detection LEDs Page 8-2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 192: Types Of Errors Detected

    The SUPPLY led flashes on the extension when an error occurs on the extension. As soon as the error has been detected and corrected by the user it can be acknowledged: By restarting the central unit Through the software Or by program. Page 8-3 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 193 The first error should be acknowledged to allow the following to be read. And so on through to the last error. Those following errors which disappear, before the acknowledgment of the first error, are never signaled. Page 8-4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 194 - Software acknowledgment in the “STATUS” window" - Acknowledgment through programming - Test button on the 30 and 90 series remote units - Automatic acknowledgment if the error code ≤ 15 Page 8-5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 195 Diagnosis Figure 8-2 : AC31GRAF status window Page 8-6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 196: Status Through Software

    The variable values can be accessed by the user for program error management. Comment: The class and error codes can also be accessed through the “STATUS” window in AC31GRAF. The arguments are converted and displayed in text form. Page 8-7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 197 * Information unavailable on certain AC 31 units The error bit M 255.10 is 1 if any of the error bits M 255.11 to M 255.14 are at 1. The central unit has not found an error if M 255.10 = 0.
  • Page 198: Correspondence Table Between The Error And The Diagnosis Variable Values

    XE 08 B5 XTC 08 ASI-GATEWAY 07 CR 41 07 KR 51 07 CT 41 07 KT 51 Master or slave central unit where the error was detected and memorized. Page 8-9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 199: Class Error Descriptions

    Note: one of the CS 31 lines is defective. Check the red Led status of the NCB or NCBR to find out which one is at fault. Superposed address Cycle time too short Page 8-10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 200: Class 4 Error Descriptions

    The system does not detect a sub- program, corresponding to a call, during startup * error detected if previously configured through programming the CS31CO block Page 8-11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 201: Programming Examples

    - MW 255.10 : the unit address - MW 255.11 : the defective channel number & %M255.14 %MW255.08 Z1=? CODE_12 ALARM SHUT_DOWN %MW255.09 Z1=? TYPE_20 %MW255.10 Z1=? ADD_3 %MW255.11 Z1=? CHANNEL_5 Page 8-12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 202: Example For Saving Numerous Errors Of The Same Class

    %MW000.09 %MW000.06 %MW000.10 %MW000.07 %MW000.11 %MW000.00 %MW000.04 %MW000.01 %MW000.05 %MW000.02 %MW000.06 %MW000.03 %MW000.07 %MW255.08 %MW000.00 %MW255.09 %MW000.01 %MW255.10 %MW000.02 %MW255.11 %MW000.03 jump: %M000.00 %M000.00 & %M000.00 CS31QU %M255.14 FREI Page 8-13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 204 AC 31 technical documentation Annexes Annexes - Page 1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 205: List Of Variables

    Annexes 1. List of variables The variables used by the AC 31 central units are of different types: - Bit variables (status 0 or 1) - Word variables (range -32768 to 32767) - Double word variables (range -2147483648 to 2147483647)
  • Page 206 Text Any ASCII character. These variables are only used for emission and reception of ASCII frames via the serial interface (refer to the SEND and RECEIVE functions). Annexes - Page 3 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 207 (1...31) IW62.13: month (1...12) IW62.14: year (0...99) The clock may be updated with the configuration editor of the AC31GRAF programming software or by the UHR function. Annexes - Page 4 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 208: List Of Functions

    Pulse duration modulator TIME_W Conversion Time into words OFF delay with time visualization ON delay with time visualization Monostable element "constant with time visualization" W_TIME Conversion words into time Annexes - Page 5 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 209 *: / MULDI Multiplication with division BETR Absolute value MUL2N Multiplication by 2 to the power of N Negation ZUDKW Allocation of a direct constant to a word Annexes - Page 6 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 210 SEND / DRUCK Sending ASCII characters via the serial interface SINIT Initialization and configuration of the serial interface Regulation functions Proportional-integral controller PIDT1 Proportional-integral controller with derivative Annexes - Page 7 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 211 Indexed writing of words LIZU List allocation Maximum value Minimum value NPULSE Pulse generator for a step motor Clock Memory access COPY Copy a memory area Read word with validation Annexes - Page 8 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 212: Mapping

    MW 240.15 = 10368 + ( 10 * 32 ) + ( 15 * 2 ) = 10718 MD 002.07 = 15872 + ( 2 * 64 ) + ( 7 * 4 ) = 16028 Annexes - Page 9 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 213 7048 / 7049 S00.00...S00.07/ S00.08...S00.15 3D00 / 3D01 15616 / 15617 S01.00...S01.07/ S01.08 S01.15 3D02 / 3D03 15618 / 15619 S125.00...S125.07/ S125.08 S125.15 3DFA / 3DFB 15866 / 15867 Annexes - Page 10 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 214 MW99.00 2860 10336 MW99.15 287E 10366 2880 10368 MW230.00 289E 10398 MW230.15 2BBE 11198 MW255.15 MD00.00 3E00 15872 MD00.01 3E04 15876 MD00.15 3E3C 15932 MD07.15 3FFC 16380 Annexes - Page 11 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 215: Historical Values

    1 (supplementary memory for the timers limited to 42 variables) 1 (supplementary memory for the timers limited to 42 variables) 1 (supplementary memory for the timers limited to 42 variables) Counter functions CTUH Annexes - Page 12 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 216 Communication functions ® MODBUS REC / EMAS and RECvars 1 SEND / DRUCK SINIT Controller functions PIDT1 High order functions BMELD 3 + number of inputs E NPULSE Annexes - Page 13 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 218 AC 31 technical documentation Index Index - Page 1 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 219 Cycle time,5-18, 7-10, 8-3, 8-10 Programming,2-5, 3-8, 3-9, 3-27, 5-1, 5-15, 5-17, 5-33, 6-3, 6-7, 6-14, 7-6, 7-13, 7-14, 8-7, 8-12 Project,2-4, 2-5, 2-9, 2-15 Protocol,3-5, 7-3, 7-13 Push button,5-28 Index - Page 2 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 220 XO 16 N1,1-16, 1-20, 3-16, 3-18, 3-19, 3-35, 4-13, 5-20, TC50,3-35, 3-38 Timer,3-9, 5-3, 5-37, 5, 12 XTC 08,1-16, 3-20, 3-22, 4-21, 4-25, 5-20, 5-39, 8-9 Transistor,4-10 Transmission,3-5, 5-11, 6-15, 7-3, 7-5 Index - Page 3 ABB Control - AC 31 1SBC 260400 R1001-b 06.99...
  • Page 221 For 40 series and 50 series 1SBC260400R1001- b 9810 As part of its on-going product improvement, ABB re- serves the right to modify the characteristics or the pro- ducts described in this document. The information given is not-contractual. For further details please contact the ABB company marketing these products in your country.

Table of Contents