You are on page 1of 124

Operating Manual Advant Controller 31

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:

DIN VDE 0110 Part 1 Û IEC 664


DIN VDE 0113 Part 1 Û EN 60204 Part 1
DIN VDE 0660 Part 500 Û EN 60439-1 Û IEC 439-1

All rights reserved to change design, size, weigth, etc.


* VDE stands for “Association of German Electrical
Engineers”.

ABB Schalt- und Steuerungstechnik GmbH Heidelberg


Contents

1 Introduction…………… .............................................................................................................................. 1-1


1.1 General information on the AC31 system .................................................................................................... 1-1
1.2 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
1.3 Operation of the 40 and 50 series basic units.............................................................................................. 1-4
1.3.1 Functional diagram....................................................................................................................................... 1-4
1.3.2 Program execution ....................................................................................................................................... 1-5
1.3.3 Bus transmission .......................................................................................................................................... 1-6
1.3.4 Refresh times / response times.................................................................................................................... 1-7
1.3.5 Power on / program start.............................................................................................................................. 1-7
1.3.6 Power cuts or drops (battery) ....................................................................................................................... 1-7
1.4 References ................................................................................................................................................... 1-8

2 not used

3 Technical specifications............................................................................................................................ 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 extensions specifications..................................................................................................... 3-16
3.6 Analog central extension......................................................................................................................... 3-18
3.6.1 View............................................................................................................................................................ 3-18
3.6.2 Technical specifications of the analog central extension ........................................................................... 3-19
3.6.3 Analog inputs diagrams.............................................................................................................................. 3-20
3.6.4 Analog outputs diagrams ........................................................................................................................... 3-22
3.6.5 Hardware configuration, switches on left side of analog extension ........................................................... 3-23
3.6.6 Configuration via push button on front panel of analog extension ............................................................. 3-24

Advant Controller AC 31 / Issued: 08.99 Contents – 1


3
3.7 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 ................................................................................................................................................. 3-29
3.7.5. Labels ......................................................................................................................................................... 3-30

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

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 units ....................................................................................................................... 5-6
5.4 Configuration................................................................................................................................................. 5-7
5.4.1 System constants ......................................................................................................................................... 5-7
5.4.2 Configuration with the CS31CO function block .......................................................................................... 5-19
5.4.3 Configuration with the MAIL command ...................................................................................................... 5-19
5.5 Software functions....................................................................................................................................... 5-19

6 Communication .......................................................................................................................................... 6-1


6.1 Communication between basic units on the CS31 system bus.................................................................... 6-1
6.1.1 Addressing in the CS31 system bus ............................................................................................................ 6-1
6.1.2 Defining the communication data ................................................................................................................. 6-1
6.1.3 Programming ................................................................................................................................................ 6-3

3 Contents – 2 Advant Controller AC 31 / Issued: 08.99


®
6.2 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
6.3 Point to point communication with the integrated ASCII interface.............................................................. 6-13
6.3.1 Protocol description.................................................................................................................................... 6-13
6.3.2 Configuration of the communication........................................................................................................... 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.1 Description of the diagnosis variables.......................................................................................................... 7-4
7.4.2 Meaning of the contents of the error word flags........................................................................................... 7-6

Appendix ..................................................................................................................................................................A-1
A1 Correspondence between variables and physical addresses ......................................................................A-1
A2 Historical values............................................................................................................................................ A-3

Advant Controller AC 31 / Issued: 08.99 Contents – 3


3
3 Contents – 4 Advant Controller AC 31 / Issued: 08.99
1 Introduction

This chapter provides an introduction to automation with Advant Controller 31 (AC31), from the
overall architecture to the operational rules of the 40 and 50 series basic units.

1.1 General information on the AC31 system


The AC31 system comprises the 40, 50 and 90 series. This operating guide describes the 40
and 50 series. The AC31 system description (order number 1SAC 1316 99 R0201) contains
the documentation for the 90 series.
Due to high modularity, AC31 offers both beginners and experienced users access to automa-
tion applications with 14 to 1000 inputs and outputs.
From a compact machine with only a few automated functions to large installations spread
over hundreds of metres or even kilometres, AC31 can be adapted to meet your requirements.
It is therefore possible to implement distributed 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 available to extend the
AC31’s possibilities and to ensure integration with other automation systems: MODBUS,
ASCII, ARCNET, RCOM, AF100. Developments in this field are ongoing.

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.

Advant Controller AC 31 / Issued: 01.99 1–1 Introduction


3
1.2 General setup rules
An AC31 system always includes an AC31 basic unit. There are three types of basic units:
- The 40 series basic units with a local inputs/outputs extensions interface.
- The 50 series basic units with a local inputs/outputs extensions interface and a CS31 bus in-
terface for remote extensions.
- The 90 series basic units, with a CS31 bus interface for remote extensions.

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.

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 extension units of either type, digital or analog (see Figure 1).
Connection is done via integrated flat cables.

A maximum of 6 digital or analog central extensions

07KR51 XI16E1 XO08R1 XC08L1 XM06B5


or
07CT41

Figure 1: Basic unit with extension units on the local interface for input/output units

3 Introduction 1–2 Advant Controller AC 31 / Issued: 01.99


1.2.2 Basic units with remote extensions option
With the 50 and 90 series, it is possible to increase the number of inputs/outputs of the basic
basic unit by adding remote units. The basic unit controlling the system is called the MASTER
basic unit. The maximum bus length is 500 m without an amplifier and 2000 m with 3 amplifi-
ers (1 NCB or NCBR unit enables bus amplification for 500 m).

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

07KR51 X I1 6 E 1 XO08R1 IC M K 1 4 F 1 X C 08 L 1 XM 06B5 AC S 6 0 0 F es to


F re q u e n c y a ir p ressu re
c o n ve rte r a ctu ato rs
N C S A-0 1
in te rfa c e
A m a x im u m o f 6 e x te n s io n 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:

- 50 series: - a maximum of 31 remote analog input units


or - a maximum of 31 remote analog output units
or - a maximum of 15 slaves (ICMK14F1) with analog input/output extensions
+ 1 remote analog input/output unit (15 x 2 + 1 = 31)
or - a mixed digital/analog configuration within the previous limits
- 90 series: - a maximum of 12 remote analog input units
or - a maximum of 12 remote analog output units
or - a maximum of 12 slaves with analog extensions
or - a mixed digital/analog configuration within the permissible limits

Advant Controller AC 31 / Issued: 01.99 1–3 Introduction


3
1.3 Operation of the 40 and 50 series basic units

1.3.1 Functional diagram


The memory of the 40 and 50 series is composed of two distinct areas:
- A RAM memory where the user program and data is loaded
- A Flash EPROM memory which contains:
- 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.
A built-in battery (only in 50 series) also enables the backup of internal variables.

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

Figure 3: Functional diagram of a basic unit

3 Introduction 1–4 Advant Controller AC 31 / Issued: 01.99


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.
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

Program processing Forcing the outputs


to 0

Write outputs

Communication along the


CS31 system bus

Figure 4: The program execution cycle

Advant Controller AC 31 / Issued: 01.99 1–5 Introduction


3
1.3.3 Bus transmission
The master basic unit manages the transmission of messages to the various slaves via the
RS485 connection.
The messages are transmitted in the following format:
- Request from the master basic unit:

address data CRC8

- Request from the remote units:

start data CRC8

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.

3 Introduction 1–6 Advant Controller AC 31 / Issued: 01.99


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.

Basic unit response times


The basic unit response time corresponds to the time taken to activate an output after the acti-
vation of an input.
The maximum response time is obtained by adding the delay time for the output, the bus re-
fresh time and twice the cycle time.
The delay time for the input on the 40 and 50 series is 5 ms.
The response time for a transistor output is considered as 0 ms, the response time for a relay
output is 6 ms.
The cycle time defines the time intervals after which the processor starts the execution of the
user program again.
The cycle time has to be specified by the user. It must be greater than the program processing
time of the user program, the data transmission times and the related waiting times.
The cycle time is also the time base for some time-driven functions such as the PI regulator.

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“.

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 verify the following:
- the program syntax,
- the data transmission,
- the status of the extensions,
- the status of the remote units, if the basic unit is configured as master.
- the startup conditions (internal memories are reset or not – depending on the configuration
by the user).

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.

1.3.6 Power cuts or drops (battery)


The 50 series basic unit features built-in battery backup in order to save the necessary infor-
mation for the next startup in the event of a power drop or cut.
The backup battery is a standard Vanadium-Lithium cell which the user can change himself.
Battery backup is effective up to 20 days at 25 °C. During this period data (e. g. flags) can be
saved although power to the device is down.
The cell is fully charged after 12 hours of continuous device operation. Its lifetme may vary
from 6 to 15 years, depending on how often and for how long power supply to the device is off.

Caution:
Observe the following operational guidelines:

Advant Controller AC 31 / Issued: 01.99 1–7 Introduction


3
• Never short-circuit the battery! There is danger of overheating and explosion. Avoid acci-
dental short-circuits, therefore do not store batteries in metallic containers or boxes and do
not bring them into contact with metallic surfaces.
• Replace the battery only whith the supply voltage on! Otherwise you risk data being
lost.
• Dispose of battery environmentally consciously!
Prior configuration of the basic unit is required to save all or part of the data (see chapter 5). If
the configuration is absent, all functions and internal data will be reset to 0 after a power drop
or cut.
A power cut or drop occurring on a 40 series basic unit will result in all the functions and inter-
nal data being reset to 0.

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

3 Introduction 1–8 Advant Controller AC 31 / Issued: 01.99


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
with 8 inputs and 6 relay outputs,
120/230 V AC power supply
ICMK 14 N1 24VDC Extensible remote unit 1SBP260052R1001
with 8 inputs and 6 transistor outputs,
24 V d.c. power supply
Central extensions without CS31 For 40 and 50 series basic units and centrally extensible
bus connection remote units with CS31 bus connection
XI 16 E1 Digital extension 1SBP260100R1001
with 16 isolated inputs,
powered by the basic unit or remote unit
XO 08 R1 Digital extension 1SBP260101R1001
with 8 relay outputs,
powered by the basic unit or remote unit
XC 08 L1 Digital extension 1SBP260102R1001
with 8 channels, configurable as inputs or transistor outputs,
24 V d.c./0.5 A,
powered by the basic unit or remote unit
XK 08 F1 Digital extension 1SBP260102R1001
with 4 inputs and 4 relay outputs,
powered by the basic unit or remote unit
XM 06 B5 Analog extension 1SBP260103R1001
with 4 inputs configurable for current/voltage/Pt 100/Pt 1000)
and 2 outputs configurable for current/voltage resolution 12
bits,
powered by the basic unit or remote unit
30 series digital remote units with For 50 and 90 series basic units
CS31 bus connection
ICSI 08 E4 230VAC Digital remote unit FPR 331 6401 R0016
with 8 isolated inputs 230 V a.c.,
230 V a.c. power supply
ICSO 08 Y1 24VDC Digital remote unit FPR 331 1101 R1022
with 8 transistor outputs 24 V d.c./2 A,
24 V d.c. power supply
30 series plug-in base For 30 series remote units (with CS31 bus connection)
ECZ Plug-in base for mounting series 30 remote units FPR 370 0001 R0001

