background image

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 level

 

Master KW 00,00: -1

Slave KW 00,00: 2

 

 

KW 00.10 = KW 00.11 = 108

 

Addresses occupied on the CS31 field bus:

2

 8 words are transmitted in both directions..

 

 

 

 

 

 

 

 

 

 

Figure 4: Master – slave operation: data exchange at word level

 

 

 

Data from the master to the slave

Data from slave to the master

Basic unit

as master

Basic unit as

slave

E 10,00 - E 10,15
E 11,00 - E 11,15

A 10,00 - A 10,15
A 11,00 - A 11,15

A 00,00 - A 00,15
A 01,00 - A 01,15

E 00,00 - E 00,15
E 01,00 - E 01,15

CS31  system bus

Data from the master to the

l

Data from slave to the master

Basic unit

as master

Basic unit as

slave

EW 02,00 - EW 02,07

AW 02,00 - AW 02,07

AW 00,00 - AW 00,07

EW 00,00 - EW 00,07

CS31 system bus

Summary of Contents for 07AC91

Page 1: ...Operating Manual Advant Controller 31 Series 40 and 50 Order No 1SAC 1316 34 R0201 ABB Schalt und Steuerungstechnik ...

Page 2: ... is expected the devices must be installed in appropriate housings The user has to guarantee that the devices and the com ponents belonging to them are mounted following these regulations For operating the machines and installations other national and international relevant regulations con cerning prevention of accidents and using technical work ing means also have to be met TheAdvant Controller d...

Page 3: ...3 1 3 1 General operating conditions 3 1 3 2 Technical specifications of the CS31 system bus 3 3 3 3 Basic units 3 4 3 3 1 View of a basic unit 3 4 3 3 2 Technical specifications 3 6 3 4 Centrally extensible remote units 3 10 3 4 1 View 3 10 3 4 2 Technical specifications of the centrally extensible remote units 3 12 3 5 Digital central extensions 3 14 3 5 1 View 3 14 3 5 2 Digital central extensi...

Page 4: ...the analog central extension 4 15 4 5 Addressing 4 18 4 5 1 Input output variables 4 18 4 5 2 Addressing basic unit masters or stand alone basic units with central extensions 4 18 4 5 3 Addressing slave basic units or remote extension units on the CS31 systembus 4 20 4 5 4 Summary 4 24 5 Programming 5 1 5 1 Introduction to the software 5 1 5 2 List of variables 5 3 5 3 Initialization of the basic ...

Page 5: ...ommunication 6 13 6 3 3 Programming 6 13 6 4 Point to point communication with the programming protocol 6 14 6 4 1 Description 6 14 6 4 2 The command list of the integrated editor which is available in terminal mode 6 14 7 Diagnosis 7 1 7 1 Types of errors detected 7 1 7 2 Detection of errors 7 2 7 3 Read the PLC status via the programming software 7 4 7 4 Error management via programming 7 4 7 4 ...

Page 6: ...Contents 4 Advant Controller AC 31 Issued 08 99 3 ...

Page 7: ...ibuted applications throughout a site workshop or machine where all the components input output units basic unit are close to the sen sors actuators The whole installation is connected by a single twisted pair via which all infor mation from the sensors is sent after processing by the basic unit to the actuators via the de centralized intelligent units The following communication interfaces are av...

Page 8: ...ber of digital inputs outputs and some of the units in the 90 series also feature analog inputs outputs Depending on the basic unit it is possible to increase the number of inputs outputs and add input output extensions 1 2 1 Basic units with central extensions option With the 40 and 50 series it is possible to increase the number of inputs outputs of the basic unit by adding up to 6 local extensi...

Page 9: ... maximum of 6 extension units comprising a maximum of 8 analog input channels and 8 analog output channels 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 ...

Page 10: ...unctions designed to cover all applications and ensure all the basic PLC functions The user program is developed with the 907 PC331 R402 programming and test software After being translated into instructions which can be understood by the basic unit the program is loaded in RUN or STOP mode into the RAM and then saved to the Flash EPROM This means that each time the program is loaded the user prog...

Page 11: ...ating 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 Any excess of the cycle time defined by the user is signaled by the ERR LED at the front of the basic unit Read inputs Program processing Write outputs RUN STOP Forcing the outputs to 0 Communication along the CS31 system bus...

Page 12: ... type of unit Frames exchanged with analog units are the longest The basic unit interrogates the remote units to establish an initial image of the system configu ration during initialization The remote units are then interrogated with each bus cycle This enables the recognition of newly added or removed remote units and the update of the diagnosis information If the basic unit receives a message i...

Page 13: ...ment The calculation of the cycle time and the communication times between the basic unit and the input output units for calculating the bus transmission times is found in chapter 5 4 in the table Bus reaction times 1 3 5 Power on program start The basic unit executes a complete series of auto tests at each startup The program can only be started if no errors have been detected The auto tests veri...

Page 14: ...ation 24 V d c power supply 1SBP260020R1001 07 CR 41 120 230VAC Centrally extensible basic unit with 8 isolated inputs and 6 relay outputs RS232 interface for programming or ASCII or MODBUS commu nication 120 230 V a c power supply 1SBP260021R1001 07 CT 41 24VDC Centrally extensible basic unit with 8 isolated inputs and 6 transistor outputs RS232 interface for programming or ASCII or MODBUS commu ...

