Professional Documents
Culture Documents
Series 40 and 50
Order No.
1SAC 1316 34 R0201
ABB Schalt-
und Steuerungstechnik
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 Electrical Components DIN VDE 0160 in
conjunction with DIN VDE 0660 Part 500 have to be taken
into due consideration.
Further attention has to be paid to DIN VDE 0113 Part 1
and Part 200 in case of the control of working and pro-
cessing machines. If operating elements are to be mounted
near parts with dangerous contact voltage DIN VDE 0106
Part 100 is additionally relevant.
If the protection against direct contact according to DIN
VDE 0160 is required, this has to be ensured by the user
(e.g. by incorporating the elements in a switch-gear cabi-
net). The devices are designed for pollution severity 2 in
accordance with DIN VDE 0110 Part 1. If higher pollution
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.
The Advant® Controller devices are designed according to
IEC 1131 Part 2. Meeting this regulation, they are classi-
fied in overvoltage category II which is in conformance with
DIN VDE 0110 Part 2.
For the direct connection of Advant® Controller devices,
which are powered with or coupled to AC line voltages of
overvoltage category III, appropriate protection measures
corresponding to overvoltage category II according to IEC-
Report 664/1980 and DIN VDE 0110 Part 1 are to install.
Equivalent standards:
2 not used
4 Installation................................................................................................................................................... 4-1
4.1 Implementation of an AC31 system ............................................................................................................. 4-1
4.1.1 Assembly conditions..................................................................................................................................... 4-1
4.1.2 Input / output cabling .................................................................................................................................... 4-1
4.1.3 Dimensions (in mm)...................................................................................................................................... 4-2
4.1.4 Earthing ........................................................................................................................................................ 4-4
4.1.5 The CS31 system bus .................................................................................................................................. 4-6
4.2 Basic unit and remote unit cabling ............................................................................................................... 4-7
4.3 Cabling digital central extensions............................................................................................................... 4-11
4.4 Cabling 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
Appendix ..................................................................................................................................................................A-1
A1 Correspondence between variables and physical addresses ......................................................................A-1
A2 Historical values............................................................................................................................................ A-3
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.
Many users throughout the world have implemented numerous applications such as:
Õ Machine control:
Manufacture of parquet flooring
Assembly of electrical contactors
Manufacture of ceramic products
Metal pipe welding, etc.
Õ Controlling-commanding installations:
Wharf cranes
Water treatment plants
Ski lifts
Wind power systems, etc.
Õ Systems management:
Energy management
Climatic management
Tunnel ventilation
Alarm systems in hospital environments
Greenhouse lighting and ventilation control, etc.
Each basic unit incorporates a specific number 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.
Figure 1: Basic unit with extension units on the local interface for input/output units
A m a x im u m o f 3 1 b u s c o n n e c tio n p o ints
A m a x im u m o f 5 00 m w ith o u t am p lifie rs
A m a x im u m o f 2 00 0 m w ith am p lifie rs
C S 31 bu s
Figure 2: Basic unit with extension units on the local interface for input/output units and on the CS31 system bus
The master basic unit can manage up to 31 connection points, so-called SLAVES, such as:
- 50 series remote units with central extension capabilities: a 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 CS31 communication (see Figure 2).
Comment:
A slave fitted solely with digital channels occupies 1 connection point.
A slave fitted with digital and analog channels occupies 2 connection points of the available
31.
The maximum number of remote analog units depends on the MASTER basic unit:
The system program comprises a set of universal functions 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 program saved in the Flash EPROM is copied to the RAM for processing by the mi-
croprocessor (Figure 3).
The structure of the system program memory, the user program, the inputs/outputs and inter-
nal variables are described in the appendix.
BASIC UNIT
PC At program
call-up
RAM Flash
CPU
ASIC
UART
Isolated
RS232/485
Program connection
transmission
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
RUN STOP
Write outputs
The messages always end with an end of frame control character: checksum CRC8.
The length of the exchanged frames depends on the 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 indicating a CRC8 error, it will not be signaled immedi-
ately and the frame will not be taken into account. After nine consecutive transmission errors,
a "bus error" is signaled by the basic unit. The bus error is also signaled to the remote units
after a 250 ms time-out.
Comment:
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“.
The basic unit initialization depends on the startup type: see chapter 5.3
The bus system is also initialized after startup if the basic unit is the master on the CS31 sys-
tem bus.
Caution:
Observe the following operational guidelines:
1.4 References
Products Description Order no.
Basic units
40 series Centrally extensible basic unit (without CS31 bus connection)
07 CR 41 24VDC Centrally extensible basic unit 1SBP260020R1001
with 8 isolated inputs and 6 relay outputs
RS232 interface for programming or ASCII or MODBUS commu-
nication
24 V d.c. power supply
07 CR 41 120/230VAC Centrally extensible basic unit 1SBP260021R1001
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
07 CT 41 24VDC Centrally extensible basic unit 1SBP260022R1001
with 8 isolated inputs and 6 transistor outputs
RS232 interface for programming or ASCII or MODBUS commu-
nication
24 V d.c. power supply
50 series Master and/or slave basic units, extensible centrally and de-
centrally (CS31 system bus)
07 KR 51 24VDC Decentrally extensible basic unit with CS31 system bus, 1SBP260010R1001
with 8 isolated inputs and 6 relay outputs
RS232 or RS485 interface
for programming or ASCII or MODBUS communication
24 V d.c. power supply
07 KR 51 120/230VAC Decentrally extensible basic unit with CS31 system bus, 1SBP260011R1001
with 8 isolated inputs and 6 relay outputs
RS232 or RS485 interface
for programming or ASCII or MODBUS communication
120/230 V a.c. power supply
07 KT 51 24VDC Decentrally extensible basic unit with CS31 system bus, 1SBP260012R1001
with 8 isolated inputs and 6 transistor outputs
RS232 or RS485 interface
for programming or ASCII or MODBUS communication
24 V d.c. power supply
NCB CS31 system bus amplifier for 500 m FPR 347 1200 R1002
max. 2.000 m with 3 amplifiers possible,
24 V d.c. power supply
NCBR CS31 bus amplifier for 500 m FPR 347 1300 R1002
max. 2.000 m with 3 amplifiers possible,
with redundancy for parallel, ring or star networks,
24 V d.c. power supply
Cables
07 SK 50 PC programming cable for 40 and 50 series basic units, 1SBN260200R1001
9-pin D-SUB connector to PC
07 SK 51 MODBUS/ASCII communication cable for 40 and 50 series basic 1SBN260201R1001
units - 9-pin D-SUB connector to PC
07 SK 52 PC programming cable for 40 and 50 series basic units, 1SBN260202R1001
with bare wires/terminal connection to PC
07 SK 53 PC programming cable for 40 and 50 series basic units, 1SBN260203R1001
with bare wires/terminal connection to PC
07 SK 54 TC 50 cable for 40 and 50 series basic units 1SBN260204R1001
07 SK 55 PC-TC 50 programming cable 1SBN260205R1001
9-pin D-SUB connector to PC
07 SK 57 TC 50 cable for 30 and 90 series basic units 1SBN260207R1001
All the following AC31 products are described in the "AC31 System Description" documenta-
tion:
90 and 30 series basic units, IP 67 protection, high-speed counter, displays and CS31 bus ac-
cessories.
This chapter describes the products and their general characteristics and operating conditions.
Ambient conditions
- Temperature:
operation: horizontal 0 °C to + 55 °C
vertical 0 °C to + 40 °C
storage - 40 °C to + 75 °C
transport - 25 °C to + 75 °C
- Humidity DIN 40040 class F without condensation
annual average ≤ 75%
up to 30 days per year 95%
occasionally 85%
- Atmospheric pressure:
operation ≥ 800 hPA (≤ 2000 m)
storage ≥ 600 hPA (≤ 3500 m)
Mechanical data
- Degree of protection index IP20
- Housing UL V2
- Vibration stress CEI68-2-6 Test Fc
- Shock stress CEI68-2-27 Test Ea
Tolerances for mains voltages
- 24 V d.c. 19.2 to 30 V (- 20%, + 25%)
- 120 V a.c. (50/60 Hz) 97.75 to 126.5 V (- 18.5%, + 5.5%)
- 230 V a.c. (50/60 Hz) 195.5 to 253 V (- 15%, + 10%)
1 – Potentiometer whose value is read into the EW62.00 variable by the program (value
range in the program 0 to 150)
2 – Screwdriver to adjust potentiometers
3 – Potentiometer whose value is read into the EW62.01 variable by the (value of
range in the program 0 to 150)
4 – Basic unit program ON/OFF switch
10
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.
Number of I/O
- Integrated digital inputs 8 8
- Integrated digital outputs 6 6
- Integrated potentiometers 2 2
- Maximum number of central 6 6
extension units per central unit
- Maximum number of remote units - 31
on the system CS31 bus
- 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 1 RS 232 1 RS 232/RS 485
®
MODBUS
or ASCII
Memory
- User program memory size: 16 K (typically 4 k instructions) 16 K (typically 4 k instructions)
- User program memory and Flash EPROM Flash EPROM
constants
- Data memory SRAM SRAM
- Data backup: no yes, with battery (accumulator pack)
backup autonomy - 20 days at ≤ 25 °C
charge time under power - 100 % in 12 h
Further information on battery:
see section 1.3.6
XI 16 E1 XO 08 R1 XC 08 L1 XK 08 F1 XO 16N1
Weight 220 g 220 g 220 g 220 g 220 g
Integrated digital inputs
- Number of inputs 16 - 8 configurable 4 -
- Isolateds inputs (test voltage) 1500 V a.c. - 1500 V a.c. 1500 V a.c. -
- Types of inputs PNP - PNP PNP -
- Input voltage:
nominal value 24 V d.c. - 24 V d.c. 24 V d.c. -
signal at 0 (IEC 1131-2) 0 to + 5 V 0 to + 5 V 0 to + 5 V
signal at 1 (IEC 1131-2) + 15 to + 30 V + 15 to + 30 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 300 m - 300 m 300 m -
shielded 500 m - 500 m 500 m -
Integrated outputs
- Number of outputs - 8 relays 8 transistors 4 relays 16 transistors
- Isolated outputs (test voltage) - 1500 Vrms 1500 V a.c. 1500 Vrms 1500 V a.c.
1 min 1 min 1 min 1 min
- Load current, under/channel:
24 V d.c. - 2A 0.5 A 2A 0.5 A
alternate 24 to 230 V a.c. - 2 A AC-1 - 2 A AC-1 -
0.5 A AC-15 0.5 A AC-15
- Total load current - 8x2A 8 x 0.5 A 4x2A 16 x 0.5 A
- Output leakage current - < 200 µA < 200 µA
- Leakage voltage - 0.5 V to 500 mA 0.5 V to 500 mA
max. max.
- Minimum load - 10 mA at 12 V 10 mA at 12 V
12 V d.c. 12 V d.c.
XM 06 B5 XE 08 B5 XTC 08
- Number of analog inputs 4 8 -
- Number of analog outputs 2 - -
- Number of displayed internal values - 8
- Display values - Range +/- 9999 +/- 9999 +/- 9999
- Filtering of 50/60 Hz yes yes
- Minimum acquisition time 80 ms 160 ms
- Transfer time of the analog I/O 120 ms/10 ms 200 ms
- Maximum power dissipation 3W 3W
- Weight 200 g 200 g 150 g
Analog inputs Voltage Current Pt 100 Pt 1000
- Nominal range: +/- 10 V 0…20 mA - 200 °C - 200 °C
4…20 mA + 450 °C + 450 °C
- Maximum values +/- 30 V +/- 25 mA
- Isolated inputs (test voltage) 500 V 500 V 500 V 500 V
- Resolution 12 bits + sign 12 bits
- Min resolution at input (± 1 LSB) +/- 2.5 mV +/- 5 µA +/- 0.1 °C +/- 0.1 °C
- Full scale precision ≤+/- 0.7 % ≤+/- 0.8 % ≤+/- 1.5 °C ≤+/- 1.5 °C
- Word value range read by the +/- 32767 0…32767 - 2000/+4500 - 2000/+4500 in preparation
basic unit
- Amplification error between two 70 dB 70 dB 70 dB 70 dB
channels
- Input impedance 100 kΩ 100 Ω 100 kΩ 100 kΩ
- Sensor tolerance:
Type A (IEC 751)
Type B (IEC 751)
- Linearization for yes yes yes yes
Pt 100/Pt 1000 probe
- Temperature coefficient 100 ppm 100 ppm 100 ppm 100 ppm
- Dissipation sensor:
0 °C 0.625 mW 0.0625 mW
450 °C 1.6 mW 0.16 mW
- Filtering time by input 10 ms 10 ms 10 ms 10 ms
- Diagnosis no no no no
- Cable length: 50 m 50 m 50 m 50 m
shielded yes yes yes yes
short-circuited unused channels yes yes yes yes
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
- 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: 50 m 50 m
shielded yes 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 5.4 – configuration)
3.75 mA
PT100/PT1000:
Val = T° x 10
12
Voltage input ± 10 V: 1 LSB = 10 V/2 = 2.44 mV with minimum value (step 8)
Voltage input in V
PLC value = × 32767
10 V
–32767 ≤ PLC value ≤ +32.767
12 bits
Sign
12
Current output 0-20 mA: 1 LSB = 20 mA/2 = 4.88 µA with minimum value (step 8)
PLC value × 20 mA
Current output in mA =
32767
XM 06 B5 The configuration current or voltage depends upon a DIP switch in the side of the extension.
One dip switch for one channel.
The configuration PT100 or PT1000 is set with switch 5 of the DIP switch:
it controls all channels.
XE 08 B5 The configuration current or voltage depends upon a DIP switch in the side of the extension.
One dip switch for one channel.
Display Configuration
10 V ±10 V
0–20 0–20 mA
4–20 4–20 mA
100 PT100 2 wires
1000 PT1000
1.0.0 PT100 3 wires
1.0.0.0 PT100 4 wires
In addition, you can test the display lamps by pressing the button one more time after
configuration of the last channel.
The device is configured as PT 100. When you apply the 24 V DC supply voltage while the
PT 100 inputs are not connected you´ll receive an error messages as follows.
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.
Central unit PC
MIN DIN 8 SUB D9
®
Comment: The programming cable is distinguished from the ASCII/MODBUS communication
cables by its grey colour.
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.
®
Comment: In contrast to the programming cables, the ASCII/MODBUS cable is BLACK.
Figure 14: Cage clamp type connectors Figure 15: Cage clamp type connectors
3.7.5 Labels
A set of 100 labels is available for labelling the I/O channels used.
The user writes on the labels and they are then stuck inside the cover flaps.
This chapter contains detailed information on the cabling of the individual products and the
main implementation and addressing rules.
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 any devices which generate heat directly next to these products (e.g.
transformers, mains supply, power contactors ...).
All electrical connections are made via removable terminal blocks with a maximum wire cross
2
section up to 2.5 mm .
The reference value for the torque is 0.8 Nm.
93
85
35 mm EN 50022
84
C0334D
C0332D
C0333D
2
120 104
85
35 mm EN 50022
93
C0309D
84.5
C0310D
C0311D
65
51 2
C0331D
C0330D
56
48
C0307D
C0308D
41 166 157
1 2 3 1 2 3
Vorort-
Remote Vorort-
Remote
unit unit
Modul Modul
C0011D1G
Earth for cabinet 2
Erde von Schaltschrank 2
1: Bus 2
2: Bus 1
3: Sh(ield)
Figure 5: Earthing principles for several cabinets: capacitive earthing
Noisy element
Störspannungsquelle
Schalt-
Cabinet Schalt-
Cabinet
schrank schrank M
1 2
Erdung
Earth
C0103D1G
Vorort-
Remote Vorort-
Remote Vorort-
Remote
Bus master
Busmaster Vorort-
Remote Vorort-
Remote Vorort-
Remote
unit Master unit unit
unit unit unit Modul Modul Modul
Modul Modul Modul
Vorort-
Remote Vorort-
Remote Vorort-
Remote Vorort-
Remote
C0005D1G
C0004D1G
unit Modul
unit unit
Modul
Modul Modul
unit
Figure 9: Correct bus topology Figure 10: Cabling with spur lines not permissible
Figure 11a: Correct symmetrically twisted pair Figure 11b: Incorrectly twisted pair
recommended.
The maximum length is 500 m.
The same cable type should be used for the whole system bus set-up.
Bus interruptions should be avoided, e.g. for cabinet cable connections for instance, otherwise
connection should be made to the same side of the terminal block (see Figures 7 and 8 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 ends. The
twisted pair should be symmetrical (see Figures 11a and 11b on page 4–5).
As the CS31 system bus is isolated, it is possible to connect elements with different voltage
power to the bus.
Using bus amplifiers, the max. bus length may be extended to 2000 m. You can find the
relevant information in the AC31 System Description (Ordering Number 1SAC 1316 99 R0201)
under the AC31 bus amplifiers NCB and NCBR.
• 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. The maximum current is 400 mA. This
internal power supply is protected against short circuits and overloads. In such cases it is
available again 10 seconds after elimination of the fault.
It is also possible to use an external 24 V d.c. power supply. In this case, do not forget to
connect the earth of the external 24 V d.c. power supply to terminal C.
• Inputs/outputs cabling
Use rigid or multi-conductor AWG 18 (0.96 mm²) to AWG 14 (1.95 mm²) wires for inputs, and
rigid 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 transistor outputs are protected internally against short circuits and overloads. However,
with an inductive load, where L/R is greater than 40 ms, it is necessary to add a free-wheeling
diode.
If an error occurs at one of the transistor outputs, it is reported by the basic unit.
The presence of an external thermal fuse, connected to the common power supply of the
outputs, protects the devices connected at the outputs and also prevents unit damage in the
event of overload at several outputs.
• 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.
Warning: 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 to the XM 06 B5 extension may be 2 wire, 3 wire, or
4 wire sensors (see figures 23, 24, and 25 on pages 4–16 and 4–17).
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.
They are recognized in the following manner by the program: Exx, 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 programming software 907 PC 331 (as of 50 series ).
A maximum of 6 digital or analog extensions may be connected to a basic unit in any order.
40 series
Maximum of 6 extensions
50 series
40 or 50 series E E E
Addresses 63 64 65
- The first digital outputs extension is assigned the address 63, and the subsequent
extensions are incremented by 1, up to 68.
40 or 50 E A E E A A
series
Addresses 63 63 64 65 64 65
40 or 50 E E E/A E A A
series
Addresses 63 64 65 66 66 67
In order to optimize the addressing, the mixed or configurable inputs/outputs extensions are
placed at the extremities.
40 or 50
E/A E A E A A
series
Addresses 63 64 64 65 65 66
- The first digital outputs extension is assigned the address 63, and the subsequent
extensions are incremented by 1, up to 68.
40 or 50 series EW / A EW / E A E
AW AW
Addresses 63 63 64 63 64 64
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 requests to the
slaves which are indicated by an address between 0 and 61.
The master basic unit can manage up to 31 remote units (CS31 system bus addresses).
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.
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 by a remote unit with address 3, followed by a
remote unit with the address 12 and so on.
Õ Addressing centrally extensible remote units with CS31 system bus connection
The slave number of the extensible remote units is given by the rotary switch located beneath
the first cover on the front. The settings on each switch may be from 0 to 9. Switch 1 indicates
tens and switch 3 is for units (see Figure 26). Values greater than 61 are not allowed. 0 ≤ X ≤
61.
Restrictions for analog extensions:
- A maximum of 2 XM 06 B5 extension units + 4 digital extension units may be used.
- 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 50
bus series EW / A EW / E A E
interface master AW AW
62 63 63 64 63 64 64 Addresses
Remote
E E E
unit
- 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 50
series EW / A EW / E A E
bus
master AW AW
interface
62 63 63 64 63 64 64 Addresses
Remote
E A E E A A
unit
CS 31 50
bus series EW / A EW / E A E
interface master AW AW
62 63 63 63 64 64 64 Addresses
Remote
E E E/A E A A
unit
50
CS 31 series EW / A EW / E A E
bus master AW AW
interface 62 63 63 64 63 64 64 Addresses
Remote
E A EW/ E/A A EW/
unit
AW AW
Addresses X X+1 X+1 X.00 X+2 X+3 X.04
to to
X.03 X.07
50
series EW / A EW / E A E
master AW AW
62 63 63 64 63 64 64 Addresses
CS 31
bus
interface
Remote
E E E/A E A A
unit
50
series E E A EW/ E/A A
slave AW
Y 63 64 63 63 65 66 Addresses managed
by slave central unit
50
series EW / A EW / E A E
master AW AW
62 63 63 64 63 64 64 Addresses
Remote
E E E/A E A A
unit
0 1 2 3 4 4 5 Addresses
Remote
E E E/A EW / A A
CS 31 unit
AW
bus
interface 6 7 8 9 6 10 11 Addresses
Advant Controller 31
90 series
This example uses one master basic unit and 5 remote units.
Remote
unit
Addresses X N
Organization of projects:
A project may be:
Õ Non-modular: the project comprises one single and unique main program
Õ Modular: the project comprises several programs
The programs of a modular project may be written in different languages.
Password:
With the help of a password, read and write program access can be locked for the 40 and 50
series basic units.
Detailed descriptions of all the functions can be found in the documentation of the 907 PC 331
programming software.
Basic unit STOP/RUN button - Copy the Flash EPROM contents to RAM
If there is no program in the Flash EPROM,
the RAM remains unchanged.
- Clear the data in the RAM depending on the
configuration
Software ”Cold restart” - Clear the program and the data in the RAM
- Copy the Flash EPROM contents to RAM
Value n of the system constant 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 M 255,15 cannot be saved and is reset to 0 each time the program is started. It is
therefore suitable for recognizing the first program cycle.
Example: KW 00,01 = 20
Initialized bits: M 020,00...M 099,15
M 230,00...M 255,15
Backed up bits: M 000,00...M 019,15
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 MW n,00...MW 099,15
MW 230,00...MW 255,15
n = 100...229 MW 230,00...MW 255,15
n = 230...255 MW n,00...MW 255,15
n < 0, n > 255 No initialization
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
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...S 125,15
n < 0, n > 125 No initialization
Value n of the system constant KW 00,05 Historical values which are initialized (set
to 0)
n = 0 (Default) Initialization of all historical values
n < 0,n > 0 No Initialization
8 data bits
1 stop bit
KW 00.06 =
Modes
0...355
RTS time delay
0 or 1000 or 2000
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
- Configuration of analog input/outputs as power or voltage
- Configuration of the filtering time of a digital input.
A detailed description of the function block can be found in the online help and documentation
of the programming software.
5.4.3 Configuration with the MAIL command
In this case, use is made of the fact that the AC31 40 and 50 series basic units use a dialog
language at the programming interface which allows the execution and querying of the I/O
configuration with simple protocols.
The special function 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.
1)
If a different call exists for IL than for FBD/LD and extended IL, it is additionally specified and separated by / .
2)
This function is generated in the IL by a sequence of commands and/or blocks.
The configuration of the basic unit as a master or slave is done via the system constant
KW 00,00.
The following CS31 addresses are permitted:
A slave basic unit is regarded as a digital or analog input/output unit by the 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 an analog configuration is 8 word inputs and 8 word outputs.
These settings are made in the system constants KW 00,10 and KW 00,11.
• Size of the transmitting area of the slave basic unit
Õ 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 binary area or word area at the CS 31
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:
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 the next warm start or
Õ on the next cold start
Figure 2: Master – slave operation: data exchange on the CS31 system bus
MODBUS Programming
mode mode:
ACTIVE MODE
ASCII mode:
PASSIVE MODE
40 or 50
series
MODBUS protocol
RS232 line
MODBUS protocol
RS485 line
40 or 50 40 or 50 40 or 50
series series series
40 or 50 40 or 50 40 or 50
series series series
MODBUS protocol
RS485 line
®
MODBUS is a question/answer protocol that is still occasionally referred to as master/slave:
the master sends a request to the slave and waits for the slave’s reply.
®
The master devices on a MODBUS network are generally basic units, displays or monitoring
®
systems. The slaves on the MODBUS network are generally PLCs, frequency converter, etc.
®
Description of the MODBUS protocol:
The slave’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.
®
Only the following MODBUS operation codes may be processed by the 40 and 50 series
basic units:
®
- Mode: MODBUS slave 1 unit
- Baud rate: 9,600 baud
- Number of stop bits: 1
- Number of data bits: 8
- Parity: None
The mode is changed via the system constant KW 00,06 (see chapter 5).
Changes to the speed, number of stop bits, data bits or parity is programmed in the PLC
program with the SINIT function (see appropriate documentation). The SINIT does not need to
be used if your application uses the standard parameters.
®
The MODBUS mode remains available even if the basic unit program was stopped (the front
switch is set to OFF) when the black 07 SK 51 or 07 SK 53 cable is connected and the serial
®
interface is configured for MODBUS communication. The programming mode for tests and
modifications becomes available when the grey 07 SK 50 or 07 SK 52 cable is used.
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 master basic unit and returns a message as soon as it
recognizes the address.
The SINIT function is only required in the program when communication parameters are
changed.
®
MODBUS master unit
®
The MODBUS function enables data read/write requests to sent to the MODBUS slaves .
The SINIT function must be used in the program if the communication parameters are
changed.
All the variables of the 40 and 50 series basic units, as described in the following table, can be
®
read or written by the master MODBUS .
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.
®
- Example of a program in the MODBUS master basic unit:
®
Read the 6 bits E62,00 to E62,05 in the MODBUS slave 1 basic unit .
®
The information is written to A62,00 to A62,05 of the AC31 MODBUS master basic unit.
®
The MODBUS address of variable E62,00 in slave 1 is 992 as a decimal value.
MODBUS
FREI
M0,0
KW1,0 = 1 SLAV
KW1,1 = 2 FCT
KW1,2 = 2 TIME
®
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 communication
®
The MODBUS processing time depends on the following factors:
- Baud rate
- Number of frame bytes
- Basic unit cycle time
- Basic unit load factor
The following times are only given as guidelines.
40 or 50
series
ASCII communication
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).
6.3.2 Configuration of the communication
In addition to the mandatory SINIT function for parameter configuration, there are also two
other functions for ASCII communication.
Sending messages
An ASCII message is sent from one 40 or 50 series basic unit to another device by means of
the DRUCK function in the user program.
Receiving messages
An ASCII message is received on a 40 or 50 series basic unit with the EMAS function.
A detailed description of the SINIT, DRUCK and EMAS functions can be found in the functions
documentation.
Programming mode
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. You simply use the 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.
Communication is in ASCII protocol.
The terminal mode can be used with a terminal or the AC31 907 PC 331 programming and
test software.
A detailed description of the terminal mode can be found in the programming software
documentation.
The list of the various commands can be displayed with the command H<CR>. See the next
table.
The aim of diagnosis for the 40 and 50 series basic units is to ensure a rapid and efficient
localization of potential errors.
As soon as the error has been detected and corrected by the user it can be acknowledged:
Õ By restarting the basic unit
Õ Via the software
Õ Or via the program.
Only one error for each class is stored. If more than one error of the same class occurs at the
same time:
Õ Only the first error is stored.
Õ The first error should be acknowledged to allow the following errors to be read, this
procedure should be followed right up to the last error.
Õ Before the first error is acknowledged, the subsequent errors are not displayed.
Table showing a summary of all errors:
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 predefined group of internal variables.
The user program can access the values of these variables and use them for error
management.
Comment: You can access PLC error information using ”PLC status information” in the menu
item ”SPS-Commun. 3”.
The error bit M 255,10 is 1, if any of the error bits M 255,11 to M 255,14 have the value of 1. The basic unit has not detected an
error if M 255,10 = 0.
The error bit M 255,10 is automatically reset to, when the error type bits are acknowledged.
A class 4 error 4 (M 255,14=1) 15 automatically acknowledges, when MW 255,08 ≤. Class 3 or 4 type errors may be
acknowledged by setting M 255,13 or M 255,14 to 0.
The information word values are updated with each new error. These words are not automatically reset to 0. Reset is possible
by writing the value 0 in these words, either online or via a program.
Class 2 error descriptions Error number in Detailed info 1 in Detailed info 2 in Detailed info 3 in
MW 254,08 MW 254,09 MW 254,10 MW 254,11
Dec Hex
Defective RAM (user program or 128D 80H Memory address - -
data memory)
Too many simultaneous timers 255D FFH - - -
active on the basic unit during
program execution (maximum 42)
Class 3 error descriptions Error number in Detailed info 1 in Detailed info 2 in Detailed info 3 in
MW255,00 MW 255,01 MW 255,02 MW 255,03
Dec Hex
Remote unit disconnected 15D 0FH Unit type Address -
CS31 system bus error (no remote 16D 10H - - -
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 initialized.
Reason: Analog units have a fairly
long initialization period. They are
therefore not recognized by the
basic unit during this initialization
phase.
NCB or NCBR error 17D 11H - - -
Note: Error on one of the CS31
lines. Check the red status LED of
NCB or NCBR to locate the
defective line.
Superposed address 18D 12H
Cycle time too short 200D C8H - - -
MW99,00 H 2860
MW99,15 H 287E
MW230,00 H 2880
MW230,15 H 289E
MW255,15 H 2BBE
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
EW00,15 H 521E
EW62,00 H 59C0
EW68,15 H 5A9E
S00,00...S00,07/S00,08...S00,15 H 3D00/H 3D01 H 3E00 / H3E01
S01,00...S01,15 H 3D02/H 3D03 H 3E02 / H 3E03
Important:
The values left in the columns of the table are valid as of
firmware version 13.
In case of differences to earlier versions the corresponding
variables together with their relations are shown right in the
columns each (printed in bold).
Example device index: J16 J = Hardware version
16 = Firmware version
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. the PI and PIDT1 controllers).
The total number of available historical values in the 40 and 50 series is 256.
The following table contains a list of functions with the number of historical values which they
use:
Timer functions
Counter functions
VRZ 3
CS31CO 1
Communication functions
®
MODBUS 2
EMAS 1
DRUCK 2
SINIT 1
Controller functions
PI 3
PID 5