Advant Controller AC 31 / Issued: 01.99 1–9 Introduction


3
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
with 16 inputs, 8 transistor outputs 24 V d.c./0.5 A
and 8 channels configurable for input/output
24 V d.c. power supply
07 DC 92 24 V DC Digital remote unit GJR 525 2200 R0101
with 32 channels configurable for input/output,
transistor outputs 24 V d.c./0.5 A,
24 V d.c. power supply
07 AI 91 24 V DC Analog remote unit GJR 525 1600 R0202
with 8 inputs configurable for current/voltage/ Pt 100/Pt 1000 or
thermocouple types J, K, S)
resolution 12 bits
24 V d.c. power supply
07 AC 91 24 V DC Analog remote unit GJR 525 2300 R0101
16 channels configurable for input/output,:
1. 16 channels configurable in pairs for input/output, 8 bits,
current, voltage
2. 8 inputs and 8 outputs, 12 bits, current, voltage
Remote units with IP 67 For 50 and 90 series basic units, not centrally extensible
protection (with CS31 con-
nection)
07 DI 93-I 24VDC Digital remote unit with IP 67 protection GJV 307 5613 R0202
with 16 inputs,
24 V d.c. power supply
07 DO 93-I 24VDC Digital remote unit with IP 67 protection GJV 307 5611 R0202
with 8 outputs, 24 V d.c., 2 A transistor,
24 V d.c. power supply
07 DK 93-I 24VDC Digital remote unit with IP 67 protection GJV 307 5623 R0202
with 8 inputs and 4 outputs, 24 V d.c., 2 A transistor,
24 V d.c. power supply
Remote counter units For 50 and 90 series basic units, not centrally extensible
(with CS31 bus connection)
High-speed remote counter unit, max. 50 kHz
4 inputs A/A, B/B, C/C – 5, 15 or 24 V d.c.
Modes : incremental, A-B (32 bits), A+B (32 bits), 3 (16 bits) stand-
alone counters or 3 (16 bits) frequency meters
100 ms to 6536.5 s
enable, reset, setpoint, reference point
7 transistor outputs (24 V d.c./0.5 A) for local comparison manage-
ment between 2 instructions and the counter content.
ICSF 08 D1 24VDC 24 V d.c. power supply FPR 332 3101 R1012
ICSF 08 D1 230VAC 230 V a.c. power supply FPR 332 3101 R0016
ECZ Plug-in base for mounting remote counter units FPR 370 0001 R0001

3 Introduction 1 – 10 Advant Controller AC 31 / Issued: 01.99


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
MODBUS protocol or AC31 programming mode
24 V d.c. power supply
Delivered with connector cable for 40 and 50 series basic units
TCWIN Programming software for TC 50 under Windows NT and 95. Deliv- 1SBS260280R1001
ered with connector cable for TC50-PC programming
TCWIN31 Programming software for TC 50 under Windows 3.11. Delivered 1SBS260281R1001
with connector cable for TC50-PC programming
XTC 08 4-digit BCD display with input/output device housing 1SBP260107R1001
powered by the basic unit or remote unit
Accessories for the CS31 For series 50 and 90 basic units
bus

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

Advant Controller AC 31 / Issued: 01.99 1 – 11 Introduction


3
Products Description Order no.
Connectors For 40 and 50 series basic units
07 ST 50 Three-wire dual connectors for easy connection to 40 and 50 series 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
2 units
07 ST 52 Cage-clamp type dual connectors for digital channels 1SBN260302R1001
2 units
07 ST 54 A set of cage-clamp type connectors for basic or remote units 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 1SBN260313R1001
or XC 08 L1 extension
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 labelling the input/output channels (100 units) 1SBN260310R1001
Documentation Technical documentation for the 40 and 50 series basic units

German 1SAC 1316 99R0101


English 1SAC 1316 99R0201

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.

3 Introduction 1 – 12 Advant Controller AC 31 / Issued: 01.99


3 Technical specifications

This chapter describes the products and their general characteristics and operating conditions.

3.1 General operating conditions


The AC31 units were developed in accordance with the European EC directives, the main
national and international IEC 1131-1- and IEC 1131-2 standards and the EN61131-2 product
standard concerning automation devices.

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%)

Advant Controller AC 31 / Issued: 01.99 3–1 Technical specifications


3
Creepage distances and clearances IEC 664 and DIN VDE 0160
Insulation test IEC 1131-2
Electromagnetic compatibility
Immunity tests against:
- electrostatic discharge IEC 1000-4-2 (level 3)
- radiated fields IEC 1000-4-3 (level 3)
- fast transient bursts IEC 1000-4-4 (level 3)
- high energy pulse
IEC 1000-4-5
- conducted high frequencies
IEC 1000-4-6 (level 3)
Voltage drops and brief power cut-offs
- d.c. power supply Duration of the power cut-offs: ≤ 10 ms
Time between 2 voltage drops: ≥ 1 s
- a.c. power supply Duration of the power cut-offs: ≤ 20 ms
Time between 2 voltage drops: ≥ 1 s

Dielectric tests IEC 1131-2


Mountings
- DIN rail 35 mm
- Screw fittings 4 mm diameter screws (M4)
Connections
- Connectors Removable terminal blocks (2.5 mm²)
- Cross-section for:
earth Rigid or multi-conductor wire AWG 14
(1.95 mm²)
inputs Rigid or multi-conductor wire AWG 18
(0.96 mm²) to AWG 14 (1.95 mm²)

outputs Rigid or multi-conductor wire AWG 14


(1.95 mm²)
Rigid or multi-conductor wire AWG 14
power supply
(1.95 mm²)
Twisted pair AWG 24 (0.22 mm²) to AWG
bus 18 (0.8 mm²)

- Screw-tightening torque 0.8 Nm (given as an indication only)


Serial interface
- for programming RS-232/RS-485
- for the bus RS-485

3 Technical specifications 3–2 Advant Controller AC 31 / Issued: 01.99


3.2 Technical specifications of the CS31 system bus

Type RS 485 multipoint serial interface


Mode Half-duplex
Number of connection points 1 master
max. 31 slaves
General data Twisted pair
- Cross-section 0.22...0.8 mm²
- Twists > 10 per metre
- Resistance ≤ 100 Ω/km
- Impedance specification 100 to 150 Ω
- Capacity < 150 nF/km
- Shielding Braiding
- Line termination 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
Refresh time 2 ms minimum
typically 12 ms with 31 AC31 connection
points
Baud rate 187.5 kBauds

Advant Controller AC 31 / Issued: 01.99 3–3 Technical specifications


3
3.3 Basic units

3.3.1 View of a basic unit (see Figure 1 on the next page)

1 – Location for DIN rail


2 – Plate fixture with unit earthing, alternative to 1
3 – Release lever for DIN rail mounting
4 – Location for external dual connector
5 – Cable connectors (plug-in), under cover flap
- for CS31 system bus (only available for the 50 series)
- 24 V d.c. power output to supply inputs
(only available for the basic units powered at 120/230 V a.c.)
- inputs
6 – Status LEDs for 8 inputs/6 outputs of the basic unit
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) present

Magnification of item 9 (see Figure 2 on the next page)

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

3 Technical specifications 3–4 Advant Controller AC 31 / Issued: 01.99


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.

Advant Controller AC 31 / Issued: 01.99 3–5 Technical specifications


3
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. 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

* including /excluding the incorporated I/Os

3 Technical specifications 3–6 Advant Controller AC 31 / Issued: 01.99


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:
100 % digital instructions 0.4 ms 0.4 ms
65 % digital, 35 % words 1.2 ms 1.2 ms
- Minimum settable cycle time 1 ms 1 ms
- Internal bits 2016 2016
- Internal words 2016 2016
- Internal double words 64 64
- Chain steps 126 x 16 126 x 16
- Word constants 240 240
- Double word constants 31 31
- Timers: 42 simultaneously 42 simultaneously
time range from 1 ms to 596 h 30 (24 days + 20 h 30) from 1 ms to 596 h 30 (24 days + 20 h 30)
- Counters: unlimited unlimited
counter range - 32767 to + 32767 - 32767 to + 32767
- High-speed counter function:
incremental encoder 1 with max. frequency 5 kHz 1 with max. frequency 5 kHz
on inputs E62,00 and E62,01 on inputs E62,00 and E62,01
stand-alone counter 2 to 7 kHz on inputs E62,00 and E62,01 2 to 7 kHz on inputs E62,00 and E62,01
- Clock: drift (typical) - 4.3 min/month at 25° C
Programming
- Programming software 907PC33/331 907PC33/331
- Programming language FBD: Function block language FBD: Function block language
LD: ladder diagram LD: ladder diagram
IL: instruction list IL: instruction list
- Program execution cyclic cyclic
- Operation set:
basic functions Boolean, arithmetic, comparison Boolean, arithmetic, comparison
advanced functions over 60 over 60

Advant Controller AC 31 / Issued: 01.99 3–7 Technical specifications


