Leuze electronic MA 235i User manual

MA 235i
Fieldbus Gateway – CANopen
en 04-2017/01 50120388
We reserve the right to
make technical changes
Original operating instructions

Leuze electronic MA 235i
© 2017
Leuze electronic GmbH + Co. KG
In der Braike 1
D-73277 Owen / Germany
Phone: +49 7021 573-0
Fax: +49 7021 573-199
http://www.leuze.com

Leuze electronic MA 235i1
Table of contents
1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 Explanation of symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Declaration of Conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 Description of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Definition of terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Foreseeable misuse. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Competent persons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Disclaimer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Fast commissioning / operating principle . . . . . . . . . . . . . . . . . . . 10
3.1 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Device arrangement and selection of the mounting location . . . . . . . . . . . . . . . . . . . . 10
3.3 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3.1 Connecting the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3.2 Connecting the power supply and the bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5 MA 235ion the CANopen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Device description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1 General Information to the connector units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.2 Characteristics of the connector units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.3 Device construction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.4 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.5 Fieldbus systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.5.1 CANopen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.1 General specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2 Dimensioned drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.3 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6 Installation and mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.1 Storage, transportation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

2 MA 235iLeuze electronic
Table of contents
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 CANopen bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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
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

Leuze electronic MA 235i3
Table of contents
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. . . . . . . . . . . . . . . . . . . . . . . . . 58
12.1 Measures to be performed prior to the initial commissioning. . . . . . . . . . . . . . . . . . . . 58
12.1.1 Connecting the power supply and the bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.2 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.3 MA 235iin the CANopen system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
12.4 Starting the MA 235iin the CANopen system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
12.4.1 Device profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
12.4.2 Object directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
12.4.3 SDOs and PDOs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
12.4.4 SDOs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
12.4.5 PDOs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
12.4.6 Object index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
12.5 Setting the read parameters on the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
12.5.1 Specific feature for the use of hand-held scanners
(bar code and 2D devices, combi devices with RFID) . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
12.5.2 Specific features in the operation of an RFM/RFI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
13 Diagnostics and troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 72
13.1 General causes of errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
13.2 Interface errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
14 Type overview and accessories . . . . . . . . . . . . . . . . . . . . . . . . . . 74
14.1 Part number code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
14.2 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
14.3 Accessory terminating resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
14.4 Accessory connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