Page 15: ...ay outputs powered by the basic unit or remote unit 1SBP260101R1001 XC 08 L1 Digital extension with 8 channels configurable as inputs or transistor outputs 24 V d c 0 5 A powered by the basic unit or remote unit 1SBP260102R1001 XK 08 F1 Digital extension with 4 inputs and 4 relay outputs powered by the basic unit or remote unit 1SBP260102R1001 XM 06 B5 Analog extension with 4 inputs configurable f...

Page 16: ...rent voltage GJR 525 2300 R0101 Remote units with IP 67 protection with CS31 con nection For 50 and 90 series basic units not centrally extensible 07 DI 93 I 24VDC Digital remote unit with IP 67 protection with 16 inputs 24 V d c power supply GJV 307 5613 R0202 07 DO 93 I 24VDC Digital remote unit with IP 67 protection with 8 outputs 24 V d c 2 A transistor 24 V d c power supply GJV 307 5611 R0202...

Page 17: ... or remote unit 1SBP260107R1001 Accessories for the CS31 bus For series 50 and 90 basic units NCB CS31 system bus amplifier for 500 m max 2 000 m with 3 amplifiers possible 24 V d c power supply FPR 347 1200 R1002 NCBR CS31 bus amplifier for 500 m max 2 000 m with 3 amplifiers possible with redundancy for parallel ring or star networks 24 V d c power supply FPR 347 1300 R1002 Cables 07 SK 50 PC pr...

Page 18: ...ts 1SBN260311R1001 07 ST 55 A set of cage clamp type connectors for XI 16 E1 extension 1SBN260312R1001 07 ST 56 A set of cage clamp type connectors for XO 08 R1 or XC 08 L1 extension 1SBN260313R1001 07 ST 57 A set of cage clamp type connectors for XM 06 B5 extension 1SBN260314R1001 Various accessories 07 LP 50 Program loading unit for 40 And 50 series basic units 1SBN260320R1001 Labels Label for l...

Page 19: ...concerning automation devices Ambient conditions Temperature operation horizontal vertical storage transport 0 C to 55 C 0 C to 40 C 40 C to 75 C 25 C to 75 C Humidity annual average up to 30 days per year occasionally DIN 40040 class F without condensation 75 95 85 Atmospheric pressure operation storage 800 hPA 2000 m 600 hPA 3500 m Mechanical data Degree of protection index Housing Vibration str...

Page 20: ...he power cut offs 10 ms Time between 2 voltage drops 1 s Duration of the power cut offs 20 ms Time between 2 voltage drops 1 s Dielectric tests IEC 1131 2 Mountings DIN rail Screw fittings 35 mm 4 mm diameter screws M4 Connections Connectors Cross section for earth inputs outputs power supply bus Screw tightening torque Removable terminal blocks 2 5 mm Rigid or multi conductor wire AWG 14 1 95 mm ...

Page 21: ...ication Capacity Shielding Line termination Twisted pair 0 22 0 8 mm 10 per metre 100 Ω km 100 to 150 Ω 150 nF km Braiding Resistance 120 Ω Watt connected to each end of the bus Protocol CS31 master slave Data transmission control CRC Maximum length up to 500 m without amplifier up to 2000 m with 3 amplifiers NCB or NCBR Bus redundancy yes with NCBR bus amplifier Isolation yes by optocoupler Refre...

Page 22: ...t 7 Connector for central input output extensions under cover flap 8 Cable connectors under cover flap for serial port for programming or communication ASCII Modbus basic unit power supply cabling outputs cabling 9 Potentiometers and RUN STOP switch see magnification under cover flap 10 Connector for a coupler under cover flap 11 Status displays POWER power on RUN program running ERR error s prese...

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: ...tem CS31 bus 31 Max number of digital inputs 104 1096 Max number of digital outputs 102 1074 Max number of analog inputs 24 272 Max number of analog outputs 12 136 Interfaces CS31 interface no yes Interface for programming MODBUS or ASCII 1 RS 232 1 RS 232 RS 485 Memory User program memory size 16 K typically 4 k instructions 16 K typically 4 k instructions User program memory and constants Flash ...

Page 25: ...ys 20 h 30 42 simultaneously from 1 ms to 596 h 30 24 days 20 h 30 Counters counter range unlimited 32767 to 32767 unlimited 32767 to 32767 High speed counter function incremental encoder stand alone counter 1 with max frequency 5 kHz on inputs E62 00 and E62 01 2 to 7 kHz on inputs E62 00 and E62 01 1 with max frequency 5 kHz on inputs E62 00 and E62 01 2 to 7 kHz on inputs E62 00 and E62 01 Cloc...

Page 26: ...19 2 to 30 V 400 mA yes Dissipation 5 W 6W 10 W 5 W 6 W 10 W Integrated digital units Number of inputs 8 8 8 8 8 8 Isolated inputs test voltage 1500 V a c 1500 V a c 1500 V a c 1500 V a c 1500 V a c 1500 V a c Input types PNP and NPN PNP and NPN PNP and NPN PNP and NPN PNP and NPN PNP and NPN Input voltage nominal value signal at 0 IEC 1131 2 signal at 1 IEC 1131 2 24 V d c 0 to 5 V 15 to 30 V 24 ...

Page 27: ... 500 mA 0 5 V at max 500 mA Minimum load 10 mA under 12 V d c 12 V 10 mA under 12 V d c 10 mA under 12 V d c 12V 10 mA under 12 V d c Breaking capacity under 120 V a c contact rating code B300 UL 2 A 2 A 2 A 2 A Breaking capacity under 250 V a c contact rating code B300 UL 2 A 1 5 A acc to UL 2 A 1 5 A acc to UL 2 A 1 5 A acc to UL 2 A 1 5 A acc to UL Number of groups 2 2 4 2 2 4 2 2 4 2 2 4 Switc...