3
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 400 g 800 g
Power supply
- Power supply voltage:
nominal value 24 V d.c. 120/230 V a.c. 24 V d.c. 120/230 V a.c.
97.75 to
admissible range 19.2 to 30 V 126.5 or 19.2 to 30 V 97.75 to
195.5 to 253 V 126.5 V or
195.5 to 253 V
- Current consumption:
basic unit alone typical 120 mA 30 mA 120 mA 30 mA
maximum configuration typical 400 mA 100 mA 400 mA 100 mA
- Polarity reversal protection yes no yes no
- Integrated power supply 24 V d.c.
for the inputs: no yes no yes
voltage range - 19.2 to 30 V - 19.2 to 30 V
max. output current - 400 mA - 400 mA
short circuit protection - yes - yes
- Dissipation 5W 6W 10 W 5W 6W 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 PNP and PNP and PNP and PNP and PNP and
NPN NPN NPN NPN NPN NPN
- Input voltage:
nominal value 24 V d.c. 24 V d.c. 24 V d.c. 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 0 to + 5 V 0 to + 5 V 0 to + 5 V
signal at 1 (IEC 1131-2) + 15 to + 30 V + 15 to + 15 to + 15 to + 30 V + 15 to + + 15 to + 30 V
+ 30 V + 30 V 30 V
- Input current at 24 V d.c.:
inputs E62,02 to E62,07 7 mA 7 mA 7 mA 7 mA 7 mA 7 mA
inputs E62,00 and E62,01 9 mA 9 mA 9 mA 9 mA 9 mA 9 mA
- Signal delay time:
standard input 5 ms 5 ms 5 ms 5 ms 5 ms 5 ms
input with counter configuration 70 µs 70 µs 70 µs 70 µs 70 µs 70 µs
- Cable length:
unshielded (not suitable for the 300 m 300 m 300 m 300 m 300 m 300 m
high-speed counter inputs)
shielded 500 m 500 m 500 m 500 m 500 m 500 m

3 Technical specifications 3–8 Advant Controller AC 31 / Issued: 01.99


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 6 Transistor 6 Relays 6 Relays 6 Transistor 6 Relays
- Isolated outputs/electronic 1500 Vrms 1500 V a.c. 1500 Vrms 1500 Vrms 1500 V a.c. 1500 Vrms
1 min 1 min 1 min 1 min
- Output current/channel at
24 V d.c. 2A 0.5 A 2A 2A 0.5 A 2A
1 A for 1 A for
A62,00 and A62,00 and
A62,01 A62,01
- Output current/channel at - -
24 V d.c 2 A AC-1 2 A AC-1 2 A AC-1 2 A AC-1
230 V a.c.: 0.5 A AC-15 0.5 A AC-15 0.5 A AC -15 0.5 A AC-15
- Total load current 6x2A 4 x 0.5 A 6x2A 6x2A 4 x 0.5 A 6x2A
+2x1A +2x1A
- Output leakage current - < 200 µA - - < 200 µA -
- Leakage voltage - 0.5 V at - - 0.5 V at -
max. 500 mA max. 500 mA
- Minimum load 10 mA under 12 V 10 mA under 10 mA under 12V 10 mA under
12 V d.c. 12 V d.c. 12 V d.c. 12 V d.c.
- Breaking capacity under 120 V a.c. 2A 2A 2A 2A
(contact rating code B300)
(UL)
- Breaking capacity under 250 V a.c. 2 A (1.5 A 2 A (1.5 A 2 A (1.5 A 2 A (1.5 A
(contact rating code B300) acc. to acc. to acc. to acc. to
(UL) UL) UL) UL) UL)
- Number of groups 2 (2+4) 2 (2+4) 2 (2+4) 2 (2+4)
- Switching frequency:
for resistive loads < 1 Hz 5 kHz < 1 Hz < 1 Hz 5 kHz < 1 Hz
for inductive loads < 0.2 Hz < 0.2 Hz < 0.2 Hz < 0.2 Hz
for lamps < 0.2 Hz < 0.2 Hz < 0.2 Hz < 0.2 Hz
- Maximum number of switches:
for AC-1 1 million - 1 million 1 million - 1 million
for AC-15 100.000 - 100.000 100.000 - 100.000
- Short circuit and overload external thermic external external thermic external
protection
- Surge voltage protection external yes external external yes external

- Outputs diagnosis no overload and no no overload and no


short circuit short circuit
- Cable length:
unshielded 150 m 150 m 150 m 150 m 150 m 150 m
shielded 500 m 500 m 500 m 500 m 500 m 500 m

Advant Controller AC 31 / Issued: 01.99 3–9 Technical specifications


3
3.4 Centrally extensible remote units

3.4.1 View (see Figure 3 on the next page)

1 – Location for the DIN rail


2 – Plate fixture with unit earthing, alternative to 1
3 – Release lever for DIN rail mounting
4 – Location for external dual connector
5 – Cable connectors (plug-in), under cover flap:
- 24 V d.c. output power to supply 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 of item 9 without cover (see Figure 4


on the next page)

1 – Rotary selector switch for address decade selection


2 – Screwdriver for setting the address
3 – Rotary selector switch for address

3 Technical specifications 3 – 10 Advant Controller AC 31 / Issued: 01.99


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.

Advant Controller AC 31 / Issued: 01.99 3 – 11 Technical specifications


3
3.4.2 Technical specifications of the centrally extensible remote units

ICMK 14 F1 ICMK 14 F1 ICMK 14 N1


24 V d.c. 120/230 V a.c. 24 V d.c.
- Weight 400 g 800 g 400 g
Power supply
- Mains voltage:
nominal value 24 V d.c. 120 or 24 V d.c.
230 V a.c.
admissible range 19.2 to 30 V 97.75 to 19.2 to 30 V
126.5 V or
195.5 to 253 V
- Consumption:
unit alone (typical) 80 mA 30 mA 80 mA
maximum configuration (typical) 400 mA 100 mA 400 mA
- Polarity reversal protection yes - yes
- Integrated power supply 24 V d.c.
for the inputs: no yes no
range of voltage value - 19.2 to 30 V -
output current - 400 mA -
short circuit protection - yes -
- Dissipation 5W 10 W 6W
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 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.:
inputs Exx,02 to Exx,07 7 mA 7 mA 7 mA
inputs Exx,00 and Exx,01 9 mA 9 mA 9 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

3 Technical specifications 3 – 12 Advant Controller AC 31 / Issued: 01.99


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
Direct voltage 24 V d.c. 2A 2A 0.5 A
1 A for
Axx,00 and
Axx,01
Alternating current 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 6x2A 6x2A 4 x 0.5 A
+2x1A
- Output leakage current - - < 200 µA
- Leakage voltage - - 0.2 V max.
500 mA
- Minimum cut-off values 10 mA under 10 mA under 12 V
12 V d.c. 12 V d.c.
- Breaking power under 120 V a.c. 2A 2A
(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) acc. to UL) acc. to UL)
- Number of groups 2 (2+4) 2 (2+4)
- Switching frequency
for resistive loads < 1 Hz < 1 Hz < 5 kHz
for inductive loads < 0.2 Hz < 0.2 Hz
for lamps < 0.2 Hz < 0.2 Hz
- Maximum number of switches:
for AC-1 1 million 1 million -
for AC-15 100.000 100.000
- Short circuit and overload protection external external yes: thermic
- Surge voltage protection external external yes:
by transient
voltage
suppression
- Outputs diagnosis - - Overload and
short circuit
- Cable length:
unshielded 150 m 150 m 150 m
shielded 500 m 500 m 500 m

Advant Controller AC 31 / Issued: 01.99 3 – 13 Technical specifications


3
3.5 Digital central extensions

3.5.1 View (see Figures 5, 6, 7 on the next page)

1 – Location for the DIN rail


2 – Plate fixture with unit earthing, alternative to 1
3 – release lever for DIN rail mounting
4 – Location for 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

3 Technical specifications 3 – 14 Advant Controller AC 31 / Issued: 01.99


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.

Advant Controller AC 31 / Issued: 01.99 3 – 15 Technical specifications


3
3.5.2 Digital central extensions specifications
The digital extension units are powered at 5 V by the basic unit or extensible remote unit to
which they are connected.
Warning: the extensions must not be connected or disconnected under power supply.

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.

3 Technical specifications 3 – 16 Advant Controller AC 31 / Issued: 01.99


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. - 2A 2A
(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) according to according to
UL) UL)
- Number of groups 2 (4+4) 1
- Switching rate: -
for resistive loads < 1 Hz > 10 kHz < 1 Hz > 10 kHz
for inductive loads < 0.2 Hz < 0.2 Hz
for lamps < 0.2 Hz < 0.2 Hz
- Number of switchin cycles:
for AC-1 - 1 million - 1 million -
for AC-15 100 000 100 000
- Short circuit and overload protection - externally yes: externally yes:
thermic thermic
- Surge voltage protection - externally yes: externally yes:
by transient volt by transient volt
suppresser suppresser
- Output diagnosis - - overload and - overload and
short circuit short circuit
- Cable length:
unshielded - 150 m 150 m 150 m 150 m
shielded - 500 m 500 m 500 m 500 m

Advant Controller AC 31 / Issued: 01.99 3 – 17 Technical specifications


3
3.6 Analog central extension

3.6.1 View (see Figure 8)

1 – Location for the DIN rail


2 – Plate fixture with unit earthing, alternative to 1
3 – Release lever for DIN rail mounting
4 – Location for external dual connector
5 – Input cabling connectors under the cover flap, plug-in type
6 – Display 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/remote unit
11 – DIP switches for configuring the channels as current, voltage or Pt 100/Pt 1000

Figure 8: Front view of the central analog extension XM 06 B5

3 Technical specifications 3 – 18 Advant Controller AC 31 / Issued: 01.99


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.
Warning: the extensions must not be connected or disconnected under power supply.

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

Advant Controller AC 31 / Issued: 01.99 3 – 19 Technical specifications


3
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
- 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.6.3 Analog inputs diagrams

Current 4-20 mA:

3.75 mA

3 Technical specifications 3 – 20 Advant Controller AC 31 / Issued: 01.99


Current 0-20 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

Advant Controller AC 31 / Issued: 01.99 3 – 21 Technical specifications


3
12
Current input 0-20 mA: 1 LSB = 20 mA/2 = 4.88 µA with minimum value (step 8)
Current input in mA
PLC value = × 32767
20 mA

0 ≤ PLC value ≤ +32.767

Current input 4-20 mA: Resolution is equal to 0-20 mA


Current input in mA
PLC value = × 32767
20 mA

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:

3 Technical specifications 3 – 22 Advant Controller AC 31 / Issued: 01.99


11
Voltage output ± 10 V: 1 LSB = 10 V/2 = 4.88 mV with minimum value (step 8)
PLC value × 10 V
Voltage output in V =
32767

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

Current output 4-20 mA: Resolution is equal to 0-20 mA


