ABB AC 31 Technical manual

Manual is about: Advant Controller 31 40 & 50 Series

Summary of AC 31

  • Page 1

    Technical manual advant controller 31 40 & 50 series 1sbc 260400 r 1001-b.

  • Page 2: Summary

    Summary abb control - ac 31 summary - page 1 1sbc 260400 r1001-b 06.99 chapter 1 presentation / operation 1. Presentation 1-2 2. General setup rules 1-3 2.1. Central units with extensions 1-5 2.2. Central units with cs 31 bus 1-5 2.3. Cabling techniques 1-5 3. Operation of the 40 and 50 series centr...

  • Page 3: Summary

    Summary summary - page 2 abb control - ac 31 1sbc 260400 r1001-b 06.99 5. Binary extensions 3-17 5.1. The front (see figure 3-5 to figure 3-9) 3-17 5.2. Binary extensions specifications 3-18 6. Analog extensions 3-21 6.1. The front (see figure 3-10, figure 3-11) 3-21 6.2. Analog display (see figure ...

  • Page 4: Summary

    Summary abb control - ac 31 summary - page 3 1sbc 260400 r1001-b 06.99 5. Addressing 4-17 5.1. Input/output variables 4-17 5.2. Addressing cu masters or stand-alones with extensions 4-17 5.3. Addressing slave central units or remote extension units on the cs 31 bus 4-21 5.3.1. Addressing extensible ...

  • Page 5: Summary

    Summary summary - page 4 abb control - ac 31 1sbc 260400 r1001-b 06.99 chapter 6 program optimization 1. Sub-program 6-3 1.1. Programming sub-programs 6-3 1.2. Calling a sub-program 6-4 1.3. Passing parameters 6-5 1.4. Limits 6-5 2. Interruptions 6-7 2.1. Programming interruptions 6-7 2.2. Validatio...

  • Page 6: Summary

    Summary abb control - ac 31 summary - page 5 1sbc 260400 r1001-b 06.99 chapter 8 diagnosis 1. Types of errors detected 8-3 2. Detection of errors 8-3 3. Status through software 8-7 4. Error management through programming 8-7 4.1. Description of the diagnosis variables 8-7 4.2. Correspondence table b...

  • Page 8: Chapter 1

    Ac 31 technical documentation abb control - ac 31 page 1-1 1sbc 260400 r1001-b 06.99 chapter 1 presentation / operation.

  • Page 9: Presentation / Operation

    Presentation / operation page 1-2 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 an...

  • Page 10: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-3 1sbc 260400 r1001-b 06.99 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 - the 50 series c...

  • Page 11: Presentation / Operation

    Presentation / operation page 1-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 07kr51 or 07ct41 xi16e1 xo08r1 xc08l1 xm06b5 max. 6 binary or analog extensions figure 1-1 : a central unit with extensions 07k r 51 xi16e1 xo 08r 1 m ax. 31 bus connection points m ax. 500 m w ithout am plifier m ax. 20...

  • Page 12: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-5 1sbc 260400 r1001-b 06.99 2.1. Central units with extensions the 40 and 50 series. It’s possible to increase the number of inputs / outputs of the basic central unit by adding up to 6 local extension units of either type, binary or analog (figure...

  • Page 13: Presentation / Operation

    Presentation / operation page 1-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 pc micro- processor sram at program launch program dispatch central unit isolated rs232/485 liaison flash asic uart figure 1-3 : functional diagram of the central unit.

  • Page 14: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-7 1sbc 260400 r1001-b 06.99 3. Operation of the 40 and 50 series central units 3.1. Functional diagram the 40 and 50 series central units memory is composed of two distinct areas: - a sram memory where the user program and data is loaded. - a flash...

  • Page 15: Presentation / Operation

    Presentation / operation page 1-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 input acquisition program processing outputs update run stop forcing the outputs to 0 communication along the bus and with the extensions figure 1-4 : the program execution cycle sub-program 1 main program periodic inter...

  • Page 16: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-9 1sbc 260400 r1001-b 06.99 3.2. Program execution the central unit microprocessor ensures the cyclic execution of the system as shown in figure 1-4. The internal processing: - plc monitoring and control - and processing requests from the terminal ...

  • Page 17: Presentation / Operation

    Presentation / operation page 1-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 the central unit interrogates the remote units in order to establish an initial image of the system configuration during initialization. The remote units are then interrogated with each bus cycle. This enables the recog...

  • Page 18: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-11 1sbc 260400 r1001-b 06.99 3.5. Power on / program launch the central unit executes a complete series of auto tests at each startup. The program can only be launched if no errors have been detected. The auto tests verify the following: - the prog...

  • Page 19: Presentation / Operation

    Presentation / operation page 1-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 3.6. Power cuts or drops the 50 series central unit disposes of a time delay in order to save the necessary information for the next startup should there be a power drop or cut. Saving program internal data is only poss...

  • Page 20: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-13 1sbc 260400 r1001-b 06.99 4. References products description references central units 40 series 07 cr 41 24vdc extensible stand-alone central unit, with 8 isolated inputs 24 v d.C. And 6 incorporated relay outputs 250 v a.C. / 2 a rs232 interfac...

  • Page 21: Presentation / Operation

    Presentation / operation page 1-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 products description references central units 90 series 07 kr 91 230vac extensible central unit with cs31 bus, memory 20 isolated inputs 24 v d.C. And 12 relay outputs 250 v a.C. / 2 a 120/230 v a.C. Power supply. Gjr52...

  • Page 22: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-15 1sbc 260400 r1001-b 06.99 products description references 90 series communication couplers 07 kp 90 * rcom protocol master / slave interface 24 v d.C. Power supply. Gjr5251000r0202 07 kp 91 * eib coupler 1say110165r0003 07 mk 92 two “c” programm...

  • Page 23: Presentation / Operation

    Presentation / operation page 1-16 abb control - ac 31 1sbc 260400 r1001-b 06.99 products description references extensible remote units icmk 14 f1 24vdc extensible remote unit with 8 isolated inputs 24 v d.C. And 6 relay outputs 250 v a.C. / 2 a 24 v d.C. Power supply. 1sbp260050r1001 icmk 14 f1 12...

  • Page 24: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-17 1sbc 260400 r1001-b 06.99 products description references 30 series binary remote units icsi 08 e3 120vac binary remote unit with 8 isolated inputs 120 v a.C. 120 v a.C. Power supply fpr 331 6301 r0014 icsi 08 e4 230vac binary remote unit with 8...

  • Page 25: Presentation / Operation

    Presentation / operation page 1-18 abb control - ac 31 1sbc 260400 r1001-b 06.99 products description references 90 series binary remote units 07 di 92 binary remote unit with 32 binary inputs 24 v d.C. 24 v d.C. Power supply gjr 525 2400 r0101 07 dc 91 binary remote unit with 16 binary inputs, 8 tr...

  • Page 26: Presentation / Operation

    Presentation / operation abb control - ac 31 page 1-19 1sbc 260400 r1001-b 06.99 products description references displays tc 50 display with 2 lines of 20 characters, 7 operator keys, 5 customizable keys for parameter modifications or process control ip 65 front 128 pages with 6 data/page insertion ...

  • Page 27: Presentation / Operation

    Presentation / operation page 1-20 abb control - ac 31 1sbc 260400 r1001-b 06.99 products description references connectors 07 st 50 dual connector for easy connection, to 40 and 50 series central units, of sensors or 3 wire binary actuators 2 units 1sbn260300r1001 07 st 51 dual connector for easy c...

  • Page 28: Chapter 2

    Ac 31 technical documentation abb control - ac 31 page 2-1 1sbc 260400 r1001-b 06.99 chapter 2 getting started.

  • Page 29: Presentation / Operation

    Presentation / operation page 2-2 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 30: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-3 1sbc 260400 r1001-b 06.99 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...

  • Page 31: Presentation / Operation

    Presentation / operation page 2-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 ...

  • Page 32: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-5 1sbc 260400 r1001-b 06.99 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...

  • Page 33: Presentation / Operation

    Presentation / operation page 2-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 2-6 : the variables list 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 34: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-7 1sbc 260400 r1001-b 06.99 3.3. Variable declarations select the " variable list" icon in the program editor window (figure 2-5). The pre-defined variables in the variable list are those which correspond to the chosen central unit. The variables o...

  • Page 35: Presentation / Operation

    Presentation / operation page 2-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 36: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-9 1sbc 260400 r1001-b 06.99 3.4.3. Inserting variables select the " insert variable" icon (figure 2-10) in the program editor window. Then place the cursor to the left of the function block, making sure that enough space is left so that the input v...

  • Page 37: Presentation / Operation

    Presentation / operation page 2-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 2-14 : serial interface configuration window figure 2-15 : control window figure 2-16 : central unit configuration window download parameters.

  • Page 38: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-11 1sbc 260400 r1001-b 06.99 3.7. Communication with the plc 3.7.1. Configuration of the serial interface select the "link configuration" item of the "options" menu from the program editor window. Check that the communication cable is properly conn...

  • Page 39: Presentation / Operation

    Presentation / operation page 2-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 2-17 : message 1 when sending the program to the plc 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 visuali...

  • Page 40: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-13 1sbc 260400 r1001-b 06.99 3.7.4. Initializing the central unit initialization of the central unit is necessary after any configuration of the central unit operative mode in order for it to startup with the correct system configuration. Click the...

  • Page 41: Presentation / Operation

    Presentation / operation page 2-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 42: Presentation / Operation

    Presentation / operation abb control - ac 31 page 2-15 1sbc 260400 r1001-b 06.99 test 2: software input forcing click on the "on-line list" button in the control panel. Click on the "insert variable" icon to insert a variable. Select the "i62.00 - in1 - switch" variable and validate "ok". Double-cli...

  • Page 44: Chapter 3

    Ac 31 technical documentation abb control - ac 31 page 3-1 1sbc 260400 r1001-b 06.99 chapter 3 technical specifications.

  • Page 45: Technical Specifications

    Technical specifications page 3-2 abb control - ac 31 1sbc 260400 r1001-b 06.99.

  • Page 46: Technical Specifications

    Technical specifications abb control - ac 31 page 3-3 1sbc 260400 r1001-b 06.99 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...

  • Page 47: Technical Specifications

    Technical specifications page 3-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 creepage distances and clearances iec 664 et din vde0160 insulation test iec 1131-2 electromagnetic compatibility immunity tests against: - electrostatic discharge - radiated fields - fast transient bursts - high energy ...

  • Page 48: Technical Specifications

    Technical specifications abb control - ac 31 page 3-5 1sbc 260400 r1001-b 06.99 2. Cs 31 bus technical specifications type rs 485 multipoint serial interface mode half-duplex number of connection points 1 single master max. 31 slaves support - section - twists - resistance - impedance specification ...

  • Page 49: Technical Specifications

    Technical specifications page 3-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-1 : front of the central unit figure 3-2 : enlargement of item 9 without the cover.

  • Page 50: Technical Specifications

    Technical specifications abb control - ac 31 page 3-7 1sbc 260400 r1001-b 06.99 3. Central units 3.1. The front of the central unit (see figure 3-1) 1 - location for din rail 2 - plate fixture with unit earthing 3 - lock for din rail mounting 4 - location for external dual connector 5 - location of ...

  • Page 51: Technical Specifications

    Technical specifications page 3-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 3.2. Technical specification 40 series 50 series 07 cr 41 24 v d.C. 07 ct 41 24 v d.C. 07 cr 41 120/230 v a.C. 07 kr 51 24 v d.C. 07 kt 51 24 v d.C. 07 kr 51 120/230 v a.C. Number of i/o - incorporated binary inputs 8 8 ...

  • Page 52: Technical Specifications

    Technical specifications abb control - ac 31 page 3-9 1sbc 260400 r1001-b 06.99 40 series 50 series 07 cr 41 24 v d.C. 07 ct 41 24 v d.C. 07 cr 41 120/230 v a.C. 07 kr 51 24 v d.C. 07 kt 51 24 v d.C. 07 kr 51 120/230 v a.C. Functionality - execution time for 1kbytes: 100% binary instructions 65% bin...

  • Page 53: Technical Specifications

    Technical specifications page 3-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 40 series 50series 07 cr 41 24 v d.C. 07 ct 41 24 v d.C. 07 cr 41 120/230 v a.C. 07 kr 51 24 v d.C. 07 kt 51 24 v d.C. 07 kr 51 120/230 v a.C. - weight 400 g 800 g 400 g 800 g power supply - power supply voltage: nomina...

  • Page 54: Technical Specifications

    Technical specifications abb control - ac 31 page 3-11 1sbc 260400 r1001-b 06.99 40 series 50 series 07 cr 41 24 v d.C. 07 ct 41 24 v d.C. 07 cr 41 120/230 v a.C. 07 kr 51 24 v d.C. 07 kt 51 24 v d.C. 07 kr 51 120/230 v a.C. Incorporated outputs - number of outputs 6 relays 6 transistors 6 relays 6 ...

  • Page 55: Technical Specifications

    Technical specifications page 3-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-3 : the front of the unit figure 3-4 : enlargement of item 9 without cover.

  • Page 56: Technical Specifications

    Technical specifications abb control - ac 31 page 3-13 1sbc 260400 r1001-b 06.99 4. Extensible remote units 4.1. The front (see figure 3-3) 1 - location for the din rail 2 - plate fixture with unit earthing 3 - lock for din rail mounting 4 - location for external dual connector 5 - location for the ...

  • Page 57: Technical Specifications

    Technical specifications page 3-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 4.2. Technical specifications of the extensible remote units icmk 14 f1 icmk 14 f1 icmk 14 n1 24 v d.C. 120 / 230 v a.C. 24 v d.C. - weight 400 g 800 g 400 g power supply - mains voltage: nominal value admissible range ...

  • Page 58: Technical Specifications

    Technical specifications abb control - ac 31 page 3-15 1sbc 260400 r1001-b 06.99 icmk 14 f1 icmk 14 f1 icmk 14 n1 24 v d.C. 120 / 230 v a.C. 24 v d.C. Incorporated outputs - number of outputs 6 relays 6 relays 6 transistors - isolation of the inputs / electronic 1500 vrms 1 min 1500 vrms 1 min 1500 ...

  • Page 59: Technical Specifications

    Technical specifications page 3-16 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-5 : xi 16 e1 binary extension 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 60: Technical Specifications

    Technical specifications abb control - ac 31 page 3-17 1sbc 260400 r1001-b 06.99 5. Binary extensions 5.1. The front (see figure 3-5 to figure 3-9) 1 - location for din rail 2 - plate fixture with unit earthing 3 - lock for din rail mounting 4 - location for external dual connector 5 - location of c...

  • Page 61: Technical Specifications

    Technical specifications page 3-18 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.2. Binary extensions specifications the binary extension units are powered at 5 v by the central unit or extensible remote unit to which they are connected. Warning: the extensions must not be connected or disconnecte...

  • Page 62: Technical Specifications

    Technical specifications abb control - ac 31 page 3-19 1sbc 260400 r1001-b 06.99 xi 16 e1 xo 08 r1 xc 08 l1 xk 08 f1 xo 16 n1 - breaking power under 120 v a.C. (contact rating code b300) (ul) - 2 a 2 a - breaking power under 250 v a.C. (contact rating code b300) (ul) - 2 a (1.5 a according to ul) 2 ...

  • Page 63: Technical Specifications

    Technical specifications page 3-20 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 64: Technical Specifications

    Technical specifications abb control - ac 31 page 3-21 1sbc 260400 r1001-b 06.99 6. Analog extensions 6.1. The front (see figure 3-10, figure 3-11) 1 - location for the din rail 2 - plate fixture with unit earthing 3 - lock for din rail mounting 4 - location for external dual connector 5 - location ...

  • Page 65: Technical Specifications

    Technical specifications page 3-22 abb control - ac 31 1sbc 260400 r1001-b 06.99 6.3. Technical specifications of the analog extension the analog extensions are powered at 5 v and 24 v d.C. By the central unit or extensible remote unit to which they are connected. The analog value with a customized ...

  • Page 66: Technical Specifications

    Technical specifications abb control - ac 31 page 3-23 1sbc 260400 r1001-b 06.99 xm 06 b5 analog outputs voltage current - nominal range - max. Current +/- 10 v 2 ma 0…20 ma 4…20 ma 20 ma - isolation outputs / electronic - resolution 500 v 11 bits + sign 500 v 12 bits - min output resolution ( ± 1 l...

  • Page 67: Technical Specifications

    Technical specifications page 3-24 abb control - ac 31 1sbc 260400 r1001-b 06.99 6.4. Analog inputs diagram: 6.4.1. Current 4-20ma: 32767 16384 - 32767 -20ma 0 4ma 12ma 20ma 3.75m 6.4.2. Current 0-20ma: 32767 16384 - 32767 -20ma 0 10ma 20ma 6.4.3. Pt100/pt1000: 4500 -200°c 450°c -2000 val = t° x 10 ...

  • Page 68: Technical Specifications

    Technical specifications abb control - ac 31 page 3-25 1sbc 260400 r1001-b 06.99 6.5. Analog outputs diagrams: 6.5.1. Current 0-20ma: 20ma 10ma -20ma -32768 0 16384 32767 6.5.2. Current 4-20ma: 20ma 12ma -20ma -32768 0 4ma 16384 32767 voltage output +/- 10 v: 1 lsb = 10 / 2 11 = 4,88 mv with minimum...

  • Page 69: Technical Specifications

    Technical specifications page 3-26 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-13 : 07 sk 50 programming cable.

  • Page 70: Technical Specifications

    Technical specifications abb control - ac 31 page 3-27 1sbc 260400 r1001-b 06.99 7. Accessories 7.1. Programming cables: 07 sk 50 and 07 sk 52 these cables allow you to connect the 40 and 50 series central units to a pc for programming and the tests. They are shielded and are 2 meters long. 7.1.1. 0...

  • Page 71: Technical Specifications

    Technical specifications page 3-28 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-14 : 07 sk 52 programming cable.

  • Page 72: Technical Specifications

    Technical specifications abb control - ac 31 page 3-29 1sbc 260400 r1001-b 06.99 7.1.2. 07 sk 52 connection diagram (see figure 3-14): - diagram of the rts signal cabling: if rts active at low level: rts+ 5 rts- 8 cts white 0v blue (for ex. Gnd) central unit end min din 8 bare wires end if rts activ...

  • Page 73: Technical Specifications

    Technical specifications page 3-30 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-15 : 07 sk 51 communication cable.

  • Page 74: Technical Specifications

    Technical specifications abb control - ac 31 page 3-31 1sbc 260400 r1001-b 06.99 7.2. Ascii/modbus ® communication cables: 07 sk 51 and 07 sk 53 these cables allow you to connect the 40 or 50 series central units to other devices for ascii or modbus ® communication. They are shielded and 2 meters lo...

  • Page 75: Technical Specifications

    Technical specifications page 3-32 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 3-16 : 07 sk 53 communication cable.

  • Page 76: Technical Specifications

    Technical specifications abb control - ac 31 page 3-33 1sbc 260400 r1001-b 06.99 7.2.2. 07 sk 53 connection diagram (see figure 3-16): - cabling diagram of the rts signal: if rts active at low level: rts+ 5 rts- 8 cts white 0v blue (for ex. Gnd) central unit end min din 8 bare wires end if rts activ...

  • Page 77: Technical Specifications

    Technical specifications page 3-34 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 78: Technical Specifications

    Technical specifications abb control - ac 31 page 3-35 1sbc 260400 r1001-b 06.99 7.3. Tc50 display cables: 07 sk 54 and 07 sk 55 refer to the tc 50 documentation supplied with the product. 7.4. Connectors (see figure 3-17) two types of connectors exist complementary to the removable connectors. They...

  • Page 79: Technical Specifications

    Technical specifications page 3-36 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 80: Technical Specifications

    Technical specifications abb control - ac 31 page 3-37 1sbc 260400 r1001-b 06.99 7.4.3. External dual connector: 07 st 51 this is a dual connector which enables an easy connection of analog sensors to the 40 and 50 series products (xm 06 b5 or xe 08 b5), some other functions are also added with this...

  • Page 81: Technical Specifications

    Technical specifications page 3-38 abb control - ac 31 1sbc 260400 r1001-b 06.99 7.5. Stickers a set of 100 stickers enable the description of the plc channels used, and for up to 20 products. The stickers are written by the user and are to be stuck inside the covers. 8. Tc50 display the tc50 is use...

  • Page 82: Technical Specifications

    Technical specifications abb control - ac 31 page 3-39 1sbc 260400 r1001-b 06.99 9. Dimensions (in mm) 84 3 5 m m e n 5 0 0 2 2 c 0 3 3 2 d 120 9 3 c 0 3 3 3 d 104 8 5 2 c 0 3 3 4 d figure 3-24 : central unit and remote unit 84.5 3 5 m m e n 5 0 0 2 2 c 0 3 0 9 d 65 9 3 c 0 3 1 0 d 51 8 5 2 c 0 3 1 ...

  • Page 84: Chapter 4

    Ac 31 technical documentation abb control - ac 31 page 4-1 1sbc 260400 r1001-b 06.99 chapter 4 installation.

  • Page 85: Installation

    Installation page 4-2 abb control - ac 31 1sbc 260400 r1001-b 06.99.

  • Page 86: Installation

    Installation abb control - ac 31 page 4-3 1sbc 260400 r1001-b 06.99 this chapter presents the cabling, product by product, the main implementation rules and the addressing rules. 1. Implementation of an ac 31 system the ac 31 product range has been conceived for operation in extreme industrial envir...

  • Page 87: Installation

    Installation page 4-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 4-1 : earthing principle for numerous cabinets figure 4-2 : recommended connections with noise generating devices..

  • Page 88: Installation

    Installation abb control - ac 31 page 4-5 1sbc 260400 r1001-b 06.99 1.3. Earthing 1.3.1. Basic earthing principles use rigid wires or multi-conductor wires awg 14 (1.95 mm 2 ). The earth and mains wires should be connected in star. All ac 31 components of a cabinet should be connected to the same ea...

  • Page 89: Installation

    Installation page 4-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 4-3 : correct bus cabling during an interruption figure 4-4 : incorrect bus cabling during an interruption figure 4-5 : correct bus cabling figure 4-6 : prohibited star bus cabling figure 4-7 : correct symmetrical twisted pai...

  • Page 90: Installation

    Installation abb control - ac 31 page 4-7 1sbc 260400 r1001-b 06.99 1.4. Cabling of the cs 31 bus the cs 31 bus is a rs 485 serial interface and consists of a shielded twisted pair. This bus is a master slave bus and only accepts a single master. Use a awg 24 (0.22 mm 2 ) to awg 18 (0.18 mm 2 ) twis...

  • Page 91: Installation

    Installation page 4-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 4-10 : power supply t-t figure 4-11 : power supply i-t.

  • Page 92: Installation

    Installation abb control - ac 31 page 4-9 1sbc 260400 r1001-b 06.99 1.5. Different power supply types the main differences between them concerns the connection of the neutral and the metallic parts to the earth: - t-t neutral: the neutral is connected to the earth. All the metallic parts are earthed...

  • Page 93: Installation

    Installation page 4-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 cabling central and extensible remote units inputs/outputs: figure 4-12 : positive logical inputs pnp 24 v d.C. Unit power supply figure 4-13 : negative logical inputs npn 24 v d.C. Unit power supply figure 4-14 : positive logical ...

  • Page 94: Installation

    Installation abb control - ac 31 page 4-11 1sbc 260400 r1001-b 06.99 2. Central unit and remote unit cabling 2.1. Power supply use rigid or multi-conductor awg 14 (1.95 mm 2 ) wires. The connection of an external thermal fuse is necessary to provides material protection. It is possible to select 230...

  • Page 95: Installation

    Installation page 4-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 96: Installation

    Installation abb control - ac 31 page 4-13 1sbc 260400 r1001-b 06.99 3. Cabling binary extensions 3.1. Extension xi 16 e1 (see figure 4-18) the extension is powered with 5 v by the central unit or the remote unit. The connection between the extension and the central unit is effectuated with the cabl...

  • Page 97: Installation

    Installation page 4-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 4-23 : xm 06 b5 with 2 wire probe 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 98: Installation

    Installation abb control - ac 31 page 4-15 1sbc 260400 r1001-b 06.99 4. Cabling the analog extension 4.1. Extension xm 06 b5 the extension is powered with 5 v by the central unit or the remote unit. The connection between the extension and the central unit is effectuated with the cable situated on t...

  • Page 99: Installation

    Installation page 4-16 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 4-27 : ac31graf "plc configuration" window.

  • Page 100: Installation

    Installation abb control - ac 31 page 4-17 1sbc 260400 r1001-b 06.99 5. Addressing 5.1. Input/output variables 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:...

  • Page 101: Installation

    Installation page 4-18 abb control - ac 31 1sbc 260400 r1001-b 06.99 • master or stand-alone central unit the address 62 is assigned to the inputs / outputs of a central unit. The addresses of the extensions are assigned automatically according to the order of the extensions: - the first binary inpu...

  • Page 102: Installation

    Installation abb control - ac 31 page 4-19 1sbc 260400 r1001-b 06.99 in order to optimize the addressing, the mixed or configurable inputs/outputs extension, or extensions, will be situated at the extremities. 40 or 50 series i/o i o i o o addresses 63 64 64 65 65 66 - the address of the first analo...

  • Page 103: Installation

    Installation page 4-20 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 4-28 : rotative switches for addressing the remote extension unit.

  • Page 104: Installation

    Installation abb control - ac 31 page 4-21 1sbc 260400 r1001-b 06.99 5.3. Addressing slave central units or remote extension units on the cs 31 bus the cs 31 protocol is a master / slave protocol: the master sends requests to the slaves which are indicated by an address between 0 to 61. The master c...

  • Page 105: Installation

    Installation page 4-22 abb control - ac 31 1sbc 260400 r1001-b 06.99 addressing rule - the first binary input extension takes the address x+1, the following is incremented by 1 and so on until 61. - the first binary output extension also takes the x+1 address and those that follow are incremented by...

  • Page 106: Installation

    Installation abb control - ac 31 page 4-23 1sbc 260400 r1001-b 06.99 50 series master iw / ow o iw i o i 62 63 63 64 63 64 64 addresses cs 31 bus interface ru i o iw/ ow i/o o iw/ ow x x+1 x+1 x.00 x+2 x+3 x.04 addresses to to x.03 x.07 ru i o iw i/o o ow addresses x+4 x+5 x+5 x+4.00 x+6 x+7 x+4.00 ...

  • Page 107: Installation

    Installation page 4-24 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.3.3. Addressing example 62 63 63 64 63 64 64 addresses cs 31 bus interface 50 series master iw / ow o iw / ow i o i 0 1 2 3 4 4 5 addresses ru i i i/o i o o 7 63 64 63 63 65 66 addresses managed by only the slave central unit 50 ...

  • Page 108: Installation

    Installation abb control - ac 31 page 4-25 1sbc 260400 r1001-b 06.99 5.4. Summary master central unit 40 and 50 series addresses address configuration - incorporated inputs/outputs 62 standard - binary extension 63 to 68 automatically - analog extension 63 to 68 automatically analog channel addressi...

  • Page 110: Chapter 5

    Ac 31 technical documentation abb control - ac 31 page 5-1 1sbc 260400 r1001-b 06.99 chapter 5 programming.

  • Page 111: Programming

    Programming page 5-2 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 ...

  • Page 112: Programming

    Programming abb control - ac 31 page 5-3 1sbc 260400 r1001-b 06.99 ● ● ● ● an existing library with more than 150 functions: the list of available functions depends on the chosen central unit. Once the central unit has been defined the list is common for the different programming editors. The 40 and...

  • Page 113: Programming

    Programming page 5-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 2. List of variables there are 5 types of variables used in the user program: the physical, binary or analog, input / output variables the internal bit, word or double word variables used in the user program for the intermediate calc...

  • Page 114: Programming

    Programming abb control - ac 31 page 5-5 1sbc 260400 r1001-b 06.99 type variables description from to binary inputs i 00.00 i 61.15 cs 31 bus binary inputs i 62.00 i 62.07 binary inputs on the central unit i62.00 and i62.01 may be configured for counting i62.02 and i62.03 may be configured for input...

  • Page 115: Programming

    Programming page 5-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 type variables description from to binary outputs o 00.00 o 61.15 binary outputs on the cs 31 bus o 62.00 o 62.05 binary outputs on the central units o 63.00 o 68.15 binary outputs on the extensions of the central units. Analog outpu...

  • Page 116: Programming

    Programming abb control - ac 31 page 5-7 1sbc 260400 r1001-b 06.99 3. Initialization the old program on the plc is automatically overwritten when a new program is sent. However , it is advisable to reconfigure the central unit with the factory parameters before sending a new program: stand-alone cen...

  • Page 117: Programming

    Programming page 5-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 5-1 : list for the 40 series figure 5-2 : list for the 50 series.

  • Page 118: Programming

    Programming abb control - ac 31 page 5-9 1sbc 260400 r1001-b 06.99 4. Configuration before sending the program to the plc you should make sure that the central unit has been correctly configured for the application. There are two configuration tools: - the configuration menu in the ac31graf programm...

  • Page 119: Programming

    Programming page 5-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 here is a complete description of the central unit's configurable parameters: 4.1.1. The central unit operative mode as the 40 series central unit is used solely in stand-alone mode it does not have a cs 31 bus connection the 50 ser...

  • Page 120: Programming

    Programming abb control - ac 31 page 5-11 1sbc 260400 r1001-b 06.99 4.1.2. Transmission/reception range of a slave central unit these parameters only act on the 50 series central units if it is configured as a slave. The exchange of information between master and slave central units is not only limi...

  • Page 121: Programming

    Programming page 5-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 4.1.4. Initialization /internal bits backup value n to choose internal bits backed up internal bits initialized n = 0 (default value) no backup m 000.00...M 099.15 m 230.00 m 255.15 n = 1...99 m 000.00...M n-1.15 m n.00...M 099.15 m...

  • Page 122: Programming

    Programming abb control - ac 31 page 5-13 1sbc 260400 r1001-b 06.99 4.1.6. Initialization / internal double word backup value n to choose internal double words backed up internal double words initialized n = 0 (default value) no backup md 000.00...Md 007.15 n = 1 md 000.00...Md 000.15 md 001.00...Md...

  • Page 123: Programming

    Programming page 5-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 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: fata...

  • Page 124: Programming

    Programming abb control - ac 31 page 5-15 1sbc 260400 r1001-b 06.99 4.1.11. Communication mode of the com1 serial interface the serial port of the central unit may be used in different modes: programming mode to program and test the central unit ascii mode for communicating between the central unit ...

  • Page 125: Programming

    Programming page 5-16 abb control - ac 31 1sbc 260400 r1001-b 06.99 plc tx o rx o gnd o rts + o rts - o o tx modem o rx o gnd o input modem o v + power supply o v – * generally v- is connected to gnd of power supply general cabling between plc / modem rts with 40 serie: rts + * rts – is not connecte...

  • Page 126: Programming

    Programming abb control - ac 31 page 5-17 1sbc 260400 r1001-b 06.99 4.1.12. Communication parameters: theyare defined as follows, according to the mode: mode default parameters modification of parameters programming 9 600 bauds no parity 8 data bits 1 stop bit parameters non modifiable ascii no defa...

  • Page 127: Programming

    Programming page 5-18 abb control - ac 31 1sbc 260400 r1001-b 06.99 4.1.13. The central unit cycle time the central unit program executes in cycles for the duration which is defined in the "cycle time declaration" system parameter. The value is expressed in milliseconds. - for a master central unit ...

  • Page 128: Programming

    Programming abb control - ac 31 page 5-19 1sbc 260400 r1001-b 06.99 4.1.14. Cs31 bus communication times cs 31 bus communication times basic time of the master central unit 2000 µs slave central units without extensions 07 kr 51* 750 µs 07 kt 51* 750 µs 07 kr 91* 750 µs 07 kt 92* 750 µs 07 kt 93* 75...

  • Page 129: Programming

    Programming page 5-20 abb control - ac 31 1sbc 260400 r1001-b 06.99 cs 31 bus communication times extension input / output units on master central unit on extensible remote units on slave central units xi 16 e1 1000 µs 1000 µs 2500 µs xo 08 r1 1000 µs 1000 µs 2500 µs xc 08 l1 1000 µs 1000 µs 2500 µs...

  • Page 130: Programming

    Programming abb control - ac 31 page 5-21 1sbc 260400 r1001-b 06.99.

  • Page 131: Programming

    Programming page 5-22 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 5-3 : a clock is available on the 50 series central units figure 5-4 : update of the clock set plc clock.

  • Page 132: Programming

    Programming abb control - ac 31 page 5-23 1sbc 260400 r1001-b 06.99 4.1.15. Clock a clock is available on the 50 series central units (see figure 5-3). Drift (typical) 4.3 min / month at 25 °c the clock parameters are accessible: either in the following variables: iw 62.08 seconds (0...59) iw 62.09 ...

  • Page 133: Programming

    Programming page 5-24 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 5-5 : write access denied figure 5-6 : password composed of 4 values figure 5-7 : re-enter the password to unlock password protection.

  • Page 134: Programming

    Programming abb control - ac 31 page 5-25 1sbc 260400 r1001-b 06.99 the clock update is carried out with each validation of the i 62.01 input, and as long as that input is active. The information in the kw001.00 to kw001.07 inputs are then copied to the clock . A parameter error is signaled in the o...

  • Page 135: Programming

    Programming page 5-26 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 5-8 : dip switches configuration on xm 06 b5 figure 5-9 : dip switches configuration on xe 08 b5.

  • Page 136: Programming

    Programming abb control - ac 31 page 5-27 1sbc 260400 r1001-b 06.99 4.3. Analog configuration ( extension) the channel type and the display value can be configured. The channel type has to be chosen between voltage (-/+ 10 v), current (0-20ma or 4-20ma) or temperature measurement (pt100 or pt1000 2,...

  • Page 137: Programming

    Programming page 5-28 abb control - ac 31 1sbc 260400 r1001-b 06.99 ● push button description the push button is used to choose the channel to display the value. The value is always displayed according to the selected format. Channel numbers are scrolled every time the push button is pressed. The 2 ...

  • Page 138: Programming

    Programming abb control - ac 31 page 5-29 1sbc 260400 r1001-b 06.99 ● standard display format the channel type can also be set with the pushbutton. The configuration mode is set when the push button is pressed for 10 seconds. The display starts to blink and the current format is displayed (the facto...

  • Page 139: Programming

    Programming page 5-30 abb control - ac 31 1sbc 260400 r1001-b 06.99 when the push button is not pressed during 10 seconds, the configuration mode is closed and the display value mode is again active the configuration is stored in an internal eeprom and it is saved in case of power fail. This configu...

  • Page 140: Programming

    Programming abb control - ac 31 page 5-31 1sbc 260400 r1001-b 06.99 filtering time 0 : internal filter according to the documentation of analog extension 1-127 : integration number 192 : 60hz filter 224 : 50hz filter all channels of one extension will be affected by this parameter. The time filter f...

  • Page 141: Programming

    Programming page 5-32 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 5-10 : duplicating inputs of a function block.

  • Page 142: Programming

    Programming abb control - ac 31 page 5-33 1sbc 260400 r1001-b 06.99 5. Programming examples here are some programming examples to help you familiarize yourself with simple automation functions. 5.1. Practical advice ● ● ● ● for complementing to complement a variable or the result of a boolean functi...

  • Page 143: Programming

    Programming page 5-34 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.2. Operation and the output status of an and diagram is 1 if all the inputs are at 1 the figure to the left represents a ladder diagram and operation. The number of contacts, which may be placed in series, is limited by the size o...

  • Page 144: Programming

    Programming abb control - ac 31 page 5-35 1sbc 260400 r1001-b 06.99 5.3. Nand operation the output has a 0 status if all the inputs have a 1 status. %o62.00 %i62.01 %i62.00 %i62.00 %i62.01 & %o62.00 a nand diagram has the same function as an or diagram with the inputs inverted. %o62.00 %i62.01 %i62....

  • Page 145: Programming

    Programming page 5-36 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.5. Nor operation the nor diagram has a status of 0 if one of the inputs has a status of 1. %o62.00 %i62.01 %i62.00 %i62.00 %i62.01 / %o62.00 %i62.02 %i62.03 %i62.02 %i62.03 a nor diagram has the same function as an and diagram wit...

  • Page 146: Programming

    Programming abb control - ac 31 page 5-37 1sbc 260400 r1001-b 06.99 5.7. Timer functions each of the following described functions is time dependent. The temporal value is placed in an indirect constant kd or in a double word variable md. In the case of word arithmetic calculations or modbus ® proto...

  • Page 147: Programming

    Programming page 5-38 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.7.1. Ton: on delay the ton function delays the in command signal passing to 1. The ton block adheres to the iec1131-3 standard. The and output allows you to see the time passed. Ton in pt q et %i62.00 %kd001.00 %o62.00 %md000.00 q...

  • Page 148: Programming

    Programming abb control - ac 31 page 5-39 1sbc 260400 r1001-b 06.99 5.7.3. Tp: monostable (constant) this block enables the activation of an output during a fixed time as from the moment when a rising edge appears on the input. A new rising edge will not be taken into account if it appears on the in...

  • Page 149: Programming

    Programming page 5-40 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.7.6. Oscillators there are four oscillator variables on the 40 and 50 series central units, which supply a fixed frequency signal of a ½ cyclic ratio: - m 255.00: frequency 2 hz (period 500 ms.) - m 255.01: frequency 1 hz (period ...

  • Page 150: Programming

    Programming abb control - ac 31 page 5-41 1sbc 260400 r1001-b 06.99 5.8. Detecting the first cycle with the m 255.15 variable the bit m 255.15 should be used when the detection of the first cycle is required, for example, to initialize certain parameters or set certain values to zero. The descriptio...

  • Page 151: Programming

    Programming page 5-42 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.9. Up/down counter function the following example shows how to set up the up/down counter block vrz. The result of the vrz block may vary from -32768 to 32767. In this example, the outputs low_limit or high_limit are respectively ...

  • Page 152: Programming

    Programming abb control - ac 31 page 5-43 1sbc 260400 r1001-b 06.99 5.10. Scaling an analog value 5.10.1. Using the potentiometers of the 40 and 50 series the 40 and 50 series central units each have two potentiometers, which allow the adjustment of parameters without a programming tool. The muldi f...

  • Page 153: Programming

    Programming page 5-44 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.10.2. Processing an analog input the following example shows how to process the measurement of a distance sensor. Measured physical value voltage +10/-10v power +20/-20ma power 4-20ma value read in the central unit 100 m 10 20 20 ...

  • Page 154: Chapter 6

    Ac 31 technical documentation abb control - ac 31 page 6-1 1sbc 260400 r1001-b 06.99 chapter 6 program optimization.

  • Page 155: Program Optimization

    Program optimization page 6-2 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 6-1 : creation of a sub-program figure 6-2 : a sub-programs example.

  • Page 156: Program Optimization

    Program optimization abb control - ac 31 page 6-3 1sbc 260400 r1001-b 06.99 this chapter is aimed at describing the supplementary characteristics of the cs 31 bus, which improve the performances of your application. These, easy to set up, functions allow you to easily reduce the cycle time, the prog...

  • Page 157: Program Optimization

    Program optimization page 6-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 1.2. Calling a sub-program once a sub-program is defined, its name is automatically inserted into the list of function blocks as a function block. A sub-program is called by using the function block in the main program. For ...

  • Page 158: Program Optimization

    Program optimization abb control - ac 31 page 6-5 1sbc 260400 r1001-b 06.99 1.3. Passing parameters the following syntax is used when parameters are to be exchanged between a sub-program and a program: - values -> parameters - the sub-program call - parameters -> result in the example below: sub1 en...

  • Page 159: Program Optimization

    Program optimization page 6-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 6-3 : creating an interruption figure 6-4 : an interruptions example.

  • Page 160: Program Optimization

    Program optimization abb control - ac 31 page 6-7 1sbc 260400 r1001-b 06.99 2. Interruptions the immediate treatment of information and rapid execution of certain tasks may be necessary and are processed with interruptions. Their processing, in this case, is independent of the central unit cycle tim...

  • Page 161: Program Optimization

    Program optimization page 6-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 2.2. Validation of interruptions the interruptions may, or may not, be validated (activated) depending on the process. Once an interruption has been defined the name is automatically placed in the function block list as a fu...

  • Page 162: Program Optimization

    Program optimization abb control - ac 31 page 6-9 1sbc 260400 r1001-b 06.99 3. Step motor command the 40 and 50 series central units allow the command of a step motor. Usage of the npulse function block automatically validates the step motor command. In this case the o62.00 output is used. Npulse va...

  • Page 163: Program Optimization

    Program optimization page 6-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 the frequency and number of pulses may be modified during the execution of the npulse function. With each change of the validation input status 0 -> 1, the pulse generation restarts for the predefined pulse number. A second...

  • Page 164: Program Optimization

    Program optimization abb control - ac 31 page 6-11 1sbc 260400 r1001-b 06.99 4. High speed counter with value capture, zero reset and overflow detection the counter input enables counting the signals which have a frequency greater than that of the cycle time. The capture inputs also enable real time...

  • Page 165: Program Optimization

    Program optimization page 6-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 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 166: Program Optimization

    Program optimization abb control - ac 31 page 6-13 1sbc 260400 r1001-b 06.99 5. Communication between central units on the cs 31 bus the central units possess the cs 31 bus interface which may be used, just as well, as master of the cs 31 bus or as slave of the cs 31 bus. These configurations enable...

  • Page 167: Program Optimization

    Program optimization page 6-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 5.3. Programming data exchange may be carried out directly through the inputs/outputs or by using function blocks. Exchange through inputs/outputs is particularly well adapted with a low number of data. 5.3.1. Bit transmiss...

  • Page 168: Program Optimization

    Program optimization abb control - ac 31 page 6-15 1sbc 260400 r1001-b 06.99 the program: - on the master central unit: %i20.00 value_m00 %o20.00 value_for_slave bit reception in %i20.00 bit emission in %o20.00 - on the slave central unit at the address 20: value_for_slave %o00.00 value_m00 %i00.00 ...

  • Page 169: Program Optimization

    Program optimization page 6-16 abb control - ac 31 1sbc 260400 r1001-b 06.99 the master central unit will send the analog information to the slave central unit via the owxx.00 to owxx.M outputs, (m+1) being the number of words to transmit from the master central unit to the slave central unit. The s...

  • Page 170: Program Optimization

    Program optimization abb control - ac 31 page 6-17 1sbc 260400 r1001-b 06.99 5.3.3. Utilization of the function blocks use of the function blocks simplifies the communication between the master/slave central units and enables a large exchange of data. The data exchange takes place from the master to...

  • Page 171: Program Optimization

    Program optimization page 6-18 abb control - ac 31 1sbc 260400 r1001-b 06.99 the variables owxx.00 and iwxx.07 on the master and iw00.00 and ow00.07 on the slave are reserved for the dataflow control between the central units. - total number of data to transmit between the master and slave central u...

  • Page 172: Chapter 7

    Ac 31 technical documentation abb control - ac 31 page 7-1 1sbc 260400 r1001-b 06.99 chapter 7 communication.

  • Page 173: Communication

    Communication page 7-2 abb control - ac 31 1sbc 260400 r1001-b 06.99 40 or 50 series programming mode ascii mode modbus mode figure 7-1 : communication protocols with the 40 and 50 series 40 or 50 series modbus protocol rs232 line figure 7-2 : point to point connection with a pc 40 or 50 series modb...

  • Page 174: Communication

    Communication abb control - ac 31 page 7-3 1sbc 260400 r1001-b 06.99 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 interface...

  • Page 175: Communication

    Communication page 7-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 the modbus frames transmitted by the master contain the following information: - the modbus address of the interrogated slave (1 byte) - the function code defining the master request (1 byte) - the data to exchange (n bytes) - the ...

  • Page 176: Communication

    Communication abb control - ac 31 page 7-5 1sbc 260400 r1001-b 06.99 1.2. Communication configuration modbus communication, with the 40 and 50 series central units, is only allowed if the black 07 sk 51 or 07 sk 53 cables are used. The serial interface of the 40 and 50 series central units have a de...

  • Page 177: Communication

    Communication page 7-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 1.3. Programming 1.3.1. Modbus slave unit all the data may be read or written in modbus . A program isn’t required for modbus communication management. The modbus slave central unit automatically converts the request sent by the ma...

  • Page 178: Communication

    Communication abb control - ac 31 page 7-7 1sbc 260400 r1001-b 06.99 variable types variables modbus addresses in hexadecimal modbus addresses in decimal binary inputs i 00.00 i 00.01 ... I 00.15 0000 0001 ... 000f 0000 0001 ... 0015 i 01.00 ... I 61.15 0010 ... 03df 0016 ... 0991 i 62.00 ... I 62.1...

  • Page 179: Communication

    Communication page 7-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 variable types variables modbus addresses in hexadecimal modbus addresses in decimal analog inputs iw 00.00 iw 00.01 ... Iw 00.15 0000 0001 ... 000f 0000 0001 ... 0015 iw 01.00 ... Iw 62.15 0010 ... 03ef 0016 ... 1007 iw 63.00 ... ...

  • Page 180: Communication

    Communication abb control - ac 31 page 7-9 1sbc 260400 r1001-b 06.99 1.3.4. Example using the modbus function an example of modbus communication between two 40 series central units. 40 series modbus master modbus protocol rs232 line 40 series modbus slave 1 - a program isn't required in the slave ce...

  • Page 181: Communication

    Communication page 7-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 1.4. Reply times for modbus communication the modbus processing time depends on: - the transmission speed - the number of frame bytes - the central unit cycle time - the central unit load factor the following times are for indicat...

  • Page 182: Communication

    Communication abb control - ac 31 page 7-11 1sbc 260400 r1001-b 06.99.

  • Page 183: Communication

    Communication page 7-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 40 or 50 series ascii communication figure 7-7 : ascii configuration example figure 7-8 : ac31graf configuration window of the central unit..

  • Page 184: Communication

    Communication abb control - ac 31 page 7-13 1sbc 260400 r1001-b 06.99 2. Point to point communication with the incorporated ascii interface 2.1. Protocol description ascii communication is a protocol which enables exchanging text coded in ascii (american standard code of information interchange) bet...

  • Page 185: Communication

    Communication page 7-14 abb control - ac 31 1sbc 260400 r1001-b 06.99 2.3. Programming two other functions for ascii communication exist, apart from the obligatory sinit function, for parameter configuration. 2.3.1. Sending messages sending an ascii message from one 40 or 50 series central unit to a...

  • Page 186: Communication

    Communication abb control - ac 31 page 7-15 1sbc 260400 r1001-b 06.99 sinit frei ssk baud stop zl pty e/o echo sbrk fend ends ende true com1 val_9600 val_1 val_8 false false true false true cr cr recvars mw var val_x rec quit ssk #anu var text meun rdy teln acquit com1 #1 #"receiving #1 #"action # #...

  • Page 187: Communication

    Communication page 7-16 abb control - ac 31 1sbc 260400 r1001-b 06.99 40 or 50 series programming mode figure 7-9 : programming protocol configuration example.

  • Page 188: Communication

    Communication abb control - ac 31 page 7-17 1sbc 260400 r1001-b 06.99 3. 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 ...

  • Page 190: Chapter 8

    Ac 31 technical documentation abb control - ac 31 page 8-1 1sbc 260400 r1001-b 06.99 chapter 8 diagnosis.

  • Page 191: Diagnosis

    Diagnosis page 8-2 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 8-1 : error detection leds.

  • Page 192: Diagnosis

    Diagnosis abb control - ac 31 page 8-3 1sbc 260400 r1001-b 06.99 the aim of the diagnosis, for the 40 and 50 series central units, is to ensure a rapid and efficient localization of breakdowns. 1. Types of errors detected the detected errors are grouped by type into four error classes. Class 1 error...

  • Page 193: Diagnosis

    Diagnosis page 8-4 abb control - ac 31 1sbc 260400 r1001-b 06.99 only one error per class is memorized. If more than one error of the same class occurs at the same time: only the first is memorized. The first error should be acknowledged to allow the following to be read. And so on through to the la...

  • Page 194: Diagnosis

    Diagnosis abb control - ac 31 page 8-5 1sbc 260400 r1001-b 06.99 a recapitulative table: class 1 errors: fatal errors class 2 errors: serious errors class 3 errors: light errors class 4 errors: warnings detection: immediate immediate - bus error: if the central unit detects a frame control error (cr...

  • Page 195: Diagnosis

    Diagnosis page 8-6 abb control - ac 31 1sbc 260400 r1001-b 06.99 figure 8-2 : ac31graf status window.

  • Page 196: Diagnosis

    Diagnosis abb control - ac 31 page 8-7 1sbc 260400 r1001-b 06.99 3. Status through software detailed information concerning the status of the central unit can be obtained in ac31graf by clicking the "plc status information (diagnosis)" icon in the control window. Once the status window is opened (fi...

  • Page 197: Diagnosis

    Diagnosis page 8-8 abb control - ac 31 1sbc 260400 r1001-b 06.99 class 1 errors: fatal errors class 2 errors: serious errors class 3 errors: light errors class 4 errors: warnings error signaled by the error bit: m 255.10 = 1 type of error signaled by: m 255.11 = 1 m 255.12 = 1 m 255.13 = 1 m 255.14 ...

  • Page 198: Diagnosis

    Diagnosis abb control - ac 31 page 8-9 1sbc 260400 r1001-b 06.99 4.2. Correspondence table between the error and the diagnosis variable values signification of the error tables: - memory address = program memory address where the error was detected. - address = unit or defective extension address - ...

  • Page 199: Diagnosis

    Diagnosis page 8-10 abb control - ac 31 1sbc 260400 r1001-b 06.99 4.3. Class error descriptions: 4.3.1. Class 1 error descriptions class 1 error descriptions error code in mw254.00 dec hex info 1 in mw 254.01 info 2 in mw 254.02 info 3 in mw 254.03 flash eprom checksum error - - - - - 4.3.2. Class 2...

  • Page 200: Diagnosis

    Diagnosis abb control - ac 31 page 8-11 1sbc 260400 r1001-b 06.99 4.3.4. Class 4 error descriptions class 4 error descriptions error code in mw255.08 dec hex info 1 in mw 255.09 info 2 in mw 255.10 info 3 in mw 255.11 internal unit error 1 d 01 h unit type address channel number cut wire (detection ...

  • Page 201: Diagnosis

    Diagnosis page 8-12 abb control - ac 31 1sbc 260400 r1001-b 06.99 4.4. Programming examples 4.4.1. Example of a reaction / command following a specific error the following example enables commanding an alarm following an overload or short circuit on the number 5 output of a icmk 14 n1 remote unit wi...

  • Page 202: Diagnosis

    Diagnosis abb control - ac 31 page 8-13 1sbc 260400 r1001-b 06.99 4.4.2. Example for saving numerous errors of the same class only one error can be memorized and detailed in the internal diagnosis on the 40 and 50 series central units. An automatic programmed acknowledgment enables reading other eve...

  • Page 204: Annexes

    Ac 31 technical documentation abb control - ac 31 annexes - page 1 1sbc 260400 r1001-b 06.99 annexes.

  • Page 205: Annexes

    Annexes annexes - page 2 abb control - ac 31 1sbc 260400 r1001-b 06.99 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) - texts...

  • Page 206: Annexes

    Annexes abb control - ac 31 annexes - page 3 1sbc 260400 r1001-b 06.99 internal variables m00.00...M99.15 m230.00...M254.15 internal bits m255.00...M255.15 system bits s00.00...S125.15 chain steps k00.00...K00.01 bit constants mw00.00...99.15 mw230.00...Mw253.15 internal words mw254.00...Mw255.15 di...

  • Page 207: Annexes

    Annexes annexes - page 4 abb control - ac 31 1sbc 260400 r1001-b 06.99 the kw00.00...Kw15.15 and kd00.00 variables are called system constants and are only accessible through the configuration menu of the ac31graf programming software. Diagnosis variables sum of errors m255.10 indicates that the cen...

  • Page 208: Annexes

    Annexes abb control - ac 31 annexes - page 5 1sbc 260400 r1001-b 06.99 2. List of functions binary functions &, and and / oror =1 exclusive or =r allocation reset memory =s allocation set memory i+ pulse positive edge i- pulse negative edge maj majority rs set memory dominating to 1 sr set memory do...

  • Page 209: Annexes

    Annexes annexes - page 6 abb control - ac 31 1sbc 260400 r1001-b 06.99 counter functions ctu counter ctuh counter for encoder inputs vrz up/down counter comparison functions less than less than or equal to unequal =? Equal to > greater than >= greater than or equal to arithmetic functions =w word al...

  • Page 210: Annexes

    Annexes abb control - ac 31 annexes - page 7 1sbc 260400 r1001-b 06.99 word logical functions wand and bit to bit wor or bit to bit wxor exclusive or bit to bit program control functions =pe conditional program end cal_fb sub-program call di read direct input do write direct output vtask interruptio...

  • Page 211: Annexes

    Annexes annexes - page 8 abb control - ac 31 1sbc 260400 r1001-b 06.99 format conversion functions bcddual / bcdbin bcd to binary conversion dualbcd / binbcd binary to bcd conversion dww double word to word conversion pack4 pack 4 bits in a word pack8 pack 8 bits in a word pack16 pack 16 bits in a w...

  • Page 212: Annexes

    Annexes abb control - ac 31 annexes - page 9 1sbc 260400 r1001-b 06.99 3. Mapping this paragraph describes the correspondence between the variables and their physical memory addresses. This information is necessary for certain functions such as copy, data exchange between cs 31 bus master and slave ...

  • Page 213: Annexes

    Annexes annexes - page 10 abb control - ac 31 1sbc 260400 r1001-b 06.99 variables physical addresses in hexadecimal in decimal i00.00...I00.07 / i00.08...I00.15 i01.00...I01.07 / i01.08...I01.15 i02.00...I02.07 / i02.08...I02.15 i61.00...I61.07/ i61.08...I61.15 i62.00...I62.07/ i62.08...I62.15 i68.0...

  • Page 214: Annexes

    Annexes abb control - ac 31 annexes - page 11 1sbc 260400 r1001-b 06.99 variables physical addresses in hexadecimal in decimal ow00.00 ow00.01 ow00.15 ow62.00 ow68.15 4800 4802 481e 4fc0 509e 18432 18434 18462 20416 20638 kw01.00 kw01.01 kw01.15 kw31.15 7020 7022 703e 73fe 28704 28706 28734 29694 kd...

  • Page 215: Annexes

    Annexes annexes - page 12 abb control - ac 31 1sbc 260400 r1001-b 06.99 4. Historical values historical values are central unit specific internal variables which enable memorizing a functions intermediate results required for numerous cycles. In fact, certain functions require the results obtained d...

  • Page 216: Annexes

    Annexes abb control - ac 31 annexes - page 13 1sbc 260400 r1001-b 06.99 cs 31 bus functions confio1 3 confio4 3 confio8 3 cs31co 1 mt_cs31 mr_cs31 st_cs31 sr_cs31 communication functions modbus ® 2 rec / emas and recvars 1 send / druck 2 sinit 1 controller functions pi 3 pidt1 5 high order functions...

  • Page 218: Index

    Ac 31 technical documentation abb control - ac 31 index - page 1 1sbc 260400 r1001-b 06.99 index.

  • Page 219: Index

    Index index - page 2 abb control - ac 31 1sbc 260400 r1001-b 06.99 07 cr 41,1-13, 3-8, 3-9, 3-10, 3-11, 8-9 07 ct 41,1-13, 3-8, 3-9, 3-10, 3-11, 8-9 07 kr 51,1-13, 3-8, 3-9, 3-10, 3-11, 5-19, 7-3, 8-9 07 kt 51,1-13, 3-8, 3-9, 3-10, 3-11, 5-19, 8-9 07 st 51,1-20, 3-34, 3-36, 3-37, 4-15 40 series,1-3,...

  • Page 220: Index

    Index abb control - ac 31 index - page 3 1sbc 260400 r1001-b 06.99 r ram,1-11, 5-7, 8-3, 8-10 reception,5-11 reference,1-13, 1-14, 1-15, 1-16, 1-17, 1-18, 1-19, 1-20 refresh time,1-10, 3-5 relay,4-10 reply time,7-10 rs232,1-13, 1-15, 1-19, 3-8, 7-3 rs485,1-9, 1-13, 1-15, 3-8, 7-3 rts signal,3-29, 3-...

  • Page 221

    Abb control s.A. 10, rue ampère z.I. - b.P. 114 f-69685 chassieu cedex / france telephone: +33 (0) 4 7222 1722 telefax: +33 (0) 4 7222 1935 www.Abb.Fr/standard-products/ila.Htm as part of its on-going product improvement, abb re- serves the right to modify the characteristics or the pro- ducts descr...