Page 28: ...inputs available only for the remote units with 120 230 V a c power inputs 6 Status LEDs for 8 inputs 6 outputs of the basic unit 7 Connector for basic input output extensions 8 Location of cable connectors basic unit mains supply outputs 9 Location of rotary selectors for addressing see enlargement under cover flap 10 Status displays POWER power on RUN always on ERR error s present Magnification ...

Page 29: ...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: ...rotection yes yes Integrated power supply 24 V d c for the inputs range of voltage value output current short circuit protection no yes 19 2 to 30 V 400 mA yes no Dissipation 5 W 10 W 6 W Integrated digital inputs Number of inputs 8 8 8 Isolation of inputs 1500 V a c 1500 V a c 1500 V a c Input types PNP and NPN PNP and NPN PNP and NPN Input voltage nominal value signal at 0 IEC 1131 2 signal at 1...

Page 31: ... 0 2 V max 500 mA Minimum cut off values 10 mA under 12 V d c 10 mA under 12 V d c 12 V 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 acc to UL 2 A 1 5 A acc to UL Number of groups 2 2 4 2 2 4 Switching frequency for resistive loads for inductive loads for lamps 1 Hz 0 2 Hz 0 2 Hz 1 Hz 0 2 Hz 0 2 Hz 5 kHz Max...

Page 32: ...Plate fixture with unit earthing alternative to 1 3 release lever for DIN rail mounting 4 Location for external dual connector 5 Connectors for input output cabling under cover flap 6 Status LEDs for inputs outputs 7 Connector for additional input output extensions 8 Connection to basic unit remote unit or to the last input output extension connected to the basic remote unit ...

Page 33: ... 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 14 at left ...

Page 34: ...nal at 0 IEC 1131 2 signal at 1 IEC 1131 2 24 V d c 0 to 5 V 15 to 30 V 24 V d c 0 to 5 V 15 to 30 V 24 V d c 0 to 5 V 15 to 30 V Input current at 24 V d c 4 mA 4 mA 7 mA Signal delay time 5 ms 5 ms 5 ms Cable length unshielded shielded 300 m 500 m 300 m 500 m 300 m 500 m Integrated outputs Number of outputs 8 relays 8 transistors 4 relays 16 transistors Isolated outputs test voltage 1500 Vrms 1 m...

Page 35: ... Number of groups 2 4 4 1 Switching rate for resistive loads for inductive loads for lamps 1 Hz 0 2 Hz 0 2 Hz 10 kHz 1 Hz 0 2 Hz 0 2 Hz 10 kHz Number of switchin cycles for AC 1 for AC 15 1 million 100 000 1 million 100 000 Short circuit and overload protection externally yes thermic externally yes thermic Surge voltage protection externally yes by transient volt suppresser externally yes by trans...

Page 36: ...of channel number and the associated analog value 7 Connector for the supplementary central additional input output extensions 8 Push button used to select the channel displayed and for the configuration 9 Connectors for the output cabling under the cover flap plug in type 10 Connector for connection to the basic unit remote unit or to the last input output extension connected to the basic unit re...

Page 37: ...00 ms Maximum power dissipation 3 W 3 W Weight 200 g 200 g 150 g Analog inputs Voltage Current Pt 100 Pt 1000 Nominal range Maximum values 10 V 30 V 0 20 mA 4 20 mA 25 mA 200 C 450 C 200 C 450 C Isolated inputs test voltage Resolution 500 V 12 bits sign 500 V 12 bits 500 V 500 V Min resolution at input 1 LSB Full scale precision 2 5 mV 0 7 5 µA 0 8 0 1 C 1 5 C 0 1 C 1 5 C Word value range read by ...

Page 38: ...Resolution 500 V 11 bits sign 500 V 12 bits Min output resolution 1 LSB 5 mV 5 µA Word value range 32767 0 32767 Linearity of full range 1 2 1 3 Max resistance 400 Ω Diagnosis no no Cable length shielded 50 m yes 50 m yes Permissible total voltage drop at the sensors and lines circuited in series Max 8 V Configuration Voltage Current With push button yes yes With connection elements CE yes chapter...

Page 39: ...sued 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: ...µ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 input Current value PLC 0 PLC value 32 767 With current input 3 75 mA the PLC value is 32767 3 6 4 Analog outputs diagrams Current 4 20 mA Current 0 20 mA ...

Page 41: ... channel Switch 1 Channel 0 OFF Voltage ON Current Switch 2 Channel 1 OFF Voltage ON Current Switch 3 Channel 2 OFF Voltage ON Current Switch 4 Channel 3 OFF Voltage ON Current The configuration PT100 or PT1000 is set with switch 5 of the DIP switch it controls all channels Switch 5 Channels 0 to 3 OFF PT1000 ON PT100 Configuration of value ranges see 3 6 6 on page 3 24 XE 08 B5 The configuration ...

Page 42: ...ss the button again the configuration of that channel is displayed Press again this time holding the button down for longer than 10 seconds The display of the channel configuration will begin to blink After that further pushes on the button will alter the configuration At this stage whenever the button is not touched for 10 seconds the configuration last reached will be saved to EEPROM The display...

