ABB 07AC91 Operating Manual - 1 Introduction

Manual is about: Series 40 and 50

Summary of 07AC91

  • Page 1

    Operating manual advant controller 31 series 40 and 50 order no. 1sac 1316 34 r0201 abb schalt- und steuerungstechnik.

  • Page 2

    Regulations concerning the setting up of installations apart from the basic “regulations for the setting up of power installations” din vde* 0100 and for “the rating of creepage distances and clearances” din vde 0110 part 1 and part 2 the regulations “the equipment of power in- stallations with elec...

  • Page 3

    Advant controller ac 31 / issued: 08.99 contents – 1 3 contents 1 introduction…………… .............................................................................................................................. 1-1 1.1 general information on the ac31 system .............................................

  • Page 4

    Contents – 2 advant controller ac 31 / issued: 08.99 3 3.7 accessories .............................................................................................................................................. 3-25 3.7.1 programming cables: 07 sk 50 and 07 sk 52.....................................

  • Page 5

    Advant controller ac 31 / issued: 08.99 contents – 3 3 6.2 network communication via the integrated modbus ® interface ................................................................. 6-6 6.2.1 protocol description........................................................................................

  • Page 6

    Contents – 4 advant controller ac 31 / issued: 08.99 3.

  • Page 7: 1 Introduction

    Advant controller ac 31 / issued: 01.99 1 – 1 introduction 3 1 introduction this chapter provides an introduction to automation with advant controller 31 (ac31), from the overall architecture to the operational rules of the 40 and 50 series basic units. 1.1 general information on the ac31 system the...

  • Page 8

    Introduction 1 – 2 advant controller ac 31 / issued: 01.99 3 1.2 general setup rules an ac31 system always includes an ac31 basic unit. There are three types of basic units: - the 40 series basic units with a local inputs/outputs extensions interface. - the 50 series basic units with a local inputs/...

  • Page 9

    Advant controller ac 31 / issued: 01.99 1 – 3 introduction 3 1.2.2 basic units with remote extensions option with the 50 and 90 series, it is possible to increase the number of inputs/outputs of the basic basic unit by adding remote units. The basic unit controlling the system is called the master b...

  • Page 10

    Introduction 1 – 4 advant controller ac 31 / issued: 01.99 3 1.3 operation of the 40 and 50 series basic units 1.3.1 functional diagram the memory of the 40 and 50 series is composed of two distinct areas: - a ram memory where the user program and data is loaded - a flash eprom memory which contains...

  • Page 11

    Advant controller ac 31 / issued: 01.99 1 – 5 introduction 3 1.3.2 program execution the basic unit microprocessor ensures the cyclic execution of the user program as shown in figure 4. The internal processing: - plc monitoring and control - operating and test functions is executed in parallel with ...

  • Page 12

    Introduction 1 – 6 advant controller ac 31 / issued: 01.99 3 1.3.3 bus transmission the master basic unit manages the transmission of messages to the various slaves via the rs485 connection. The messages are transmitted in the following format: - request from the master basic unit: address data crc8...

  • Page 13

    Advant controller ac 31 / issued: 01.99 1 – 7 introduction 3 1.3.4 refresh times/response times bus refresh times and basic unit response times depend on the system configuration, the number and type of the remote units on the cs31 bus. Bus refresh times the bus refresh times correspond to the trans...

  • Page 14

    Introduction 1 – 8 advant controller ac 31 / issued: 01.99 3 • never short-circuit the battery! There is danger of overheating and explosion. Avoid acci- dental short-circuits, therefore do not store batteries in metallic containers or boxes and do not bring them into contact with metallic surfaces....

  • Page 15

    Advant controller ac 31 / issued: 01.99 1 – 9 introduction 3 products description order no. Centrally extensible remote units with cs31 bus connection only for 50 and 90 series basic units icmk 14 f1 24vdc extensible remote unit with 8 inputs and 6 relay outputs, 24 v d.C. Power supply 1sbp260050r10...

  • Page 16

    Introduction 1 – 10 advant controller ac 31 / issued: 01.99 3 products description order no. 90 series remote units (with cs31 bus connection) for 50 and 90 series basic units, not centrally extensible 07 di 92 24v 24 v dc digital remote unit with 32 inputs, 24 v d.C. Power supply gjr 525 2400 r0101...

  • Page 17

    Advant controller ac 31 / issued: 01.99 1 – 11 introduction 3 products description order no. 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 plate 128 pages with 6 variables per page 128 help messag...

  • Page 18

    Introduction 1 – 12 advant controller ac 31 / issued: 01.99 3 products description order no. Connectors for 40 and 50 series basic units 07 st 50 three-wire dual connectors for easy connection to 40 and 50 series basic units, of sensors or 3-wire digital actuators 2 units 1sbn260300r1001 07 st 51 du...

  • Page 19: Technical Specifications

    Advant controller ac 31 / issued: 01.99 3 – 1 technical specifications 3 3 technical specifications this chapter describes the products and their general characteristics and operating conditions. 3.1 general operating conditions the ac31 units were developed in accordance with the european ec direct...

  • Page 20

    Technical specifications 3 – 2 advant controller ac 31 / issued: 01.99 3 creepage distances and clearances iec 664 and din vde 0160 insulation test iec 1131-2 electromagnetic compatibility immunity tests against: - electrostatic discharge - radiated fields - fast transient bursts - high energy pulse...

  • Page 21

    Advant controller ac 31 / issued: 01.99 3 – 3 technical specifications 3 3.2 technical specifications of the cs31 system bus type rs 485 multipoint serial interface mode half-duplex number of connection points 1 master max. 31 slaves general data - cross-section - twists - resistance - impedance spe...

  • Page 22

    Technical specifications 3 – 4 advant controller ac 31 / issued: 01.99 3 3.3 basic units 3.3.1 view of a basic unit (see figure 1 on the next page) 1 – location for din rail 2 – plate fixture with unit earthing, alternative to 1 3 – release lever for din rail mounting 4 – location for external dual ...

  • Page 23

    Advant controller ac 31 / issued: 01.99 3 – 5 technical specifications 3 11 10 figure 1: view of a basic unit figure 2: magnification of item 9 without the cover each item is described on the previous page..

  • Page 24

    Technical specifications 3 – 6 advant controller ac 31 / issued: 01.99 3 3.3.2 technical specifications 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 - integrated digital inputs 8 8 - inte...

  • Page 25

    Advant controller ac 31 / issued: 01.99 3 – 7 technical specifications 3 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. Program processing/operands - execution time for 1 k user program: 100 % digital in...

  • Page 26

    Technical specifications 3 – 8 advant controller ac 31 / issued: 01.99 3 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. - weight 400 g 800 g 400 g 800 g power supply - power supply voltage: nominal value...

  • Page 27

    Advant controller ac 31 / issued: 01.99 3 – 9 technical specifications 3 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. Integrrated outputs - number of outputs 6 relays 6 transistor 6 relays 6 relays 6 t...

  • Page 28

    Technical specifications 3 – 10 advant controller ac 31 / issued: 01.99 3 3.4 centrally extensible remote units 3.4.1 view (see figure 3 on the next page) 1 – location for the din rail 2 – plate fixture with unit earthing, alternative to 1 3 – release lever for din rail mounting 4 – location for ext...

  • Page 29

    Advant controller ac 31 / issued: 01.99 3 – 11 technical specifications 3 figure 3: view of a centrally extensible remote unit figure 4: magnification of item 9 without the cover flap for descriptions of the individual positions see page 3-10 at left..

  • Page 30

    Technical specifications 3 – 12 advant controller ac 31 / issued: 01.99 3 3.4.2 technical specifications of the centrally 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 rang...

  • Page 31

    Advant controller ac 31 / issued: 01.99 3 – 13 technical specifications 3 icmk 14 f1 icmk 14 f1 icmk 14 n1 24 v d.C. 120/230 v a.C. 24 v d.C. Integrated outputs - number of outputs 6 relays 6 relays 6 transistors - isolated outputs (test voltage) 1500 vrms 1 min 1500 vrms 1 min 1500 v a.C. - output ...

  • Page 32

    Technical specifications 3 – 14 advant controller ac 31 / issued: 01.99 3 3.5 digital central extensions 3.5.1 view (see figures 5, 6, 7 on the next page) 1 – location for the din rail 2 – plate fixture with unit earthing, alternative to 1 3 – release lever for din rail mounting 4 – location for ext...

  • Page 33

    Advant controller ac 31 / issued: 01.99 3 – 15 technical specifications 3 figure 5: view of the central digital extension xi 16 e1 figure 6: view of the xo 08 r1 central digital extension figure 7: view of the xc 08 l1 central digital extension for descriptions of the individual positions see page 3...

  • Page 34

    Technical specifications 3 – 16 advant controller ac 31 / issued: 01.99 3 3.5.2 digital central extensions specifications the digital extension units are powered at 5 v by the basic unit or extensible remote unit to which they are connected. Warning: the extensions must not be connected or disconnec...

  • Page 35

    Advant controller ac 31 / issued: 01.99 3 – 17 technical specifications 3 digital central extensions specifications continued integrated outputs continued xi 16 e1 xo 08 r1 xc 08 l1 xk 08 f1 xo 16n1 - breaking power under 120 v a.C. (contact rating code b300) (ul) - 2 a 2 a - breaking power under 25...

  • Page 36

    Technical specifications 3 – 18 advant controller ac 31 / issued: 01.99 3 3.6 analog central extension 3.6.1 view (see figure 8) 1 – location for the din rail 2 – plate fixture with unit earthing, alternative to 1 3 – release lever for din rail mounting 4 – location for external dual connector 5 – i...

  • Page 37

    Advant controller ac 31 / issued: 01.99 3 – 19 technical specifications 3 3.6.2 technical specifications of the analog central extension the analog extensions are powered at 5 v and 24 v d.C. By the basic unit or extensible remote unit to which they are connected. The analog value with a customised ...

  • Page 38

    Technical specifications 3 – 20 advant controller ac 31 / issued: 01.99 3 technical specifications of the analog central extension, continued xm 06 b5 analog outputs voltage current - nominal range - max. Current +/- 10 v 2 ma 0…20 ma 4…20 ma 20 ma - isolation of the outputs/electronic - resolution ...

  • Page 39

    Advant controller ac 31 / issued: 01.99 3 – 21 technical specifications 3 current 0-20 ma: pt100/pt1000: val = t° x 10 voltage input ± 10 v: 1 lsb = 10 v/2 12 = 2.44 mv with minimum value (step 8) 32767 v 10 v in input voltage value plc × = –32767 ≤ plc value ≤ +32.767 12 bits sign.

  • Page 40

    Technical specifications 3 – 22 advant controller ac 31 / issued: 01.99 3 current input 0-20 ma: 1 lsb = 20 ma/2 12 = 4.88 µa with minimum value (step 8) 32767 ma 20 ma in input current value plc × = 0 ≤ plc value ≤ +32.767 current input 4-20 ma: resolution is equal to 0-20 ma 32767 ma 20 ma in inpu...

  • Page 41

    Advant controller ac 31 / issued: 01.99 3 – 23 technical specifications 3 voltage output ± 10 v: 1 lsb = 10 v/2 11 = 4.88 mv with minimum value (step 8) 32767 v 10 value plc v in output voltage × = current output 0-20 ma: 1 lsb = 20 ma/2 12 = 4.88 µa with minimum value (step 8) 32767 ma 20 value plc...

  • Page 42

    Technical specifications 3 – 24 advant controller ac 31 / issued: 01.99 3 the configuration pt100 or pt1000 is set with switches 5 and 6 of the dip switch: one dip switch for four channels. Switch 5 channels 0 to 3 off ⇒ pt1000 on ⇒ pt100 switch 6 channels 4 to 7 off ⇒ pt1000 on ⇒ pt100 ⇒ configurat...

  • Page 43

    Advant controller ac 31 / issued: 01.99 3 – 25 technical specifications 3 3.7 accessories 3.7.1 programming cables: 07 sk 50 and 07 sk 52 these cables allow you to connect the 40 and 50 series basic units to a pc for programming and testing. The cables are 2 m in length and shielded. Figure 9: 07 sk...

  • Page 44

    Technical specifications 3 – 26 advant controller ac 31 / issued: 01.99 3 figure 10: 07 sk 52 programming cable (grey) 07 sk 52 connection diagram (see figure 10): - diagrams of rts signal cabling: if rts is active at low level: rts+ 5 rts- 8 cts white 0v blue (for external gnd) central unit end min...

  • Page 45

    Advant controller ac 31 / issued: 01.99 3 – 27 technical specifications 3 3.7.2 ascii/modbus ® communications cables: 07 sk 51 and 07 sk 53 these cables allow you to connect the 40 or 50 series basic units to other devices for ascii or modbus ® communication. The cables are 2 m in length and shielde...

  • Page 46

    Technical specifications 3 – 28 advant controller ac 31 / issued: 01.99 3 figure 12: 07 sk 53 communication cable (black) 07 sk 53 connection diagram (see figure 12): - wiring diagrams for rts signal: if rts is active at low level: rts+ 5 rts- 8 cts white 0v blue (for external gnd) central unit end ...

  • Page 47

    Advant controller ac 31 / issued: 01.99 3 – 29 technical specifications 3 3.7.3 tc50 display cables: 07 sk 54 and 07 sk 55 refer to the tc 50 documentation supplied with the product. 3.7.4 connectors (see figure 13) there are two other types of connectors available in addition to the removable conne...

  • Page 48

    Technical specifications 3 – 30 advant controller ac 31 / issued: 01.99 3 3 – cage clamp type connectors cage clamp type connectors enable rapid cabling of all the 40 and 50 series products. Installation involves: - connection using the supplied tool (see figure 14) or with a screwdriver (see figure...

  • Page 49: 4 Installation

    Advant controller ac 31 / issued: 08.99 4 – 1 installation 3 4 installation this chapter contains detailed information on the cabling of the individual products and the main implementation and addressing rules. 4.1 implementation of an ac31 system the ac31 product range has been developed for operat...

  • Page 50

    Installation 4 – 2 advant controller ac 31 / issued: 08.99 3 4.1.3 dimensions (in mm) 84 3 5 m m e n 5 0 0 2 2 c 0332d 120 9 3 c 0333d 104 8 5 2 c 0334d figure 1: basic unit and extensible remote unit 84.5 3 5 m m e n 5 0 0 2 2 c 0309d 65 9 3 c 0310d 51 8 5 2 c 0311d figure 2: local extensions 48 c ...

  • Page 51

    Advant controller ac 31 / issued: 08.99 4 – 3 installation 3 master vorort- modul vorort- modul vorort- modul 1 2 3 1 2 3 1 2 3 1 2 3 erde von schaltschrank 1 erde von schaltschrank 2 c0011d1g 1: bus 2 2: bus 1 3: sh(ield) figure 5: earthing principles for several cabinets: capacitive earthing m sch...

  • Page 52

    Installation 4 – 4 advant controller ac 31 / issued: 08.99 3 4.1.4 earthing • basic earthing principles the earth and mains wires should be connected in star. All ac 31 components of a cabinet should be connected to the same earth. If the remote units are located outside the cabinet, they should be ...

  • Page 53

    Advant controller ac 31 / issued: 08.99 4 – 5 installation 3 figure 7: correct bus cabling figure 8: incorrect bus cabling vorort- modul c0004d1g busmaster vorort- modul vorort- modul vorort- modul vorort- modul master c0005d1g vorort- modul vorort- modul vorort- modul vorort- modul vorort- modul fi...

  • Page 54

    Installation 4 – 6 advant controller ac 31 / issued: 08.99 3 4.1.5 the cs31 system bus the cs31 system bus is an rs 485 serial bus and consists of a shielded twisted 2-wire cable. This bus is a master slave bus and only supports a single master. Use an awg 24 ( ≥ 0.22 mm²) twisted pair with joint sh...

  • Page 55

    Advant controller ac 31 / issued: 08.99 4 – 7 installation 3 4.2 basic unit and remote unit cabling • power supply the connection of an external thermal fuse is necessary to ensure protection of the devices. An internal 24 v d.C. Power supply is available on 120/ 230 v a.C. Versions. This power supp...

  • Page 56

    Installation 4 – 8 advant controller ac 31 / issued: 08.99 3 cabling of inputs/outputs of the basic unit and remote units: figure 12: positive logical inputs pnp 24 v d.C. Power supply figure 13: negative logical inputs npn 24 v d.C. Power supply.

  • Page 57

    Advant controller ac 31 / issued: 08.99 4 – 9 installation 3 figure 14: positive logical inputs pnp 120/230 v a.C. Power supply figure 15: negative logical inputs npn 120/230 v a.C..

  • Page 58

    Installation 4 – 10 advant controller ac 31 / issued: 08.99 3 figure 16: relay outputs figure 17: transistor outputs.

  • Page 59

    Advant controller ac 31 / issued: 08.99 4 – 11 installation 3 4.3 cabling digital central extensions • extension xi 16 e1 (see figure 18 on page 4–12) the extension is powered with 5 v by the basic unit or the remote unit. The connection between the extension and the basic unit is made with the cabl...

  • Page 60

    Installation 4 – 12 advant controller ac 31 / issued: 08.99 3 figure 18: extension xi 16 e1 figure 19: extension xo 08 r1.

  • Page 61

    Advant controller ac 31 / issued: 08.99 4 – 13 installation 3 figure 20: extension xc 08 l1 figure 21: extension xo 16 n1.

  • Page 62

    Installation 4 – 14 advant controller ac 31 / issued: 08.99 3 figure 22: extension xk 08 f1 l.

  • Page 63

    Advant controller ac 31 / issued: 08.99 4 – 15 installation 3 4.4 cabling the analog central extension • extension xm 06 b5 the extension is powered with 5 v by the basic unit or the remote unit. The connection between the extension and the basic unit is made with the cable situated on the left of t...

  • Page 64

    Installation 4 – 16 advant controller ac 31 / issued: 08.99 3 figure 23: xm 06 b5 with 2-wire probe figure 24: xm 06 b5 with 3-wire probe.

  • Page 65

    Advant controller ac 31 / issued: 08.99 4 – 17 installation 3 figure 25: xm 06 b5 with 4-wire probe and utilization of the 07 st 51 connector.

  • Page 66

    Installation 4 – 18 advant controller ac 31 / issued: 08.99 3 4.5 addressing 4.5.1 input/output variables addressing the cs31 bus enables the user to program the utilization of the inputs/outputs in a manner that is completely transparent to the user. The inputs/outputs of a ac31 remote unit are def...

  • Page 67

    Advant controller ac 31 / issued: 08.99 4 – 19 installation 3 • master or stand-alone basic unit Õ the address 62 is automatically assigned to the inputs/outputs of a basic unit. Õ their addresses are assigned automatically according to the order of the extensions: - the first digital inputs extensi...

  • Page 68

    Installation 4 – 20 advant controller ac 31 / issued: 08.99 3 4.5.3 addressing slave basic units or remote extension units on the cs31 system bus figure 26: rotary switch for addressing the remote extension unit icmk 14xx the cs31 system bus protocol is a master/slave protocol: the master sends requ...

  • Page 69

    Advant controller ac 31 / issued: 08.99 4 – 21 installation 3 addressing rule: - the first digital input extension is assigned the address x+1. The following extension is incremented by 1 and so on until 61. Remote unit e e e addresses x x+1 x+2 x+3 50 series master ew / aw a ew / aw e a e 62 63 63 ...

  • Page 70

    Installation 4 – 22 advant controller ac 31 / issued: 08.99 3 when an analog extension unit is present amongst the extensions, the unit is assigned the same address value as that of the extensible remote unit to which it is connected. Address values = ( 0 ≤ x ≤ 61 ) if an analog xm 06 b5 type extens...

  • Page 71

    Advant controller ac 31 / issued: 08.99 4 – 23 installation 3 addressing example: 62 63 63 64 63 64 64 addresses cs 31 bus interface 50 series master ew / aw a ew / aw e a e 7 63 64 63 63 65 66 addresses managed by only the slave central unit 50 series slave e e a ew/ aw e/a a 6 7 8 9 6 10 11 addres...

  • Page 72

    Installation 4 – 24 advant controller ac 31 / issued: 08.99 3 4.5.4 summary master basic unit 40 and 50 series addresses address configuration - integrated inputs/outputs 62 standard - digital extension 63 to 68 automatically - analog extension 63 to 68 automatically remote unit addresses x n where ...

  • Page 73: Programming

    Advant controller ac 31 / issued: 01.99 5 – 1 programming 3 5 programming 5.1 introduction to the software the 907 pc 331 programming software is used for all the ac31 basic units. This software runs under dos and also in dos boxes of windows ® (3.1, 95 or nt). In windows 95 and nt there are slight ...

  • Page 74

    Programming 5 – 2 advant controller ac 31 / issued: 01.99 3 • an existing library with over 150 functions: the list of functions available depends on the basic unit selected. After the basic unit was defined, the list is identical for all program editors. The 40 and 50 series have 70 functions, whic...

  • Page 75

    Advant controller ac 31 / issued: 01.99 5 – 3 programming 3 5.2 list of variables 5 different types of variables are used in the user program: Õ physical, digital or analog input/output variables Õ internal bit, word or double word flags are used for intermediate calculations in the user program. Õ ...

  • Page 76

    Programming 5 – 4 advant controller ac 31 / issued: 01.99 3 type variables description from to digital inputs e 00,00 e 61,15 cs31 system bus digital inputs e 62,00 e 62,07 digital inputs on the basic unit e 63,00 e 68,15 digital inputs on the basic unit extensions analog inputs ew 00,00 ew 61,15 cs...

  • Page 77

    Advant controller ac 31 / issued: 01.99 5 – 5 programming 3 type variables description from to digital outputs a 00,00 a 61,15 digital outputs on the cs31 system bus a 62,00 a 62,05 digital outputs on the basic unit a 63,00 a 68,15 digital outputs on the basic unit extensions analog outputs aw 00,00...

  • Page 78

    Programming 5 – 6 advant controller ac 31 / issued: 01.99 3 5.3 initialization of the basic units when a new program is transmitted to the plc, the old program is automatically deleted. It is, however, advisable to reconfigure the basic unit with the factory parameters before sending a completely ne...

  • Page 79

    Advant controller ac 31 / issued: 01.99 5 – 7 programming 3 5.4 configuration before sending the program to the plc you should make sure that the basic unit has been configured correctly for the application. There are three configuration tools: - the plc system constants for configuration of the bas...

  • Page 80

    Programming 5 – 8 advant controller ac 31 / issued: 01.99 3 performing a warm start Õ power off/on or Õ command warm in terminal mode (see documentation for the 907 pc 331 programming software) or Õ menu item ”enable pcl mode” in the programming system • operating mode: master basic unit, slave basi...

  • Page 81

    Advant controller ac 31 / issued: 01.99 5 – 9 programming 3 conditions, flags, step chains and historical values which are initialized (set to 0). Å action menu item all Å abort Å cold start run/stop switch set to run, Å power on run/stop switch, in accordance with the values of the system constants...

  • Page 82

    Programming 5 – 10 advant controller ac 31 / issued: 01.99 3 initialization: word flags Õ absolute identifier: kw 00,02 Õ symbolic identifier: init_mw value n of the system constant kw 00,02 word flag areas which are initialized (set to 0) n= 0 (default) mw 000,00...Mw 099,15 mw 230,00...Mw 255,15 n...

  • Page 83

    Advant controller ac 31 / issued: 01.99 5 – 11 programming 3 • application mode: serial interface com1 the serial port of the basic unit can be used in various modes: Õ programming mode for programming and checking the basic unit (active mode) Õ passive mode for communication between the basic unit ...

  • Page 84

    Programming 5 – 12 advant controller ac 31 / issued: 01.99 3 the communications parameters are defined in accordance with the operating mode: operating mode default parameters modification of parameters active 9,600 baud no parity 8 data bits 1 stop bit parameters cannot be modified passive no defau...

  • Page 85

    Advant controller ac 31 / issued: 01.99 5 – 13 programming 3 • plc reactions to class 3 errors the ac31 basic units feature a diagnostic system designed to localize errors quickly and efficiently: - class 1: fatal errors - class 2: serious errors - class 3: light errors - class 4: warning if class 1...

  • Page 86

    Programming 5 – 14 advant controller ac 31 / issued: 01.99 3 • starting up the cs31 system after power on, warm or cold start (only 50 series) Õ absolute identifier: kw 00,09 Õ symbolic identifier: hochfahr Õ this system constant only takes effect if the basic unit is configured as the bus master. Õ...

  • Page 87

    Advant controller ac 31 / issued: 01.99 5 – 15 programming 3 • size of the receiving area of the slave basic unit Õ absolute identifier: kw 00,11 Õ symbolic identifier: slv_rec Õ meaning of the value of the constants: the slave basic unit can be used at the cs 31 system bus in either the digital are...

  • Page 88

    Programming 5 – 16 advant controller ac 31 / issued: 01.99 3 basic unit cycle time; kd 00,00 the basic unit program is processed cyclically in the time intervals stated by the set cycle time. The value is given in milliseconds. - the cycle time for a master basic unit is between 0 and 100 ms, only m...

  • Page 89

    Advant controller ac 31 / issued: 01.99 5 – 17 programming 3 bus response times: communications times of the cs31 system bus basic times for the master basic unit 2000 µ s slave basic 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* 750 µ s 0...

  • Page 90

    Programming 5 – 18 advant controller ac 31 / issued: 01.99 3 extensible remote units with inputs/outputs icmk 14 f1 340 µ s without extension icmk 14 n1 340 µ s without extension xi 16 e1 500 µ s xo 08 r1 500 µ s xc 08 l1 500 µ s xm 06 b5 500 µ s communications times of the cs31 system bus ip65 unit...

  • Page 91

    Advant controller ac 31 / issued: 01.99 5 – 19 programming 3 5.4.2 configuration with the cs31co function block the cs31co function block enables certain remote units to be configured and their configuration to be obtained. The description of each unit indicates whether a remote unit or extension re...

  • Page 92

    Programming 5 – 20 advant controller ac 31 / issued: 01.99 3 functional group call in name of connection element fbd/ld, ext. Il il 1) allocation word =w 2) allocation direct constant to word variable zudkw comparison functions greater than > 2) greater than or equal to >= 2) equal =? 2) unequal > 2...

  • Page 93

    Advant controller ac 31 / issued: 01.99 5 – 21 programming 3 functional group call in name of connection element fbd/ld, ext. Il il 1) access to physical addresses copying memory areas copy read word with enabling wol higher order functions digital selection gate awtb selection gate, word awt maximu...

  • Page 94

    Programming 5 – 22 advant controller ac 31 / issued: 01.99 3.

  • Page 95: Communication

    Advant controller ac 31 / issued: 01.99 6 – 1 communication 3 6 communication 6.1 communication between basic units on the cs31 system bus the 50 series basic units have a cs31 system bus interface. They can either be used in the master mode of operation or, instead of an extensible remote unit or i...

  • Page 96

    Communication 6 – 2 advant controller ac 31 / issued: 01.99 3 note: the default setting is - digital area with: - transmit 4 bytes and - receive 4 bytes. This is defined by the default combination kw 00,10 = kw 00,11 = 0. The configured combination kw 00,10 = kw 00,11 = 4 has the same result as the ...

  • Page 97

    Advant controller ac 31 / issued: 01.99 6 – 3 communication 3 6.1.3 programming data exchange can be effected directly via the inputs/outputs. Bit transmission master kw00,00: -1 slave addresses in kw 00,00: 00 to 15 word transmission slave addresses in kw 00,00: 00 to 61 bit transmission figure 1: ...

  • Page 98

    Communication 6 – 4 advant controller ac 31 / issued: 01.99 3 word transmission master kw 00,00: -1 slave kw 00,00: 10 kw 00,10 = kw 00,11 = 4 addresses occupied on the cs31 system bus: 10 and 11 32 bits are transmitted in both directions. Figure 3: master – slave operation: data exchange at digital...

  • Page 99

    Advant controller ac 31 / issued: 01.99 6 – 5 communication 3 40 or 50 series programming mode: active mode ascii mode: passive mode modbus mode figure 5: communications protocols for 40 and 50 series devices 40 or 50 series modbus protocol rs232 line figure 6: point to point connection with a pc 40...

  • Page 100

    Communication 6 – 6 advant controller ac 31 / issued: 01.99 3 communication is of greater importance in wide area installations. The ac31 system features other interfaces in addition to the cs31 system bus, in order to support different communication modes. This chapter provides a detailed descripti...

  • Page 101

    Advant controller ac 31 / issued: 01.99 6 – 7 communication 3 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 be exchanged (n bytes) - the...

  • Page 102

    Communication 6 – 8 advant controller ac 31 / issued: 01.99 3 6.2.2 configuration of the modbus interface modbus ® communication with the 40 and 50 series basic 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 basic units have a de...

  • Page 103

    Advant controller ac 31 / issued: 01.99 6 – 9 communication 3 variable types variables modbus ® addresses as hexadecimal values modbus ® addresses as decimal values digital inputs e 00,00 e 00,01 ... E 00,15 0000 0001 ... 000f 0000 0001 ... 0015 e 01,00 ... E 61,15 0010 ... 03df 0016 ... 0991 e 62,0...

  • Page 104

    Communication 6 – 10 advant controller ac 31 / issued: 01.99 3 variable types variables modbus ® addresses as hexadecimal values modbus ® addresses as decimal values analog inputs ew 00,00 ew 00,01 ... Ew 00,15 0000 0001 ... 000f 0000 0001 ... 0015 ew 01,00 ... Ew 62,15 0010 ... 03ef 0016 ... 1007 e...

  • Page 105

    Advant controller ac 31 / issued: 01.99 6 – 11 communication 3 example of the use of the modbus ® function an example of the use of modbus ® communication between two 40 series basic units. 40 series modbus master modbus protocol rs-232 line 40 series modbus slave 1 - a program is not required in th...

  • Page 106

    Communication 6 – 12 advant controller ac 31 / issued: 01.99 3 number of variables bits words read (ms) write (ms) read (ms) write (ms) 1 10 - 60 50 10 - 60 60 10 10 - 60 60 10 - 60 110 50 10 - 60 110 110 - 170 220 100 50 - 60 110 220 -280 390 150 50 - 110 - - 255 50 - 110 - -.

  • Page 107

    Advant controller ac 31 / issued: 01.99 6 – 13 communication 3 6.3 point-to-point communication with the integrated ascii interface 40 or 50 series ascii communication figure 9: example of ascii configuration 6.3.1 protocol description ascii communication is a protocol which enables the exchange of ...

  • Page 108

    Communication 6 – 14 advant controller ac 31 / issued: 01.99 3 40 or 50 series programming mode figure 10: example of programming with the 907 pc 331 software 6.4 point to point communication with the programming protocol this example uses the serial interface of the basic unit and is reserved for d...

  • Page 109

    Advant controller ac 31 / issued: 01.99 6 – 15 communication 3 commands (connection elements) for creating the user program command function aend prepare a programming change on a running plc program alt reactivate the user program stored in eeprom al display capacity utilization of basic unit, usua...

  • Page 110

    Communication 6 – 16 advant controller ac 31 / issued: 01.99 3.

  • Page 111: Diagnosis

    Advant controller ac 31 / issued: 01.99 7 – 1 diagnosis 3 7 diagnosis the aim of diagnosis for the 40 and 50 series basic units is to ensure a rapid and efficient localization of potential errors. Figure 1: leds for detecting errors 7.1 types of errors detected the errors detected can be divided int...

  • Page 112

    Diagnosis 7 – 2 advant controller ac 31 / issued: 01.99 3 7.2 detection of errors the detected errors are transmitted to the basic unit which signals their presence on the red err leds located on the front of the basic unit (see figure 1). An error on a remote unit is also shown by the err led of th...

  • Page 113

    Advant controller ac 31 / issued: 01.99 7 – 3 diagnosis 3 class 1 errors: fatal error class 2 errors: serious error class 3 errors: light error class 4 errors: warnings acknowledgement after error recovery: - power on - cold start - power on - software cold restart - software warm start or reset - s...

  • Page 114

    Diagnosis 7 – 4 advant controller ac 31 / issued: 01.99 3 7.3 read the plc status via the programming software detailed information concerning the status of the basic unit and the detected errors can be called with the programming software. Click the ”plc status information” icon in the menu item ”s...

  • Page 115

    Advant controller ac 31 / issued: 01.99 7 – 5 diagnosis 3 class 1 errors: fatal error class 2 errors: serious error class 3 errors: light error 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= 1 error numbe...

  • Page 116

    Diagnosis 7 – 6 advant controller ac 31 / issued: 01.99 3 7.4.2 meaning of the contents of the error word flags explanation of the tables: information 1: memory address = program memory address where the error was detected information 2: address = address of unit or defective extension information 3...

  • Page 117

    Advant controller ac 31 / issued: 01.99 7 – 7 diagnosis 3 class 1 error descriptions error number in mw 254,00 dec hex detailed info 1 in mw 254,01 detailed info 2 in mw 254,02 detailed info 3 in mw 254,03 flash eprom checksum error - - - - - class 2 error descriptions error number in mw 254,08 dec ...

  • Page 118

    Diagnosis 7 – 8 advant controller ac 31 / issued: 01.99 3 class 4 error descriptions error number in mw 255,08 dec hex detailed info 1 in mw 255,09 detailed info 2 in mw 255,10 detailed info 3 in mw 255,11 internal unit error 1 d 01 h unit type address channel number cut wire (detection of open circ...

  • Page 119: Appendix

    Advant controller ac 31 / issued: 08.99 a – 1 appendix 3 appendix a1 correspondence between variables and physical addresses this paragraph describes the correspondence between the variables and their physical memory addresses. This information is required for certain functions such as copy, data ex...

  • Page 120

    Appendix a – 2 advant controller ac 31 / issued: 08.99 3 variables physical addresses aw00,00 aw00,01 aw00,15 aw62,00 aw68,15 h 4800 h 4802 h 481e h 4fc0 h 509e kw01,00 kw15,15 kw01,01 kw01,15 kw15,15 kw31,15 --- h 7020 h 7200 h 7022 h 7002 h 703e h 701e h 71ff h 73fe --- kd00,00 kd00,00 kd00,01 kd0...

  • Page 121

    Advant controller ac 31 / issued: 08.99 a – 3 appendix 3 a2 historical values historical values are basic unit specific internal variables which enable the interim results of results, which are required for numerous cycles, to be stored. So that cycle n can be executed correctly, certain functions r...

  • Page 122

    Appendix a – 4 advant controller ac 31 / issued: 08.99 3.

  • Page 124

    Abb schalt- und steuerungstechnik gmbh eppelheimer straße 82 postfach 10 50 09 d-69123 heidelberg d-69040 heidelberg telephone +49 6221 777-0 telefax +49 6221 777-111 e-mail desst.Helpline@de.Abb.Com internet http://www.Abb-sst.De printed in the federal republic of germany (08.99) printed on chlorin...