PLC value × 20 mA
Current output in mA =
32767
A PLC value <0 generates a constant current of 4 mA.

3.6.5 Hardware configuration, switches on left side of analog extension

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.

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 current or voltage depends upon a DIP switch in the side of the extension.
One dip switch for one 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
Switch 7 Channel 4 OFF ⇒ Voltage ON ⇒ Current
Switch 8 Channel 5 OFF ⇒ Voltage ON ⇒ Current
Switch 9 Channel 6 OFF ⇒ Voltage ON ⇒ Current
Switch 10 Channel 7 OFF ⇒ Voltage ON ⇒ Current

Advant Controller AC 31 / Issued: 01.99 3 – 23 Technical specifications


3
The configuration PT100 or PT1000 is set with switches 5 and 6 of the DIP switch:
one dip switch for four channels.

Switch 5 Channels 0 to 3 OFF ⇒ PT1000 ON ⇒ PT100


Switch 6 Channels 4 to 7 OFF ⇒ PT1000 ON ⇒ PT100

⇒ Configuration of value ranges: see 3.6.6 on page 3–24.

3.6.6 Configuration via push button on front panel of analog extension


The values or configurations of the inputs/outputs can be displayed or altered by pressing the
push button on the front side of the product.
When you first press the push button, the display shows the number and value of the channel
currently selected.
When you press 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 then automatically changes
to the next 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.

3 Technical specifications 3 – 24 Advant Controller AC 31 / Issued: 01.99


3.7 Accessories

3.7.1 Programming cables: 07 SK 50 and 07 SK 52

These cables allow you to connect the 40 and 50 series basic units to a PC for programming
and testing.
The cables are 2 m in length and shielded.

Figure 9: 07 SK 50 programming cable (grey)

07 SK 50 connection diagram (see Figure 9):

Central unit PC
MIN DIN 8 SUB D9

RxD 1 3 TxD (yellow)


TxD 2 2 RxD (red)
GND 7 5 GND (black)
5 8 CTS
8 7 RTS
3 1 CD
6 4 DTR
4 6 DSR
shield shield

Advant Controller AC 31 / Issued: 01.99 3 – 25 Technical specifications


3
Figure 10: 07 SK 52 programming cable (grey)

07 SK 52 connection diagram (see Figure 10):


- Diagrams of RTS signal cabling:
If RTS is active at low level:
central unit end bare wires end
MIN DIN 8

RTS+ 5 CTS white


RTS- 8 0V blue (for external GND)

If RTS is active at high level:


central unit end bare wires end
MIN DIN 8

RTS+ 5 +10 V white (for external DTR)


RTS- 8 CTS blue

- Cable for RS 232


central unit end bare wires end
MIN DIN 8

RxD 1 TxD yellow


TxD 2 RxD red
GND 7 GND black
RTS+ 5 white Cabling depends on if RTS is
RTS- 8 blue active at high or low level
shield shield

- Cable for RS 485


central unit end bare wires end
MIN DIN 8

1 yellow not used


D1- 2 D1- red
D1+ 7 D1+ black
RTS+ 5 white Cabling depends on if RTS is
RTS- 8 blue active at high or low level
shield
shield

®
Comment: The programming cable is distinguished from the ASCII/MODBUS communication
cables by its grey colour.

3 Technical specifications 3 – 26 Advant Controller AC 31 / Issued: 01.99


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

Advant Controller AC 31 / Issued: 01.99 3 – 27 Technical specifications


3
Figure 12: 07 SK 53 communication cable (black)

07 SK 53 connection diagram (see Figure 12):


- Wiring diagrams for RTS signal:
If RTS is active at low level:
central unit end bare wires end
MIN DIN 8

RTS+ 5 CTS white


RTS- 8 0V blue (for external
GND)

If RTS is active at high level

- Cable for RS 232


central unit end bare wires end
MIN DIN 8

RxD 1 TxD yellow


TxD 2 RxD red
GND 7 GND black
RTS+ 5 white Cabling depends on if RTS is
RTS- 8 blue active at high or low level
3
6
shield shield

- Cable for RS 485


central unit end bare wires end
MIN DIN 8

yellow (not used)


D1- 2 D1- red
D1+ 7 D1+ black
RTS+ 5 white Cabling depends on if RTS is
RTS- 8 blue active at high or low level
3
6
shield shield

®
Comment: In contrast to the programming cables, the ASCII/MODBUS cable is BLACK.

3 Technical specifications 3 – 28 Advant Controller AC 31 / Issued: 01.99


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. They enable a simplified installation, where applicable.

1 – External dual connector: 07 ST 50


This connector is used to connect sensors or three wire digital actuators to the 40 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 are used. This connector
prevents a short circuit on a channel from disturbing the operation of the other channels.
An example of the cabling of a 4-wire probe to an XM 06 B5 analog unit using a dual connector
can be found in chapter 4.

Figure 13: Dual connectors 07 ST 50 and 07 ST 51

Advant Controller AC 31 / Issued: 01.99 3 – 29 Technical specifications


3
3 – Cage clamp type connectors
Cage clamp type connectors enable rapid cabling of all the 40 and 50 series products.
Installation involves:
- connection using the supplied tool (see Figure 14) or with a screwdriver (see
Figure 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²)
- wire 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 for XM 06 B5 extension

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.

3 Technical specifications 3 – 30 Advant Controller AC 31 / Issued: 01.99


4 Installation

This chapter contains detailed information on the cabling of the individual products and the
main implementation and addressing rules.

4.1 Implementation of an AC31 system


The AC31 product range has been developed for 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.

4.1.1 Assembly conditions


The products in the AC31 range can be mounted in two different ways. They may be installed
either vertically or horizontally (vertical assembly is only possible with certain restrictions, e.g.
reduction 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 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.

4.1.2 Input/output cabling


Certain precautions should be taken to reduce installation disturbances. The cables carrying
low voltage signals should not be placed in the same cable duct as the power cables.

You must distinguish between two types of signals:


- 230 V a.c. power supply
- analog signals (use shielded cables) and low voltage (24 V d.c.).

Advant Controller AC 31 / Issued: 08.99 4–1 Installation


3
4.1.3 Dimensions (in mm)

93

85
35 mm EN 50022

84

C0334D
C0332D

C0333D

2
120 104

Figure 1: Basic unit and extensible remote unit

85
35 mm EN 50022

93
C0309D

84.5
C0310D

C0311D
65
51 2

Figure 2: Local extensions


28.2

C0331D
C0330D

56
48

Figure 3: Dual connector


77
86
C0306D

C0307D

C0308D

41 166 157

Figure 4: Operating device

3 Installation 4–2 Advant Controller AC 31 / Issued: 08.99


Direct earthing at cabinet wall

CS31 system bus


1 2 3 1 2 3
Master Vorort-
Remote
unit
Modul

Earth for cabinet 1


Erde von Schaltschrank 1
Direct earthing at cabinet wall

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

Figure 6: Joint earthing for devices which generate noise

Advant Controller AC 31 / Issued: 08.99 4–3 Installation


3
4.1.4 Earthing

• Basic earthing principles


The earth and mains wires should be connected in star.
All AC 31 components of a cabinet should be connected to the same earth.
If the remote units are located outside the cabinet, they should be connected to the nearest
earth.
The 40 and 50 series basic units are fitted with an earth plate on the DIN rail mounting system.
If the basic unit is screwed directly to a metal plate, the screw located at the top left of the
basic unit (as seen from the front) ensures 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 section of at least 16 mm² (see Figure 6, page 4–3).
The noise generating devices (actuators, motors, etc.) should not be earthed in between two
cabinets. The earthing should be done near to the element causing the most disturbance (see
Figure 6, page 4–3).
We recommend you connect the bus shielding directly to the earth, as shown in the assembly
diagram (see Figure 5, page 4–3.)

3 Installation 4–4 Advant Controller AC 31 / Issued: 08.99


Figure 7: Correct bus cabling Figure 8: Incorrect bus cabling

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

Advant Controller AC 31 / Issued: 08.99 4–5 Installation


3
4.1.5 The CS31 system bus
The CS31 system bus is an RS 485 serial bus and consists of a shielded twisted 2-wire cable.
This bus is a master slave bus and only supports a single master.
Use an AWG 24 (≥ 0.22 mm²) twisted pair with joint shielding. 0.5 mm = ∅ 0.8 mm is
2

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).

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 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.

3 Installation 4–6 Advant Controller AC 31 / Issued: 08.99


4.2 Basic unit and remote unit cabling

• Power supply

The connection of an external thermal fuse is necessary to ensure protection of the devices.
An internal 24 V d.c. power supply is available on 120/ 230 V a.c. versions. This power 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 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 thermal fuse, connected to the common power supply of the
outputs, protects the devices connected to the outputs.

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.

Advant Controller AC 31 / Issued: 08.99 4–7 Installation


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

3 Installation 4–8 Advant Controller AC 31 / Issued: 08.99


Figure 14: Positive logical inputs PNP 120/230 V a.c. power supply

Figure 15: Negative logical inputs NPN 120/230 V a.c.

Advant Controller AC 31 / Issued: 08.99 4–9 Installation


3
Figure 16: Relay outputs

Figure 17: Transistor outputs

3 Installation 4 – 10 Advant Controller AC 31 / Issued: 08.99


4.3 Cabling digital central extensions

• Extension XI 16 E1 (see Figure 18 on page 4–12)


The extension is powered with 5 V by the basic unit or the remote unit. The connection
between the extension and the basic unit is made with the cable situated on the left of the
extension.
The 24 V d.c. power supply used for the sensors should be linked to the 0 V and 24 V
terminals situated on the top or bottom terminal blocks. These terminals are linked internally,
therefore it is only necessary to link one 0 V and one 24 V d.c. terminal, irrespective of whether
the inputs are situated at the top or the bottom.
Warning: The extensions must not be connected or disconnected under power supply.

• Extension XO 08 R1 (see Figure 19)


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.
The connection terminals C are independent.
Warning: The extensions must not be connected or disconnected under power supply.

• Extension XC 08 L1 (see Figure 20)


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.
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 or disconnected under power supply.

• Extension XO 16 N1 (see Figure 21)


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.
The 24 V d.c. power supply used for the loads should be connected to the 0 V or 24 V d.c.
terminals situated on the top or bottom terminal blocks. These terminals are linked internally,
therefore it is only necessary to link one 0 V and one 24 V d.c. terminal.
Warning: The extensions must not be connected or disconnected under power supply.