Page 43: ...ow 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 MIN DIN 8 PC SUB D9 RxD 1 TxD 2 GND 7 5 8 3 6 4 shield 3 TxD yellow 2 RxD red 5 GND black 8 CTS 7 RTS 1 CD 4 DTR 6 DSR shield ...

Page 44: ...ernal DTR CTS blue central unit end MIN DIN 8 bare wires end Cable for RS 232 central unit end MIN DIN 8 bare wires end RxD 1 TxD 2 GND 7 RTS 5 RTS 8 shield TxD yellow RxD red GND black white Cabling depends on if RTS is blue active at high or low level shield Cable for RS 485 central unit end MIN DIN 8 bare wires end 1 D1 2 D1 7 RTS 5 RTS 8 shield yellow not used D1 red D1 black white Cabling dep...

Page 45: ...ct 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 MIN DIN 8 PC SUB D9 RxD 1 TxD 2 GND 7 5 8 3 6 4 shield 3 TxD yellow 2 RxD red 5 GND black 8 CTS white 7 RTS blue 1 CD 4 DTR 6 DSR shield ...

Page 46: ... RTS is active at high level Cable for RS 232 central unit end MIN DIN 8 bare wires end RxD 1 TxD 2 GND 7 RTS 5 RTS 8 3 6 shield TxD yellow RxD red GND black white Cabling depends on if RTS is blue active at high or low level shield Cable for RS 485 central unit end MIN DIN 8 bare wires end D1 2 D1 7 RTS 5 RTS 8 3 6 shield yellow not used D1 red D1 black white Cabling depends on if RTS is blue act...

Page 47: ...0 and 50 series products All the terminal blocks of the same level are electrically connected 2 External dual connector 07 ST 51 This connector permits the easy connection of analog sensors to the 40 and 50 series products It includes a first level with 9 interlinked terminals It may be used to connect the shielding of the analog cables The second level 5 terminals is used when the 4 wire probes a...

Page 48: ...bares for a length of 8 9 mm The following connector kits are available 07 ST 52 2 cage clamp type connectors for digital channels 07 ST 54 A set of cage clamp type connectors for basic units or remote units 07 ST 55 A set of cage clamp type connectors for XI 16 E1 extension 07 ST 56 A set of cage clamp type connectors for XO 08 R1or XC 08 L1 extensions 07 ST 57 A set of cage clamp type connectors...

Page 49: ...on of the load see also page 3 1 either on a DIN rail 35 mm or by means of two screws M4 directly onto the cabinet mounting plate Assembly in a cabinet Operating temperature from 0 to 55 C Make sure that there is sufficient free space around the cabinet to allow the heat to dissipate properly We recommend that the cabinet be fitted with a ventilation system where necessary Warning Avoid placing an...

Page 50: ...m EN 50022 C0332D 120 93 C0333D 104 85 2 C0334D Figure 1 Basic unit and extensible remote unit 84 5 35 mm EN 50022 C0309D 65 93 C0310D 51 85 2 C0311D Figure 2 Local extensions 48 C0330D 28 2 56 C0331D Figure 3 Dual connector 41 C0306D 166 86 C0307D 157 77 C0308D Figure 4 Operating device ...

Page 51: ... 3 Sh ield Figure 5 Earthing principles for several cabinets capacitive earthing M Schalt schrank 1 Schalt schrank 2 Erdung Störspannungsquelle C0103D1G Figure 6 Joint earthing for devices which generate noise Earth for cabinet 1 Earth for cabinet 2 Direct earthing at cabinet wall Direct earthing at cabinet wall CS31 system bus Remote unit Remote unit Remote unit Cabinet Cabinet Noisy element Eart...

Page 52: ...an electrical connection to the earth via this earth plate This earthing ensures protection against electromagnetic disturbances The safety earthing cable on terminal block should be connected to the cabinet chassis PE terminal Earthing principles for several cabinets If the cabinets are close to each other the different earths should possibly be connected together using a cable with a cross secti...

Page 53: ... Vorort Modul Master C0005D1G Vorort Modul Vorort Modul Vorort Modul Vorort Modul Vorort Modul Figure 9 Correct bus topology Figure 10 Cabling with spur lines not permissible Figure 11a Correct symmetrically twisted pair Figure 11b Incorrectly twisted pair Remote unit Remote unit Remote unit Remote unit Remote unit Remote unit Remote unit Remote unit Remote unit Remote unit Bus master ...

Page 54: ...n page 4 5 Warning STAR configuration of the bus is not permitted see Figures 9 and 10 on page 4 5 Cabling The basic and remote units may be connected at any point of the bus bus 1 to bus 1 bus 2 to bus 2 shielding preferably braided on terminal 3 of terminal block 1 and earth connected at the master level cable 0 10 m The bus should be terminated with a 120 Ω 1 4 W resistor connected to the bus e...

Page 55: ...gid or multi conductor AWG 14 1 95 mm wires for the outputs Input cabling see Figures 12 13 14 and 15 Output cabling see Figures 16 and 17 Output protection The relay outputs must be protected externally against disturbances generated by an inductive load by using the following a varistor or an RC module with alternating current loads a free wheeling diode with DC loads The presence of an external...

