ABB 07CR41 Operating Manual

ABB 07CR41 Operating Manual

Series 40 and 50
Table of Contents
Table of Contents
loading

Summary of Contents for ABB 07CR41

  • Page 3: Table Of Contents

    Contents Introduction…………… ..........................1-1 General information on the AC31 system ....................1-1 General setup rules ............................1-2 1.2.1 Basic units with local extensions option ....................... 1-2 1.2.2 Basic units with remote extensions option ....................1-3 Operation of the 40 and 50 series basic units....................1-4 1.3.1 Functional diagram............................
  • Page 4 Accessories .............................. 3-25 3.7.1 Programming cables: 07 SK 50 and 07 SK 52................... 3-25 ® 3.7.2 ASCII/MODBUS communications cables: 07 SK 51 and 07 SK 53............3-27 3.7.3 Display cables TC50: 07 SK 54 and 07 SK 55................... 3-29 3.7.4 Connectors ..............................
  • Page 5 ® Network communication via the integrated MODBUS interface ..............6-6 6.2.1 Protocol description............................6-6 6.2.2 Configuration of the MODBUS interface ...................... 6-8 6.2.3 Programming..............................6-8 ® 6.2.4 Response times for MODBUS communication..................6-11 Point to point communication with the integrated ASCII interface.............. 6-13 6.3.1 Protocol description............................
  • Page 6: Advant Controller Ac 31 / Issued:

    Contents – 4 Advant Controller AC 31 / Issued: 08.99...
  • Page 7: Introduction

    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. General information on the AC31 system The AC31 system comprises the 40, 50 and 90 series. This operating guide describes the 40 and 50 series.
  • Page 8: General Setup Rules

    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/outputs extensions interface and a CS31 bus in- terface for remote extensions.
  • Page 9: Basic Units With Remote Extensions Option

    - 30 and 90 series remote units (without central extension capacities) with analog/digital in- puts/outputs - High-speed counter units - ABB frequency converter - Air pressure actuators - 50 series basic units - 90 series basic units as slaves with their own user programs - or any other devices which support CS31 communication (see Figure 2).
  • Page 10: Operation Of The 40 And 50 Series Basic Units

    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: - a backup of the user program with the program constants, - the configuration data - and the system program, which is protected against access by the user program.
  • Page 11: Program Execution

    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 the previously described cycle. The execution duration of a cycle (bus cycle + program cycle) is controlled by the basic unit.
  • Page 12: Bus Transmission

    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 - Request from the remote units: start data CRC8...
  • Page 13: Refresh Times/Response Times

    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 transmission time over the bus. The calculation corre- sponds to the addition of all the communication times of the remote units on the bus and the base time of the master basic unit.
  • Page 14: References

    • 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. • Replace the battery only whith the supply voltage on! Otherwise you risk data being lost.
  • Page 15 Products Description Order no. Centrally extensible remote units Only for 50 and 90 series basic units with CS31 bus connection ICMK 14 F1 24VDC Extensible remote unit 1SBP260050R1001 with 8 inputs and 6 relay outputs, 24 V d.c. power supply ICMK 14 F1 120/230VAC Extensible remote unit 1SBP260051R1001...
  • Page 16 Products Description Order no. 90 series remote units For 50 and 90 series basic units, not centrally extensible (with CS31 bus connection) 07 DI 92 24V 24 V DC Digital remote unit GJR 525 2400 R0101 with 32 inputs, 24 V d.c. power supply 07 DC 91 24 V DC Digital remote unit GJR 525 1400 R0202...
  • Page 17 Products Description Order no. Displays TC 50 Display with 2 lines of 20 characters, 7 operator keys, 5 customizable 1SBP260150R1001 keys for parameter modifications or process control IP 65 front plate 128 pages with 6 variables per page 128 help messages + 128 information messages RS232 connection via the serial interfaces of the basic units ®...
  • Page 18 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 1SBN260300R1001 basic units, of sensors or 3-wire digital actuators 2 units 07 ST 51 Dual connector for easy connection to 40 and 50 series basic units, 1SBN260301R1001 of sensors or 3/4 wire analog actuators...
  • Page 19: Technical Specifications

    Technical specifications This chapter describes the products and their general characteristics and operating conditions. General operating conditions The AC31 units were developed in accordance with the European EC directives, the main national and international IEC 1131-1- and IEC 1131-2 standards and the EN61131-2 product standard concerning automation devices.
  • Page 20 IEC 664 and DIN VDE 0160 Creepage distances and clearances IEC 1131-2 Insulation test Electromagnetic compatibility Immunity tests against: IEC 1000-4-2 (level 3) - electrostatic discharge IEC 1000-4-3 (level 3) - radiated fields IEC 1000-4-4 (level 3) - fast transient bursts - high energy pulse IEC 1000-4-5 - conducted high frequencies...
  • Page 21: Technical Specifications Of The Cs31 System Bus

    Technical specifications of the CS31 system bus Type RS 485 multipoint serial interface Mode Half-duplex 1 master Number of connection points max. 31 slaves Twisted pair General data 0.22...0.8 mm² - Cross-section > 10 per metre - Twists ≤ 100 Ω/km - Resistance 100 to 150 Ω...
  • Page 22: Basic Units

    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 connector 5 –...
  • Page 23 Figure 1: View of a basic unit Figure 2: Magnification of item 9 without the cover Each item is described on the previous page. 3 – 5 Technical specifications Advant Controller AC 31 / Issued: 01.99...
  • Page 24 3.3.2 Technical specifications 40 series 50 series 07 CR 41 07 CT 41 07 CR 41 07 KR 51 07 KT 51 07 KR 51 24 V d.c. 24 V d.c. 120/230 V 24 V d.c. 24 V d.c. 120/230 V a.c.
  • Page 25: Technical Specifications

    40 series 50 series 07 CR 41 07 CT 41 07 CR 41 07 KR 51 07 KT 51 07 KR 51 24 V d.c. 24 V d.c. 120/230 V 24 V d.c. 24 V d.c. 120/230 V a.c. a.c. Program processing/operands - Execution time for 1 K User program:...
  • Page 26 40 series 50 series 07 CR 41 07 CT 41 07 CR 41 07 KR 51 07 KT 51 07 KR 51 24 V d.c. 24 V d.c. 120/230 V a.c. 24 V d.c. 24 V d.c. 120/230 V a.c. - Weight 400 g 800 g...
  • Page 27 40 series 50 series 07 CR 41 07 CT 41 07 CR 41 07 KR 51 07 KT 51 07 KR 51 24 V d.c. 24 V d.c. 120/230 V 24 V d.c. 24 V d.c. 120/230 V a.c. a.c. Integrrated outputs - Number of outputs 6 Relays...
  • Page 28: Centrally Extensible Remote Units

    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 external dual connector 5 –...
  • Page 29 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. 3 – 11 Technical specifications Advant Controller AC 31 / Issued: 01.99...
  • Page 30: Technical Specifications Of The Centrally Extensible Remote Units

    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 24 V d.c.
  • Page 31 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 1500 Vrms 1500 V a.c. 1 min 1 min - Output current/channel...
  • Page 32: Digital Central Extensions

    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 external dual connector 5 –...
  • Page 33 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-14 at left. 3 –...
  • Page 34: Digital Central Extensions Specifications

    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 disconnected under power supply. XI 16 E1 XO 08 R1 XC 08 L1 XK 08 F1...
  • Page 35 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) - Breaking power under 250 V a.c. 2 A (1.5 A 2 A (1.5 A (contact rating code B300) (UL)
  • Page 36: Analog Central Extension

    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 –...
  • Page 37: Technical Specifications Of The Analog Central Extension

    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 format of each channel is displayed on a 4 digit display. The channel number is selected by the push button on the front side.
  • Page 38: Analog Inputs Diagrams

    Technical specifications of the analog central extension, continued XM 06 B5 Analog outputs Voltage Current - Nominal range +/- 10 V 0…20 mA 4…20 mA - Max. current 2 mA 20 mA - Isolation of the outputs/electronic 500 V 500 V - Resolution 11 bits + sign 12 bits...
  • Page 39 Current 0-20 mA: PT100/PT1000: Val = T° x 10 Voltage input ± 10 V: 1 LSB = 10 V/2 = 2.44 mV with minimum value (step 8) Voltage input × value 32767 –32767 ≤ PLC value ≤ +32.767 12 bits Sign 3 –...
  • Page 40: Analog Outputs Diagrams

    Current input 0-20 mA: 1 LSB = 20 mA/2 = 4.88 µA with minimum value (step 8) Current input × value 32767 0 ≤ PLC value ≤ +32.767 Current input 4-20 mA: Resolution is equal to 0-20 mA Current input ×...
  • Page 41: Hardware Configuration, Switches On Left Side Of Analog Extension

    Voltage output ± 10 V: 1 LSB = 10 V/2 = 4.88 mV with minimum value (step 8) × value Voltage output 32767 Current output 0-20 mA: 1 LSB = 20 mA/2 = 4.88 µA with minimum value (step 8) ×...
  • Page 42: Configuration Via Push Button On Front Panel Of Analog Extension

    The configuration PT100 or PT1000 is set with switches 5 and 6 of the DIP switch: one dip switch for four channels. OFF ⇒ PT1000 ON ⇒ PT100 Switch 5 Channels 0 to 3 OFF ⇒ PT1000 ON ⇒ PT100 Switch 6 Channels 4 to 7 ⇒...
  • Page 43: Accessories

    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 50 programming cable (grey) 07 SK 50 connection diagram (see Figure 9): Central unit...
  • Page 44 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: central unit end bare wires end MIN DIN 8 white RTS+ blue (for external GND) RTS- If RTS is active at high level:...
  • Page 45: Ascii/Modbus

    ® 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 shielded. Figure 11: 07 SK 51 communication cable (black) 07 SK 51 connection diagram (see Figure 11): Central unit...
  • Page 46 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: central unit end bare wires end MIN DIN 8 white RTS+ blue (for external RTS-...
  • Page 47: Connectors

    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 connectors supplied.
  • Page 48: Labels

    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 15) - insertion of the bare wire. The wires should meet the following specifications: - rigid or multi-conductor wire in accordance with AWG 28 (0.08 mm²) to AWG 12 (3.1 mm²)
  • Page 49: Installation

    Installation This chapter contains detailed information on the cabling of the individual products and the main implementation and addressing rules. Implementation of an AC31 system The AC31 product range has been developed for operation in extreme industrial environments. The correct operation of these products can only be ensured if certain rules are observed. These rules relate to the assembly conditions, the input/output cabling, earthing, the connection of the CS31 system bus and the different types of power supply.
  • Page 50: Dimensions (In Mm)

    4.1.3 Dimensions (in mm) Figure 1: Basic unit and extensible remote unit 84.5 Figure 2: Local extensions Figure 3: Dual connector Figure 4: Operating device Installation 4 – 2 Advant Controller AC 31 / Issued: 08.99...
  • Page 51 Direct earthing at cabinet wall CS31 system bus Master Vorort- Remote unit Modul Earth for cabinet 1 Erde von Schaltschrank 1 Direct earthing at cabinet wall Vorort- Vorort- Remote Remote unit unit Modul Modul Earth for cabinet 2 Erde von Schaltschrank 2 1: Bus 2 2: Bus 1 3: Sh(ield)
  • Page 52: Earthing

    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 connected to the nearest earth.
  • Page 53 Figure 7: Correct bus cabling Figure 8: Incorrect bus cabling Vorort- Vorort- Vorort- Remote Remote Remote Remote Vorort- Vorort- Remote Vorort- Remote Master Bus master Busmaster unit unit unit Modul Modul Modul unit unit unit Modul Modul Modul Vorort- Vorort- Remote Remote Vorort-...
  • Page 54: The Cs31 System Bus

    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. = ∅ 0.8 mm is Use an AWG 24 (≥...
  • Page 55: Basic Unit And Remote Unit Cabling

    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 supply feeds the digital inputs of the unit and its extensions.
  • Page 56 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 Installation 4 – 8 Advant Controller AC 31 / Issued: 08.99...
  • Page 57 Figure 14: Positive logical inputs PNP 120/230 V a.c. power supply Figure 15: Negative logical inputs NPN 120/230 V a.c. 4 – 9 Installation Advant Controller AC 31 / Issued: 08.99...
  • Page 58 Figure 16: Relay outputs Figure 17: Transistor outputs Installation 4 – 10 Advant Controller AC 31 / Issued: 08.99...
  • Page 59: Cabling Digital Central Extensions

    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 cable situated on the left of the extension.
  • Page 60 Figure 18: Extension XI 16 E1 Figure 19: Extension XO 08 R1 Installation 4 – 12 Advant Controller AC 31 / Issued: 08.99...
  • Page 61 Figure 20: Extension XC 08 L1 Figure 21: Extension XO 16 N1 4 – 13 Installation Advant Controller AC 31 / Issued: 08.99...
  • Page 62 Figure 22: Extension XK 08 F1 Installation 4 – 14 Advant Controller AC 31 / Issued: 08.99...
  • Page 63: Cabling The Analog Central Extension

    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 the extension.
  • Page 64 Figure 23: XM 06 B5 with 2-wire probe Figure 24: XM 06 B5 with 3-wire probe Installation 4 – 16 Advant Controller AC 31 / Issued: 08.99...
  • Page 65 Figure 25: XM 06 B5 with 4-wire probe and utilization of the 07 ST 51 connector 4 – 17 Installation Advant Controller AC 31 / Issued: 08.99...
  • Page 66: Addressing

    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 defined by: - their type (input or output, digital or analog), - the unit address, - the channel number on the unit.
  • Page 67 • 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 extension is assigned the address 63, and the subsequent extensions are incremented by 1, up to 68.
  • Page 68: Addressing Slave Basic Units Or Remote Extension Units On The Cs31 Systembus

    A remote unit may be: - a non-extensible remote unit - an extensible remote unit with digital extensions - an ABB variable speed drive via NCSA-01 - a high-speed counter - a basic unit (50 series with extension capabilities, 90 or 30 series) Warning: An extensible remote unit ICMK 14xx with analog extensions occupies two addresses.
  • Page 69 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. CS 31 EW / EW / series interface master Addresses Remote unit Addresses X+2 X+3 - The first digital input extension is assigned the address X+1.
  • Page 70 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 extension unit is used, it is possible to connect a maximum of two units to the extensible remote unit, because the number of inputs and outputs of this unit is less than eight.
  • Page 71 Addressing example: EW / EW / series master Addresses Remote unit Addresses Remote E/A EW / unit CS 31 Addresses interface With slave central unit configured as analog series slave Addresses managed by only the slave central unit Advant Controller 31 90 series This example uses one master basic unit and 5 remote units.
  • Page 72: Summary

    4.5.4 Summary Master basic unit Addresses Address configuration 40 and 50 series - Integrated inputs/outputs Standard - Digital extension 63 to 68 automatically - Analog extension 63 to 68 automatically Remote unit Addresses Where X = address of the extensible remote unit, N = maximum number of extensions of one type on an extensible remote unit.
  • Page 73: Programming

    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 restrictions, e.g. printing via network does not work correctly.
  • Page 74 • 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, which are divided into the following categories: Digital functions Timer functions Counter functions...
  • Page 75: List Of Variables

    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. Indirect bit, word or double word constants. Step chains, which enable the simple and safe programming of sequential operations.
  • Page 76 Type Variables Description from E 00,00 E 61,15 CS31 system bus digital inputs 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 EW 00,00 EW 61,15 CS31 system bus analog inputs Analog inputs EW 62,00...
  • Page 77 Type Variables Description from 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 AW 00,00 AW 61,15 Analog outputs on the CS 31 system bus Analog outputs...
  • Page 78: Initialization Of The Basic Units

    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 new program: Stand-alone basic unit The default system configuration of the basic unit (see next chapter) No program...
  • Page 79: Configuration

    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 basic unit’s operating parameters; The CS31CO function block for configuring certain remote units via programming The MAIL command (in the “Terminal Mode”) can be used to configure the remote modules with the programming device.
  • Page 80 Save the PLC program in the EEPROM Activate the new operating mode of the basic unit using the following steps: Call the menu item ”Enable PLC mode” in the ABB programming and test system or Perform a warm start or Perform a cold start.
  • Page 81 Conditions, Flags, step chains and historical values which are initialized (set to 0). Action Menu item Abort Cold start RUN/STOP switch set to RUN, power ON RUN/STOP switch, In accordance with the values of the system constants, (see below) Menu item Abort Start Initialization: digital flags...
  • Page 82 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 = 1...99 n,00...MW 099,15 MW 230,00...MW 255,15 n = 100...229...
  • Page 83 • 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 and a different passive device ®...
  • Page 84 The communications parameters are defined in accordance with the operating mode: Operating mode Default parameters Modification of parameters Active 9,600 baud Parameters cannot be modified No parity 8 data bits 1 stop bit Passive No default parameters defined Parameters are defined in the user program by using the SINIT function ®...
  • Page 85 • 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 or 2 errors occur, the program is aborted or not started. If a class 4 error occurs, the program is not interrupted.
  • Page 86 • 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. Meaning of the value of the constants: The user program is started.
  • Page 87 • 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 area or the word area.
  • Page 88 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 multiples of 5 are allowed.
  • Page 89 Bus response times: Communications times of the CS31 system bus 2000 µs Basic times for the master basic unit Slave basic units without extensions 750 µs 07 KR 51* 750 µs 07 KT 51* 750 µs 07 KR 91* 750 µs 07 KT 92* 750 µs 07 KT 93*...
  • Page 90 Extensible remote units with inputs/outputs 340 µs without extension ICMK 14 F1 340 µs without extension ICMK 14 N1 500 µs XI 16 E1 500 µs XO 08 R1 500 µs XC 08 L1 500 µs XM 06 B5 Communications times of the CS31 system bus IP65 unit with digital inputs/outputs 07 DI 93-I 07 DO 93-I...
  • Page 91: Configuration With The Cs31Co Function Block

    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 requires configuration with the CS31CO block. The possible configurations, depending on the units, are: Configuration for detecting a cut wire on an input or digital output Configuration for configurable I/O units, of a channel as an input or an output...
  • Page 92 Functional group Call in FBD/LD, Name of connection element ext. IL Allocation word Allocation direct constant to word variable ZUDKW Comparison functions Greater than > Greater than or equal to >= Equal Unequal >< Less than < Less than or equal to <= Time functions On delay...
  • Page 93 Functional group Call in FBD/LD, Name of connection element ext. IL Access to physical addresses Copying memory areas COPY Read word with enabling Higher order functions Digital selection gate AWTB Selection gate, word Maximum value generator Minimum value generator Limiter Digital value change monitor BMELD List allocator...
  • Page 94 Programming 5 – 22 Advant Controller AC 31 / Issued: 01.99...
  • Page 95: Communication

    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/O device, as a SLAVE.
  • Page 96 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 default combination. The combination: KW 00,10 = KW 00,11 = 100.
  • Page 97: Programming

    6.1.3 Programming Data exchange can be effected directly via the inputs/outputs. Bit transmission CS31 system bus Basic unit as Basic unit as master slave 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: Master –...
  • Page 98 Word transmission Master KW 00,00: -1 Slave KW 00,00: 10 Basic unit Basic unit as KW 00,10 = KW 00,11 = 4 as master slave Addresses occupied on the CS31 system bus: 10 and 11 32 bits are transmitted in both directions. Data from slave to the master E 10,00 - E 10,15 A 00,00 - A 00,15...
  • Page 99 40 or 50 series ® Programming MODBUS mode: mode ACTIVE MODE ASCII mode: PASSIVE 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 MODBUS protocol RS485 line 40 or 50...
  • Page 100: Network Communication Via The Integrated Modbus

    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 description of the interfaces available with the 40 and 50 series basic units which support three communications protocols on the same serial interface ®...
  • Page 101 ® 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 CRC16 control code (2 bytes) The frame has a maximum total length of 240 bytes, thereby enabling the exchange of a maximum of 100 data words or 255 binary data.
  • Page 102: Configuration Of The Modbus Interface

    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 default MODBUS configuration with the following parameters: ®...
  • Page 103: Communication

    ® ® Variable types Variables MODBUS addresses MODBUS addresses as hexadecimal values as decimal values Digital inputs E 00,00 0000 0000 E 00,01 0001 0001 E 00,15 000F 0015 E 01,00 0010 0016 E 61,15 03DF 0991 E 62,00 03E0 0992 E 62,15 03EF...
  • Page 104 ® ® Variable types Variables MODBUS addresses MODBUS addresses as hexadecimal values as decimal values Analog inputs EW 00,00 0000 0000 EW 00,01 0001 0001 EW 00,15 000F 0015 EW 01,00 0010 0016 EW 62,15 03EF 1007 EW 63,00 03F0 1008 EW 68,15 044F...
  • Page 105 ® Example of the use of the MODBUS function ® An example of the use of MODBUS communication between two 40 series basic units. 40 series 40 series MODBUS MODBUS master slave 1 MODBUS protocol RS-232 line ® - A program is not required in the MODBUS slave basic unit.
  • Page 106 Number of Bits Words variables Read (ms) Write (ms) Read (ms) Write (ms) 10 - 60 10 - 60 10 - 60 10 - 60 10 - 60 110 - 170 50 - 60 220 -280 50 - 110 50 - 110 Communication 6 –...
  • Page 107: Point To Point Communication With The Integrated Ascii Interface

    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 text coded in ASCII (American Standard Code of Information Interchange) between two devices, for example. This protocol may be used by the 40 and 50 series basic units to communicate with a printer or terminal fitted with a ASCII interface (Figure 7).
  • Page 108: Point To Point Communication With The Programming Protocol

    6.4 Point to point communication with the programming protocol This example uses the serial interface of the basic unit and is reserved for devices with an ABB programming interface (Figure 8). 6.4.1 Description All variable values can be read or written by this protocol without the need for a configuration or any particular program in the basic units.
  • Page 109 Commands (Connection elements) for creating the user program Command Function AEND Prepare a programming change on a running PLC program Reactivate the user program stored in EEPROM Display capacity utilization of basic unit, usually less than 100 % Display program DEEP Erase PLC program in EEPROM FREI...
  • Page 110 Communication 6 – 16 Advant Controller AC 31 / Issued: 01.99...
  • Page 111: Diagnosis

    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 into four classes. Class 1 errors: Class 2 errors: Class 3 errors:...
  • Page 112: Detection Of Errors

    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 the unit concerned. If an error occurs in an extension, the SUPPLY LED flashes on the extension concerned.
  • Page 113 Class 1 errors: Class 2 errors: Class 3 errors: Class 4 errors: Fatal error Serious error Light error Warnings Acknowledgement - Power on - Power on Switch RUN/STOP from STOP to RUN after error recovery: - Cold start - Software cold restart - Program start via software - Software warm start - Software warm start...
  • Page 114: Read The Plc Status Via The Programming Software

    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 ”SPS-Commun. 3”. The data displayed in the status window is updated when the window is opened again.
  • Page 115 Class 1 errors: Class 2 errors: Class 3 errors: Class 4 errors: Fatal error Serious error Light error Warnings Error signaled by the M 255,10= 1 error bit: Type of error M 255,11= 1 M 255,12= 1 M 255,13= 1 M 255,14= 1 signaled by: Error number in:...
  • Page 116: Meaning Of The Contents Of The Error Word Flags

    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: Channel number = Number of the defective channel Information 4: Unit type Digital inputs...
  • Page 117 Class 1 error descriptions Error number in Detailed info 1 in Detailed info 2 in Detailed info 3 in MW 254,00 MW 254,01 MW 254,02 MW 254,03 Flash EPROM checksum error Class 2 error descriptions Error number in Detailed info 1 in Detailed info 2 in Detailed info 3 in MW 254,08...
  • Page 118 Error number in Detailed info 1 in Detailed info 2 in Detailed info 3 in Class 4 error descriptions MW 255,08 MW 255,09 MW 255,10 MW 255,11 Internal unit error unit type address channel number Cut wire (detection of open circuit)* unit type address channel number...
  • Page 119: Appendix

    Appendix 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 exchange between the CS31 system bus master and slave basic units. The variable address is given by the segment and offset value.
  • Page 120 Variables Physical addresses AW00,00 H 4800 AW00,01 H 4802 AW00,15 H 481E AW62,00 H 4FC0 AW68,15 H 509E KW01,00 KW15,15 H 7020 H 7200 KW01,01 H 7022 H 7002 KW01,15 H 703E H 701E KW15,15 H 71FF KW31,15 H 73FE KD00,00 KD00,00 H 7400...
  • Page 121: A2 Historical Values

    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 require the results obtained during cycle N-1 (e.g.
  • Page 122 Appendix A – 4 Advant Controller AC 31 / Issued: 08.99...

Table of Contents