• Extension XK 08 F1 (see Figure 22)


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.
The common C of inputs has to be linked to the 0 V or 24 V d.c., depending on the sensor
type.
Warning: The extensions must not be connected or disconnected under power supply.

Advant Controller AC 31 / Issued: 08.99 4 – 11 Installation


3
Figure 18: Extension XI 16 E1 Figure 19: Extension XO 08 R1

3 Installation 4 – 12 Advant Controller AC 31 / Issued: 08.99


Figure 20: Extension XC 08 L1 Figure 21: Extension XO 16 N1

Advant Controller AC 31 / Issued: 08.99 4 – 13 Installation


3
l

Figure 22: Extension XK 08 F1

3 Installation 4 – 14 Advant Controller AC 31 / Issued: 08.99


4.4 Cabling the analog central extension

• Extension XM 06 B5
The extension is powered with 5 V by the basic unit or the remote unit. The connection
between the extension and the basic unit is made with the cable situated on the left of 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).

Advant Controller AC 31 / Issued: 08.99 4 – 15 Installation


3
Figure 23: XM 06 B5 with 2-wire probe Figure 24: XM 06 B5 with 3-wire probe

3 Installation 4 – 16 Advant Controller AC 31 / Issued: 08.99


Figure 25: XM 06 B5 with 4-wire probe and utilization
of the 07 ST 51 connector

Advant Controller AC 31 / Issued: 08.99 4 – 17 Installation


3
4.5 Addressing

4.5.1 Input/output variables

Addressing the CS31 bus enables the user to program the utilization of the inputs/outputs in a
manner that is completely transparent to the user.
The inputs/outputs of a AC31 remote unit are 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

E : binary input Address (xx) Channel number (yy)


A: binary output
EW: analog input
AW: analog output

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

3 Installation 4 – 18 Advant Controller AC 31 / Issued: 08.99


• 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.

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

- 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 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

Advant Controller AC 31 / Issued: 08.99 4 – 19 Installation


3
4.5.3 Addressing slave basic units or remote extension units on the CS31 system bus

Figure 26: Rotary switch for addressing the remote extension unit ICMK 14xx

The CS31 system bus protocol is a master/slave protocol: the master sends 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.

3 Installation 4 – 20 Advant Controller AC 31 / Issued: 08.99


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 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

Addresses X X+1 X+2 X+3

- 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

Addresses X X+1 X+1 X+2 X+3 X+2 X+3

- 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 unit of the
30 or 90 series. In the following example, an output unit of the 30 or 90 series cannot be
assigned the address X+1 or X+2 . The address must be greater than X+5.

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

Addresses X X+1 X+2 X+3 X+4 X+4 X+5

Advant Controller AC 31 / Issued: 08.99 4 – 21 Installation


3
When an analog extension unit is present amongst the extensions, the unit is assigned the
same address value as that of the extensible remote unit to which it is connected.
Address values = ( 0 ≤ X ≤ 61 )
If an analog XM 06 B5 type 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.

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

• Addressing slave basic units


Information 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 the slave basic unit is done via the constant KW 00.00 with the
programming software 907 PC 331.
The addressing of the basic unit extensions is independent of the CS31 addressing. It is
defined and managed by the slave basic unit.

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

X X+1 X+2 X+3 X+4 X+4 X+5 Addresses

50
series E E A EW/ E/A A
slave AW
Y 63 64 63 63 65 66 Addresses managed
by slave central unit

3 Installation 4 – 22 Advant Controller AC 31 / Issued: 08.99


Addressing example:

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

With slave central unit


50
E E A EW/ E/A A configured as analog
series
slave AW
7 63 64 63 63 65 66 Addresses managed by
only the slave central unit

Advant Controller 31
90 series

This example uses one master basic unit and 5 remote units.

Advant Controller AC 31 / Issued: 08.99 4 – 23 Installation


3
4.5.4 Summary

Master basic unit Addresses Address configuration


40 and 50 series
- Integrated inputs/outputs 62 Standard
- Digital extension 63 to 68 automatically
- Analog extension 63 to 68 automatically

Remote
unit

Addresses X N

Where X = address of the extensible remote unit,


and N = maximum number of extensions of one type on 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 software
KW 00,00
- 90 series slave basic unit
Digital configuration 0 to 61 0 to 61 by programming software
KW 00,00
Analog configuration 0 to 5 0 to 5 by programming software
KW 00,00

3 Installation 4 – 24 Advant Controller AC 31 / Issued: 08.99


5 Programming

5.1 Introduction to the software


The 907 PC 331 programming software is used for all the AC31 basic units.
®
This software runs under DOS and also in DOS boxes of Windows (3.1, 95 or NT). In
Windows 95 and NT there are slight restrictions, e.g. printing via network does not work
correctly.
The software allows you to create, send, test and print user programs as well as initialize, start
and stop the basic unit.

There are three programming languages:


- LD: is a graphical language based on the symbols of contact 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 of automation.

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.

Advant Controller AC 31 / Issued: 01.99 5–1 Programming


3
• An existing library with over 150 functions:
The list of functions available depends on the basic unit selected. After the basic unit was
defined, the list is identical for all program editors.
The 40 and 50 series have 70 functions, which are divided into 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 descriptions of all the functions can be found in the documentation of the 907 PC 331
programming software.

3 Programming 5–2 Advant Controller AC 31 / Issued: 01.99


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.
Õ Historical values: certain functions require several program cycles for their execution. So,
for example, during the processing of a time function, the variable TIME is updated 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 functions are independent of the list of historical values of the
other functions. The number of authorized timer functions is unlimited, however, the number of
timer functions taking place simultaneously is restricted to 42.
Ranges of values
- Bit variables (status 0 or 1)
- Word variables (range of values -32768 to 32767)
- Double word variables (range of values -2147483648 to 2147483647)
- Text (ASCII characters)

Advant Controller AC 31 / Issued: 01.99 5–3 Programming


3
Type Variables Description
from to
Digital inputs E 00,00 E 61,15 CS31 system bus digital inputs
E 62,00 E 62,07 Digital inputs on the basic unit
E 63,00 E 68,15 Digital inputs on the basic unit extensions
Analog inputs EW 00,00 EW 61,15 CS31 system bus analog inputs
st
EW 62,00 1 potentiometer of the basic units
nd
EW 62,01 2 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 master basic units: they indicate the
number of remote units recognized on the CS 31 system bus.
EW 63,00 EW 68,15 Analog inputs on the extensions of a basic unit

3 Programming 5–4 Advant Controller AC 31 / Issued: 01.99


Type Variables Description
from to
Digital outputs A 00,00 A 61,15 Digital outputs on the CS31 system bus
A 62,00 A 62,05 Digital outputs on the basic unit
A 63,00 A 68,15 Digital outputs on the basic unit extensions
Analog outputs AW 00,00 AW 61,15 Analog outputs on the CS 31 system bus
AW 62,00 AW 62,15 Reserved variables
AW 63,00 AW 68,15 Analog outputs on the extensions of the basic units
Step chains S 000,00 S 125,15 Step chains
Internal bits M 000,00 M 099,15 Bit flag
M 230,00 M 254,15 Bit flag
M 255,00 Special flag: 2 Hz oscillator
M 255,01 Special flag: 1 Hz oscillator
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 information
MW 254,08 MW 254,15 Class 2 errors information
MW 255,00 MW 255,07 Class 3 errors information
MW 255,08 MW 255,15 Class 4 errors information
Internal double words MD 00,00 MD 01,15 Flags double words
Bit constants K 00,00 K 00,01 Digital constants
Word constants KW 00,00 KW 00,15 System constants
KW 01,00 KW 15,15 Word constants
Double word constants KD 00,00 Cycle time (system constants)
KD 00,01 KD 01,15 Double word constants

Advant Controller AC 31 / Issued: 01.99 5–5 Programming


3
5.3 Initialization of the basic units
When a new program is transmitted to the PLC, the old program is automatically deleted. It is,
however, advisable to reconfigure the basic unit with the factory parameters before sending a
completely new program:
Õ Stand-alone basic unit
Õ The default system configuration of the basic unit (see next chapter)
Õ No program
A complete initialization of the basic unit with the factory parameters is obtained 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 - Clear the program in RAM
Enable PLC mode or "warm start" - Copy the Flash EPROM contents to RAM
- Clear the data in the RAM depending on the
configuration

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

3 Programming 5–6 Advant Controller AC 31 / Issued: 01.99


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.
5.4.1 System constants

5.4.1.1 System constants/diagnosis flags/AC31 status (overview)


Setting the operating modes
The constants KW 00,00...KW 00,15 are reserved as system constants. Even the constants
KW 00,12...KW 00,15 which are not yet used may under no circumstances be used for other
purposes.
KW 00,00 : Setting operating modes of the basic unit
(Stand-alone basic unit, master basic unit, slave basic unit)
KW 00,01 : Initialization: bit flag area
KW 00,02 : Initialization: word flag area
KW 00,03 : Initialization: double word flag area
KW 00,04 : Initialization: step chain flag area
KW 00,05 : Initialization: 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


• Definition of terms
Cold start
Õ All the RAM memories are tested and cleared.
Õ If there is no user program in the EEPROM, the default values are set to all of the system
constants (identical to the factory settings).
Õ The operating modes given by the system constants are set.
Õ The CS31 system bus is initialized again (only when used as a master on the CS31 system
bus).
Performing a cold start
Õ Command KALT <CR> in terminal mode (see documentation for the 907 PC 331
programming software) or
Õ Menu item ”Cold start” in the programming system
Warm start
Õ All the RAM memories (excepted the program memory and operands memory (flags)) are
tested and deleted.
Õ If there is a user program in the EEPROM, this program is loaded into the RAM including
the system constants.
Õ The operating modes given by the system constants are set.
Õ The CS31 system bus is initialized again (only when used as a master on the CS31 system
bus).

Advant Controller AC 31 / Issued: 01.99 5–7 Programming


