Leuze electronic MA 248i Original Operating Instructions

MA 248i

Fieldbus Gateway – PROFINET-IO

en 04-2017/01 50113019
We reserve the right to
make technical changes
Original operating instructions
© 2017
Leuze electronic MA 248i
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Foreseeable misuse. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Competent persons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4 Disclaimer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 Connecting the power supply and the bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5 Commissioning the MA 248i on the PROFINET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.1 Preparing the control system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.2 Installation of the GSD file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.3 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.4 Configuration of the modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.5 Transfer of the configuration to the IO Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.5.6 Configuration of the device name - device naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5.7 Device name check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4 Device description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1 General Information to the connector units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2 Characteristics of the connector units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3 Device construction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.4 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.5 Fieldbus systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.5.1 PROFINET-IO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Leuze electronic MA 248i 1
Table of contents
5.1 General specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.2 Dimensioned drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.3 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 Installation and mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.1 Storage, transportation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.2 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.3 Device arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.3.1 Selecting a mounting location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.4 Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.1 Safety notices for the electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.2 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
7.2.1 PWR IN – voltage supply / switching input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.2.2 PWR OUT switching input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.3 BUS IN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.4 BUS OUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
7.5 Device interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.5.1 RS 232 device interface (accessible after opening the device, internal) . . . . . . . . . . . . . . 36
7.5.2 Service interface (internal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.6 PROFINET-IO wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.7 Cable lengths and shielding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8 Status displays and operational controls . . . . . . . . . . . . . . . . . . . . 39
8.1 LED status indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.1.1 LED indicators on the circuit board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.1.2 LED indicators on the housing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.2 Internal interfaces and operational controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
8.2.1 Overview of operational controls of the. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.2.2 Connector X30 … connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2.3 RS 232 service interface – X33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2.4 S10 service switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2.5 Rotary switch S4 for device selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.1 Connecting the service interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.2 Reading out information in Service mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
2 MA 248i Leuze electronic
Table of contents
10 Telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
10.1 Structure of the fieldbus telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
10.2 Description of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.2.1 Structure and meaning of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.2.2 Detailed description of the bits (input byte 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
10.2.3 Detailed description of the bits (input byte 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
10.3 Description of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
10.3.1 Structure and meaning of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . 53
10.3.2 Detailed description of the bits (output byte 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
10.3.3 Detailed description of the bits (output byte 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
10.4 RESET function / deleting memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
11 Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
11.1 Functionality of the data exchange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
11.1.1 Reading slave data in Collective mode (gateway -> PLC) . . . . . . . . . . . . . . . . . . . . . . . . 58
11.1.2 Writing slave data in Collective mode (PLC -> gateway) . . . . . . . . . . . . . . . . . . . . . . . . . 58
11.1.3 Command mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
12 Commissioning and configuration. . . . . . . . . . . . . . . . . . . . . . . . . 64
12.1 Measures to be performed prior to the initial commissioning. . . . . . . . . . . . . . . . . . . . 64
12.2 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
12.3 Configuration steps for a Siemens Simatic S7 control . . . . . . . . . . . . . . . . . . . . . . . . . 65
12.3.1 Step 1 – Preparing the control system (S7 PLC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
12.3.2 Step 2 – Installation of the GSD file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
12.3.3 Step 3 – Hardware configuration of the S7 PLC: Configuration . . . . . . . . . . . . . . . . . . . . 67
12.3.4 Step 4 – Configuration of the modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
12.3.5 Step 5 – Transmission of the configuration to the controller (S7 PLC). . . . . . . . . . . . . . . 68
12.3.6 Step 6 – Configuration of the device name - naming the device . . . . . . . . . . . . . . . . . . . 69
12.3.7 Step 7 – Check device names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
12.4 Commissioning via the PROFINET-IO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
12.4.1 Modular structure of the parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
12.4.2 Permanently defined parameters/device parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.4.3 Overview of the project modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
12.4.4 Preparing the control system for consistent data transmission . . . . . . . . . . . . . . . . . . . . 75
12.5 Variable configuration of the communication data width . . . . . . . . . . . . . . . . . . . . . . . 75
12.6 Setting the read parameters on the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.6.1 Specific feature for the use of hand-held scanners
(bar code and 2D devices, combi devices with RFID) . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.6.2 Specific features in the operation of an RFM/RFI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Leuze electronic MA 248i 3
Table of contents
13 Diagnostics and troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . 79
13.1 General causes of errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
13.2 Interface errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
14 Type overview and accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
14.1 Part number code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
14.2 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
14.3 Accessory connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
14.4 Accessory ready-made cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
14.4.1 Contact assignment of PWR connection cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
14.4.2 Specifications of the cables for voltage supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
14.4.3 Order codes of the cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
14.5 Accessory ready-made cables for bus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
14.5.1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
14.5.2 Contact assignment of M12 PROFINET-IO connection cable KB ET… . . . . . . . . . . . . . . 83
14.5.3 Specifications M12 PROFINET-IO connection cable KB ET… . . . . . . . . . . . . . . . . . . . . . 84
14.5.4 Order codes of M12 PROFINET-IO connection cable KB ET… . . . . . . . . . . . . . . . . . . . . 84
14.6 Accessory ready-made cables for connecting Leuze Ident devices . . . . . . . . . . . . . . . 85
14.6.1 Order codes for the device connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
14.6.2 Contact assignment for the device connection cables . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
15 Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
15.1 General maintenance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
15.2 Repairs, servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
15.3 Disassembling, packing, disposing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
16 Specifications for Leuze end devices . . . . . . . . . . . . . . . . . . . . . . 87
16.1 Standard setting, KONTURflex (S4 switch position 0) . . . . . . . . . . . . . . . . . . . . . . . . . . 87
16.2 Bar code reader BCL 8 (S4 switch position 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
16.3 Bar code reader BCL 22 (S4 switch position 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
16.4 Bar code reader BCL 300i, BCL 500i, BCL 600i (S4 switch position 4) . . . . . . . . . . . . . 91
16.5 Bar code reader BCL 90, BCL 900i (S4 switch position 5) . . . . . . . . . . . . . . . . . . . . . . . 92
16.6 LSIS 122, LSIS 222 (S4 switch position 6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
16.7 LSIS 4x2i, DCR 202i (S4 switch position 7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
16.8 Hand-held scanner (S4 switch position 8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
16.9 RFI, RFM, RFU RFID readers (S4 switch position 9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4 MA 248i Leuze electronic
Table of contents
16.10 BPS 8 bar code positioning system (S4 switch position A) . . . . . . . . . . . . . . . . . . . . . . 97
16.11 BPS 300i bar code positioning system, ODSL xx optical distance sensors with
RS 232 interface (S4 switch position B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
16.12 Modular interfacing unit MA 3x (S4 switch position C) . . . . . . . . . . . . . . . . . . . . . . . . 100
16.13 Resetting the parameters (S4 switch position F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
17 Appendix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
17.1 ASCII Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Leuze electronic MA 248i 5
General information

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 248i modular 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 MA 248i modular interfacing unit is "UL LISTED" in accordance with American and Canadian safety standards and fulfills the requirements of Underwriter Laboratories Inc. (UL).
6MA248i Leuze electronic

1.3 Description of functions

The MA 248i modular 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 248i and converting it into the PROFINET 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 GSDML file in the hardware manager of the PLC is necessary to ensure the correct function of the MA 248i.
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
Leuze electronic MA 248i 7
TNT 35/7-24V
General information

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 2
Data length: Size of a valid, continuous data packet in bytes.
GSD file (device master file): 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 248i, 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 248i.
0
.
8MA248i Leuze 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 248i modular 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.
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.
Safety
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
• For medicinal purposes
1) Use as safety-related component within the safety function is possible, if the component combi­nation is designed correspondingly by the machine manufacturer.
Leuze electronic MA 248i 9
1)
TNT 35/7-24V
Safety
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.

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.
10 MA 248i Leuze electronic
Fast commissioning / operating principle
PWR OUT
VOUT
123
4
SWIO_2
SWIO_1
GND
FE
5
PWR IN
SWIO_1
SWIO_2
321
4
5
GND VIN
FE
HOST / BUS IN
TD+
123
4
RD+
RD-
TD-
LEUZE Device
BUS OUT
TD+
123
4
RD+
RD-
TD-
M12 connector
(A-coded)
M12 socket
(A-coded)
M12 socket
(D-coded)
M12 socket
(D-coded)

3 Fast commissioning / operating principle

Notice!
Below you will find a short description for the initial commissioning of the PROFINET gateway MA 248i. Detailed explanations for the listed points can be found throughout the handbook.

3.1 Mounting

The gateway mounting plate MA 248i can 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 248i should 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 2xxi family 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 248i connections
Detailed information can be found in chapter 7.
Leuze electronic MA 248i 11
TNT 35/7-24V
Fast commissioning / operating principle

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 248i and lead the corresponding device cable (see chapter 14.6) 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.
Finally, close the housing of the MA 248i.
Attention!
Only then may the supply voltage be applied. Upon startup of the MA 248i, 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.

3.3.2 Connecting the power supply and the bus cable

Ideally, use the ready-made cables listed in chapter 14.4.3 to connect the gateway to the
power supply via the PWR IN connection.
The ready-made cables listed in chapter 14.5.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 (+24VDC model); the MA 248i starts up.
The PWR LED displays that it is ready for operation.
First, you need to assign its individual device name to the MA 248i. The PLC must commu­nicate this device name to the participant during the "device naming". Further information may be found below and in chapter "Step 6 – Configuration of the device name - naming the device" on page 69.
12 MA 248i Leuze electronic
Fast commissioning / operating principle

3.5 Commissioning the MA 248i on the PROFINET

Complete the necessary steps for commissioning a Siemens-S7 control as described
below.
Further information regarding the individual commissioning steps is provided in see chapter
12.3 "Configuration steps for a Siemens Simatic S7 control".

3.5.1 Preparing the control system

In the first step, assign an IP address to the IO Controller (S7 PLC) and prepare the control for a consistent data transmission.
Notice!
If an S7 control is used, you need to ensure that Simatic-Manager Version 5.4 + service pack 5 (V5.4+SP5) or higher is used.

3.5.2 Installation of the GSD file

For the subsequent configuration of the IO devices, e.g., MA 248i, the corresponding GSD file must be loaded first. All data in modules required for operating the device is described in this file. These are input and output data and device parameters for the functioning of the device and the definition of the control and status bits.
Install the GSD file associated with the device in the PROFINET-IO Manager of your
control.
Leuze electronic MA 248i 13
TNT 35/7-24V
Fast commissioning / operating principle

3.5.3 Configuration

Configure the PROFINET-IO system with the HW Config of the SIMATIC Manager by
inserting the MA 248i into your project.
Figure 3.2: Assignment of the device names to IP addresses
Here, an IP address is assigned to a unique "device name".

3.5.4 Configuration of the modules

Now select a corresponding data module for the input and output area.
A number of different modules are available with various data lengths (4, 8, 12, 16, 20, 32 … 1024 bytes).
Notice!
Because the data module contains 2 bytes for the control and status bytes, the actual user data length is always 2 bytes smaller than the selected data module. E.g., when using the data module with 12 bytes, there are effectively 10 bytes available for user data on the Leuze device after subtracting the 2 bytes for status and control bytes.
14 MA 248i Leuze electronic
Fast commissioning / operating principle
Recommendation
In most cases, the 4-byte module is sufficient for the output module.
A larger module is needed, for example, if a BCL bar code scanner is to be configured by means of PT-sequences, or an RFID transponder is to be described. In these cases, larger data modules are usually sensible.
Notice!
Examples for selecting the correct data module length can be found in chapter 12.3.4, section "Examples of sensible settings for corresponding Leuze devices" on page 68.

3.5.5 Transfer of the configuration to the IO Controller

Transfer the PROFINET-IO configuration to the IO Controller (S7 PLC)
After the correct transfer to the IO Controller (S7 PLC), the PLC automatically carries out the following activities:
• Check device names
• Assignment of the IP addresses that were configured in the HW Config to the IO devices
• Establishment of a connection between the IO Controller and configured IO devices
• Cyclical data exchange
Notice!
Participants that have not been "named" cannot be contacted yet at this point in time!
Leuze electronic MA 248i 15
TNT 35/7-24V
Fast commissioning / operating principle

3.5.6 Configuration of the device name - device naming

PROFINET-IO defines the "naming of the device" as the creation of a name-based relation­ship for a PROFINET-IO device.
Assigning the device names to the configured IO devices
Select the respective gateway MA 248i for the "device naming" based on its MAC
address. The unique "device name" (which must match the participant in the HW Config) is then assigned to this participant.
Notice!
Multiple MA 248i can be distinguished by the MAC addresses displayed. The MAC address may be found on the name plate of the respective bar code scanner.
Figure 3.3: Assigning the device names to the configured IO devices
16 MA 248i Leuze electronic
Fast commissioning / operating principle
MAC address - IP address -individual device name
At this point, please assign an IP address (suggested by the PLC), a subnet mask and, if
required, a router address, and assign this data to the named participant ("device name").
Figure 3.4: MAC address - IP address -individual device name
From now on, and when programming, only the unique "device name" (max. 255 characters) is used.

3.5.7 Device name check

After completing the configuration phase, recheck the "device names" that have been
assigned. Please ensure that these names are unique and that all participants are located in the same subnet.
Leuze electronic MA 248i 17
TNT 35/7-24V
Device description

4 Device description

4.1 General Information to the connector units

The modular interfacing unit of the MA 2xxi family 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 2xxi gateways 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 248i device family are three function modes:
1. Transparent mode In this function mode, the MA 248i functions 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".
18 MA 248i Leuze electronic

4.3 Device construction

Fieldbus
Fieldbus
MA 248i
Leuze device
Either network or other devices with RS 232
RS 232 (V.24)
The MA 248i modular 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 248i where a module converts it into the fieldbus format. The data format of the RS 232 interface corresponds to the standard Leuze data format.
Device description
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 248i and connected there with the PCB connectors.
The MA 248i is 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.
Leuze electronic MA 248i 19
TNT 35/7-24V
Device description

4.4 Operating modes

For fast commissioning, the MA 248i offers 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 248i and 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, 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 SF 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.
20 MA 248i Leuze electronic
Service interface
5 GND
3 TxD
2 RxD
GND 5
TxD 3
RxD 2
1
1
PC/terminal
COM interface
MA 248i
Service interface
The service interface can be accessed once the MA 248i housing 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 2xxi series are available for connecting to different fieldbus systems such as PROFIBUS DP, PROFINET-IO, DeviceNet and Ethernet.
Device description

4.5.1 PROFINET-IO

The MA 248i is designed as a PROFINET-IO device (acc. to IEEE 802.3). It supports a trans­mission rate of up to 100 Mbit/s (100Base TX), full duplex, as well as auto-negotiation and auto-crossover.
The functionality of the device is defined via parameter sets which are clustered in modules. These modules are contained in a GSDML file.
Each MA 248i is sealed with a unique MAC-ID. This information is used to assign a unique, plant-specific device name ("NameOfStation") to the device via the "Discovery and Config­uration Protocol (DCP)". When configuring a PROFINET-IO system, the assignment of the device names to the configured IO devices creates a name-based relationship for the partic­ipating IO devices ("device naming"). Further information can be found in section "Step 6 – Configuration of the device name - naming the device" on page 69.
The MA 248i features multiple M12 connectors / sockets for the electrical connection of the supply voltage, the interface and the switching inputs and outputs. Additional information
Leuze electronic MA 248i 21
on the electrical connection can be found in chapter 7.2.
TNT 35/7-24V
Device description
The MA 248i supports:
• PROFINET-IO device functionality based on the PROFINET profile for identification systems
• Modular structure of the IO data
• PROFINET-IO RT (Real Time) communication
• Standard Fast EtherNet (100 Mbit/s) connections (M12 technology)
• Integrated EtherNet switch / 2 EtherNet ports
• PROFINET-IO Conformance Class B (CC-B)
• I&M support: I&M 0-4
• Diagnostics / alarms
For further details, see chapter 12!
Identification & Maintenance Functions
The MA 248i supports the base record I&M0:
Contents Index Data type Description Value
Header 0 10 bytes Manufacturer specific
MANUFACTURER_ID 10 UNSIGNED16 Leuze PNO manufacturer ID 338
ORDER_ID 12 ASCII string 20 bytes Leuze order no. Device-
SERIAL_NUMBER 32 ASCII string 16 bytes Unique device serial number Device-
HARDWARE_REVISION 48 UNSIGNED16 Hardware revision number, e.g.,
SOFTWARE_REVISION 50 1xCHAR, 3xUNSIGNED8 Software version number, e.g., V130
REVISION_COUNTER 54 UNSIGNED16 Is incremented when updating individual
PROFILE_ID 56 UNSIGNED16 PROFINET application profile number 0xF600
PROFILE_SPECIFIC_TYPE 58 UNSIGNED16 Info about subchannels and submodules
IM_VERSION 60 2xUNSIGNED8 Implemented I&M version V 1.1 0x01,0x01
IM_SUPPORTED 62 Bit[16] Optional I&M records available 0
Table 4.1: Base record I&M0
"0…65535"
corresponds to "V1.3.0"
modules This function is not supported
Not relevant
dependent
dependent
Device­dependent
Device­dependent
0
(generic device)
0x01,0x01
The MA 248i supports further protocols and services for communication:
• TCP/IP (firmware upload via web server)
•DCP
•ARP
•PING
Further information on commissioning can be found in chapter 12.
22 MA 248i Leuze electronic
Device description
MA 248i
"192.168.0.100"
PC / PLC host interface
Other network participants
PC / PLC host interface
MA 248i
"192.168.0.100"
to other network participants
MA 248i
"192.168.0.101"
MA 208i
"192.168.0.102"
PROFINET-IO – star topology
The MA 248i can be operated as a single device (standalone) with individual device name in a star topology. The PLC must communicate this device name to the participant during the "device naming".
Figure 4.4: PROFINET-IO in a star topology
PROFINET-IO – linear topology
The innovative further development of the MA 248i with integrated switch functionality offers the option of connecting multiple connector units of type MA 248i to one another without direct connection to a switch. In addition to the classic "star topology", a "linear topology" is thus also possible.
Leuze electronic MA 248i 23
Figure 4.5: PROFINET-IO in a linear topology
Each participant in this network requires its own unique device name that is assigned by the PLC during the "device naming". For specific information, please refer to chapter "Step 6 – Configuration of the device name - naming the device" on page 69.
The maximum length of a segment (connection from the hub to the last participant) is limited to 100m.
TNT 35/7-24V
Specifications

5 Specifications

5.1 General specifications

Electrical data
Interface type 2x PROFINET-IO, integrated switch,
Protocols PROFINET-IO RT-communication
Baud rate 10/100MBaud Data formats Data bit: 8, parity: None, stop bit: 1 Service interface RS 232, 9-pin Sub-D connector, Leuze standard Switching input/output 1 switching input/1 switching output
Operating voltage 18 … 30V DC (PELV, Class 2) Power consumption Max. 5VA (without DEV, current consumption max.
Max stress on the connector (PWR IN/OUT)
Indicators
LED LINK0 green Connection possible
yellow RX/TX0 data transmission
LED LINK1 green Connection possible
yellow RX/TX1 data transmission BF LED red Bus error SF LED red Collection error
Mechanical data
Protection class IP 65 (with screwed-on M12 and connected Leuze
Weight 700 g Dimensions (HxWxD) 130 x 90 x 41mm / with plate: 180 x 108 x 41mm Housing Diecast aluminum Connection 2 x M12: BUS IN / BUS OUT PROFINET-IO
Environmental data
Operating temperature range 0 °C … +55°C Storage temperature range -20°C … +60 °C Air humidity Max. 90% rel. humidity, non-condensing
BUS: 2x M12 socket (D-coded) PWR/IO: 1x M12 connector (A-coded), 1x M12 socket (A-coded)
DCP TCP/IP (firmware upload via web server) ARP PING
device-dependent voltage
300mA) 3A
device)
1 connector: RS 232 1 x M12: Power IN/GND and switching input/output 1 x M12: Power OUT/GND and switching input/output
1)
24 MA 248i Leuze electronic
Vibration IEC 60068-2-6, test FC Shock IEC 60068-2-27, test Ea Electromagnetic compatibility EN 61000-6-3:2007 (interference emissions for resi-
Certifications UL 60950-1, CSA C22.2 No. 60950-1
1) For UL applications: only for use in "Class 2" circuits acc. to NEC.

5.2 Dimensioned drawings

Specifications
dential, commercial and light-industrial environments) EN 61000-6-2:2005 (interference rejection for indus­trial sectors)
1)
Figure 5.1: MA 248i dimensioned drawing
Leuze electronic MA 248i 25
TNT 35/7-24V
Specifications

5.3 Type overview

The following versions of the MA 2xxi gateway family are available for facilitating the inte­gration of Leuze RS 232 devices in the various fieldbus types.
Fieldbus Device type Part no.
PROFIBUS DP V0 MA 204i 50112893 Ethernet TCP/IP MA 208i 50112892 PROFINET-IO RT MA 248i 50112891 DeviceNet MA 255i 50114156 CANopen MA 235i 50114154 EtherCAT MA 238i 50114155 EtherNet/IP MA 258i 50114157
Table 5.1: Type overview MA 2xxi
26 MA 248i Leuze electronic

6 Installation and mounting

6.1 Storage, transportation

Attention!
When transporting or storing, package the device s o that it is prot ected against collision and humidity. Optimal protection is achieved when using the original packaging. Heed the required environmental conditions specified in the technical data.
Unpacking
Check the packaging for any damage. If damage is found, notify the post office or shipping
agent as well as the supplier.
Check the delivery contents using your order and the delivery papers:
• Delivered quantity
• Device type and model as indicated on the name plate
• Brief manual
The name plate provides information as to what MA 2xxi type your device is. For specific information, please refer to the package insert or chapter 14.2.
Name plate of the connector unit
Installation and mounting
Figure 6.1: Device name plate MA 248i
Save the original packaging for later storage or shipping.
If you have any questions concerning your shipment, please contact your supplier or your local Leuze electronic sales office.
Observe the applicable local regulations when disposing of the packaging materials.
Leuze electronic MA 248i 27
TNT 35/7-24V
Installation and mounting
Fastening options

6.2 Mounting

The gateway mounting plate MA 248i can be mounted in two different ways:
• using four threaded holes (M6) or
• using two M8 screws on the two lateral grooves.
Fastening by means of four M6 or two M 8 screws
Figure 6.2: Fastening options
28 MA 248i Leuze electronic
Loading...
+ 78 hidden pages