4 MA 235iLeuze electronic
Table of contents
14.5 Accessory ready-made cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
14.5.1 Contact assignment of PWR connection cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
14.5.2 Specifications of the cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
14.5.3 Order codes of the cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
14.6 Accessory ready-made cables for bus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
14.6.1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
14.6.2 Contact assignment of M12-CANopen connection cable KB DN…. . . . . . . . . . . . . . . . . 76
14.6.3 Specifications of M12-CANopen connection cable KB DN…. . . . . . . . . . . . . . . . . . . . . . 77
14.6.4 Order codes of M12-CANopen connection cable KB DN… . . . . . . . . . . . . . . . . . . . . . . . 77
14.7 Accessory ready-made cables for connecting Leuze Ident devices . . . . . . . . . . . . . . . 78
14.7.1 Order codes for the device connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
14.7.2 Contact assignment for the device connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
15 Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
15.1 General maintenance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
15.2 Repairs, servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
15.3 Disassembling, packing, disposing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
16 Specifications for Leuze end devices . . . . . . . . . . . . . . . . . . . . . . 80
16.1 Standard setting, KONTURflex (S4 switch position 0) . . . . . . . . . . . . . . . . . . . . . . . . . . 80
16.2 Bar code reader BCL 8 (S4 switch position 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
16.3 Bar code reader BCL 22 (S4 switch position 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
16.4 Bar code reader BCL 300i, BCL 500i, BCL 600i (S4 switch position 4) . . . . . . . . . . . . . 84
16.5 Bar code reader BCL 90, BCL 900i (S4 switch position 5) . . . . . . . . . . . . . . . . . . . . . . . 85
16.6 LSIS 122, LSIS 222 (S4 switch position 6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
16.7 LSIS 4x2i, DCR 202i (S4 switch position 7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
16.8 Hand-held scanner (S4 switch position 8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
16.9 RFI, RFM, RFU RFID readers (S4 switch position 9). . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
16.10 BPS 8 bar code positioning system (S4 switch position A) . . . . . . . . . . . . . . . . . . . . . . 90
16.11 BPS 300i bar code positioning system, ODSL xx optical distance sensors
with RS 232 interface (S4 switch position B). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
16.12 Modular interfacing unit MA 3x (S4 switch position C). . . . . . . . . . . . . . . . . . . . . . . . . . 93
16.13 Resetting the parameters (S4 switch position F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
17 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
17.1 ASCII Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

General information
Leuze electronic MA 235i5
TNT 35/7-24V
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 persons or damage to the equipment.
Notice!
This symbol indicates text passages containing important information.
1.2 Declaration of Conformity
The MA 235imodular interfacing units have been designed and manufactured in accor-
dance 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.
The modular interfacing unit is "UL LISTED" in accordance with American and Canadian
safety standards and fulfills requirements of Underwriter Laboratories Inc. (UL).

General information
6MA235iLeuze electronic
1.3 Description of functions
The MA 235imodular interfacing unit is used to connect Leuze devices directly to the
fieldbus.
Bar code reader: BCL 8, 22, 300i, 500i, 600i, 90, 900i
2D-code reader: LSIS 122, LSIS 222, LSIS 4x2i, DCR 200i
Hand-held scanner ITxxxx, HFU/HFM
RFID read-write devices: RFM 12, 32, 62 & RFI 32, RFU 100, RFU 200
Bar code positioning system: BPS 8, BPS 300
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 235iwhere a module converts it into the CANopen format. The data format on
the RS 232 interface corresponds to the Leuze standard data format (9600bd, 8N1 and STX,
data, CR, LF).
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.
Leuze electronic can only provide support for the devices offered in the product range.

General information
Leuze electronic MA 235i7
TNT 35/7-24V
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 235i,
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 bi t s :
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 235i.

Safety
8MA235iLeuze electronic
2 Safety
This device was developed, manufactured and tested in line with the applicable safety stan-
dards. It corresponds to the state of the art.
2.1 Intended use
The MA 235imodular 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.
Attention
For UL applications, use is permitted exclusively in Class 2 circuits according to NEC
(National Electric Code).
2.2 Foreseeable misuse
Any use other than that defined under "Intended use" or which goes beyond that use is
considered improper use.
In particular, use of the device is not permitted in the following cases:
• Rooms with explosive atmospheres
• As stand-alone safety component in accordance with the machinery directive 1)
• For medicinal purposes
CAUTION
Observe intended use!
Only operate the device in accordance with its intended use. The protection of per-
sonnel and the device cannot be guaranteed if the device is operated in a manner not
complying with its intended use.
Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use.
Read the technical description before commissioning the device. Knowledge of this
technical description is an element of proper use.
NOTICE
Comply with conditions and regulations!
Observe the locally applicable legal regulations and the rules of the employer's liability
insurance association.
1) Use as safety-related component within the safety function is possible, if the component combi-
nation is designed correspondingly by the machine manufacturer.

Safety
Leuze electronic MA 235i9
TNT 35/7-24V
2.3 Competent persons
Connection, mounting, commissioning and adjustment of the device must only be carried
out by competent persons.
Prerequisites for competent persons:
• They have a suitable technical education.
• They are familiar with the rules and regulations for occupational safety and safety at
work.
• They are familiar with the technical description of the device.
• They have been instructed by the responsible person on the mounting and operation
of the device.
Certified electricians
Electrical work must be carried out by a certified electrician.
Due to their technical training, knowledge and experience as well as their familiarity with
relevant standards and regulations, certified electricians are able to perform work on elec-
trical systems and independently detect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regu-
lations BGV A3 (e.g. electrician foreman). In other countries, there are respective regula-
tions that must be observed.
2.4 Disclaimer
Leuze electronic GmbH + Co. KG is not liable in the following cases:
• The device is not being used properly.
• Reasonably foreseeable misuse is not taken into account.
• Mounting and electrical connection are not properly performed.
• Changes (e.g., constructional) are made to the device.
NOTICE
Do not modify or otherwise interfere with the device.
Do not carry out modifications or otherwise interfere with the device.
The device must not be tampered with and must not be changed in any way.
The device must not be opened. There are no user-serviceable parts inside.
Repairs must only be performed by Leuze electronic GmbH + Co. KG.

Fast commissioning / operating principle
10 MA 235iLeuze electronic
3 Fast commissioning / operating principle
Notice!
Below you will find a short description for the initial commissioning of the CANopen
gateway MA 235i. Detailed explanations for the listed points can be found throughout the
handbook.
3.1 Mounting
The gateway mounting plate MA 235ican 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 235ishould 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 235iconnections
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
Leuze electronic MA 235i11
TNT 35/7-24V
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 235iand lead the corresponding device cable (see chapter 14.7) 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.
Set CANopen device address
By setting the CANopen address, the MA 235iis assigned its respective station number.
Each network device is thereby automatically informed that it is a slave on the CANopen
with its specific address and that it is initialized and queried by the PLC.
The CANopen permits an address range from 0 to 127, the MA a range from 0 to 99. Other
addresses must not be used for data communication.
Set the station address of the gateway using the two rotary switches S1 and S2 (ones
and tens places).
Figure 3.2: Rotary switch for setting the address
OnesTens

Fast commissioning / operating principle
12 MA 235iLeuze electronic
Set CANopen baud rate on the MA
The CANopen baud rate is defined for the entire network in the planning tool/control. The
baud rate is set on the MA 235ivia the baud rate selector switch. Only if the baud rates are
the same is communication with the MA 235ipossible.
Set the baud rate of the gateway via the S3 rotary switch to the value defined in the control.
Figure 3.3: Rotary switch for setting baud rate
Finally, close the housing of the MA 235i.
Attention!
Only then may the supply voltage be applied.
Upon startup of the MA 235i, the device selection switch is queried and the gateway auto-
matically 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 connec-
tion.
Switch position Baud rate [kBd]
0 auto
1 10
2 20
3 50
4 100
5 125
6 250
7 500
8 800
9 1000

Fast commissioning / operating principle
Leuze electronic MA 235i13
TNT 35/7-24V
3.3.2 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.
3.4 Starting the device
Apply the supply voltage +18 … 30VDC (typ. +24VDC); the MA 235istarts up.
The PWR LED displays that it is ready for operation.
3.5 MA 235ion the CANopen
Install the EDS file corresponding to the MA 235iin your planning tool/the control.
Notice!
You can find the EDS file at: www.leuze.com
The MA 235iis configured in the planning tool/control by means of the EDS file. The MA 235i
is assigned an address in the planning tool, which then has to be set in the MA 235ivia the
S1 and S2 address switches. Only if the addresses are the same between the MA 235iand
the control can communication be established.
After all parameters have been set in the planning tool/control, the download to the MA 235i
takes place. The set parameters are now stored on the MA 235i.
Afterwards, all MA 235iparameters 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 CANopen baud rate is defined for the entire network in the planning tool/control. The
baud rate is set on the MA 235ivia the S3 baud rate selector switch.
Only if the baud rates are the same is communication with the MA 235ipossible.
Detailed information can be found in chapter 12.

Device description
14 MA 235iLeuze electronic
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, …) into the respec-
tive 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 235idevice family are three function modes:
1. Transparent mode
In this function mode, the MA 235ifunctions as a pure gateway with automatic com-
munication 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 data from the input memory of the
PLC at the right time, as it is otherwise 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 pro-
grammed on the PLC.
This function mode is helpful, for example, for very long telegrams or when one or
more codes with long code lengths are read.
3. Command mode
With this special operating mode, it is possible to use the first bytes of the data range
to transmit predefined commands to the connected device by means of bit activation.
For this purpose, device-dependent commands (so-called online commands) are pre-
defined via the device selection switch, see chapter 16 "Specifications for Leuze end
devices".

Device description
Leuze electronic MA 235i15
TNT 35/7-24V
4.3 Device construction
The MA 235imodular 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 235iwhere 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 device (BCL, RFI, RFM, …) to the fieldbus
The cable of the respective Leuze device is guided through cable bushings with PG cable
glands into the MA 235iand connected there with the PCB connectors.
The MA 235iis intended as a gateway for any RS 232 devices, e.g., BCL 300i, 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 protec-
tion 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 235i
Leuze
device
Either
network or other devices
with RS 232
RS 232
(V.24)

Device description
16 MA 235iLeuze electronic
4.4 Operating modes
For fast commissioning, the MA 235ioffers 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 235iand the network settings of the MA can be
displayed. 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, con-
figure 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 CAN 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
Leuze electronic MA 235i17
TNT 35/7-24V
Service interface
The service interface can be accessed once the MA 235ihousing 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, CANopen and Ethernet
or EtherCAT.
4.5.1 CANopen
General information on CANopen
Figure 4.4: Bus topology
5 GND
3 TxD
2 RxD
GND 5
TxD 3
RxD 2
1
1
PC/terminal
COM interface
MA 235i
Service interface
Terminator
Trunk Line
Tap Terminator
Drop
Line
PLC

Device description
18 MA 235iLeuze electronic
The CAN bus is a serial 2-wire bus system to which all participants are connected in paral-
lel (i.e., using short stub cables). To avoid reflections, the bus must be terminated with a
terminating resistor of 120ohm at each end of the trunk line. Terminating resistors are also
required for very short trunk line cable lengths.
If the MA 235iis the last participant in the trunk line, the trunk line can be terminated via
the M12 bus OUT connection. For this purpose, Leuze electronic offers an M12 terminat-
ing resistor, see chapter 14 "Type overview and accessories".
Bus line (trunk line)
For CAN, the maximum cable length of the trunk line is predominantly limited by the signal
propagation time. The multi-master bus-access process (arbitration) requires that the sig-
nals are present virtually simultaneously at all nodes/participants. Therefore, the cable
length of the trunk cable must be adapted to the baud rate.
Stub cables (drop lines)
If possible, stub cables should be avoided because they cause signal reflections as a mat-
ter of principle. Generally, the reflections caused by stub cables are not critical, however, if
the following stub cable lengths are not exceeded.
Attention!
Stub cables must not be fitted with terminating resistors. If the MA 235iis integrated into a
stub cable, the M12 bus OUT connection must not be terminated.
Baud rate Bus length
1Mbit/s < 20m
800kbit/s < 50m
500kbit/s < 100m
250kbit/s < 250m
125kbit/s < 500m
50kbit/s < 1000m
20kbit/s < 2500m
Baud rate Length of stub cables Total length of all stub cables
1Mbit/s < 1m < 5m
800kbit/s < 1m < 25m
500kbit/s < 1m < 25m
250kbit/s <10m <50m
125kbit/s < 20m < 100m
50kbit/s < 50m < 250m
20kbit/s < 50m < 250m
Table of contents
Other Leuze electronic Gateway manuals
Popular Gateway manuals by other brands

GreenWave Reality
GreenWave Reality Gateway user guide

Lantronix
Lantronix G520 Series quick start

Daikin
Daikin intelligent Touch Manager BACnet DCM014A51 Quick user guide

OpenVox
OpenVox VS-GW2120-40W user manual

IC nexus
IC nexus VPC100 Series Quick start guides

Pilz
Pilz PSSnet GW1 MOD--CAN operating manual