3
Performing a warm start
Õ Power OFF/ON or
Õ Command WARM <CR> in terminal mode (see documentation for the 907 PC 331
programming software) or
Õ Menu item ”Enable PCL mode” in the programming system
• Operating mode: master basic unit, slave basic unit or stand-alone-basic unit
Important:
The 40 series basic units can only be operated in stand-alone mode. They have no access to
the CS31 system bus.
Õ Absolute identifier: KW 00,00
Õ Symbolic identifier: MAST_SLV
Õ Meaning of the values of the constants:
- Master basic unit at the CS31 system bus:-1 (FFFFH)
- Stand-alone basic unit: -2 (FFFEH)
- Slave basic unit at the CS31 system bus:
AC31 module addresses: 0...61, 100
Õ Range of values: -2, -1, 0...61,100
Õ Default value: -2 (stand-alone)
Important!
Changing the basic unit operating mode involves three steps:
1. 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
units. At an ambient temperature of 25 °C data can be stored for 40 days, when the power
supply is switched on, the accumulator recharges completely within 12 hours. The following
data can be backed up, completely or partially:
Õ Digital flags
Õ Word flags
Õ Double word flags
Õ Step chains
Õ Historical values
If certain data have to be backed up, they will be excluded from initialization to 0.
• Initialization of data areas
Initialization to 0 takes place on program start-up, with the (sub) areas to be initialized being
defined by system constants. Initialization functions as shown in the following table.
An external battery is not required.

3 Programming 5–8 Advant Controller AC 31 / Issued: 01.99


Conditions, Flags, step chains and historical values
which are initialized (set to 0).
Å Action
Menu item all
Å Abort
Å Cold start
RUN/STOP switch set to RUN,
Å power ON
RUN/STOP switch, In accordance with the values of the system
constants, (see below)
Å RUN
Menu item
Å Abort
Å Start

Initialization: digital flags


Õ Absolute identifier: KW 00,01
Õ Symbolic identifier: INIT_M

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

Advant Controller AC 31 / Issued: 01.99 5–9 Programming


3
Initialization: word flags
Õ Absolute identifier: KW 00,02
Õ Symbolic identifier: INIT_MW

Value n of the system constant KW 00,02 Word flag areas which are initialized (set
to 0)
n = 0 (default) MW 000,00...MW 099,15
MW 230,00...MW 255,15
n = 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

Initialization: double word flags


Õ Absolute identifier: KW 00,03
Õ Symbolic identifier: 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...S 125,15
n < 0, n > 125 No initialization

Initialization: historical values


Õ Absolute identifier: KW 00.05
Õ Symbolic identifier: INIT_VW

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

3 Programming 5 – 10 Advant Controller AC 31 / Issued: 01.99


• 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
® ®
Õ MODBUS for communication between the basic unit and a different MODBUS device.
The following 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 KW 0,06 RUN/STOP position Cable Communications


selection mode
Standard 0, <0, >2 STOP X Active
<100 RUN Active Active
®
>355 Passive/MODBUS Passive
Active 1 x X Active
Passive 2 RUN X Passive
STOP X Active
® ® ®
MODBUS >99 x Passive/MODBUS MODBUS
<356 Active Active
x: selection without any consequence

Advant Controller AC 31 / Issued: 01.99 5 – 11 Programming


3
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
®
MODBUS 9,600 baud Parameters are modified in the user
No parity program using the SINIT function

8 data bits
1 stop bit

Õ Absolute identifier: KW 00,06


Õ Symbolic identifier: MODE_SST
Õ Meaning of the value of the constants:
The constant is a 5-digit decimal number

KW 00.06 =

Modes
0...355
RTS time delay
0 or 1000 or 2000

RTS signal inverted


0 or 10000
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 1 1 3 1 7

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/52 Passive mode (ASCII
mode)

Modbus operation only with cable 07SK51/53

KW 00,06 = 100 Modbus master


KW 00,06 = 100 + slave no. Modbus slave
(1..255)
KW 00,06 = 100 + slave no. + RTS time delay + RTS signal inverted
(1..255) (0 or 1000 or 2000) (0 or 10000)

Changing the system constants takes effect immediately.

3 Programming 5 – 12 Advant Controller AC 31 / Issued: 01.99


• 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.
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. only report error
Õ Changing the system constants takes effect immediately.

Advant Controller AC 31 / Issued: 01.99 5 – 13 Programming


3
• Starting up the CS31 system after power ON, warm or cold start
(only 50 series)
Õ Absolute identifier: KW 00,09
Õ Symbolic identifier: HOCHFAHR
Õ This system constant only takes effect if the basic unit is configured as the bus master.
Õ Meaning of the value of the constants:
The user program is started.
The basic unit does not take any notice of whether the remote units are initialized and
adopted into the CS31 bus cycle: =0
The user program is not started until at least
n remote modules have been initialized and adopted into the CS31 bus cycle: =+n
Õ Range of values: 0...+31
Õ Default value: 0
i.e. user programs are started immediately.
Changes to these system constants take effect:
Õ on the next warm start or
Õ on the next cold start
• 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 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:
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
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.
Is not allowed (It would mean transmit 0 words and receive 0 words)
Õ Changing the system constants takes effect immediately.

3 Programming 5 – 14 Advant Controller AC 31 / Issued: 01.99


• 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. 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: 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 same result as the default combination.
The combination:
KW 00,10 = KW 00,11 = 100.
Is not allowed (It would mean transmit 0 words and receive 0 words)
Õ Changing the system constants takes effect immediately.

Advant Controller AC 31 / Issued: 01.99 5 – 15 Programming


3
Basic unit cycle time; KD 00,00
The basic unit program is processed cyclically in the time intervals stated by the set cycle time.
The value is given in milliseconds.
- The cycle time for a master basic unit is between 0 and 100 ms, only multiples of 5 are
allowed.
- The cycle time for a slave or stand-alone basic unit is between 0 and 250 ms.
If the value 0 is selected, the cycle time is the minimum time required by the basic unit for
each cycle. In this case, the cycle time is not constant.
Calculating the cycle time:
The cycle time Tc can be calculated 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:
Õ 0.4 ms with 100 % digital instructions
Õ 1.2 ms with 65 % digital instructions and 35 % word instructions.
The bus transmission time is calculated from the installation configuration. This involves
adding the times of all units on the bus. The overall time for extensible remote units is
calculated by adding the unit time to the times for the connected extensions (see the following
table)
Õ Default value: 10 ms

3 Programming 5 – 16 Advant Controller AC 31 / Issued: 01.99


Bus response times:

Communications times of the CS31 system bus


Basic times for the master basic unit 2000 µs
Slave basic units without extensions
07 KR 51* 750 µs
07 KT 51* 750 µs
07 KR 91* 750 µs
07 KT 92* 750 µs
07 KT 93* 750 µs
07 KT 94*
* with default configuration

Times in accordance with the configuration


2 bytes for transmission and 516 µs
2 bytes for receive
4 bytes for transmission and 750 µs
4 byte for receive
8 bytes for transmission and 1300 µs
8 bytes for receive
12 bytes for transmission and 1850 µs
12 bytes for receive
8 words for transmission and 2500 µs
8 words for receive
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 N1 340 µs
07 DI 92 516 µs
Remote units with inputs/outputs
ICSC 08 L1 387 µs
ICFC 16 L1 516 µs
ICSK 20 F1 452 µs
ICSK 20 N1 452 µs
07 DC 91 516 to 590 µs depending on the configuration
07 DC 92 517 to 750 µs depending on the configuration

Advant Controller AC 31 / Issued: 01.99 5 – 17 Programming


3
Extensible remote units with inputs/outputs
ICMK 14 F1 340 µs without extension
ICMK 14 N1 340 µs without extension
XI 16 E1 500 µs
XO 08 R1 500 µs
XC 08 L1 500 µs
XM 06 B5 500 µs

Communications times of the CS31 system bus


IP65 unit 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

3 Programming 5 – 18 Advant Controller AC 31 / Issued: 01.99


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
- 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.

5.5 Software functions


• Information on programming the individual functions of the AC 31 40 and 50 series basic
units can be found in the documentation for the 907 PC 331 programming software. The
following functions may be used:

Functional group Call in


FBD/LD, 1)
Name of connection element IL
ext. IL
Digital functions
2)
AND &
2)
OR /
2)
Exclusive OR =1
2)
Allocation =
Memory function
2)
Allocation, set memory =S
2)
Allocation, reset memory =R
2)
Set memory, dominating RS
2)
Rest memory, dominating SR
Arithmetic functions, word
2)
Addition +
2)
Subtraction -
2)
Multiplication *
2)
Division :
Multiplication with division *:/MULDI
Multiplication by 2 to the power of N MUL2N
Absolute value generator BETR

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.

Advant Controller AC 31 / Issued: 01.99 5 – 19 Programming


3
Functional group Call in
FBD/LD, 1)
Name of connection element IL
ext. IL
2)
Allocation word =W
Allocation direct constant to word variable ZUDKW
Comparison functions
2)
Greater than >
2)
Greater than or equal to >=
2)
Equal =?
2)
Unequal ><
2)
Less than <
2)
Less than or equal to <=
Time functions
On delay ESV
Off delay AUV
Monostable element "abort" MOA
Monostable element "constant" MOK
Time functions with actual value display
On delay TOF
Off delay TON
Monostable element "constant" TP
Monostable element "abort" MOAT
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
2)
Conditional program end =PE
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 BCD conversion DUALBCD/BINBCD
Pack digital values in word PACK
Unpack a word in digital variables UNPACK
Word to double word conversion WDW
Double word to word conversion DWW
Pulse
2)
Pulse (rising edge) I+
2)
Pulse (falling edge) I-
Logical functions with word values
AND combination, word WAND
OR combination, word WOR
Exclusive OR combination, word WXOR

3 Programming 5 – 20 Advant Controller AC 31 / Issued: 01.99


Functional group Call in
FBD/LD, 1)
Name of connection element IL
ext. IL
Access to physical addresses
Copying memory areas COPY
Read word with enabling WOL
Higher order functions
Digital selection gate AWTB
Selection gate, word AWT
Maximum value generator MAX
Minimum value generator MIN
Limiter BEG
Digital value change 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 SINIT
interfaces
Output of ASCII characters and hexadecimal DRUCK
values via a serial interface
Receive characters EMAS
MODBUS master MODBUS
CS31 functions
Configure CS31 units CS31CO
CS31 acknowledge error CS31QU

Advant Controller AC 31 / Issued: 01.99 5 – 21 Programming


3
3 Programming 5 – 22 Advant Controller AC 31 / Issued: 01.99
6 Communication

6.1 Communication between basic units on the CS31 system bus


