ABB ICMK14F1, ICMK14N1, XI16E1, XO08R1, XC08L1 Operating Manual

...
Page 1
Operating Manual Advant Controller 31
Series 40 and 50
Order No. 1SAC 1316 34 R0201
ABB Schalt­und Steuerungstechnik
Page 2
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
Page 3
Advant Controller AC 31 / Issued: 08.99 Contents – 1
3
Contents
1 Introduction…………… .............................................................................................................................. 1-1
1.1 General information on the AC31 system ....................................................................................................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
Page 4
Contents – 2 Advant Controller AC 31 / Issued: 08.99
3
3.7 Accessories ..............................................................................................................................................3-25
3.7.1 Programming cables: 07 SK 50 and 07 SK 52...........................................................................................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 comm and ......................................................................................................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
Page 5
Advant Controller AC 31 / Issued: 08.99 Contents – 3
3
6.2 Network communication via the integrated MODBUS® interface................................................................. 6-6
6.2.1 Protocol description...................................................................................................................................... 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 var iables and physical addresses ......................................................................A-1
A2 Historical values............................................................................................................................................A-3
Page 6
Contents – 4 Advant Controller AC 31 / Issued: 08.99
3
Page 7
Advant Controller AC 31 / Issued: 01.99 1 – 1 Introduction
3
1 Introduction
This chapter provides an introduction to automation with Advant Controller 31 (AC31), from the overall architecture to the operational rules of the 40 and 50 series basic units.
1.1 General information on the AC31 system
The 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.
Page 8
Introduction 1 – 2 Advant Controller AC 31 / Issued: 01.99
3
1.2 General setup rules
An AC31 system always includes an AC31 basic unit. There are three types of basic units:
- The 40 series basic units with a local inputs/outputs extensions interface.
- The 50 series basic units with a local inputs/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.
07KR51
or
07CT41
XI16E1 XO08R1 XC08L1 XM06B5
A maximum of 6 digital or analog central extensions
Figure 1: Basic unit with extension units on the local interface for input/output units
Page 9
Advant Controller AC 31 / Issued: 01.99 1 – 3 Introduction
3
1.2.2 Basic units with remote extensions option
With the 50 and 90 series, it is possible to increase the number of inputs/outputs of the basic basic unit by adding remote units. The basic unit controlling the system is called the MASTER 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).
07KR51 XI16E1 XO08R1
A maximum of 31 bus connection points A maximum of 500 m without amplifiers A maximum of 2000 m w ith amplifiers
ICMK14F1 XC08L1 XM06B5 ACS600
Frequency
converter
NCSA-01 interface
Festo
air pressure
actuators
CS 31 bus
A maximum of 6 extensions
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
Page 10
Introduction 1 – 4 Advant Controller AC 31 / Issued: 01.99
3
1.3 Operation of the 40 and 50 series basic units
1.3.1 Functional diagram
The memory of the 40 and 50 series is composed of two distinct areas:
- A RAM memory where the user program and data is loaded
- A Flash EPROM memory which contains:
- 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.
PC
CPU
RAM
At program call-up
Program
transmission
BASIC UNIT
Isolated RS232/485 connection
Flash
ASIC
UART
Figure 3: Functional diagram of a basic unit
Page 11
Advant Controller AC 31 / Issued: 01.99 1 – 5 Introduction
3
1.3.2 Program execution
The basic unit microprocessor ensures the cyclic execution of the user program as shown in Figure 4.
The internal processing:
- PLC monitoring and control
- operating and test functions
is executed in parallel with the previously described cycle.
The execution duration of a cycle (bus cycle + program cycle) is controlled by the basic unit. Any excess of the cycle time defined by the user is signaled by the ERR LED at the front of the basic unit.
Read inputs
Program processing
Write outputs
RUN STOP
Forcing the outputs
to 0
Communication along the
CS31 system bus
Figure 4: The program execution cycle
Page 12
Introduction 1 – 6 Advant Controller AC 31 / Issued: 01.99
3
1.3.3 Bus transmission
The master basic unit manages the transmission of messages to the various slaves via the RS485 connection.
The messages are transmitted in the following format:
- Request from the master basic unit:
address data CRC8
- 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.
Page 13
Advant Controller AC 31 / Issued: 01.99 1 – 7 Introduction
3
1.3.4 Refresh times/response times
Bus refresh times and basic unit response times depend on the system configuration, the number and type of the remote units on the CS31 bus.
Bus refresh times
The bus refresh times correspond to the 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:
Page 14
Introduction 1 – 8 Advant Controller AC 31 / Issued: 01.99
3
Never short-circuit the battery! There is danger of overheating and explosion. Avoid acci- dental short-circuits, therefore do not store batteries in metallic containers or boxes and do not bring them into contact with metallic surfaces.
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
with 8 isolated inputs and 6 relay outputs RS232 interface for programming or ASCII or MODBUS
commu­nication 24 V d.c. power supply
1SBP260020R1001
07 CR 41 120/230VAC Centrally extensible basic unit
with 8 isolated inputs and 6 relay outputs RS232 interface for programming or ASCII or MODBUS
commu­nication 120/230 V a.c. power supply
1SBP260021R1001
07 CT 41 24VDC Centrally extensible basic unit
with 8 isolated inputs and 6 transistor outputs RS232 interface for programming or ASCII or MODBUS
commu­nication 24 V d.c. power supply
1SBP260022R1001
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,
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
1SBP260010R1001
07 KR 51 120/230VAC Decentrally extensible basic unit with CS31 system bus,
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
1SBP260011R1001
07 KT 51 24VDC Decentrally extensible basic unit with CS31 system bus,
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
1SBP260012R1001
Page 15
Advant Controller AC 31 / Issued: 01.99 1 – 9 Introduction
3
Products Description Order no.
Centrally extensible remote units with CS31 bus connection
Only for 50 and 90 series basic units
ICMK 14 F1 24VDC Extensible remote unit
with 8 inputs and 6 relay outputs, 24 V d.c. power supply
1SBP260050R1001
ICMK 14 F1 120/230VAC Extensible remote unit
with 8 inputs and 6 relay outputs, 120/230 V AC power supply
1SBP260051R1001
ICMK 14 N1 24VDC Extensible remote unit
with 8 inputs and 6 transistor outputs, 24 V d.c. power supply
1SBP260052R1001
Central extensions without CS31 bus connection
For 40 and 50 series basic units and centrally extensible remote units with CS31 bus connection
XI 16 E1 Digital extension
with 16 isolated inputs, powered by the basic unit or remote unit
1SBP260100R1001
XO 08 R1 Digital extension
with 8 relay outputs, powered by the basic unit or remote unit
1SBP260101R1001
XC 08 L1 Digital extension
with 8 channels, configurable as inputs or transistor outputs, 24 V d.c./0.5 A, powered by the basic unit or remote unit
1SBP260102R1001
XK 08 F1 Digital extension
with 4 inputs and 4 relay outputs, powered by the basic unit or remote unit
1SBP260102R1001
XM 06 B5 Analog extension
with 4 inputs configurable 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
1SBP260103R1001
30 series digital remote units with CS31 bus connection
For 50 and 90 series basic units
ICSI 08 E4 230VAC Digital remote unit
with 8 isolated inputs 230 V a.c., 230 V a.c. power supply
FPR 331 6401 R0016
ICSO 08 Y1 24VDC Digital remote unit
with 8 transistor outputs 24 V d.c./2 A, 24 V d.c. power supply
FPR 331 1101 R1022
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
Page 16
Introduction 1 – 10 Advant Controller AC 31 / Issued: 01.99
3
Products Description Order no.
90 series remote units (with CS31 bus connection)
For 50 and 90 series basic units, not centrally extensible
07 DI 92 24V 24 V DC Digital remote unit
with 32 inputs, 24 V d.c. power supply
GJR 525 2400 R0101
07 DC 91 24 V DC Digital remote unit
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
GJR 525 1400 R0202
07 DC 92 24 V DC Digital remote unit
with 32 channels configurable for input/output, transistor outputs 24 V d.c./0.5 A, 24 V d.c. power supply
GJR 525 2200 R0101
07 AI 91 24 V DC Analog remote unit
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
GJR 525 1600 R0202
07 AC 91 24 V DC Analog remote unit
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
GJR 525 2300 R0101
Remote units with IP 67 protection (with CS31 con­nection)
For 50 and 90 series basic units, not centrally extensible
07 DI 93-I 24VDC Digital remote unit with IP 67 protection
with 16 inputs, 24 V d.c. power supply
GJV 307 5613 R0202
07 DO 93-I 24VDC Digital remote unit with IP 67 protection
with 8 outputs, 24 V d.c., 2 A transistor, 24 V d.c. power supply
GJV 307 5611 R0202
07 DK 93-I 24VDC Digital remote unit with IP 67 protection
with 8 inputs and 4 outputs, 24 V d.c., 2 A transistor, 24 V d.c. power supply
GJV 307 5623 R0202
Remote counter units (with CS31 bus connection)
For 50 and 90 series basic units, not centrally extensible
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
Page 17
Advant Controller AC 31 / Issued: 01.99 1 – 11 Introduction
3
Products Description Order no.
Displays
TC 50 Display with 2 lines of 20 characters, 7 operator keys, 5 customizable
keys for parameter modifications or process control IP 65 front plate 128 pages with 6 variables per page 128 help 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
1SBP260150R1001
TCWIN
Programming software for TC 50 under Windows NT and 95. Deliv­ered with connector cable for TC50-PC programming
1SBS260280R1001
TCWIN31
Programming software for TC 50 under Windows 3.11. Delivered with connector cable for TC50-PC programming
1SBS260281R1001
XTC 08 4-digit BCD display with input/output device housing
powered by the basic unit or remote unit
1SBP260107R1001
Accessories for the CS31 bus
For series 50 and 90 basic units
NCB CS31 system bus amplifier for 500 m
max. 2.000 m with 3 amplifiers possible, 24 V d.c. power supply
FPR 347 1200 R1002
NCBR CS31 bus amplifier for 500 m
max. 2.000 m with 3 amplifiers possible, with redundancy for parallel, ring or star networks, 24 V d.c. power supply
FPR 347 1300 R1002
Cables
07 SK 50 PC programming cable for 40 and 50 series basic units,
9-pin D-SUB connector to PC
1SBN260200R1001
07 SK 51
MODBUS/ASCII communication cable for 40 and 50 series basic units - 9-pin D-SUB connector to PC
1SBN260201R1001
07 SK 52 PC programming cable for 40 and 50 series basic units,
with bare wires/terminal connection to PC
1SBN260202R1001
07 SK 53 PC programming cable for 40 and 50 series basic units,
with bare wires/terminal connection to PC
1SBN260203R1001
07 SK 54 TC 50 cable for 40 and 50 series basic units 1SBN260204R1001 07 SK 55 PC-TC 50 programming cable
9-pin D-SUB connector to PC
1SBN260205R1001
07 SK 57 TC 50 cable for 30 and 90 series basic units 1SBN260207R1001
Page 18
Introduction 1 – 12 Advant Controller AC 31 / Issued: 01.99
3
Products Description Order no.
Connectors For 40 and 50 series basic units
07 ST 50 Three-wire dual connectors for easy connection to 40 and 50 series
basic units, of sensors or 3-wire digital actuators 2 units
1SBN260300R1001
07 ST 51 Dual connector for easy connection to 40 and 50 series basic units,
of sensors or 3/4 wire analog actuators 2 units
1SBN260301R1001
07 ST 52 Cage-clamp type dual connectors for digital channels
2 units
1SBN260302R1001
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
or XC 08 L1 extension
1SBN260313R1001
07 ST 57 A set of cage-clamp type connectors for XM 06 B5 extension 1SBN260314R1001
Various accessories
07 LP 50 Program loading unit for 40 And 50 series basic units 1SBN260320R1001 Labels Label for labelling the input/output channels (100 units) 1SBN260310R1001 Documentation Technical documentation for the 40 and 50 series basic units
German
English
1SAC 1316 99R0101 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.
Page 19
Advant Controller AC 31 / Issued: 01.99 3 – 1 Technical specifications
3
3 Technical specifications
This chapter describes the products and their general characteristics and operating conditions.
3.1 General operating conditions
The AC31 units were developed in accordance with the European EC 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
vertical storage transport
0 °C to + 55 °C 0 °C to + 40 °C
- 40 °C to + 75 °C
- 25 °C to + 75 °C
- Humidity annual average up to 30 days per year occasionally
DIN 40040 class F without condensation 75% 95% 85%
- Atmospheric pressure: operation storage
800 hPA ( 2000 m) 600 hPA ( 3500 m)
Mechanical data
- Degree of protection index
- Housing
- Vibration stress
- Shock stress
IP20 UL V2 CEI68-2-6 Test Fc CEI68-2-27 Test Ea
Tolerances for mains voltages
- 24 V d.c.
- 120 V a.c. (50/60 Hz)
- 230 V a.c. (50/60 Hz)
19.2 to 30 V (- 20%, + 25%)
97.75 to 126.5 V (- 18.5%, + 5.5%)
195.5 to 253 V (- 15%, + 10%)
Page 20
Technical specifications 3 – 2 Advant Controller AC 31 / Issued: 01.99
3
Creepage distances and clearances
IEC 664 and DIN VDE 0160
Insulation test
IEC 1131-2
Electromagnetic compatibility
Immunity tests against:
- electrostatic discharge
- radiated fields
- fast transient bursts
- high energy pulse
- conducted high frequencies
IEC 1000-4-2 (level 3) IEC 1000-4-3 (level 3) IEC 1000-4-4 (level 3)
IEC 1000-4-5 IEC 1000-4-6 (level 3)
Voltage drops and brief power cut-offs
- d.c. power supply
- a.c. power supply
Duration of the power cut-offs: 10 ms Time between 2 voltage drops: 1 s
Duration of the power cut-offs: 20 ms Time between 2 voltage drops: 1 s
Dielectric tests
IEC 1131-2
Mountings
- DIN rail
- Screw fittings
35 mm 4 mm diameter screws (M4)
Connections
- Connectors
- Cross-section for: earth
inputs
outputs
power supply
bus
- Screw-tightening torque
Removable terminal blocks (2.5 mm²)
Rigid or multi-conductor wire AWG 14 (1.95 mm²)
Rigid or multi-conductor wire AWG 18 (0.96 mm²) to AWG 14 (1.95 mm²)
Rigid or multi-conductor wire AWG 14 (1.95 mm²)
Rigid or multi-conductor wire AWG 14 (1.95 mm²)
Twisted pair AWG 24 (0.22 mm²) to AWG 18 (0.8 mm²)
0.8 Nm (given as an indication only)
Serial interface
- for programming
- for the bus
RS-232/RS-485 RS-485
Page 21
Advant Controller AC 31 / Issued: 01.99 3 – 3 Technical specifications
3
3.2 Technical specifications of the CS31 system bus
Type
RS 485 multipoint serial interface
Mode
Half-duplex
Number of connection points
1 master max. 31 slaves
General data
- Cross-section
- Twists
- Resistance
- Impedance specification
- Capacity
- Shielding
- Line termination
Twisted pair
0.22...0.8 mm² > 10 per metre 100 /km 100 to 150 < 150 nF/km Braiding Resistance 120 , ¼ Watt, connected
to each end of the bus
Protocol
CS31 (master/slave)
Data transmission control
CRC
Maximum length
up to 500 m without amplifier up to 2000 m with 3 amplifiers
(NCB or NCBR)
Bus redundancy
yes, with NCBR (bus amplifier)
Isolation
yes, by optocoupler
Refresh time
2 ms minimum typically 12 ms with 31 AC31 connection
points
Baud rate
187.5 kBauds
Page 22
Technical specifications 3 – 4 Advant Controller AC 31 / Issued: 01.99
3
3.3 Basic units
3.3.1 View of a basic unit (see Figure 1 on the next page)
1 – Location for DIN rail 2 – Plate fixture with unit earthing, alternative to 1 3 – Release lever for DIN rail mounting 4 – Location for external dual 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
Page 23
Advant Controller AC 31 / Issued: 01.99 3 – 5 Technical specifications
3
11
10
Figure 1: View of a basic unit
Figure 2: Magnification of item 9 without the cover
Each item is described on the previous page.
Page 24
Technical specifications 3 – 6 Advant Controller AC 31 / Issued: 01.99
3
3.3.2 Technical specifications
40 series 50 series
07 CR 41
24 V d.c.
07 CT 41 24 V d.c.
07 CR 41
120/230 V
a.c.
07 KR 51
24 V d.c.
07 KT 51 24 V d.c.
07 KR 51
120/230 V
a.c.
Number of I/O
- Integrated digital inputs 8 8
- Integrated digital outputs 6 6
- Integrated potentiometers 2 2
- Maximum number of central extension units per central unit
66
- Maximum number of remote units on the system CS31 bus
-31
- Max. number of digital inputs* 104 1096
- Max. number of digital outputs* 102 1074
- Max. number of analog inputs 24 272
- Max. number of analog outputs 12 136
Interfaces
- CS31 interface no yes
- Interface for: programming MODBUS
®
or ASCII
1 RS 232 1 RS 232/RS 485
Memory
- User program memory size: 16 K (typically 4 k instructions) 16 K (typically 4 k instructions)
- User program memory and constants
Flash EPROM Flash EPROM
- Data memory SRAM SRAM
- Data backup: backup autonomy charge time under power Further information on battery:
see section 1.3.6
no
-
-
yes, with battery (accumulator pack)
20 days at 25 °C
100 % in 12 h
* including /excluding the incorporated I/Os
Page 25
Advant Controller AC 31 / Issued: 01.99 3 – 7 Technical specifications
3
40 series 50 series
07 CR 41
24 V d.c.
07 CT 41 24 V d.c.
07 CR 41
120/230 V
a.c.
07 KR 51
24 V d.c.
07 KT 51 24 V d.c.
07 KR 51
120/230 V
a.c.
Program processing/operands
- Execution time for 1 K User program:
100 % digital instructions 65 % digital, 35 % words
- Minimum settable cycle time
0.4 ms
1.2 ms 1 ms
0.4 ms
1.2 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: time range
42 simultaneously
from 1 ms to 596 h 30 (24 days + 20 h 30)
42 simultaneously
from 1 ms to 596 h 30 (24 days + 20 h 30)
- Counters: counter range
unlimited
- 32767 to + 32767
unlimited
- 32767 to + 32767
- High-speed counter function: incremental encoder
stand-alone counter
1 with max. frequency 5 kHz
on inputs E62,00 and E62,01
2 to 7 kHz on inputs E62,00 and E62,01
1 with max. frequency 5 kHz
on inputs E62,00 and E62,01
2 to 7 kHz on inputs E62,00 and E62,01
- Clock: drift (typical) - 4.3 min/month at 25° C
Programming
- Programming software 907PC33/331 907PC33/331
- Programming language FBD: Function block language LD: ladder diagram IL: instruction list
FBD: Function block language LD: ladder diagram IL: instruction list
- Program execution cyclic cyclic
- Operation set:
basic functions advanced functions
Boolean, arithmetic, comparison
over 60
Boolean, arithmetic, comparison
over 60
Page 26
Technical specifications 3 – 8 Advant Controller AC 31 / Issued: 01.99
3
40 series 50 series
07 CR 41 24 V d.c.
07 CT 41 24 V d.c.
07 CR 41
120/230 V a.c.
07 KR 51 24 V d.c.
07 KT 51 24 V d.c.
07 KR 51
120/230 V a.c.
- Weight 400 g 800 g 400 g 800 g
Power supply
- Power supply voltage: nominal value
admissible range
24 V d.c.
19.2 to 30 V
120/230 V a.c.
97.75 to
126.5 or
195.5 to 253 V
24 V d.c.
19.2 to 30 V
120/230 V a.c.
97.75 to
126.5 V or
195.5 to 253 V
- Current consumption: basic unit alone typical maximum configuration typical
120 mA 400 mA
30 mA
100 mA
120 mA 400 mA
30 mA
100 mA
- Polarity reversal protection yes no yes no
- Integrated power supply 24 V d.c. for the inputs:
voltage range max. output current short circuit protection
no
-
-
-
yes
19.2 to 30 V 400 mA
yes
no
-
-
-
yes
19.2 to 30 V 400 mA
yes
- Dissipation 5 W 6W 10 W 5 W 6 W 10 W
Integrated digital units
- Number of inputs 8 8 8 8 8 8
- Isolated inputs (test voltage) 1500 V a.c. 1500 V a.c. 1500 V a.c. 1500 V a.c. 1500 V a.c. 1500 V a.c.
- Input types PNP and NPN
PNP and
NPN
PNP and
NPN
PNP and
NPN
PNP and
NPN
PNP and
NPN
- Input voltage:
nominal value signal at 0 (IEC 1131-2) signal at 1 (IEC 1131-2)
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
24 V d.c.
0 to + 5 V
+ 15 to
+ 30 V
24 V d.c.
0 to + 5 V
+ 15 to
+ 30 V
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
24 V d.c.
0 to + 5 V
+ 15 to +
30 V
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
- Input current at 24 V d.c.:
inputs E62,02 to E62,07 inputs E62,00 and E62,01
7 mA 9 mA
7 mA 9 mA
7 mA 9 mA
7 mA 9 mA
7 mA 9 mA
7 mA 9 mA
- Signal delay time:
standard input input with counter configuration
5 ms
70 µs
5 ms
70 µs
5 ms
70 µs
5 ms 70 µs
5 ms
70 µs
5 ms
70 µs
- Cable length:
unshielded (not suitable for the high-speed counter inputs)
shielded
300 m 500 m
300 m 500 m
300 m 500 m
300 m 500 m
300 m 500 m
300 m 500 m
Page 27
Advant Controller AC 31 / Issued: 01.99 3 – 9 Technical specifications
3
40 series 50 series
07 CR 41
24 V d.c.
07 CT 41 24 V d.c.
07 CR 41
120/230 V
a.c.
07 KR 51
24 V d.c.
07 KT 51 24 V d.c.
07 KR 51
120/230 V
a.c.
Integrrated outputs
- Number of outputs 6 Relays 6 Transistor 6 Relays 6 Relays 6 Transistor 6 Relays
- Isolated outputs/electronic 1500 Vrms 1 min
1500 V a.c. 1500 Vrms
1 min
1500 Vrms
1 min
1500 V a.c. 1500 Vrms
1 min
- Output current/channel at
24 V d.c.
- Output current/channel at
24 V d.c 230 V a.c.:
2 A
2 A AC-1
0.5 A AC-15
0.5 A
1 A for
A62,00 and
A62,01
-
2 A
2 A AC-1
0.5 A AC-15
2 A
2 A AC-1
0.5 A AC -15
0.5 A
1 A for
A62,00 and
A62,01
-
2 A
2 A AC-1
0.5 A AC-15
- Total load current 6 x 2 A 4 x 0.5 A
+ 2 x 1 A
6 x 2 A 6 x 2 A 4 x 0.5 A
+ 2 x 1 A
6 x 2 A
- Output leakage current -
< 200 µA
--
< 200 µA
-
- Leakage voltage - 0.5 V at
max. 500 mA
- - 0.5 V at max. 500 mA
-
- Minimum load 10 mA under 12 V d.c.
12 V 10 mA under
12 V d.c.
10 mA under
12 V d.c.
12V 10 mA under
12 V d.c.
- Breaking capacity under 120 V a.c.
(contact rating code B300) (UL)
2 A2 A2 A2 A
- Breaking capacity under 250 V a.c.
(contact rating code B300) (UL)
2 A (1.5 A
acc. to
UL)
2 A (1.5 A
acc. to
UL)
2 A (1.5 A
acc. to
UL)
2 A (1.5 A
acc. to
UL)
- Number of groups 2 (2+4) 2 (2+4) 2 (2+4) 2 (2+4)
- Switching frequency:
for resistive loads for inductive loads for lamps
< 1 Hz < 0.2 Hz < 0.2 Hz
5 kHz < 1 Hz
< 0.2 Hz < 0.2 Hz
< 1 Hz < 0.2 Hz < 0.2 Hz
5 kHz < 1 Hz
< 0.2 Hz < 0.2 Hz
- Maximum number of switches: for AC-1 for AC-15
1 million
100.000
-
-
1 million
100.000
1 million
100.000
-
-
1 million
100.000
- Short circuit and overload protection
external thermic external external thermic external
- Surge voltage protection external yes external external yes external
- Outputs diagnosis no overload and short circuit
no no overload and
short circuit
no
- Cable length:
unshielded shielded
150 m 500 m
150 m 500 m
150 m 500 m
150 m 500 m
150 m 500 m
150 m 500 m
Page 28
Technical specifications 3 – 10 Advant Controller AC 31 / Issued: 01.99
3
3.4 Centrally extensible remote units
3.4.1 View (see Figure 3 on the next page)
1 – Location for the DIN rail 2 – Plate fixture with unit earthing, alternative to 1 3 – Release lever for DIN rail mounting 4 – Location for 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
Page 29
Advant Controller AC 31 / Issued: 01.99 3 – 11 Technical specifications
3
Figure 3: View of a centrally extensible remote unit
Figure 4: Magnification of item 9 without the cover flap
For descriptions of the individual positions see page 3-10 at left.
Page 30
Technical specifications 3 – 12 Advant Controller AC 31 / Issued: 01.99
3
3.4.2 Technical specifications of the centrally extensible remote units
ICMK 14 F1 ICMK 14 F1 ICMK 14 N1
24 V d.c. 120/230 V a.c. 24 V d.c.
- Weight 400 g 800 g 400 g
Power supply
- Mains voltage: nominal value
admissible range
24 V d.c.
19.2 to 30 V
120 or
230 V a.c.
97.75 to
126.5 V or
195.5 to 253 V
24 V d.c.
19.2 to 30 V
- Consumption: unit alone (typical) maximum configuration (typical)
80 mA
400 mA
30 mA
100 mA
80 mA
400 mA
- Polarity reversal protection yes - yes
- Integrated power supply 24 V d.c. for the inputs:
range of voltage value output current short circuit protection
no
-
-
-
yes
19.2 to 30 V 400 mA
yes
no
-
-
-
- Dissipation 5 W 10 W 6 W
Integrated digital inputs
- Number of inputs 8 8 8
- Isolation of inputs 1500 V a.c. 1500 V a.c. 1500 V a.c.
- Input types PNP and NPN PNP and NPN PNP and NPN
- Input voltage: nominal value signal at 0 (IEC 1131-2) signal at 1 (IEC 1131-2)
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
- Input current at 24 V d.c.: inputs Exx,02 to Exx,07 inputs Exx,00 and Exx,01
7 mA 9 mA
7 mA 9 mA
7 mA 9 mA
- Signal delay time 5 ms 5 ms 5 ms
- Cable length: unshielded shielded
300 m 500 m
300 m 500 m
300 m 500 m
Page 31
Advant Controller AC 31 / Issued: 01.99 3 – 13 Technical specifications
3
ICMK 14 F1 ICMK 14 F1 ICMK 14 N1
24 V d.c. 120/230 V a.c. 24 V d.c.
Integrated outputs
- Number of outputs 6 relays 6 relays 6 transistors
- Isolated outputs (test voltage) 1500 Vrms 1 min
1500 Vrms
1 min
1500 V a.c.
- Output current/channel
Direct voltage 24 V d.c.
Alternating current 24 to 230 V a.c.
2 A
2 A AC-1
0.5 A AC-15
2 A
2 A AC-1
0.5 A AC-15
0.5 A
1 A for
Axx,00 and
Axx,01
- Total load current 6 x 2 A 6 x 2 A 4 x 0.5 A
+ 2 x 1 A
- Output leakage current --
< 200 µA
- Leakage voltage - - 0.2 V max.
500 mA
- Minimum cut-off values 10 mA under
12 V d.c.
10 mA under
12 V d.c.
12 V
- Breaking power under 120 V a.c.
(contact rating code B300) (UL)
2 A 2 A
- Breaking power under 250 V a.c.
(contact rating code B300) (UL)
2 A (1.5 A
acc. to UL)
2 A (1.5 A
acc. to UL)
- Number of groups 2 (2+4) 2 (2+4)
- Switching frequency
for resistive loads for inductive loads for lamps
< 1 Hz < 0.2 Hz < 0.2 Hz
< 1 Hz < 0.2 Hz < 0.2 Hz
< 5 kHz
- Maximum number of switches: for AC-1 for AC-15
1 million
100.000
1 million
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 shielded
150 m 500 m
150 m 500 m
150 m 500 m
Page 32
Technical specifications 3 – 14 Advant Controller AC 31 / Issued: 01.99
3
3.5 Digital central extensions
3.5.1 View (see Figures 5, 6, 7 on the next page)
1 – Location for the DIN rail 2 – Plate fixture with unit earthing, alternative to 1 3 – release lever for DIN rail mounting 4 – Location for external dual connector 5 – Connectors for input/output cabling, under cover flap 6 – Status LEDs for inputs/outputs 7 – Connector for additional input/output extensions 8 – Connection to basic unit/remote unit or to the last input/output extension connected to
the basic/remote unit
Page 33
Advant Controller AC 31 / Issued: 01.99 3 – 15 Technical specifications
3
Figure 5: View of the central digital extension XI 16 E1
Figure 6: View of the XO 08 R1 central digital extension
Figure 7: View of the XC 08 L1 central digital extension
For descriptions of the individual positions see page 3-14 at left.
Page 34
Technical specifications 3 – 16 Advant Controller AC 31 / Issued: 01.99
3
3.5.2 Digital central extensions specifications
The digital extension units are powered at 5 V by the basic unit or extensible remote unit to which they are connected.
Warning: the extensions must not be connected or 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 signal at 0 (IEC 1131-2) signal at 1 (IEC 1131-2)
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
- 24 V d.c. 0 to + 5 V
+ 15 to + 30 V
24 V d.c.
0 to + 5 V
+ 15 to + 30 V
-
- Input current at 24 V d.c. 4 mA - 4 mA 7 mA -
- Signal delay time 5 ms - 5 ms 5 ms -
- Cable length: unshielded shielded
300 m 500 m
-
-
300 m 500 m
300 m 500 m
-
-
Integrated outputs
- Number of outputs - 8 relays 8 transistors 4 relays 16 transistors
- Isolated outputs (test voltage) - 1500 Vrms 1 min
1500 V a.c.
1 min
1500 Vrms
1 min
1500 V a.c.
1 min
- Load current, under/channel:
24 V d.c. alternate 24 to 230 V a.c.
-
-
2 A
2 A AC-1
0.5 A AC-15
0.5 A
-
2 A
2 A AC-1
0.5 A AC-15
0.5 A
-
- Total load current - 8 x 2 A 8 x 0.5 A 4 x 2 A 16 x 0.5 A
- Output leakage current -
< 200 µA < 200 µA
- Leakage voltage - 0.5 V to 500 mA
max.
0.5 V to 500 mA max.
- Minimum load - 10 mA at 12 V d.c.
12 V 10 mA at
12 V d.c.
12 V
Page 35
Advant Controller AC 31 / Issued: 01.99 3 – 17 Technical specifications
3
Digital central extensions specifications continued
Integrated outputs continued XI 16 E1 XO 08 R1 XC 08 L1 XK 08 F1 XO 16N1
- Breaking power under 120 V a.c. (contact rating code B300) (UL)
-2 A 2 A
- Breaking power under 250 V a.c. (contact rating code B300) (UL)
- 2 A (1.5 A according to
UL)
2 A (1.5 A
according to
UL)
- Number of groups 2 (4+4) 1
- Switching rate: for resistive loads for inductive loads for lamps
-
< 1 Hz < 0.2 Hz < 0.2 Hz
> 10 kHz < 1 Hz
< 0.2 Hz < 0.2 Hz
> 10 kHz
- Number of switchin cycles: for AC-1 for AC-15
- 1 million 100 000
- 1 million 100 000
-
- Short circuit and overload protection - externally yes: thermic
externally yes:
thermic
- Surge voltage protection - externally yes:
by transient volt
suppresser
externally yes:
by transient volt
suppresser
- Output diagnosis - - overload and
short circuit
- overload and short circuit
- Cable length: unshielded shielded
-
-
150 m 500 m
150 m 500 m
150 m 500 m
150 m 500 m
Page 36
Technical specifications 3 – 18 Advant Controller AC 31 / Issued: 01.99
3
3.6 Analog central extension
3.6.1 View (see Figure 8)
1 – Location for the DIN rail 2 – Plate fixture with unit earthing, alternative to 1 3 – Release lever for DIN rail mounting 4 – Location for external dual connector 5 – 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
Page 37
Advant Controller AC 31 / Issued: 01.99 3 – 19 Technical specifications
3
3.6.2 Technical specifications of the analog central extension
The analog extensions are powered at 5 V and 24 V d.c. by the basic unit or extensible remote unit to which they are connected.
The analog value with a customised 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 3 W 3 W
- Weight 200 g 200 g 150 g
Analog inputs Voltage Current Pt 100 Pt 1000
- Nominal range:
- Maximum values
+/- 10 V
+/- 30 V
0…20 mA 4…20 mA +/- 25 mA
- 200 °C
+ 450 °C
- 200 °C
+ 450 °C
- Isolated inputs (test voltage)
- Resolution
500 V
12 bits + sign
500 V
12 bits
500 V 500 V
- Min resolution at input (± 1 LSB)
- Full scale precision
+/- 2.5 mV +/- 0.7 %
+/- 5 µA
+/- 0.8 %
+/- 0.1 °C
+/- 1.5 °C
+/- 0.1 °C
+/- 1.5 °C
- Word value range read by the basic unit
+/- 32767 0…32767 - 2000/+4500 - 2000/+4500 in preparation
- Amplification error between two channels
70 dB 70 dB 70 dB 70 dB
- Input impedance
100 k 100 100 k 100 k
- Sensor tolerance: Type A (IEC 751) Type B (IEC 751)
- Linearization for Pt 100/Pt 1000 probe
yes yes yes yes
- Temperature coefficient 100 ppm 100 ppm 100 ppm 100 ppm
- Dissipation sensor: 0 °C 450 °C
0.625 mW
1.6 mW
0.0625 mW
0.16 mW
- Filtering time by input 10 ms 10 ms 10 ms 10 ms
- Diagnosis no no no no
- Cable length: shielded
short-circuited unused channels
50 m
yes yes
50 m
yes yes
50 m
yes yes
50 m
yes yes
Page 38
Technical specifications 3 – 20 Advant Controller AC 31 / Issued: 01.99
3
Technical specifications of the analog central extension, continued
XM 06 B5
Analog outputs Voltage Current
- Nominal range
- Max. current
+/- 10 V
2 mA
0…20 mA 4…20 mA
20 mA
- Isolation of the outputs/electronic
- Resolution
500 V
11 bits + sign
500 V
12 bits
- Min output resolution (± 1 LSB)
+/- 5 mV +/- 5 µA
- Word value range +/- 32767 0… 32767
- Linearity of full range 1.2 % 1.3 %
- Max. resistance
400
- Diagnosis no no
- Cable length: shielded
50 m
yes
50 m
yes
- Permissible total voltage drop at the sensors and lines circuited in series = Max 8 V
- Configuration: Voltage Current
- With push-button yes yes
- With connection elements (CE) yes (chapter 5.4 – configuration)
3.6.3 Analog inputs diagrams
Current 4-20 mA:
3.75 mA
Page 39
Advant Controller AC 31 / Issued: 01.99 3 – 21 Technical specifications
3
Current 0-20 mA:
PT100/PT1000:
Val = T° x 10
Voltage input ± 10 V: 1 LSB = 10 V/212 = 2.44 mV with minimum value (step 8)
32767
V10
Vin input Voltage
value PLC ×=
–32767 PLC value +32.767
12 bits
Sign
Page 40
Technical specifications 3 – 22 Advant Controller AC 31 / Issued: 01.99
3
Current input 0-20 mA: 1 LSB = 20 mA/212 = 4.88 µA with minimum value (step 8)
32767
mA 20
mA in input Current
value PLC ×=
0 PLC value +32.767
Current input 4-20 mA: Resolution is equal to 0-20 mA
32767
mA 20
mA in input Current
value PLC ×=
0 PLC value +32.767 With current input <3.75 mA the PLC value is = –32767
3.6.4 Analog outputs diagrams
Current 4-20 mA:
Current 0-20 mA:
Page 41
Advant Controller AC 31 / Issued: 01.99 3 – 23 Technical specifications
3
Voltage output ± 10 V: 1 LSB = 10 V/211 = 4.88 mV with minimum value (step 8)
32767
V10value PLC
Vinoutput Voltage
×
=
Current output 0-20 mA: 1 LSB = 20 mA/212 = 4.88 µA with minimum value (step 8)
32767
mA 20 value PLC
mA inoutput Current
×
=
Current output 4-20 mA: Resolution is equal to 0-20 mA
32767
mA 20 value PLC
mA inoutput Current
×
=
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
Page 42
Technical specifications 3 – 24 Advant Controller AC 31 / Issued: 01.99
3
The configuration PT100 or PT1000 is set with switches 5 and 6 of the DIP switch: one dip switch for four channels.
Switch 5 Channels 0 to 3
OFF PT1000 ON PT100
Switch 6 Channels 4 to 7
OFF PT1000 ON PT100
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.
Page 43
Advant Controller AC 31 / Issued: 01.99 3 – 25 Technical specifications
3
3.7 Accessories
3.7.1 Programming cables: 07 SK 50 and 07 SK 52
These cables allow you to connect the 40 and 50 series basic units to a PC for programming and testing.
The cables are 2 m in length and shielded.
Figure 9: 07 SK 50 programming cable (grey)
07 SK 50 connection diagram (see Figure 9):
Central unit
MIN DIN 8
PC
SUB D9
RxD 1 TxD 2 GND 7
5 8 3 6 4
shield
3 TxD (yellow) 2 RxD (red) 5 GND (black) 8CTS 7RTS 1CD 4DTR 6DSR shield
Page 44
Technical specifications 3 – 26 Advant Controller AC 31 / Issued: 01.99
3
Figure 10: 07 SK 52 programming cable (grey) 07 SK 52 connection diagram (see Figure 10):
- Diagrams of RTS signal cabling: If RTS is active at low level:
RTS+ 5 RTS- 8
CTS white 0V blue (for external GND)
central unit end
MIN DIN 8
bare wires end
If RTS is active at high level:
RTS+ 5 RTS- 8
+10 V white (for external DTR) CTS blue
central unit end
MIN DIN 8
bare wires end
- Cable for RS 232
central unit end
MIN DIN 8
bare wires end
RxD 1 TxD 2 GND 7 RTS+ 5 RTS- 8 shield
TxD yellow RxD red GND black white Cabling depends on if RTS is blue active at high or low level shield
- Cable for RS 485
central unit end
MIN DIN 8
bare wires end
1 D1- 2 D1+ 7 RTS+ 5 RTS- 8 shield
yellow not used D1- red D1+ black white Cabling depends on if RTS is blue active at high or low level
shield
Comment: The programming cable is distinguished from the ASCII/MODBUS® communication cables by its grey colour.
Page 45
Advant Controller AC 31 / Issued: 01.99 3 – 27 Technical specifications
3
3.7.2 ASCII/MODBUS® communications cables: 07 SK 51 and 07 SK 53
These cables allow you to connect the 40 or 50 series basic units to other devices for ASCII or MODBUS
®
communication.
The cables are 2 m in length and shielded.
Figure 11: 07 SK 51 communication cable (black)
07 SK 51 connection diagram (see Figure 11):
Central unit
MIN DIN 8
PC
SUB D9
RxD 1 TxD 2 GND 7
5 8 3 6 4
shield
3 TxD (yellow) 2 RxD (red) 5 GND (black) 8 CTS (white) 7 RTS (blue) 1CD 4DTR 6DSR shield
Page 46
Technical specifications 3 – 28 Advant Controller AC 31 / Issued: 01.99
3
Figure 12: 07 SK 53 communication cable (black)
07 SK 53 connection diagram (see Figure 12):
- Wiring diagrams for RTS signal: If RTS is active at low level:
RTS+ 5 RTS- 8
CTS white 0V blue (for external
GND)
central unit end
MIN DIN 8
bare wires end
If RTS is active at high level
- Cable for RS 232
central unit end
MIN DIN 8
bare wires end
RxD 1 TxD 2 GND 7 RTS+ 5 RTS- 8
3
6 shield
TxD yellow RxD red GND black
white Cabling depends on if RTS is
blue active at high or low level
shield
- Cable for RS 485
central unit end
MIN DIN 8
bare wires end
D1- 2 D1+ 7 RTS+ 5 RTS- 8
3
6 shield
yellow (not used) D1- red D1+ black white Cabling depends on if RTS is blue active at high or low level
shield
Comment: In contrast to the programming cables, the ASCII/MODBUS® cable is BLACK.
Page 47
Advant Controller AC 31 / Issued: 01.99 3 – 29 Technical specifications
3
3.7.3 TC50 display cables: 07 SK 54 and 07 SK 55
Refer to the TC 50 documentation supplied with the product.
3.7.4 Connectors (see Figure 13)
There are two other types of connectors available in addition to the removable 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
Page 48
Technical specifications 3 – 30 Advant Controller AC 31 / Issued: 01.99
3
3 – Cage clamp type connectors
Cage clamp type connectors enable rapid cabling of all the 40 and 50 series products. Installation involves:
- connection using the supplied tool (see Figure 14) or with a screwdriver (see Figure 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.
Page 49
Advant Controller AC 31 / Issued: 08.99 4 – 1 Installation
3
4 Installation
This chapter contains detailed information on the cabling of the individual products and the main implementation and addressing rules.
4.1 Implementation of an AC31 system
The AC31 product range has been developed for 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 section up to 2.5 mm
2
.
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.).
Page 50
Installation 4 – 2 Advant Controller AC 31 / Issued: 08.99
3
4.1.3 Dimensions (in mm)
84
3
5
m
m
E
N
5
0
0
2
2
C
0332D
120
9
3
C
0333D
104
8
5
2
C
0334D
Figure 1: Basic unit and extensible remote unit
84.5
3
5
m
m
E
N
5
0
0
2
2
C
0309D
65
9
3
C
0310D
51
8
5
2
C
0311D
Figure 2: Local extensions
48
C
0330D
28.2
56
C
0
3
3
1
D
Figure 3: Dual connector
41
C
0306D
166
8
6
C
0307D
157
7
7
C
0308D
Figure 4: Operating device
Page 51
Advant Controller AC 31 / Issued: 08.99 4 – 3 Installation
3
Master
Vorort-
Modul
Vorort- Modul
Vorort­Modul
12 312 3
12 312 3
Erde von Schaltschrank 1
Erde von Schaltschrank 2
C0011D1G
1: Bus 2 2: Bus 1 3: Sh(ield)
Figure 5: Earthing principles for several cabinets: capacitive earthing
M
Schalt- schrank
1
Schalt- schrank
2
Erdung
Störspannungsquelle
C0103D1G
Figure 6: Joint earthing for devices which generate noise
Earth for cabinet 1
Earth for cabinet 2
Direct earthing at cabinet wall
Direct earthing at cabinet wall
CS31 system bus
Remote unit
Remote unit
Remote unit
Cabinet
Cabinet
Noisy element
Earth
Page 52
Installation 4 – 4 Advant Controller AC 31 / Issued: 08.99
3
4.1.4 Earthing
Basic earthing principles
The earth and mains wires should be connected in star. All AC 31 components of a cabinet should be connected to the same earth. If the remote units are located outside the cabinet, they should be 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.)
Page 53
Advant Controller AC 31 / Issued: 08.99 4 – 5 Installation
3
Figure 7: Correct bus cabling Figure 8: Incorrect bus cabling
Vorort-
Modul
C0004D1G
Busmaster
Vorort-
Modul
Vorort-
Modul
Vorort-
Modul
Vorort-
Modul
Master
C0005D1G
Vorort-
Modul
Vorort- Modul
Vorort-
Modul
Vorort-
Modul
Vorort-
Modul
Figure 9: Correct bus topology Figure 10: Cabling with spur lines not permissible
Figure 11a: Correct symmetrically twisted pair Figure 11b: Incorrectly twisted pair
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Remote
unit
Bus master
Page 54
Installation 4 – 6 Advant Controller AC 31 / Issued: 08.99
3
4.1.5 The CS31 system bus
The CS31 system bus is an RS 485 serial bus and consists of a shielded twisted 2-wire cable.
This bus is a master slave bus and only supports a single master.
Use an AWG 24 (≥ 0.22 mm²) twisted pair with joint shielding. 0.5 mm
2
= 0.8 mm is
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.
Page 55
Advant Controller AC 31 / Issued: 08.99 4 – 7 Installation
3
4.2 Basic unit and remote unit cabling
Power supply
The connection of an external thermal fuse is necessary to ensure protection of the devices.
An internal 24 V d.c. power supply is available on 120/ 230 V a.c. versions. This power 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 AW G 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.
Page 56
Installation 4 – 8 Advant Controller AC 31 / Issued: 08.99
3
Cabling of inputs/outputs of the basic unit and remote units:
Figure 12: Positive logical inputs PNP 24 V d.c. power supply
Figure 13: Negative logical inputs NPN 24 V d.c. power supply
Page 57
Advant Controller AC 31 / Issued: 08.99 4 – 9 Installation
3
Figure 14: Positive logical inputs PNP 120/230 V a.c. power supply
Figure 15: Negative logical inputs NPN 120/230 V a.c.
Page 58
Installation 4 – 10 Advant Controller AC 31 / Issued: 08.99
3
Figure 16: Relay outputs
Figure 17: Transistor outputs
Page 59
Advant Controller AC 31 / Issued: 08.99 4 – 11 Installation
3
4.3 Cabling digital central extensions
Extension XI 16 E1 (see Figure 18 on page 4–12)
The extension is powered with 5 V by the basic unit or the remote unit. The connection
between the extension and the basic unit is made with the 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.
Page 60
Installation 4 – 12 Advant Controller AC 31 / Issued: 08.99
3
Figure 18: Extension XI 16 E1 Figure 19: Extension XO 08 R1
Page 61
Advant Controller AC 31 / Issued: 08.99 4 – 13 Installation
3
Figure 20: Extension XC 08 L1 Figure 21: Extension XO 16 N1
Page 62
Installation 4 – 14 Advant Controller AC 31 / Issued: 08.99
3
Figure 22: Extension XK 08 F1
l
Page 63
Advant Controller AC 31 / Issued: 08.99 4 – 15 Installation
3
4.4 Cabling the analog central extension
Extension XM 06 B5
The extension is powered with 5 V by the basic unit or the remote unit. The connection
between the extension and the basic unit is made with the cable situated on the left of 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).
Page 64
Installation 4 – 16 Advant Controller AC 31 / Issued: 08.99
3
Figure 23: XM 06 B5 with 2-wire probe Figure 24: XM 06 B5 with 3-wire probe
Page 65
Advant Controller AC 31 / Issued: 08.99 4 – 17 Installation
3
Figure 25: XM 06 B5 with 4-wire probe and utilization of the 07 ST 51 connector
Page 66
Installation 4 – 18 Advant Controller AC 31 / Issued: 08.99
3
4.5 Addressing
4.5.1 Input/output variables
Addressing the CS31 bus enables the user to program the utilization of the inputs/outputs in a manner that is completely transparent to the user.
The inputs/outputs of a AC31 remote unit are 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 : binary input A: binary output EW: analog input AW: analog output
Address (xx) Channel number (yy)
E xx yy
4.5.2 Addressing basic unit masters or stand-alone basic units with central extensions
Utilization of the s
tand-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
50 series
Maximum of 6 extensions
Page 67
Advant Controller AC 31 / Issued: 08.99 4 – 19 Installation
3
Master or stand-alone basic unit
Õ The address 62 is automatically assigned to the inputs/outputs of a basic unit. Õ Their addresses are assigned automatically according to the order of the extensions:
- The first digital inputs extension is assigned the address 63, and the subsequent
extensions are incremented by 1, up to 68.
40 or 50 series
Addresses 63 64 65
E E E
- 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
E
A
E
E
A A
Addresses 63 63 64 65 64 65
- An extension with mixed and configurable inputs/outputs is considered by the addressing as an input extension and an output extension => The address of the following digital extensions, whether it is input or output, is incremented by 1.
40 or 50
series
E E
E/A
E
A A
Addresses 63 64 65 66 66 67
In order to optimize the addressing, the mixed or configurable inputs/outputs extensions are placed at the extremities.
40 or 50
series
E/A E
A
E
A A
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 /
AW
A
EW /
AW
E
A E
Addresses 63 63 64 63 64 64
Page 68
Installation 4 – 20 Advant Controller AC 31 / Issued: 08.99
3
4.5.3 Addressing slave basic units or remote extension units on the CS31 system bus
Figure 26: Rotary switch for addressing the remote extension unit ICMK 14xx
The CS31 system bus protocol is a master/slave protocol: the master sends 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.
Page 69
Advant Controller AC 31 / Issued: 08.99 4 – 21 Installation
3
Addressing rule:
- The first digital input extension is assigned the address X+1. The following extension is incremented by 1 and so on until 61.
Remote unit
E E E
Addresses X X+1 X+2 X+3
50
series
master
EW /AWA EW /AWE A E
62 63 63 64 63 64 64 Addresses
CS 31 bus interface
- The first digital input extension is assigned the address X+1. The following extension is incremented by 1 and so on until 61.
50
series
master
EW /AWA EW /AWE A E
62 63 6 3 64 63 64 6 4 A d d r e ss e s
Rem o te unit
E A
E
E
A A
Addre s se s X X+1 X + 1 X+2 X+ 3 X+2 X+3
CS 31
bus
interface
- An extension with mixed and configurable inputs/outputs is considered by the addressing as an input extension and an output extension => The address of the following digital extensions, whether it is input or output, is incremented by 1.
None of the addresses defined by the configuration may be used by another remote 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.
Remote unit
E E
E/A
E
A A
Addresses X X+1 X+2 X+3 X+4 X+4 X+5
50
series
master
EW /AWA
EW /
AW
E
A E
62 63 63 63 64 64 64 Addresses
CS 31
bus
interface
Page 70
Installation 4 – 22 Advant Controller AC 31 / Issued: 08.99
3
When an analog extension unit is present amongst the extensions, the unit is assigned the
same address value as that of the extensible remote unit to which it is connected.
Address values = ( 0 X 61 ) If an analog XM 06 B5 type 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.
Remote unit
E A
EW/
AW
E/A
A EW/
AW
Addresses X X+1 X+1 X.00 X+2 X+3 X.04
to to X.03 X.07
50
series
master
EW /AWA
EW /
AW
E
A E
62 63 63 64 63 64 64 Addresses
CS 31
bus
interface
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.
X X+1 X+2 X+3 X+4 X+4 X+5 Addresses
62 63 63 64 63 64 64 Addresses
Remote unit
E E
E/A
E
A A
CS 31
bus
interface
50
series
master
EW /AWA
EW /
AW
E
A E
50
series
slave
E E
A
EW/
AW
E/A A
Y 63 64 63 63 65 66 Addresses managed by slave central unit
Page 71
Advant Controller AC 31 / Issued: 08.99 4 – 23 Installation
3
Addressing example:
62 63 63 64 63 64 64 Addresses
CS 31
bus
interface
50
series
master
EW /AWA
EW /
AW
E
A E
7 63 64 63 63 65 66 Addresses managed by only the slave central unit
50
series
slave
E E
A
EW/
AW
E/A A
6 7 8 9 6 10 11 Addresses
Remote unit
E E
E/A
EW /
AW
A A
With slave central unit configured as analog
Advant Controller 31 90 series
0 1 2 3 4 4 5 Addresses
Remote unit
E E
E/A
E
A A
This example uses one master basic unit and 5 remote units.
Page 72
Installation 4 – 24 Advant Controller AC 31 / Issued: 08.99
3
4.5.4 Summary
Master basic unit
40 and 50 series
Addresses Address configuration
- Integrated inputs/outputs 62 Standard
- Digital extension 63 to 68 automatically
- Analog extension 63 to 68 automatically
Remote unit
Addresses X N
Where 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 b y programming software
KW 00,00
Page 73
Advant Controller AC 31 / Issued: 01.99 5 – 1 Programming
3
5 Programming
5.1 Introduction to the software
The 907 PC 331 programming software is used for all the AC31 basic units. This software runs under DOS and also in DOS boxes of Windows
®
(3.1, 95 or NT). In Windows 95 and NT there are slight 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.
Page 74
Programming 5 – 2 Advant Controller AC 31 / Issued: 01.99
3
An existing library with over 150 functions: The list of functions available depends on the basic unit selected. After the basic unit was
defined, the list is identical for all program editors.
The 40 and 50 series have 70 functions, 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.
Page 75
Advant Controller AC 31 / Issued: 01.99 5 – 3 Programming
3
5.2 List of variables
5 different types of variables are used in the user program:
Õ Physical, digital or analog input/output variables Õ Internal bit, word or double word flags are used for intermediate calculations in the user
program.
Õ 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)
Page 76
Programming 5 – 4 Advant Controller AC 31 / Issued: 01.99
3
Type Variables Description
from to Digital inputs
E 00,00 E 61,15 CS31 system bus digital inputs
E 62,00 E 62,07 Digital inputs on the basic unit E 63,00 E 68,15 Digital inputs on the basic unit extensions
Analog inputs
EW 00,00 EW 61,15 CS31 system bus analog inputs
EW 62,00 1st potentiometer of the basic units EW 62,01 2nd 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
Page 77
Advant Controller AC 31 / Issued: 01.99 5 – 5 Programming
3
Type Variables Description
from to Digital outputs
A 00,00 A 61,15 Digital outputs on the CS31 system bus
A 62,00 A 62,05 Digital outputs on the basic unit A 63,00 A 68,15 Digital outputs on the basic unit extensions
Analog outputs
AW 00,00 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
Page 78
Programming 5 – 6 Advant Controller AC 31 / Issued: 01.99
3
5.3 Initialization of the basic units
When a new program is transmitted to the PLC, the old program is automatically deleted. It is,
however, advisable to reconfigure the basic unit with the factory parameters before sending a completely 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 Enable PLC mode or "warm start"
- Clear the program in RAM
- Copy the Flash EPROM contents to RAM
- Clear the data in the RAM depending on the configuration
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
Page 79
Advant Controller AC 31 / Issued: 01.99 5 – 7 Programming
3
5.4 Configuration
Before sending the program to the PLC you should make sure that the basic unit has been configured correctly for the application. There are three configuration tools:
- The PLC system constants for configuration of the 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).
Page 80
Programming 5 – 8 Advant Controller AC 31 / Issued: 01.99
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 (FFFF
H
)
- Stand-alone basic unit: -2 (FFFE
H
)
- 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.
Page 81
Advant Controller AC 31 / Issued: 01.99 5 – 9 Programming
3
Conditions, Flags, step chains and historical values
which are initialized (set to 0).
Å Action
Menu item all
Å Abort
Å Cold start
RUN/STOP switch set to RUN,
Å power ON
RUN/STOP switch, In accordance with the values of the system
constants, (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
Page 82
Programming 5 – 10 Advant Controller AC 31 / Issued: 01.99
3
Initialization: word flags
Õ Absolute identifier: KW 00,02 Õ Symbolic identifier: INIT_MW
Value n of the system constant KW 00,02
Word flag areas which are initialized (set to 0)
n = 0 (default) MW 000,00...MW 099,15
MW 230,00...MW 255,15
n = 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
Page 83
Advant Controller AC 31 / Issued: 01.99 5 – 11 Programming
3
Application mode: serial interface COM1
The serial port of the basic unit can be used in various modes:
Õ Programming mode for programming and checking the basic unit (active mode) Õ Passive mode for communication between the basic unit 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 selection
KW 0,06
RUN/STOP position Cable Communications
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
Page 84
Programming 5 – 12 Advant Controller AC 31 / Issued: 01.99
3
The communications parameters are defined in accordance with the operating mode:
Operating mode Default parameters Modification of parameters
Active 9,600 baud
No parity 8 data bits 1 stop bit
Parameters cannot be modified
Passive No default parameters defined Parameters are defined in the user
program by using the SINIT function
MODBUS
®
9,600 baud No parity 8 data bits 1 stop bit
Parameters are modified in the user program using the SINIT function
Õ 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 =
Example: MODBUS master Mode = 100 Slave no. = 217 Time delay = 1000 RTS signal inverted: 10000 Calculate entry in KW 00,06
KW 00,06 = 100 + 217 + 1000 + 10000 = 11317
KW 00,06 = 0 (Default) + cable 07SK50/52 Active mode KW 00,06 = 0 + cable 07SK51/53 Passive mode (ASCII
mode) KW 00,06 = 1 + cable 07SK50/52 Active mode KW 00,06 = 2 + cable 07SK50/52 Passive mode (ASCII
mode)
Modbus operation only with cable 07SK51/53
KW 00,06 = 100 Modbus master KW 00,06 = 100 + slave no.
(1..255)
Modbus slave
KW 00,06 = 100 + slave no.
(1..255)
+ RTS time delay
(0 or 1000 or 2000)
+ RTS signal inverted
(0 or 10000)
Changing the system constants takes effect immediately.
Modes
0...355
RTS time delay 0 or 1000 or 2000
RTS signal inverted 0 or 10000
1 1 3 1 7
Page 85
Advant Controller AC 31 / Issued: 01.99 5 – 13 Programming
3
PLC reactions to class 3 errors
The AC31 basic units feature a diagnostic system designed to localize errors quickly and efficiently:
- Class 1: Fatal errors
- Class 2: Serious errors
- Class 3: Light errors
- Class 4: Warning
If class 1 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.
Page 86
Programming 5 – 14 Advant Controller AC 31 / Issued: 01.99
3
Starting up the CS31 system after power ON, warm or cold start
(only 50 series)
Õ Absolute identifier: KW 00,09 Õ Symbolic identifier: HOCHFAHR Õ This system constant only takes effect if the basic unit is configured as the bus master. Õ 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.
Page 87
Advant Controller AC 31 / Issued: 01.99 5 – 15 Programming
3
Size of the receiving area of the slave basic unit
Õ Absolute identifier: KW 00,11 Õ Symbolic identifier: SLV_REC Õ Meaning of the value of the constants:
The slave basic unit can be used at the CS 31 system bus in
either
the digital 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.
Page 88
Programming 5 – 16 Advant Controller AC 31 / Issued: 01.99
3
Basic unit cycle time; KD 00,00
The basic unit program is processed cyclically in the time intervals stated by the set cycle time. The value is given in milliseconds.
- The cycle time for a master basic unit is between 0 and 100 ms, only 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
Page 89
Advant Controller AC 31 / Issued: 01.99 5 – 17 Programming
3
Bus response times:
Communications times of the CS31 system bus
Basic times for the master basic unit
2000 µs Slave basic units without extensions 07 KR 51*
750 µs 07 KT 51*
750 µs 07 KR 91*
750 µs 07 KT 92*
750 µs 07 KT 93*
750 µs 07 KT 94*
* with default configuration
Times in accordance with the configuration
2 bytes for transmission and
2 bytes for receive
516 µs 4 bytes for transmission and
4 byte for receive
750 µs 8 bytes for transmission and
8 bytes for receive
1300 µs 12 bytes for transmission and
12 bytes for receive
1850 µs 8 words for transmission and
8 words for receive
2500 µs
Remote units with digital inputs ICSI 08 D1
323 µs ICSI 08 E1
323 µs ICSI 08 E3/E4
323 µs ICSI 16 D1
387 µs ICSI 16 E1
387 µs Remote output units ICSO 08 R1
260 µs ICSO 08 Y1
260 µs ICSO 16 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
Page 90
Programming 5 – 18 Advant Controller AC 31 / Issued: 01.99
3
Extensible remote units with inputs/outputs ICMK 14 F1
340 µs without extension
ICMK 14 N1
340 µs without extension
XI 16 E1
500 µs
XO 08 R1
500 µs
XC 08 L1
500 µs
XM 06 B5
500 µs
Communications times of the CS31 system bus
IP65 unit with digital inputs/outputs 07 DI 93-I 07 DO 93-I 07 DK 93-I Analog remote units ICSM 06 A6
1162 µs
ICSE 08 A6
1355 µs
ICSE 08 B5
1355 µs
ICST 08 A7
1355 µs
ICST 08 A8
1355 µs
ICST 08 A9
1355 µs
07 AI 91
1355 µs
ICSA 04 B5
700 µs 07 A C 91 High-speed counter ICSF 08 D1
1300 µs
Page 91
Advant Controller AC 31 / Issued: 01.99 5 – 19 Programming
3
5.4.2 Configuration with the CS31CO function block
The CS31CO function block enables certain remote units to be configured and their configuration to be obtained.
The description of each unit indicates whether a remote unit or extension 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 Name of connection element
FBD/LD,
ext. IL
IL
1)
Digital functions AND &
2)
OR /
2)
Exclusive OR =1
2)
Allocation =
2)
Memory function Allocation, set memory =S
2)
Allocation, reset memory =R
2)
Set memory, dominating
RS
2)
Rest memory, dominating SR
2)
Arithmetic functions, word Addition +
2)
Subtraction -
2)
Multiplication *
2)
Division :
2)
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.
Page 92
Programming 5 – 20 Advant Controller AC 31 / Issued: 01.99
3
Functional group Call in Name of connection element
FBD/LD,
ext. IL
IL
1)
Allocation word =W
2)
Allocation direct constant to word variable ZUDKW Comparison functions Greater than >
2)
Greater than or equal to >=
2)
Equal =?
2)
Unequal ><
2)
Less than <
2)
Less than or equal to <=
2)
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 Conditional program end =PE
2)
Subroutine call for an assembler program CALLUP Direct reading of an input DI Direct writing of an input DO Format conversion BCD to digital conversion BCDDUAL/BCDBIN Digital to 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 Pulse (rising edge) I+
2)
Pulse (falling edge) I-
2)
Logical functions with word values AND combination, word WAND OR combination, word WOR Exclusive OR combination, word WXOR
Page 93
Advant Controller AC 31 / Issued: 01.99 5 – 21 Programming
3
Functional group Call in Name of connection element
FBD/LD,
ext. IL
IL
1)
Access to physical addresses Copying memory areas COPY Read word with enabling WOL Higher order functions Digital selection gate AWTB Selection gate, word AWT 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
interfaces
SINIT
Output of ASCII characters and hexadecimal
values via a serial interface
DRUCK
Receive characters EMAS MODBUS master MODBUS CS31 functions Configure CS31 units CS31CO CS31 acknowledge error CS31QU
Page 94
Programming 5 – 22 Advant Controller AC 31 / Issued: 01.99
3
Page 95
Advant Controller AC 31 / Issued: 01.99 6 – 1 Communication
3
6 Communication
6.1 Communication between basic units on the CS31 system bus
The 50 series basic units have a CS31 system bus interface. They can either be used in the
MASTER mode of operation or, instead of an extensible remote unit or I/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
Page 96
Communication 6 – 2 Advant Controller AC 31 / Issued: 01.99
3
Note:
The default setting is
- Digital area with:
- transmit 4 bytes and
- receive 4 bytes.
This is defined by the default combination KW 00,10 = KW 00,11 = 0.
The configured combination KW 00,10 = KW 00,11 = 4 has the same result as the 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.
Page 97
Advant Controller AC 31 / Issued: 01.99 6 – 3 Communication
3
6.1.3 Programming
Data exchange can be effected directly via the inputs/outputs.
Bit transmission
Master KW00,00: -1 Slave addresses in KW 00,00: 00 to 15
word transmission
Slave addresses in KW 00,00: 00 to 61
bit transmission
Figure 1: Master – slave operation: addressing on the CS31 system bus
KW 00,10: transmitting area of the slave
KW 00,11: receiving area of the slave Both system constants are only defined in the slave basic unit
- bit transmission maximal 120 bits: KW 00,10 : 1 to 15 KW 00,11 : 1 to 15
- word transmission maximum 8 words: KW 00,10 : 101 to 108 KW 00,11 : 101 to 108
Figure 2: Master – slave operation: data exchange on the CS31 system bus
Basic unit as
master
Basic unit as
slave
CS31 system bus
Basic unit as
master
Basic unit as
slave
CS31 system bus
Page 98
Communication 6 – 4 Advant Controller AC 31 / Issued: 01.99
3
Word transmission
Master KW 00,00: -1 Slave KW 00,00: 10
KW 00,10 = KW 00,11 = 4
Addresses occupied on the CS31 system bus:
10 and 11
32 bits are transmitted in both directions.
Figure 3: Master – slave operation: data exchange at digital level
Master KW 00,00: -1 Slave KW 00,00: 2
KW 00.10 = KW 00.11 = 108
Addresses occupied on the CS31 field bus:
2
8 words are transmitted in both directions..
Figure 4: Master – slave operation: data exchange at word level
Data from the master to the slave
Data from slave to the master
Basic unit
as master
Basic unit as
slave
E 10,00 - E 10,15 E 11,00 - E 11,15
A 10,00 - A 10,15 A 11,00 - A 11,15
A 00,00 - A 00,15 A 01,00 - A 01,15
E 00,00 - E 00,15 E 01,00 - E 01,15
CS31 system bus
Data from the master to the
Data from slave to the master
Basic unit
as master
Basic unit as
slave
EW 02,00 - EW 02,07
AW 02,00 - AW 02,07
AW 00,00 - AW 00,07
EW 00,00 - EW 00,07
CS31 system bus
Page 99
Advant Controller AC 31 / Issued: 01.99 6 – 5 Communication
3
40 or 50 series
Programming mode: ACTIVE MODE
ASCII mod e: PASSIVE MODE
MODBUS
mode
Figure 5: Communications protocols for 40 and 50 series devices
40 or 50
series MODBUS protocol RS232 line
Figure 6: Point to point connection with a PC
40 or 50
series
MODBUS protocol RS485 line
40 or 50
series
40 or 50
series
Figure 7: Network connection with a PC
MODBUS protocol RS485 line
40 or 50
series
40 or 50
series
40 or 50
series
Figure 8: Network connection between basic units, exchange of PLC data
Page 100
Communication 6 – 6 Advant Controller AC 31 / Issued: 01.99
3
Communication is of greater importance in wide area installations. The AC31 system features
other interfaces in addition to the CS31 system bus, in order to support different communication modes.
This chapter provides a detailed 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
Loading...