Page 56: ...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: ...he connection between the extension and the basic unit is made with the cable situated on the left of the extension The 24 V d c for the sensors must be connected with the 0 V and 24 V d c of the external power supply An external 24 V d c power supply has to be used if the total current exceeds the capacity of the 24 V d c power supply of the basic unit Warning The extensions must not be connected...

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: ...g The extensions must not be connected or disconnected under power supply Extension XE 08 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 Warning The extensions must not be connected or disconnected under power supply The PT 100 or PT 1000 probes connected ...

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: ...hannel number on the unit They are recognized in the following manner by the program Exx yy E binary input A binary output EW analog input AW analog output Address xx Channel number yy E xx yy 4 5 2 Addressing basic unit masters or stand alone basic units with central extensions Utilization of the stand alone master or slave mode of the basic unit is defined via the constant KW 00 00 with the prog...

Page 67: ...ted by 1 up to 68 40 or 50 series E A E E A A Addresses 63 63 64 65 64 65 An extension with mixed and configurable inputs outputs is considered by the addressing as an input extension and an output extension The address of the following digital extensions whether it is input or output is incremented by 1 40 or 50 series E E E A E A A Addresses 63 64 65 66 66 67 In order to optimize the addressing ...

Page 68: ... two addresses The master basic unit and the remote units may be positioned in any order on the bus The order of the extensions on the basic units and extensible units is free Addressing does not correspond to the order of the units on the bus The addresses from 1 to 61 may be assigned in any order to the remote units the first remote unit on the CS31 system bus may be assigned address 5 followed ...

Page 69: ...sses Remote unit E A E E A A Addresses X X 1 X 1 X 2 X 3 X 2 X 3 CS 31 bus interface An extension with mixed and configurable inputs outputs is considered by the addressing as an input extension and an output extension The address of the following digital extensions whether it is input or output is incremented by 1 None of the addresses defined by the configuration may be used by another remote un...

Page 70: ... exchanges between a master basic unit and a slave basic unit is not restricted to the exchange of physical input output variables It is possible to exchange a data table whose size may be defined in bits or words as follows bit exchange in 8 bit packets 1 byte from 2 bytes to 15 bytes Address 0 Y 61 word exchange from 1 to 8 words Address 0 Y 61 see chapter 6 1 3 Programming Õ The addressing of t...

Page 71: ...W 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 Addresses Remote unit E E E A EW AW A A With slave central unit configured as analog Advant Controller 31 90 series 0 1 2 3 4 4 5 Addresses Remote unit E E E A E A A This example uses one master basic unit and 5 remote units ...

Page 72: ... an extensible remote unit Master basic unit Address configuration 50 series 90 series Extensible remote unit By rotary switches If solely digital extension 0 X N 61 0 X N 61 automatically If at least one analog extension 0 X 61 0 X 5 automatically 50 series slave basic unit Digital configuration 0 to 61 0 to 61 by programming software KW00 00 Analog configuration 0 to 61 0 to 5 by programming sof...

Page 73: ...act diagrams It was adapted for combinational processing and offers the basic symbols and automation function blocks such as contacts timers counters FBD is a graphical language of function blocks which allows complex procedure programming by combining existing library functions IL is an instruction list program which is intended primarily for programmers who already have considerable experience o...

Page 74: ...nto the following categories Digital functions Timer functions Counter functions Functions for word comparison Arithmetic functions for word processing Logical functions for word processing Program control functions CS31 system bus configuration and acknowledgement functions Communications functions Control functions Format conversion functions Special functions Memory access functions Detailed de...

Page 75: ...d in each cycle i e this variable is an example of an historical value Direct access to historical values via the user program is not possible with the 40 and 50 series units Comments on historical values The maximum number of historical values permissible for a project is 256 A list of functions with their historical values can be found in the appendix A2 The historical values of the timer functi...

Page 76: ... basic units EW 62 01 2 nd potentiometer of the basic units EW 62 02 EW 62 07 Reserved variables EW 62 08 Seconds 0 59 EW 62 09 Minutes 0 59 EW 62 10 Hours 0 23 EW 62 11 Days of the week 1 7 EW 62 12 Days of the month EW 62 13 Months EW 62 14 Years EW 62 15 Word status bit 0 display of class 2 errors bit 1 used in the in slave basic units for CS31 system bus recognition bits 8 to 15 used on the ma...

Page 77: ...r M 255 02 Special flag 0 5 Hz oscillator M 255 03 Special flag 0 01667 Hz oscillator duration 1 minute M 255 04 M 255 09 Reserved variables M 255 10 M 255 14 Diagnosis flags M 255 15 Variable always set to 0 on startup which may be used for the definition of the first program cycle Internal words MW 000 00 MW 099 15 Word flags MW 230 00 MW 253 15 Word flags MW 254 00 MW 254 07 Class 1 errors info...

Page 78: ...ined by selecting the following in the main menu of the 907 PC 331 programming software Õ PLC Communic 2 and there Õ 2 Delete EPROM followed immediately by Õ 4 cold restart The other possible initializations are Initialization type Definition Power on Enable PLC mode or warm start Clear the program in RAM Copy the Flash EPROM contents to RAM Clear the data in the RAM depending on the configuration...

Page 79: ...on historical values KW 00 06 Application mode of the serial interface COM 1 KW 00 07 PLC reaction to class 3 errors KW 00 08 Not used KW 00 09 Initialization of the CS31 system after power ON warm start or cold start KW 00 10 Size of the transmitting area of the slave basic unit KW 00 11 Size of the receiving area of the slave basic unit 5 4 1 2 System constants setting the operating modes Defini...

Page 80: ...Change system constant KW 00 00 in the basic unit 2 Save the PLC program in the EEPROM 3 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 Backup of data areas Back up of data i e saving data during power OFF ON is only possible in the 50 series basic ...

