Leuze MA 255i Parts list manual

MA 255i
Modular interfacing unit for Leuze Ident and
RS 232 devices on DeviceNet
TECHNICAL DESCRIPTION
en 01-2011/12 50117075

Condelectric S.A.
Tel. Int. + 54 1148 361053
Fax Int. + 54 1148 361053
Tel. Int. + 43 732 7646-0
Fax Int. + 43 732 7646-785
Balluff-Leuze Pty. Ltd.
Tel. Int. + 61 3 9720 4100
Fax Int. + 61 3 9738 2677
Leuze electronic nv/ sa
Tel. Int. + 32 2253 16-00
Fax Int. + 32 2253 15-36
ATICS
Tel. Int. + 359 2 847 6244
Fax Int. + 359 2 847 6244
Leuze electronic Ltda.
Tel. Int. + 55 11 5180-6130
Fax Int. + 55 11 5180-6141
Leuze electronic AG
Tel. Int. + 41 41 784 5656
Fax Int. + 41 41 784 5657
Imp. Tec. Vignola S.A.I.C.
Tel. Int. + 56 3235 11-11
Fax Int. + 56 3235 11-28
Leuze electronic Trading
(Shenzhen) Co. Ltd.
Tel. Int. + 86 755 862 64909
Fax Int. + 86 755 862 64901
Componentes Electronicas Ltda.
Tel. Int. + 57 4 3511049
Fax Int. + 57 4 3511019
Schmachtl CZ s.r.o.
Tel. Int. + 420 244 0015-00
Fax Int. + 420 244 9107-00
Leuze electronic Scandinavia ApS
Tel. Int. + 45 48 173200
SKS-automaatio Oy
Tel. Int. + 358 20 764-61
Fax Int. + 358 20 764-6820
Leuze electronic Sarl.
Tel. Int. + 33 160 0512-20
Fax Int. + 33 160 0503-65
Leuze electronic Ltd.
Tel. Int. + 44 14 8040 85-00
Fax Int. + 44 14 8040 38-08
UTECO A.B.E.E.
Tel. Int. + 30 211 1206 900
Fax Int. + 30 211 1206 999
ALL IMPEX 2001
Tel. Int. + 7 495 9213012
Fax Int. + 7 495 6462092
Leuze electronic Scandinavia ApS
Ingermark (M) SDN.BHD
Tel. Int. + 60 360 3427-88
Fax Int. + 60 360 3421-88
Movitren S.A.
Tel. Int. + 52 81 8371 8616
Fax Int. + 52 81 8371 8588
Leuze electronic BV
Tel. Int. + 31 418 65 35-44
Fax Int. + 31 418 65 38-08
LA2P, Lda.
Tel. Int. + 351 21 4 447070
Fax Int. + 351 21 4 447075
Balluff Sp. z o. o.
Tel. Int. + 48 71 338 49 29
Fax Int. + 48 71 338 49 30
O`BOYLE s.r.l
Tel. Int. + 40 2 56201346
Fax Int. + 40 2 56221036
Elteco A/S
Tel. Int. + 47 35 56 20-70
Fax Int. + 47 35 56 20-99
Great Cofue Technology Co., Ltd.
Tel. Int. + 886 2 2983 80-77
Fax Int. + 886 2 2985 33-73
Countapulse Controls (PTY.) Ltd.
11/2011
Tel. Int. + 27 116 1575-56
Fax Int. + 27 116 1575-13
Schmachtl SK s.r.o.
Tel. Int. + 421 2 58275600
Fax Int. + 421 2 58275601
Tipteh d.o.o.
Tel. Int. + 386 1200 51-50
Fax Int. + 386 1200 51-51
Industrial Electrical Co. Ltd.
Te l . Int. + 66 2 642 6700
Fax Int. + 66 2 642 4250
Leuze electronic San.ve Tic.Ltd.Sti.
Tel. Int. + 90 216 456 6704
Fax Int. + 90 216 456 3650
Balluff Asia Pte Ltd
Tel. Int. + 65 6252 43-84
Fax Int. + 65 6252 90-60
Leuze electronic, Inc.
Tel. Int. + 1 248 486-4466
Fax Int. + 1 248 486-6699
SV Altera OOO
Tel. Int. + 38 044 4961888
Fax Int. + 38 044 4961818
C. Illies & Co., Ltd.
Tel. Int. + 81 3 3443 4143
Fax Int. + 81 3 3443 4118
Profa-Tech Ltd.
Tel. Int. + 254 20 828095/6
Fax Int. + 254 20 828129
Leuze electronic Co., Ltd.
Tel. Int. + 82 31 3828228 Tel. Int. +46 380-490951
Fax Int. + 82 31 3828522
Leuze electronic S.A.
Tel. Int. + 34 93 4097900
Fax Int. + 34 93 49035820
Schmachtl GmbH
SABROW HI-TECH E. & A. LTD.
Tel. Int. + 234 80333 86366
Fax Int. + 234 80333 84463518
Tipteh d.o.o. Beograd
Tel. Int. + 381 11 3131 057
Fax Int. + 381 11 3018 326
Tipteh d.o.o. Skopje
Tel. Int. + 389 70 399 474
Fax Int. + 389 23 174 197
Leuze electronic S.r.l.
Tel. Int. + 39 02 26 1106-43
Fax Int. + 39 02 26 1106-40
Kvalix Automatika Kft.
Tel. Int. + 36 1 272 2242
Fax Int. + 36 1 272 2244
P.T. Yabestindo Mitra Utama
Tel. Int. + 62 21 92861859
Fax Int. + 62 21 6451044
Galoz electronics Ltd.
Tel. Int. + 972 3 9023456
Fax Int. + 972 3 9021990
M + V Marketing Sales Pvt Ltd.
Tel. Int. + 91 124 4121623
Fax Int. + 91 124 434233
Sensortech Company
Tel. Int. + 852 26510188
Fax Int. + 852 26510388
Tipteh Zagreb d.o.o.
Tel. Int. + 385 1 381 6574
Fax Int. + 385 1 381 6577
Leuze electronic GmbH + Co. KG
P.O. Box 1111, D- 73277 Owen
Tel. +49(0) 70 21/ 573-0,
Fax +49(0)7021/ 573-199
info@leuze.dew.leuze.com
Sales Region East
Phone 035027/629-106
Fax 035027/629-107
Postal code areas
01000-19999
39000-39999
98000-99999
Sales Region North
Phone 07021/573-306
Fax 07021/9850950
Postal code areas
20000-38999
40000-65999
97000-97999
Sales Region South
Phone 07021/573-307
Fax 07021/9850911
Postal code areas
66000-96999
Sales and Service
Worldwide
AT (Austria)
AR (Argentina)
AU + NZ (Australia + New Zealand)
BE (Belgium)
BG (Bulgaria)
BR (Brasil)
CH (Switzerland)
CO (Colombia)
CZ (Czech Republic)
CL (Chile)
CN (China)
DK (Denmark)
FI (Finland)
GB (United Kingdom)
GR (Greece)
FR (France)
RU (Russian Federation)
SE (Sweden)
MY (Malaysia)
MX (Mexico)
NL (Netherlands)
PT (Portugal)
PL (Poland)
RO (Romania)
NO (Norway) TW (Taiwan)
ZA (South Africa)
SK (Slowakia)
SI (Slovenia)
TH (Thailand)
TR (Turkey)
SG + PH (Singapore +
Philippines)
US + CA (United States +
Canada)
UA (Ukraine)
JP (Japan)
KR (South Korea)
ES (Spain)
Germany
KE (Kenia)
NG (Nigeria)
RS (Republic of Serbia)
MK (Macedonia)
IT (Italy)
HU (Hungary)
ID (Indonesia)
IL (Israel)
IN (India)
HK (Hong Kong)
HR (Croatia)
© All rights reserved, especially the right of reproduction, distribution and translation. Copying or
reproductions in any form require the written consent of the manufacturer.
Product names are used without guarantee of free usability.
Changes reflecting technical improvements may be made.

Leuze electronic MA 255i1
Table of contents
1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Explanation of symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Declaration of conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Description of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4 Definition of Terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Safety notices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 General safety notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Safety standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Working safely . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Fast commissioning / operating principle . . . . . . . . . . . . . . . . . . . 11
3.1 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Device arrangement and selection of the mounting location . . . . . . . . . . . . . . . . . . . . 11
3.3 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3.1 Connecting the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3.2 Setting the DeviceNet device address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3.3 Setting the DeviceNet baud rate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3.4 Connecting the power supply and the bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5 MA 255ion the DeviceNet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4 Device description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.1 General Information to the connector units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Characteristics of the connector units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.3 Device construction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.4 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.5 Fieldbus systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.5.1 DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.1 General specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2 Dimensioned drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.3 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

2MA 255iLeuze electronic
Table of contents
6 Installation and mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.1 Storage, transportation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.2 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 Device arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.3.1 Selecting a mounting location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.4 Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.1 Safety notices for the electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.2 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
7.2.1 PWR IN – voltage supply / switching input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.2.2 PWR OUT switching input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.3 BUS IN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.4 BUS OUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.4.1 Termination of the DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.5 Device interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.5.1 RS 232 device interface (accessible after opening the device, internal) . . . . . . . . . . . . . . 32
7.5.2 Service interface (internal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8 Status displays and operational controls . . . . . . . . . . . . . . . . . . . . 34
8.1 LED status indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.1.1 LED indicators on the circuit board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.1.2 LED indicators on the housing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.2 Internal interfaces and operational controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.2.1 Overview of operational controls of the. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.2.2 Connector X30 … connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.2.3 RS 232 service interface – X33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.2.4 S10 service switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.2.5 Rotary switch S4 for device selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.2.6 Switch for address selection in the fieldbus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.2.7 Switch for setting the baud rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.1 Connecting the service interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.2 Reading out information in service mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Leuze electronic MA 255i3
Table of contents
10 Telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.1 Structure of the fieldbus telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.2 Description of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
10.2.1 Structure and meaning of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . 45
10.2.2 Detailed description of the bits (input byte 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
10.2.3 Detailed description of the bits (input byte 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.3 Description of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.3.1 Structure and meaning of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . 48
10.3.2 Detailed description of the bits (output byte 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
10.3.3 Detailed description of the bits (output byte 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.4 RESET function / deleting memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
11 Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
11.1 Functionality of the data exchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
11.1.1 Reading slave data in Collective mode (gateway -> PLC) . . . . . . . . . . . . . . . . . . . . . . . . 53
11.1.2 Writing slave data in Collective mode (PLC -> gateway) . . . . . . . . . . . . . . . . . . . . . . . . . 53
11.1.3 Command mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
12 Commissioning and configuration. . . . . . . . . . . . . . . . . . . . . . . . . 59
12.1 Measures to be performed prior to the initial commissioning. . . . . . . . . . . . . . . . . . . . 59
12.2 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
12.3 Configuration steps for a Rockwell control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
12.3.1 Setting the hardware configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
12.3.2 Installation of the EDS file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
12.3.3 Setting the parameters on the MA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
12.4 EDS file - general info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
12.5 EDS file - detailed description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
12.5.1 Class 1 Identity object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
12.5.2 Class 15 parameter object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
12.6 Setting the read parameters on the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
12.6.1 Specific feature for the use of hand-held scanners (bar code and 2D devices,
combi devices with RFID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.6.2 Specific features in the operation of an RFM/RFI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
13 Diagnostics and troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 75
13.1 General causes of errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
13.2 Interface errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

4MA 255iLeuze electronic
Table of contents
14 Type overview and accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
14.1 Type key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
14.2 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
14.3 Accessory terminating resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
14.4 Accessory connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
14.5 Accessory ready-made cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
14.5.1 Contact assignment of PWR connection cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
14.5.2 Specifications of the cables for voltage supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
14.5.3 Order codes of the cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
14.6 Accessory ready-made cables for bus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
14.6.1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
14.6.2 Contact assignment of M12-DeviceNet connection cable KB DN… . . . . . . . . . . . . . . . . 79
14.6.3 Specifications of M12-DeviceNet connection cable KB DN… . . . . . . . . . . . . . . . . . . . . . 80
14.6.4 Order codes of M12-DeviceNet connection cable KB DN… . . . . . . . . . . . . . . . . . . . . . . 80
14.7 Accessory ready-made cables for connecting Leuze ident devices . . . . . . . . . . . . . . . 81
14.7.1 Order codes for the device connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
14.7.2 Contact assignment for the device connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
15 Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
15.1 General maintenance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
15.2 Repairs, servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
15.3 Disassembling, packing, disposing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
16 Specifications for Leuze end devices . . . . . . . . . . . . . . . . . . . . . . 83
16.1 Standard setting, KONTURflex (S4 switch position 0) . . . . . . . . . . . . . . . . . . . . . . . . . . 83
16.2 Bar code reader BCL 8 (S4 switch position 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
16.3 Bar code reader BCL 22 (S4 switch position 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
16.4 Bar code reader BCL 32 (S4 switch position 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
16.5 Bar code reader BCL 300i, BCL 500i (S4 switch position 4). . . . . . . . . . . . . . . . . . . . . . 88
16.6 Bar code reader BCL 90 (S4 switch position 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
16.7 LSIS 122 (S4 switch position 6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
16.8 LSIS 4x2i (S4 switch position 7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
16.9 Hand-held scanner (S4 switch position 8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
16.10 RFI, RFM, RFU RFID readers (S4 switch position 9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
16.11 BPS 8 bar code positioning system (S4 switch position A) . . . . . . . . . . . . . . . . . . . . . . 94

Leuze electronic MA 255i5
Table of contents
16.12 AMS distance measurement device, ODSL xx optical distance sensors with RS 232
interface (S4 switch position B). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
16.13 Modular interfacing unit MA 3x (S4 switch position C) . . . . . . . . . . . . . . . . . . . . . . . . . 97
16.14 Resetting the parameters (S4 switch position F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
17 Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
17.1 ASCII table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

General information
6MA255iLeuze electronic
1 General information
1.1 Explanation of symbols
The symbols used in this operating manual are explained below.
Attention!
This symbol precedes text messages which must strictly be observed. Failure to comply with
this information results in injuries to personnel or damage to the equipment.
Notice!
This symbol indicates text passages containing important information.
1.2 Declaration of conformity
The MA 255imodular interfacing units have been designed and manufactured in
accordance with applicable European directives and standards.
Notice!
The Declaration of Conformity for these devices can be requested from the manufacturer.
The manufacturer of the product, Leuze electronic GmbH + Co. KG in D-73277 Owen,
possesses a certified quality assurance system in accordance with ISO 9001.

General information
Leuze electronic MA 255i7
TNT 35/7-24V
1.3 Description of functions
The MA 255imodular interfacing unit is used to connect Leuze devices directly to the
fieldbus.
Bar code reader: BCL 8, 22, 32, 300i, 500i, 90
2D code reader: LSIS 122, LSIS 4x2i
Hand-held scanner ITxxxx, HFU/HFM
RFID read-write devices: RFM 12, 32, 62 & RFI 32, RFU 61, 81
Bar code positioning system: BPS 8
Distance measurement device: AMS 200
Optical distance sensors: ODSL 9, ODSL 30, ODSL 96B
Measuring light curtain: KONTURflex to Quattro-RSX/M12
MultiNet master connection box: MA 3x
Additional RS 232 devices: Scales, third-party devices
This is accomplished by transmitting the data from the DEV via an RS 232 (V.24) interface
to the MA 255iwhere a module converts it into the DeviceNet format. The data format on
the RS 232 interface corresponds to the Leuze standard data format (9600bd, 8N1 and STX,
data, CR, LF).
The integration of the EDS file in the hardware manager of the PLC is necessary to ensure
the correct function of the MA 255i.
The corresponding Leuze devices are selected using a rotary code switch on the circuit
board of the connector unit. Many additional RS 232 devices can be connected through a
universal position.

General information
8MA 255iLeuze electronic
1.4 Definition of Terms
For better understanding of the explanations provided in this document, a definition of terms
follows below:
•Bit designation:
The 1st bit or byte begins with count number "0" and means bit/byte 20.
•Data length:
Size of a valid, continuous data packet in bytes.
•EDS file (electronic data sheet):
Description of the device for the control.
•Consistent:
Data which belongs together with regard to content and which must not be separated
is referred to as consistent data. When identifying objects, it must be ensured that
the data is transmitted completely and in the correct order, otherwise the result is
falsified.
•Leuze device (DEV):
Leuze devices, e.g., bar code readers, RFID readers, VisionReader…
•Online command:
These commands refer to the respective, connected ident device and may be differ-
ent depending on the device. These commands are not interpreted by the MA 255i,
but are instead transmitted transparently (see description of ident device).
•CR:
Cross reference.
•Perspective of I/O data in the description:
Output data is data which is sent by the control to the MA. Input data is data which
is sent by the MA to the control.
•Toggle bits:
Status toggle bit
Each change of state indicates that an action was performed, e.g., bit ND (New Data):
each change of state indicates that new received data was transmitted to the PLC.
Control toggle bit
An action is performed on each change of state, e.g., bit SDO: on each change of
state, the registered data is sent by the PLC to the MA 255i.

Safety notices
Leuze electronic MA 255i9
TNT 35/7-24V
2 Safety notices
2.1 General safety notices
Documentation
All entries in this technical description must be heeded, in particular those in section "Safety
notices". Keep this technical description in a safe place. It should be available at all times.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability
insurance association.
Repair
Repairs must only be carried out by the manufacturer or an authorized representative.
2.2 Safety standards
The devices of the series MA 2xxiwere developed, manufactured and tested in accordance
with the applicable safety standards. They correspond to the state of the art.
2.3 Intended use
Attention!
The protection of personnel and the device is guaranteed only if the device is operated in a
manner corresponding to its intended use.
Areas of application
The MA 255imodular interfacing unit is used for connecting Leuze devices such as bar
code- or 2D code readers, hand-held scanners, RFID read-write devices, etc. directly to the
fieldbus. A detailed list can be found in "Description of functions" on page 7.

Safety notices
10 MA 255iLeuze electronic
2.4 Working safely
Attention!
Access to or changes on the device, except where expressly described in this operating
manual, are not authorized.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability
insurance association.
Qualified personnel
Mounting, commissioning and maintenance of the device must only be carried out by
qualified personnel.
Electrical work must be carried out by a certified electrician.

Fast commissioning / operating principle
Leuze electronic MA 255i11
TNT 35/7-24V
3 Fast commissioning / operating principle
Notice!
Below you will find a short description for the initial commissioning of the DeviceNet
gateway MA 255i. Detailed explanations for the listed points can be found throughout the
handbook.
3.1 Mounting
The gateway mounting plate MA 255ican be mounted in two different ways:
• using four threaded holes (M6) or
• using two M8x6 screws on the two lateral grooves.
3.2 Device arrangement and selection of the mounting location
Ideally, the MA 255ishould be mounted so that it is easily accessible near the ident device
in order to ensure good operability, e.g., for configuring the connected device.
Detailed information can be found in chapter 6.3.1.
3.3 Electrical connection
The devices from the MA 2xxifamily feature four M12 connectors/sockets which are coded
differently depending on the interface.
The voltage supply (PWR IN) as well as the switching inputs/outputs (PWR OUT or PWR IN)
are connected there. The number and function of the switching inputs/outputs is dependent
on the connected end device.
An internal RS 232 interface is used for connecting the respective Leuze device. Another
internal RS 232 interface functions as a service interface for configuring the connected
device via a serial null modem cable.
Figure 3.1: MA 255iconnections
Detailed information can be found in chapter 7.
PWR OUT
VOUT 1
2
3
4
SWIO_2
GND
FE
5
PWR IN
SWIO_1
SWIO_2
3
2
1
4
5
GND VIN
FE
LEUZE Device HOST / BUS IN
SWIO_1 V+
CAN_H
1
4
3
2
5
DRAIN
V-
CAN_L
1
2
3
4
5
BUS OUT
V+
CAN_H
DRAINV-
CAN_L
M12 connector
(A-coded)
M12 socket
(A-coded)
M12 connector
(A-coded)
M12 socket
(A-coded)

Fast commissioning / operating principle
12 MA 255iLeuze electronic
3.3.1 Connecting the Leuze device
To connect the Leuze device to the internal RS 232 device interface, open the housing
of the MA 255iand guide the corresponding device cable (see chapter 14.7, e.g., KB 031
for BCL 32) through the middle threaded opening.
Connect the cable to the internal device interface (X30, X31 or X32, see chapter 7.5.1).
Use rotary switch S4 (see chapter 8.2.5) to select the connected device.
Now screw the PG cable gland into the threaded opening to provide strain relief and
ensure protection class IP 65.
3.3.2 Setting the DeviceNet device address
Set the station address of the gateway using the two rotary switches S1 and S2 (ones
and tens places).
Notice!
The DeviceNet permits an address range from 0 to 63. Other addresses must not be used
for data communication.
Figure 3.2: Rotary switch for setting the address
OnesTens

Fast commissioning / operating principle
Leuze electronic MA 255i13
TNT 35/7-24V
3.3.3 Setting the DeviceNet baud rate
Set the baud rate of the gateway via the S3 rotary switch to the value defined in the control.
Notice!
The DeviceNet baud rate is defined for the entire network in the planning tool/control. The
baud rate is set on the MA 255ivia the baud rate selector switch. Only if the baud rates are
the same is communication with the MA 255ipossible.
Figure 3.3: Rotary switch for setting baud rate
Finally, close the housing of the MA 255i.
Attention!
Only then may the supply voltage be applied.
Upon startup of the MA 255i, the device selection switch and the address settings are
queried and the gateway automatically sets itself to the Leuze device.
Connecting functional earth FE
Ensure that the functional earth (FE) is connected correctly.
Unimpaired operation is only guaranteed when the functional earth is connected properly.
All electrical disturbances (EMC couplings) are discharged via the functional earth
connection.
3.3.4 Connecting the power supply and the bus cable
Ideally, use the ready-made cables listed in chapter 14.5.3 to connect the gateway to the
power supply via the PWR IN connection.
The ready-made cables listed in chapter 14.6.4 are preferred for connecting the gateway
to the fieldbus via the HOST / BUS IN connection.
If applicable, use the BUS OUT connection if you would like to construct a network with
linear topology.

Fast commissioning / operating principle
14 MA 255iLeuze electronic
3.4 Starting the device
Apply the supply voltage +18 … 30VDC (+24VDC model).
The MA 255istarts up; the PWR LED displays that it is ready for operation.
3.5 MA 255ion the DeviceNet
Install the EDS file corresponding to the MA 255iin your planning tool/the control
(e.g., RSNetWorx DeviceNet).
Notice!
You can find the EDS file at:
www.leuze.com -> Download -> identify -> Modular interfacing units.
The MA 255iis configured in the planning tool/control by means of the EDS file. The MA 255i
is assigned an address in the planning tool, which then has to be set in the MA 255ivia the
S1 and S2 address switches. Only if the addresses are the same between the MA 255iand
the control can communication be established.
After all parameters have been set in the planning tool/control, the download to the MA 255i
takes place. The set parameters are now stored on the MA 255i.
Afterwards, all MA 255iparameters should be stored via upload in the control. This aids in
retaining the parameters during device exchanges, as they a re now also stored centrally in
the control.
The DeviceNet baud rate is defined for the entire network in the planning tool/control. The
baud rate is set on the MA 255ivia the S3 baud rate selector switch.
Only if the baud rates are the same is communication with the MA 255ipossible.
Detailed information can be found in chapter 12.

Device description
Leuze electronic MA 255i15
TNT 35/7-24V
4 Device description
4.1 General Information to the connector units
The modular interfacing unit of the MA 2xxifamily is a versatile gateway for integrating Leuze
RS 232 devices (e.g., BCL 22 bar code readers, RFID devices, RFM 32, AMS 200) in the
respective fieldbus. The MA 2xxigateways are intended for use in industrial environments
with a high protection class. Various device versions are available for the conventional
fieldbuses. With a stored parameter structure for the connectable RS 232 devices,
commissioning could hardly be simpler.
4.2 Characteristics of the connector units
A special characteristic of the MA 255idevice family are three function modes:
1. Transparent mode
In this function mode, the MA 255ifunctions as a pure gateway with automatic
communication from and to the PLC. Absolutely no special programming by the user
is necessary for this purpose. The data is not buffered or stored temporarily, however.
Instead, it is "passed on".
The programmer must make certain to retrieve the datafrom the input memory of the
PLC at the right time, as it isotherwise overwritten by new data.
2. Collective mode
In this operating mode, data and telegram parts are temporarily stored in the memory
(buffer) of the MA and sent to the RS 232 interface or to the PLC in a telegram by means
of bit activation. In this mode, however, all communication control must be
programmed on the PLC.
Thisfunction mode ishelpful, for example, for very long telegramsor when one or
more codeswith long code lengthsare read.
3. Command mode
With thisspecial operating mode, it ispossible to use the first bytesof the datarange
to transmit predefined commands to the connected device by means of bit activation.
For this purpose, device-dependent commands (so-called online commands) are
predefined via the device selection switch, see chapter 16 "Specifications for Leuze
end devices".

Device description
16 MA 255iLeuze electronic
4.3 Device construction
The MA 255imodular interfacing unit is used for interconnecting Leuze devices, such as
the BCL 8, BCL 22, etc., directly to the fieldbus. This is accomplished by transmitting the
data from the Leuze device via an RS 232 (V.24) interface to the MA 255iwhere a module
converts it into the fieldbus format. The data format of the RS 232 interface corresponds to
the standard Leuze data format.
Figure 4.1: Connection of a Leuze devices (BCL, RFI, RFM, VR) to the fieldbus
The cable of the respective Leuze device is guided through cable bushings with PG cable
glands into the MA 255iand connected there with the PCB connectors.
The MA 255iis intended as a gateway for any RS 232 devices, e.g., BCL 90 with MA 90,
hand-held scanners, scales or for coupling a multiNet network.
The RS 232 cables are internally connectable using JST plug connectors. The cable can be
connected to the device using a stable PG cable gland which provide strain relief and
protection against contamination.
With the help of adapter cables with Sub-D 9 or open cable end, other RS 232 devices can
also be connected.
Fieldbus Fieldbus
MA 255i
Leuze
device
Either
network or other devices
with RS 232
RS 232
(V.24)

Device description
Leuze electronic MA 255i17
TNT 35/7-24V
4.4 Operating modes
For fast commissioning, the MA 255ioffers an additional operating mode, the "Service
mode", in addition to the "Standard mode". In this operating mode, the Leuze device can,
for example, be configured on the MA 255iand the communication can be tested on the
fieldbus. To do this, you need a PC/laptop with a suitable terminal program, as BCL-Config
from Leuze or similar.
Service switch
Select between "operation" and "service" modes with the service switch. You have the
following options:
Pos. RUN:
Operation
The Leuze device is connected to the fieldbus and communicates with the PLC.
Pos. DEV:
Service Leuze device
The connection between the Leuze device and the fieldbus is interrupted. With this
switch position, you can communicate directly with the Leuze device at the fieldbus
gateway via RS 232. You can send online commands via the service interface,
configure the Leuze device using the corresponding BCL- BPS-, …-Config
configuration software and have the read data of the Leuze device output.
Pos. MA:
Service fieldbus gateway
With this switch setting, your PC/terminal is connected with the fieldbus gateway. In
doing so, the current setting values of the MA (e.g. address, RS 232 parameters) can
be called up via a command.
Figure 4.2: Service-switch switch positions
Notice!
If the service switch is on one of the service settings, the PWR LED flashes on the front side
of the device, see chapter 8.1.2 "LED indicators on the housing".
Furthermore, on the control, the SMA service bit of the status bytes signals that the MA is
in service mode.

Device description
18MA 255iLeuze electronic
Service interface
The service interface can be accessed once the MA 255ihousing cover has been removed
and features a 9-pin Sub-D connector (male). A crossed RS 232 connection cable is required
to make the RxD, TxD and GND connections.
Figure 4.3: Connecting the service interface to a PC/terminal
Attention!
For the service PC to function, the RS 232 parameters must be the same as those of the
MA. The Leuze standard setting of the interface is 9600bd, 8N1 and STX, data, CR, LF.
4.5 Fieldbus systems
Various product variants of the MA 2xxiseries are available for connecting to different
fieldbus systems such as PROFIBUS DP, PROFINET-IO, DeviceNet and Ethernet.
4.5.1 DeviceNet
The MA 255iis designed as a DeviceNet device with a baud rate of max. 500kBd. The
functionality of the device is defined via parameter sets which are clustered in objects,
classes and instances. These objects … are contained in a EDS file.
The MA 255igateways can be operated as network devices on the DeviceNet. The MA 255i
features multiple M12 connectors / sockets for the electrical connection of the supply
voltage, the interface and the switching inputs and outputs. Additional information on the
electrical connection can be found in chapter 7.2.
The MA 255isupports:
• DeviceNet slave functionality
•CIPprofile
• baud rates of 125 kBd, 250kBd and 500kBd
•no slave address modification via DeviceNet
For further details, see chapter 12!
5 GND
3TxD
2 RxD
GND 5
TxD 3
RxD 2
1
1
PC/terminal
COM interface
MA 255i
Service interface
Table of contents
Other Leuze Measuring Instrument manuals

Leuze
Leuze AMS 307i User manual

Leuze
Leuze AMS 348i User manual

Leuze
Leuze AMS 348i SSI User manual

Leuze
Leuze AMS 384i User manual

Leuze
Leuze CL 730i User manual

Leuze
Leuze AMS 338i User manual

Leuze
Leuze AMS 301i Parts list manual

Leuze
Leuze CML 720i User manual

Leuze
Leuze BPS 300i User manual

Leuze
Leuze AMS 300i User manual