The 50 series basic units have a CS31 system bus interface. They can either be used in the
MASTER mode of operation or, instead of an extensible remote unit or I/O device, as a
SLAVE.
With this configuration you can improve performance considerably if part of the process is
processed locally. Program execution is much quicker and availability is improved, for a slave
can continue to control its own local process independently.
6.1.1 Addressing in the CS31 system bus

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:

Master basic unit Slave basic unit


50 series 90 series
digital analog digital analog
50 series 0 to 61 0 to 61 0 to 61 0 to 5
90 series 0 to 61 0 to 5 0 to 61 0 to 5

6.1.2 Defining the communication data

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

Advant Controller AC 31 / Issued: 01.99 6–1 Communication


3
Note:
The default setting is
- Digital area with:
- transmit 4 bytes and
- receive 4 bytes.
This is defined by the default combination
KW 00,10 = KW 00,11 = 0.
The configured combination
KW 00,10 = KW 00,11 = 4
has the same result as the default combination.
The combination:
KW 00,10 = KW 00,11 = 100.
Is not allowed (It would mean transmit 0 words and receive 0 words)
If used in the word area, the top 8 channels of the address which are not used may be
occupied by an analog unit, if required.
Õ Changing the system constants takes effect immediately.
• 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 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 the next warm start or
Õ on the next cold start
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.
Is not allowed (It would mean transmit 0 words and receive 0 words)
Õ If used in the word area, the top 8 channels of the address which are not used may be
occupied by an analog unit, if required.
Õ Changing the system constants takes effect immediately.

3 Communication 6–2 Advant Controller AC 31 / Issued: 01.99


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 – slave operation: addressing on the CS31 system bus

CS31 system bus


Basic unit as Basic unit as
master slave

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

Advant Controller AC 31 / Issued: 01.99 6–3 Communication


3
Word transmission

Master KW 00,00: -1 Slave KW 00,00: 10

Basic unit KW 00,10 = KW 00,11 = 4 Basic unit as


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
E 11,00 - E 11,15 A 01,00 - A 01,15
CS31 system bus
A 10,00 - A 10,15 E 00,00 - E 00,15
A 11,00 - A 11,15 E 01,00 - E 01,15
Data from the master to the slave

Figure 3: Master – slave operation: data exchange at digital level

Master KW 00,00: -1 Slave KW 00,00: 2


Basic unit Basic unit as
as master KW 00.10 = KW 00.11 = 108 slave

Addresses occupied on the CS31 field bus:


2
8 words are transmitted in both directions..

Data from slave to the master


EW 02,00 - EW 02,07 AW 00,00 - AW 00,07

CS31 system bus

AW 02,00 - AW 02,07 EW 00,00 - EW 00,07


Data from the master to the
l

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

3 Communication 6–4 Advant Controller AC 31 / Issued: 01.99


40 or 50 series

MODBUS Programming
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 40 or 50 40 or 50
series series series

Figure 7: Network connection with a PC

40 or 50 40 or 50 40 or 50
series series series

MODBUS protocol
RS485 line

Figure 8: Network connection between basic units, exchange of PLC data

Advant Controller AC 31 / Issued: 01.99 6–5 Communication


3
Communication is of greater importance in wide area installations. The AC31 system features
other interfaces in addition to the CS31 system bus, in order to support different
communication modes.
This chapter provides a detailed description of the interfaces available with the 40 and 50
series basic units which support three communications protocols on the same serial interface
®
(Figure 3). The MODBUS mode is the easiest and at the same time the most powerful of the
three for communicating with other devices.

6.2 Network communication via the integrated MODBUS® interface

6.2.1 Protocol description


® ®
The MODBUS protocol is used worldwide. The MODICON MODBUS RTU protocol was
integrated in the 40 and 50 series basic units.
Numerous automation devices such as PLCs, displays, frequency converters or monitoring
®
systems feature 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 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:

Available on RS-232, RS-485, optic fibers,...


Mode RS485 half-duplex
Number of connection points 1 master
max. 1 slave with RS232 interface
max. 31 slaves with RS485 interface
max. 255 slaves with bus amplifier
®
Protocol MODBUS (master/slave)
Data transmission control CRC 16
Speed Up to 19,200 baud
Maximum length On RS-485:
1,200 m at 19,200 baud
1,500 m at 300 baud

3 Communication 6–6 Advant Controller AC 31 / Issued: 01.99


®
The MODBUS frames transmitted by the master contain the following information:
®
- The MODBUS address of the interrogated slave (1 byte)
- The function code defining the master request (1 byte)
- The data to 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.

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.

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 bit
06 Write a word
07 Rapid read of 8 bits
08 Diagnosis/initialization
0F Write n bits
10 Write n words

The following codes are generated in the event of an error:

Error codes Description


01 Unknown function code
02 Address error
03 Data error

Advant Controller AC 31 / Issued: 01.99 6–7 Communication


3
6.2.2 Configuration of the MODBUS interface
®
MODBUS communication with the 40 and 50 series basic units is only allowed if the black 07
SK 51 or 07 SK 53 cables are used.
®
The serial interface of the 40 and 50 series basic units have a default MODBUS
configuration with the following parameters:

®
- 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.

List of cross references


®
An exchange of MODBUS data is in the form of a table which is defined by the following
elements:
®
- The MODBUS address of the first exchanged variable
- The size of the list = the total number of variables in the list.

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 .

3 Communication 6–8 Advant Controller AC 31 / Issued: 01.99


® ®
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 1007
E 63,00 03F0 1008
... ... ...
E 68.15 044F 1103
Digital outputs A 00,00 1000 4096
A 00,01 1001 4097
... ... ...
A 00,15 100F 4111
A 01,00 1010 4112
... ...
A 61,15 13DF 5087
A 62,00 13E0 5088
... ... ...
A 62,15 13EF 5103
A 63,00 13F0 5104
... ... ...
A 68,15 144F 5199
Bit flags M 000,00 2000 8192
M 000,01 2001 8193
... ... ...
M 000,15 200F 8207
M 001,00 2010 8208
... ... ...
M 099,15 263F 9791

M 230,00 2E60 11872


... ... ...
M 254,15 2FEF 12271
M 255,00 2FF0 12272
... ... ...
M 255,15 2FFF 12287
Steps S 00,00 3000 12288
S 00,01 3001 12289
... ... ...
S 00,15 300F 12303
S 01,00 3010 12304
... ... ...
S125,15 37DF 14303

Advant Controller AC 31 / Issued: 01.99 6–9 Communication


3
® ®
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 1103

Analog outputs AW 00,00 1000 4096


AW 00,01 1001 4097
... ... ...
AW 00,15 100F 4111
AW 01,00 1010 4112
... ... ...
AW 62,15 13EF 5103
AW 63,00 13F0 5104
... ... ...
AW 68,15 144F 5199
Internal word MW 000,00 2000 8192
flags MW 000,01 2001 8193
... ... ...
MW 000,15 200F 8207
MW 001,00 2010 8208
... ... ...
MW 099,15 263F 9791

MW 230,00 2E60 11872


... ... ...
MW 254,15 2FEF 12271
MW 255,00 2FF0 12272
... ... ...
MW 255,15 2FFF 12287
Internal double MD 00,00 5000 20480
word flags MD 00,01 5002 20482
... ... ...
MD 00,15 501E 20510
MD 01,00 5020 20512
... ... ...
MD 03,15 507E 20606
Indirect word KW 00,00 3000 12288
constants KW 00,01 3001 12289
... ... ...
KW 00,15 300F 12303
KW 01,00 3010 12304
... ... ...
KW 15,15 30FF 12543
Indirect double KD 00,00 4000 16384
word constants KD 00,01 4002 16386
... ... ...
KD 00,15 401E 16414
KD 01,00 4020 16416
... ... ...
KD 01,15 403E 16446

3 Communication 6 – 10 Advant Controller AC 31 / Issued: 01.99


®
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.
®
- 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

KW1,3 = 992 ADDR RDY M0,0


KW1,4 = 6 NB ERR M0,1
AW62,00 DATA ERN MW0,0

®
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.

Response times for a 40 or 50 series basic unit


Cycle time = 10 ms
Load factor = 80%
Baud rate = 9,600 baud

Advant Controller AC 31 / Issued: 01.99 6 – 11 Communication


3
Number of Bits Words
variables

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 - -

3 Communication 6 – 12 Advant Controller AC 31 / Issued: 01.99


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).
6.3.2 Configuration of the communication

Using a black 07 SK 51 or 07 SK 53 cable


The serial interface of the 40 and 50 series basic units is configured by default in programming
®
and test mode with the grey 07 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
description of the functions) in the user program.
6.3.3 Programming

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.

Advant Controller AC 31 / Issued: 01.99 6 – 13 Communication


3
40 or 50
series

Programming mode

Figure 10: Example of programming with the 907 PC 331 software

6.4 Point to point communication with the programming protocol


This example uses the serial interface of the basic unit and is reserved for 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. 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.

3 Communication 6 – 14 Advant Controller AC 31 / Issued: 01.99