Page 81: ...stant KW 00 01 Digital flag areas which are initialized set to 0 n 0 default M 000 00 M 099 15 M 230 00 M 255 15 n 1 99 M n 00 M 099 15 M 230 00 M 255 15 n 100 229 M 230 00 M 255 15 n 230 254 M n 00 M 255 15 n 0 n 255 M 255 00 M255 15 Comments Õ The bits M 255 00 to M 255 03 are oscillator variables which always start at 0 Õ The bits M 255 10 to M 255 14 are reserved for diagnostic tasks Õ The bit...

Page 82: ...r INIT_MD Value n of the system constant KW 00 03 Double word flag areas which are initialized set to 0 n 0 default MD 000 00 MD 001 15 n 1 MD 001 00 MD 001 15 n 0 n 1 No initialization Initialization step chains Õ Absolute identifier KW 00 04 Õ Symbolic identifier INIT_S Value n of the system constant KW 00 04 Step chains which are initialized set to 0 n 0 default S 000 00 S 125 15 n 1 125 S n 00...

Page 83: ...requirements must be met in order to be able to use one of these communications modes Õ The serial interface is configured by the system constant KW 0 6 Õ Awareness of the position of the RUN STOP switch Õ Use of the correct cable For programming 07 SK 50 or 07 SK 52 active For ASCII MODBUS 07 SK 51 or 07 SK 53 passive Parameter selection KW 0 06 RUN STOP position Cable Communications mode Standar...

Page 84: ... Õ Meaning of the value of the constants The constant is a 5 digit decimal number KW 00 06 Example MODBUS master Mode 100 Slave no 217 Time delay 1000 RTS signal inverted 10000 Calculate entry in KW 00 06 KW 00 06 100 217 1000 10000 11317 KW 00 06 0 Default cable 07SK50 52 Active mode KW 00 06 0 cable 07SK51 53 Passive mode ASCII mode KW 00 06 1 cable 07SK50 52 Active mode KW 00 06 2 cable 07SK50 ...

Page 85: ...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 If a class 3 error occurs the program may be aborted or continued Õ Absolute identifier KW 00 07 Õ Symbolic identifier FK3_REAK Õ Meaning of the value of the constants Only report error 0 Report error and abort PLC program 0 0 Õ Range of values 0 0 0 Õ Default value 0 i e onl...

Page 86: ...Õ Absolute identifier KW 00 10 Õ Symbolic identifier SLV_SEND Õ Meaning of the value of the constants The slave basic unit can be used either in the digital area or word area at the CS31 system bus The digital values are transferred byte by byte It is possible to set the number of bytes or words which are to be sent from the slave basic unit to the master basic unit Õ For use in the digital area T...

Page 87: ...basic unit to the slave basic unit For use in the digital area Transmitting 2 15 bytes 2 15 For use in the word area Transmitting 1 8 words 101 108 Õ Default value 0 Range of values 2 15 and 101 108 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 ...

Page 88: ... by the user with the following formula Tc Tb Tp with Tb transfer time of CS31 system bus and Tp programming processing time The program processing time is the time obtained when you add together the processing time of all functions in the user program a list of all the times can be found in the documentation for the 907 PC 331 programming software The program processing time for 1 KB is generally...

Page 89: ...ssion and 4 byte for receive 750 µs 8 bytes for transmission and 8 bytes for receive 1300 µs 12 bytes for transmission and 12 bytes for receive 1850 µs 8 words for transmission and 8 words for receive 2500 µs Remote units with digital inputs ICSI 08 D1 323 µs ICSI 08 E1 323 µs ICSI 08 E3 E4 323 µs ICSI 16 D1 387 µs ICSI 16 E1 387 µs Remote output units ICSO 08 R1 260 µs ICSO 08 Y1 260 µs ICSO 16 N...

Page 90: ...0 µ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 with digital inputs outputs 07 DI 93 I 07 DO 93 I 07 DK 93 I Analog remote units ICSM 06 A6 1162 µs ICSE 08 A6 1355 µs ICSE 08 B5 1355 µs ICST 08 A7 1355 µs ICST 08 A8 1355 µs ICST 08 A9 1355 µs 07 AI 91 1355 µs ICSA 04 B5 700 µs 07 A C 91 High speed counter ICSF 08 D1 1300 µs ...

Page 91: ... I O configuration is usually present The following can be used as the terminal A conventional terminal with the interface EIA 232 e g VT100 A PC with the programming software 907 PC 331 In the main menu item PLC Commun 2 submenu item Terminal emulation all the interface data is automatically set correctly Refer to the detailed description in the 907 PC 331 programming software documentation 5 5 S...

Page 92: ...OAT Counter functions Up down counter VRZ Counter CTU Counter for increment timer input CTUH Program control functions Conditional jump to label SPBM SPRUNG Target label MRK MR Program end PE Conditional program end PE 2 Subroutine call for an assembler program CALLUP Direct reading of an input DI Direct writing of an input DO Format conversion BCD to digital conversion BCDDUAL BCDBIN Digital to B...

Page 93: ... monitor BMELD List allocator LIZU Read word variable indexed IDLm IDL Write word variable indexed IDSm IDS Clock UHR Impulse generator for stepping motor drive NPULSE Automatic control functions Proportional integral regulator PI PIDT1 control PIDT1 Pulse duration modulator PDM Communication via serial interface Initialization and configuration of the serial interfaces SINIT Output of ASCII chara...

Page 94: ...Programming 5 22 Advant Controller AC 31 Issued 01 99 3 ...

Page 95: ...he master basic unit The volume of data which is exchanged between the master and the slave basic units for every CS31 bus cycle can be defined via the configuration To optimize communications times on the CS31 system bus this value should be selected in accordance with the actual data volume transferred The maximum number for a bit configuration is 120 inputs and 120 outputs and the maximum for a...

Page 96: ...e CS31 system bus in either the digital area or the word area It is possible to set the number of bytes or words which are to be sent from the master basic unit to the slave basic unit For use in the digital area Transmitting 2 15 bytes 2 15 For use in the word area Transmitting 1 8 words 101 108 Õ Default value 4 Range of values 2 15 and 101 108 Changes to these system constants take effect Õ on ...

Page 97: ...eration addressing on the CS31 system bus KW 00 10 transmitting area of the slave KW 00 11 receiving area of the slave Both system constants are only defined in the slave basic unit bit transmission maximal 120 bits KW 00 10 1 to 15 KW 00 11 1 to 15 word transmission maximum 8 words KW 00 10 101 to 108 KW 00 11 101 to 108 Figure 2 Master slave operation data exchange on the CS31 system bus Basic u...

Page 98: ... on the CS31 field bus 2 8 words are transmitted in both directions Figure 4 Master slave operation data exchange at word level Data from the master to the slave Data from slave to the master Basic unit as master Basic unit as slave E 10 00 E 10 15 E 11 00 E 11 15 A 10 00 A 10 15 A 11 00 A 11 15 A 00 00 A 00 15 A 01 00 A 01 15 E 00 00 E 00 15 E 01 00 E 01 15 CS31 system bus Data from the master to...

Page 99: ...for 40 and 50 series devices 40 or 50 series MODBUS protocol RS232 line Figure 6 Point to point connection with a PC 40 or 50 series MODBUS protocol RS485 line 40 or 50 series 40 or 50 series Figure 7 Network connection with a PC MODBUS protocol RS485 line 40 or 50 series 40 or 50 series 40 or 50 series Figure 8 Network connection between basic units exchange of PLC data ...

Page 100: ...ture by default or as an option a MODBUS RTU interface and can therefore easily communicate with the 40 or 50 basic units via the serial interface RS232 or RS485 Figures 4 5 and 6 show three configuration examples Point to point connection with a PC Figure 4 Network connection with a PC Figure 5 Network connection between basic units Figure 6 MODBUS is a question answer protocol that is still occa...

Page 101: ...ave s reply contains the request confirmation the data to be returned and also a frame control code The slave returns an error code in the event of an error Further information on protocols can be found in the appendix Only the following MODBUS operation codes may be processed by the 40 and 50 series basic units Function codes Hex Description 01 or 02 Read n bits 03 or 04 Read n words 05 Write a b...

Page 102: ...ial interface is configured for MODBUS communication The programming mode for tests and modifications becomes available when the grey 07 SK 50 or 07 SK 52 cable is used 6 2 3 Programming MODBUS slave unit All the data may be read or written in MODBUS A program is not required for MODBUS communication management The MODBUS slave basic unit automatically converts the request sent by the MODBUS maste...

Page 103: ...E 63 00 E 68 15 03F0 044F 1008 1103 Digital outputs A 00 00 A 00 01 A 00 15 1000 1001 100F 4096 4097 4111 A 01 00 A 61 15 1010 13DF 4112 5087 A 62 00 A 62 15 13E0 13EF 5088 5103 A 63 00 A 68 15 13F0 144F 5104 5199 Bit flags M 000 00 M 000 01 M 000 15 2000 2001 200F 8192 8193 8207 M 001 00 M 099 15 2010 263F 8208 9791 M 230 00 M 254 15 2E60 2FEF 11872 12271 M 255 00 M 255 15 2FF0 2FFF 12272 12287 S...

Page 104: ...3 00 AW 68 15 13F0 144F 5104 5199 Internal word flags MW 000 00 MW 000 01 MW 000 15 2000 2001 200F 8192 8193 8207 MW 001 00 MW 099 15 2010 263F 8208 9791 MW 230 00 MW 254 15 2E60 2FEF 11872 12271 MW 255 00 MW 255 15 2FF0 2FFF 12272 12287 Internal double word flags MD 00 00 MD 00 01 MD 00 15 5000 5002 501E 20480 20482 20510 MD 01 00 MD 03 15 5020 507E 20512 20606 Indirect word constants KW 00 00 KW...

Page 105: ...master basic unit The MODBUS address of variable E62 00 in slave 1 is 992 as a decimal value MW0 0 M0 1 M0 0 AW62 00 KW1 4 6 KW1 3 992 KW1 2 2 KW1 1 2 KW1 0 1 M0 0 MODBUS FREI SLAV FCT TIME ADDR NB DATA RDY ERR ERN A delay should be programmed so that the MODBUS message can be sent again in the event of an error This delay is called TIME_OUT and is usually 2 seconds 6 2 4 Response times for MODBUS...

Page 106: ... 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: ...7 SK 51 or 07 SK 53 cable and in MODBUS mode with the black 07 SK 51 or 07 SK 53 cable To change the programming mode to ASCII mode the system constant KW 00 06 must be changed see chapter 5 Communication parameters There isn t a default configuration It is therefore necessary to configure the communication partners speed stop bits data bits parity end of frame with the SINIT function see the desc...