Commands (Connection elements) for creating the user program
Command Function
AEND Prepare a programming change on a running PLC program
ALT Reactivate the user program stored in EEPROM
AL Display capacity utilization of basic unit, usually less than 100 %
D Display program
DEEP Erase PLC program in EEPROM
FREI Enable a program change to a running PLC program
IDA Display program identification
IDR Delete program identification
IDS Enter program identification
K Enter/edit values of indirect constants such as Kx,x, KWx,x, KDx,x
NOP Delete program part, i.e. overwrite program part with NOPs
O Optimize the program, all NOPs are deleted, syntax: O<CR>
P Display free program memory area
S Enter/edit PLC program (substitute)
SP Save PLC program in EEPROM
V Move user program (only 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 value to be entered
Z Display status of variables
ZD Display and continually update status of variables
ZZ Display only the values of variables
Configuration commands
KONFS Display/change operating modes (English/German). German has to be used
with the 907 PC 331 programming software.
PASS Password
PASS VALUE <CR>

Enable or disable the password


Value: 4 hexadecimal numbers
The value 0000 is not allowed.
If the program is protected by a password, the user does not have access to
the following commands:
AEND, D, DEEP, FREI, N, NOP, O, S, V (display or modification of
programs).
UHR Display time and date
UHRS Set time and date (no syntax check)

Advant Controller AC 31 / Issued: 01.99 6 – 15 Communication


3
3 Communication 6 – 16 Advant Controller AC 31 / Issued: 01.99
7 Diagnosis

The aim of diagnosis for the 40 and 50 series basic units is to ensure a rapid and efficient
localization of potential errors.

Figure 1: LEDs for detecting errors

7.1 Types of errors detected


The errors detected can be divided into four classes.

Class 1 errors: Class 2 errors: Class 3 errors: Class 4 errors:


Fatal error Serious error Light error Warnings
Access to the Flash EPROM The operating system Communications error. Errors which occur on the
is no longer assured. functions correctly but the Whether the program is units or syntax errors whose
- Flash EPROM checksum execution of the user program stopped, depends on the effects will only become
error is not guaranteed. user’s configuration settings apparent later. The user
Detected errors: for the application in decides which actions to
question. initialize for the application in
- Defective RAM question.
- Too many timers are active Detected errors:
- Internal unit error
at the same time - Disconnected unit
- Cut wire*1 overload, short
- Bus error circuit
- NCB/NCBR error - Analog output level error
- Cycle time too short - Defective 10 V output
- Addressing error - Programming error in
connection with the program
size, program syntax,
subroutine or interruption
- Too many historical values
- The master did not
recognize all the devices on
the bus *2
*1 Error detected if prior configuration by programming with the CS31CO block.
*2 An error detected if a certain number of remote units is anticipated in KW 0,9.

Advant Controller AC 31 / Issued: 01.99 7–1 Diagnosis


3
7.2 Detection of errors
The detected errors are transmitted to the basic unit which signals their presence on the red
ERR LEDs located on the front of the basic unit (see Figure 1).
An error on a remote unit is also shown by the ERR LED of the unit concerned.
If an error occurs in an extension, the SUPPLY LED flashes on the extension concerned.

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:

Class 1 errors: Class 2 errors: Class 3 errors: Class 4 errors:


Fatal error Serious error Light error Warnings
Detection: Immediate Immediate - Bus error: if the basic - Unit error: the basic unit
unit detects a frame queries one slave per
control error (CRC) cycle. An error is
during 9 successive detected between 1 and
cycles or a timeout 31 cycles (depending
error or the absence on the bus structure).
of a reply from a unit. - Program syntax error:
- Cycle timing error: if The basic unit detects
the system detects this type of error when
the overriding of the passing from STOP to
pre-defined cycle time RUN via the switch or via
after 16 consecutive the software or by online
cycles. validation of a program
modification.
LED status
- on the basic unit: ERR LED on ERR-LED on ERR LED on ERR-LED on
RUN LED off even if RUN-LED off even if In accordance with the After a program syntax
the RUN/STOP switch the RUN/STOP switch configuration, the RUN error the RUN LED is off.
is set to RUN is set to RUN LED is OFF even if the
RUN/STOP switch is
set to RUN
- on the extensible ERR LED on or ERR LED on
remote units: flashing depending on
the error in question
- on the extensions: Flashing SUPPLY LED Flashing SUPPLY LED
- on non-extensible ERR LED on or ERR LED on
remote units: flashing depending on
the error in question
Reaction while All outputs stay at 0 or All outputs stay at 0 or The program is not The program is not
powering up or while are set to 0. are set to 0. stopped, by default. stopped.
the basic unit is in use: The programming The programming With prior configuration
software no longer has software retains you can have the
access to the basic access to the basic system stopped in the
unit. unit. event of an error (see
The basic unit remains The user program is chapter 5 , section on
OFF as long as the not started or is systems constants).
error is still present. stopped.

3 Diagnosis 7–2 Advant Controller AC 31 / Issued: 01.99


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
or RESET - Software cold start
- Software - Power on
acknowledgment
- 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

Advant Controller AC 31 / Issued: 01.99 7–3 Diagnosis


3
7.3 Read the PLC status via the programming software
Detailed information concerning the status of the basic unit and the detected errors can be
called with the programming software. Click the ”PLC status information” icon in the menu item
”SPS-Commun. 3”.
The data displayed in the status window is updated when the window is opened again.

7.4 Error management via programming


If error 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 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”.

3 Diagnosis 7–4 Advant Controller AC 31 / Issued: 01.99


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: MW 254,00 MW 254,08 MW 255,00 MW 255,08
Detailed information
in:
Information 1 MW 254,01 MW 254,09 MW 255,01 MW 255,09
Information 2 MW 254,02 MW 254,10 MW 255,02 MW 255,10
Information 3 MW 254,03 MW 254,11 MW 255,03 MW 255,11
Information 4 MW 254,04 MW 254,12 MW 255,04 MW 255,12
Hard version of unit* MW 254,05 MW 254,13 MW 255,05 MW 255,13
Soft version of unit* MW 254,06 MW 254,14 MW 255,06 MW 255,14
Serial number of
unit* MW 254,07 MW 254,15 MW 255,07 MW 255,15
Acknowledgement M 255.13 is set to 0 after M 255,14 is set to 0
via programming in error recovery after error recovery
the basic unit
This
acknowledgement
only resets the errors
on the basic unit, not
those signaled by a
remote unit
Acknowledgement With the CS31QU function block
via programming in
the basic unit and in
remote units
* Information not available on certain AC31 devices

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.

Advant Controller AC 31 / Issued: 01.99 7–5 Diagnosis


3
7.4.2 Meaning of the contents of the error word flags

Explanation of the tables:


Information 1: Memory address = Program memory address where the error was detected
Information 2: Address = Address of unit or defective extension
Information 3: 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 slave basic unit where the error was detected and
stored

3 Diagnosis 7–6 Advant Controller AC 31 / Issued: 01.99


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
Dec Hex
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 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 - - -

Advant Controller AC 31 / Issued: 01.99 7–7 Diagnosis


3
Class 4 error descriptions Error number in Detailed info 1 in Detailed info 2 in Detailed info 3 in
MW 255,08 MW 255,09 MW 255,10 MW 255,11
Dec Hex
Internal unit error 1D 01H unit type address channel number
Cut wire (detection of open circuit)* 2D 02H unit type address channel number
Analog output level error 3D 03H unit type address channel number
Overload 4D 04H unit type address channel number
Defective 10 V output 5D 05H unit type address channel number
Overload and cut wire* 6D 06H unit type address channel number
Short circuit 8D 08H unit type address channel number
Short circuit + cut wire* 10D 0AH unit type address channel number
Overload + short circuit 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 129D 81H - - -
detected by the system on startup.
A program syntax error is detected 131D 83H Program address - -
on startup.
On startup the system detects that 132D 84H - - -
the historical values memory is too
small (max. 256).
The cycle time is missing and 133D 85H - - -
detected by the system on startup.
A missing label for a conditional 135D 87H Program address - -
step is detected by the system on
startup.
The program is not started because 138D 8AH Number of units Number of actual -
the number of units initialized on the selected during units on the CS31
CS31 system bus is less than the configuration system bus
number specified during (KW 0,9)
configuration, KW 0,9.
The program is too large for the 140D 8CH - - -
memory.
* An error is detected if previously configured by programming the CS31CO block.

3 Diagnosis 7–8 Advant Controller AC 31 / Issued: 01.99


Appendix

A1 Correspondence between variables and physical addresses


This paragraph describes the correspondence between the variables and their physical
memory addresses. This information is required for certain functions such as COPY, data
exchange between the CS31 system bus master and slave basic units.

The variable address is given by the segment and offset value.


These values are expressed in hexadecimal format.

H 0000 is the segment for all variables.


The correspondence between the variable and the segment is given in the following table:

Variables Physical addresses (Byte count)


E00,00...E00,07/E00,08...E00,15 H 1900/H 1901
E01,00...E01,07/E01,08...E01,15 H 1902/H 1903
E02,00...E02,07/E02,08...E02,15 H 1904/H 1905

E61,00...E61,07/ E61,08...E61,15 H 197A/H 197B


E62,00...E62,07/ E62,08...E62,15 H 197C/H 197D

E68,00....E68,15 H 1988/H 1989


M00,00....M00,07/M00,08...M00,15 H 1A00/H 1A01

M99,00...M99,15 H 1AC6/H 1AC7


M230,00...M230,15 H 1AC8/H 1AC9

M255,00...M255,15 H 1AFA/H 1AFB


A00,00....A00,07/ A00,08...A00,15 H 1B00/H 1B01
A01,00...A01,15 H 1B02/H 1B03
A02,00...A02,15 H 1B04/H 1B05

A61,00....A61,15 H 1B7A/H 1B7B


A62,00...A62,15 H 1B7C/H 1B7D

A68,00....A68,15 H 1B88/H 1B89


MW00,00 H 1C00
MW00,01 H 1C02

MW99,00 H 2860

MW99,15 H 287E
MW230,00 H 2880

MW230,15 H 289E

MW255,15 H 2BBE

Advant Controller AC 31 / Issued: 08.99 A–1 Appendix


3
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 H 7200
KD00,01 H 7404 H 7204

KD00,15 H 743C H 723C


KD01,15 H 727C
KD07,15 ---
H 75FC ---
EW00,00 H 5200
EW00,01 H 5202

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

S125,00...S125,15 H 3DFA/H 3DFB H 3EFA / H3EFB


MD00,00 MD00,00 H 3E00 H 3F00
MD00,01 H 3E04 H 3F04

MD00,15 H 3E3C H 3F3C


M03,15 H 3FFC
MD07,15 --- H 3FFC ---

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

3 Appendix A–2 Advant Controller AC 31 / Issued: 08.99


A2 Historical values

Historical values are basic unit specific internal variables which enable the interim results of
results, which are required for numerous cycles, to be stored.
So that cycle N can be executed correctly, certain functions 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

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 (additional memory for the timers is restricted to 42 variables)

Counter functions

VRZ 3

CS31 bus functions

CS31CO 1

Communication functions

®
MODBUS 2
EMAS 1
DRUCK 2
SINIT 1

Controller functions

PI 3
PID 5

High order functions

BMELD 3 + number of inputs E


UHR 1

Advant Controller AC 31 / Issued: 08.99 A–3 Appendix


3
3 Appendix A–4 Advant Controller AC 31 / Issued: 08.99
Printed on chlorine-free bleached paper

ABB Schalt- und Steuerungstechnik GmbH


Eppelheimer Straße 82 Postfach 10 50 09
D-69123 Heidelberg D-69040 Heidelberg

Telephone +49 6221 777-0


Telefax +49 6221 777-111
E-Mail desst.helpline@de.abb.com
Internet http://www.abb-sst.de Printed in the Federal Republic of Germany (08.99)

You might also like