Page 108: ...he grey 07 SK 50 or 07 SK 52 programming cable The following communications parameters are permitted 9 600 baud 8 data bits 1 stop bit No parity 6 4 2 The command list of the integrated editor which is available in terminal mode The terminal mode is used with the active mode of the 40 and 50 series basic units The basic unit can be programmed and tested All the operating functions are available Co...

Page 109: ...nly towards the end Commands for testing the user program Command Function A Abort user program FEHLER Display contents of the error register FORC Enter force values max 7 word and 31 bits FORCA Display force value FORCR Delete forcing G Start user program KALT Perform cold start PS Display program status ST Display basic unit status WARM Perform warm start Y Overwrite value of a variable with a v...

Page 110: ...Communication 6 16 Advant Controller AC 31 Issued 01 99 3 ...

Page 111: ...e same time Communications error Whether the program is stopped depends on the user s configuration settings for the application in question Detected errors Disconnected unit Bus error NCB NCBR error Cycle time too short Addressing error Errors which occur on the units or syntax errors whose effects will only become apparent later The user decides which actions to initialize for the application in...

Page 112: ...re defined cycle time after 16 consecutive cycles Unit error the basic unit queries one slave per cycle An error is detected between 1 and 31 cycles depending on the bus structure Program syntax error The basic unit detects this type of error when passing from STOP to RUN via the switch or via the software or by online validation of a program modification LED status on the basic unit ERR LED on RU...

Page 113: ...very Power on Cold start Power on Software cold restart Software warm start or RESET Software acknowledgment Switch RUN STOP from STOP to RUN Program start via software Software warm start Software cold start Power on Software acknowledgement command MAIL Acknowledgement via programming CS31QU Test button on the 30 and 90 series remote units Automatic acknow ledgement if the error number 15 ...

Page 114: ...rror management is performed via programming the basic unit is able to react to an error immediately Suitable immediate measures can be programmed 7 4 1 Description of the diagnosis variables Each error is identified by the number of the class it belongs to an error code within that class and appropriate arguments Only one error per class may be stored and detailed by the basic unit within a prede...

Page 115: ...dgement via programming in the basic unit This acknowledgement only resets the errors on the basic unit not those signaled by a remote unit M 255 13 is set to 0 after error recovery M 255 14 is set to 0 after error recovery Acknowledgement via programming in the basic unit and in remote units With the CS31QU function block Information not available on certain AC31 devices The error bit M 255 10 is...

Page 116: ... defective extension Information 3 Channel number Number of the defective channel Information 4 Unit type 000 Digital inputs 001 Analog inputs 002 Digital outputs 003 Analog outputs 004 Digital inputs outputs 005 Analog inputs outputs 016 XO 08 R1 017 XI 16 E1 018 XC 08 L1 019 ICMK 14 F1 020 ICMK 14 N1 080 XM 06 B5 192 ASI GATEWAY 224 07 CR 41 225 07 KR 51 226 07 CT 41 227 07 KT 51 255 Master or s...

Page 117: ...3 error descriptions Error number in MW255 00 Dec Hex Detailed info 1 in MW 255 01 Detailed info 2 in MW 255 02 Detailed info 3 in MW 255 03 Remote unit disconnected 15D 0FH Unit type Address CS31 system bus error no remote units connected to the bus Note If there are only analog units connected to the CS31 system bus then this error could occur when powering up while the analog units are not init...

Page 118: ...it 12D 0CH unit type address channel number Short circuit overload cut wire 14D 0EH unit type address channel number The end of the program is not detected by the system on startup 129D 81H A program syntax error is detected on startup 131D 83H Program address On startup the system detects that the historical values memory is too small max 256 132D 84H The cycle time is missing and detected by the...

Page 119: ...e and the segment is given in the following table Variables Physical addresses Byte count E00 00 E00 07 E00 08 E00 15 E01 00 E01 07 E01 08 E01 15 E02 00 E02 07 E02 08 E02 15 E61 00 E61 07 E61 08 E61 15 E62 00 E62 07 E62 08 E62 15 E68 00 E68 15 H 1900 H 1901 H 1902 H 1903 H 1904 H 1905 H 197A H 197B H 197C H 197D H 1988 H 1989 M00 00 M00 07 M00 08 M00 15 M99 00 M99 15 M230 00 M230 15 M255 00 M255 1...

Page 120: ...00 EW68 15 H 5200 H 5202 H 521E H 59C0 H 5A9E S00 00 S00 07 S00 08 S00 15 S01 00 S01 15 S125 00 S125 15 H 3D00 H 3D01 H 3E00 H3E01 H 3D02 H 3D03 H 3E02 H 3E03 H 3DFA H 3DFB H 3EFA H3EFB MD00 00 MD00 00 MD00 01 MD00 15 M03 15 MD07 15 H 3E00 H 3F00 H 3E04 H 3F04 H 3E3C H 3F3C H 3FFC H 3FFC Important The values left in the columns of the table are valid as of firmware version 13 In case of difference...

Page 121: ... following table contains a list of functions with the number of historical values which they use Timer functions ASV 1 additional memory for the timers is restricted to 42 variables ESV 1 additional memory for the timers is restricted to 42 variables MOA 1 additional memory for the timers is restricted to 42 variables MOK 1 additional memory for the timers is restricted to 42 variables PDM 1 addi...

Page 122: ...Appendix A 4 Advant Controller AC 31 Issued 08 99 3 ...

Page 123: ......

Page 124: ... 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 chlorine free bleached paper ...

Reviews: