Leuze MA 258i User manual

MA 258
i
Fieldbus gateway – EtherNet/IP
Original operating instructions
EN 2022/04/22 - 50117132
We reserve the right to make technical changes

Leuze electronic GmbH + Co. KG MA 258
i
2
© 2022
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 GmbH + Co. KG MA 258
i
3
1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Explanation of symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Declaration of Conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Exemption of liability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3.2 Connecting the power supply and the bus cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4 Starting the device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.5 MA 258
i
on EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.5.1 Manual configuration of the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5.2 Configuration of the participant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.3 Transferring the data to the control (RSLogix 5000 specific). . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.4 Adapting the device parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.5 Using explicit messaging services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4 Device description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1 General information to the connection units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2 Characteristics of the connection units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3 Device construction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.4 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.5 Fieldbus systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.5.1 EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5 Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.1 General specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.2 Dimensioned drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.3 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6 Installation and mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.1 Storage, transportation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.2 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.2.1 PWR IN – voltage supply / switching input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.2.2 PWR OUT switching input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.3 BUS IN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Leuze electronic GmbH + Co. KG MA 258
i
4
7.4 BUS OUT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.5 Device interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.5.1 RS 232 device interface (accessible after opening the device, internal) . . . . . . . . . . . . . . . . . . . 31
7.5.2 Service interface (internal). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8 Status displays and operational controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.1 LED status indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.1.1 LED indicators on the circuit board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.1.2 LED indicators on the housing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.2 Internal interfaces and operational controls. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.2.1 Overview of operational controls of the . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.2.2 Connections of the X30 … connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.2.3 RS 232 service interface – X33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.2.4 S10 service switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.2.5 Rotary switch S4 for device selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.1 Connecting the service interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.2 Reading out information in Service mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
10 Telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
10.1 Structure of the fieldbus telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
10.2 Description of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
10.2.1 Structure and meaning of the input bytes (status bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
10.2.2 Detailed description of the bits (input byte 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
10.2.3 Detailed description of the bits (input byte 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
10.3 Description of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.3.1 Structure and meaning of the output bytes (control bytes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.3.2 Detailed description of the bits (output byte 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.3.3 Detailed description of the bits (output byte 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
10.4 RESET function / deleting memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
11 Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
11.1 Functionality of the data exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
11.1.1 Reading slave data in Collective mode (gateway -> PLC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
11.1.2 Writing slave data in Collective mode (PLC -> gateway). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
11.1.3 Command Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
12 Commissioning and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
12.1 Measures to be performed prior to the initial commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
12.2 Starting the device and setting the communication parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
12.2.1 Manual configuration of the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
12.3 Configuration steps for a Rockwell control without EDS support. . . . . . . . . . . . . . . . . . . . . . . . . . . 54
12.3.1 Integrating the hardware into the PLC using the generic Ethernet module . . . . . . . . . . . . . . . . . 54
12.3.2 Configuring the config assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
12.4 Configuration steps for a Rockwell control with EDS support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
12.4.1 Integrating the hardware into the PLC and installing the EDS file. . . . . . . . . . . . . . . . . . . . . . . . 57
12.4.2 Setting the parameters on the MA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
12.5 EDS file - general info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
12.6 EDS file - detailed description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.6.1 Class 1 Identity object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.6.2 Class 4 assembly object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
12.7 Setting the read parameters on the Leuze device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
12.7.1 Specific feature for the use of hand-held scanners (bar code and 2D devices, combi devices
with RFID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Leuze electronic GmbH + Co. KG MA 258
i
5
12.7.2 Specific features in the operation of an RFM/RFI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
13 Diagnostics and troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
13.1 General causes of errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
13.2 Interface errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
13.3 Service and support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
14 Type overview and accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
14.1 Part number code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
14.2 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
14.3 Accessories – Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
14.4 Accessories – Preassembled cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
14.4.1 Contact assignment of PWR connection cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
14.4.2 Technical data of the cables for voltage supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
14.4.3 Order codes of the cables for voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
14.5 Accessory – Preassembled cables for bus connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
14.5.1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
14.5.2 Contact assignment of M12 Ethernet connection cable KB ET… . . . . . . . . . . . . . . . . . . . . . . . . 69
14.5.3 Technical data of the M12 Ethernet connection cables KB ET… . . . . . . . . . . . . . . . . . . . . . . . . 69
14.5.4 Order code of M12 Ethernet connection cable KB ET… . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
14.6 Accessory – Preassembled cables for connecting Leuze Ident devices . . . . . . . . . . . . . . . . . . . . . 70
14.6.1 Order codes for the device connection cables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
14.6.2 Contact assignment for the device connection cables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
15 Maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
15.1 General maintenance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
15.2 Repairs, servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
15.3 Disassembling, packing, disposing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
16 Specifications for Leuze end devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
16.1 Standard setting, KONTURflex (S4 switch position 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
16.2 Bar code reader BCL 8 (S4 switch position 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
16.3 Bar code reader BCL 22 (S4 switch position 2). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
16.4 Bar code reader BCL 300i, BCL 500i, BCL 600i (S4 switch position 4) . . . . . . . . . . . . . . . . . . . . . 75
16.5 Bar code reader BCL 90, BCL 900i (S4 switch position 5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
16.6 LSIS 122, LSIS 222 (S4 switch position 6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
16.7 LSIS 4x2i, DCR 202i (S4 switch position 7). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
16.8 Hand-held scanner (S4 switch position 8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
16.9 RFI, RFM, RFU RFID readers (S4 switch position 9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
16.10 BPS 8 bar code positioning system (S4 switch position A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
16.11 BPS 300i bar code positioning system, ODSL xx optical distance sensors with RS 232
interface (S4 switch position B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
16.12 Modular connection unit MA 3x (S4 switch position C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
16.13 Resetting the parameters (S4 switch position F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
17 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
17.1 ASCII Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

Leuze electronic GmbH + Co. KG MA 258
i
6
1 General information
1.1 Explanation of symbols
The symbols used in this technical description are explained below.
1.2 Declaration of Conformity
The MA 258
i
modular connection units have been designed and manufactured in accordance with appli-
cable European directives and standards.
The manufacturer of the product, Leuze electronic GmbH + Co. KG in D-73277 Owen, possesses a certi-
fied quality assurance system in accordance with ISO 9001.
The MA 258
i
modular connection unit is "UL LISTED" in accordance with American and Canadian safety
standards and fulfills the requirements of Underwriter Laboratories Inc. (UL).
1.3 Description of functions
The MA 258
i
modular connection unit is used to connect Leuze devices directly to the fieldbus.
Bar code readers: 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 258
i
where a module converts it into the EtherNet/IP protocol. The data format on the RS 232 interface corre-
sponds 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 258
i
.
The corresponding Leuze devices are selected using a rotary code switch on the circuit board of the
connection unit. Many additional RS 232 devices can be connected through a universal position.
ATTENTION!
This symbol precedes text messages which must strictly be observed. Failure to observe the
provided instructions could lead to personal injury or damage to equipment.
NOTE
This symbol indicates text passages containing important information.
NOTE
The Declaration of Conformity for these devices can be requested from the manufacturer.

Leuze electronic GmbH + Co. KG MA 258
i
7
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 com-
pletely 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 different depending
on the device. These commands are not interpreted by the MA 258
i
, 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 regis-
tered data is sent by the PLC to the MA 258
i
.

Leuze electronic GmbH + Co. KG MA 258
i
8
2 Safety
This device was developed, manufactured and tested in line with the applicable safety standards. It corre-
sponds to the state of the art.
2.1 Intended use
The MA 258
i
modular connection 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.
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:
• in rooms with explosive atmospheres
• as stand-alone safety component in accordance with the machinery directive 1)
• for medical purposes
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.
CAUTION!
Observe intended use!
Only operate the device in accordance with its intended use. The protection of personnel 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.
NOTE
Comply with conditions and regulations!
Observe the locally applicable legal regulations and the rules of the employer's liability insur-
ance association.
ATTENTION!
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC
(National Electric Code).
1) Use as safety-related component within the safety function is possible, if the component combination is designed corre-
spondingly by the machine manufacturer.
NOTE
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.

Leuze electronic GmbH + Co. KG MA 258
i
9
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 stan-
dards and regulations, certified electricians are able to perform work on electrical systems and indepen-
dently detect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regulations BGV A3
(e.g. electrician foreman). In other countries, there are respective regulations that must be observed.
2.4 Exemption of liability
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.

Leuze electronic GmbH + Co. KG MA 258
i
10
3 Fast commissioning / operating principle
3.1 Mounting
The gateway mounting plate MA 258
i
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 258
i
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 2xx
i
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 depends 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 258
i
connections
Detailed information can be found in Chapter 7.
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 258
i
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 degree of
protection IP 65.
Connecting the 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.
NOTE
Below you will find a short description for the initial commissioning of the EtherNet/IP gateway
MA 258
i
. Detailed explanations for the listed points can be found throughout the handbook.
PWR OUT
VOUT 1
2
3
4
SWIO_2
SWIO_1
GND
FE
5
PWR IN
SWIO_1
SWIO_2
3
2
1
4
5
GND VIN
FE
HOST / BUS IN
TD+ 1
2
3
4
RD+
RD-
TD-
LEUZE Device BUS OUT
TD+ 1
2
3
4
RD+
RD-
TD-
M12 connector
(A-coded)
M12 socket
(A-coded)
M12 socket
(D-coded)
M12 socket
(D-coded)
ATTENTION!
Only then may the supply voltage be applied.
Upon startup of the MA 258
i
, the device selection switch is queried and the gateway automati-
cally sets itself to the Leuze device.

Leuze electronic GmbH + Co. KG MA 258
i
11
3.3.2 Connecting the power supply and the bus cable
Ideally, use the preassembled cables listed in Chapter 14.4.3 to connect the gateway to the power sup-
ply via the PWR IN connection.
The preassembled cables listed in Chapter 14.5.4 are preferred for connecting the gateway to the field-
bus 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
Connect the +18 … 30VDC supply voltage (typ. +24VDC), the MA 258
i
starts up.
The MS LED displays that it is ready for operation.
3.5 MA 258
i
on EtherNet/IP
Commissioning on the EtherNet/IP is performed according to the following scheme:
• Address assignment (automatically via DHCP, BootP or manually)
• Configuration of the participant depending on the version of the control software either with the help
of the Generic Ethernet Module or installation of the EDS file
• Transferring the data to the control
• Adapting the device parameters depends on the version of the control software: either by configuring
the config assembly or by adapting the EDS file
• Using explicit messaging services
The MA 258
i
can be configured in the planning tool/control using the EDS file if the control supports this.
PLC software RSLogix 5000 from Rockwell offers EDS support for EtherNet/IP from software version
20.00 and up. Without PLC support of the EDS integration, the settings are made via the "generic Ethernet
module". In this case, the respective configuration must be entered and adapted manually for each device.
After all parameters have been set in the planning tool/control, the download to the MA 258
i
takes place.
The set parameters are now stored on the MA 258
i
.
Afterwards, all MA 258
i
parameters should be stored via upload in the control. This helps in retaining the
parameters during device exchanges because the parameters are now also stored centrally in the control.
The EtherNet/IP baud rate is defined for the entire network in the planning tool/control.
Detailed information can be found in Chapter 12.

Leuze electronic GmbH + Co. KG MA 258
i
12
3.5.1 Manual configuration of the IP address
To set the IP address manually, the DHCP operation via BootP or the Rockwell control must be deacti-
vated.
Figure 3.2: Manual configuration of the IP address
If your system does not include a DHCP server or if the IP addresses of the devices are to be set perma-
nently, proceed as follows:
Have the network administrator specify the data for IP address, net mask and gateway address of the
MA 258
i
.
Figure 3.3: Making network settings
Select the connected device via the device selection switch.
Connect the +18 … 30VDC supply voltage (typ. +24VDC), the MA 258
i
starts up.
Now switch the service switch to "MA".
Now start a web browser by entering the IP address into the navigation bar. You will be shown a page
for the direct setting of the addresses.
Connect the serial RS 232 Sub-D interface of the MA 258
i
to the serial interface of your PC.
Make the respective settings on the configuration page opened in the web browser.
NOTE
The service switch must be in switch position "MA" for the MA 258
i
to start in configuration mode.

Leuze electronic GmbH + Co. KG MA 258
i
13
3.5.2 Configuration of the participant
Configuration with the generic Ethernet module
In the RSLogix 5000 configuration tool for EtherNet/IP, software versions <20.00, a so-called "generic
Ethernet module" is created for the MA 258
i
under the Communication path.
Figure 3.4: Generic module
Figure 3.5: Assembly list
The input mask for the Generic module describes:
• The name of the participant (can be selected freely; e.g.MA 258
i
).
• The format of the I/O data (data - DINT = 32bit or data - SINT = 8bit).
• The IP address of the participant.
• The address and length of the input assembly (instance 106). *)
• The address and length of the output assembly (instance 107). *)
• Optional: The address and length of the configuration assembly (instance 118; 12 x 8bits).
*) The possible data lengths are shown in Figure 3.5. You can select the suitable byte number for your
application here. Recommendations can be found in chapter "Specifications for Leuze end devices"
on page 72.

Leuze electronic GmbH + Co. KG MA 258
i
14
For the exact description of the assemblies for input/output and configuration, please refer to Chapter
12.6.2.
The query cycle of the input and output assemblies is subsequently defined in the Module properties ->
Connection path in the Request packet interval (RPI) input field.
The participant is thereby defined in off-line mode; the data must subsequently be transferred to the
control.
Configuration of the participant using the EDS file
From RSLogix 5000 software version 20.00 and up, proceed as follows to create the MA 258
i
as an
EtherNet participant in your system:
First, load the EDS file for the device via EDS wizard into the PLC database.
After loading, select the device via the device list and enter it into the HW manager via Drag&Drop.
Open the input dialog for setting the address and additional parameters by double-clicking on the device
symbol and make the desired entries here.
Finally, transmit the values to the device via download.
3.5.3 Transferring the data to the control (RSLogix 5000 specific)
Activate the online mode.
Select the Ethernet communication port.
Select the processor onto which the project is to be transferred.
Set the control to PROG.
Start the download.
Set the control to RUN.
3.5.4 Adapting the device parameters
Configure the parameters via the config assembly
The MA 258
i
makes available a configuration assembly that allows the entire parameter set of the MA 258
i
to be saved in the control and, if necessary, to be called up.
The config assembly must include all parameters that affect the MA 258
i
. The config assembly is auto-
matically written to the connected participants in cycles that the control manufacturer defines.
The config assembly is implemented in class 4, under instance 118. By default, all parameters are preset
to the value 0 (zero).
NOTE
The available lengths (4, 8, 12, 16, 20, 32, 64, 128, 240 bytes) of the input/output data cannot
be freely combined. The MA can only process ONE combination (connection). Please select the
suitable combination for the data length and the connected device. Further information may be
found in Chapter 12.6.2.
ATTENTION!
If the configuration assembly is addressed with instance 118 and length 12 in the input mask for
the generic module, all MA 258
i
parameters with the value 0 are occupied in the first moment.
All default parameters of the MA must be manually entered in the configuration assembly.
Changing the individual default values is possible at any time.
NOTE
You can find the EDS file at www.leuze.com.

Leuze electronic GmbH + Co. KG MA 258
i
15
Switch the control to offline mode.
Double-click Controller tags to edit the configuration assembly.
The configuration assembly can be recognized by the index "C" appended to the device name.
Parameter entry is performed as described in section "Setting MA parameters manually via the config
assembly" on page 56.
After all of the parameters relevant to the MA 258
i
are entered, the control is switched to "online" and the
project is downloaded again.
Setting the parameters on the MA via the EDS file
After the EDS file has been integrated, the device must be created as a "module" to establish a connection.
It is also helpful to assign an IP address to the MA beforehand, e.g. via the service interface.
To do this, double-click on the tree node Ethernet.
In the new window, select the desired device from the database and carry out the respective configura-
tion.
Figure 3.6: Creating a module
First set the IP address.
ATTENTION!
If the config assembly is not adapted, the MA 258
i
displays a corresponding behavior acc. to the
parameters preset with 0.
ATTENTION!
Activation of the config assembly as described above necessitates value entry in the corre-
sponding parameter memory locations. When using the configuration assembly, the default
parameters must also be entered in the corresponding memory locations (see also "Setting MA
parameters manually via the config assembly" on page 56).

Leuze electronic GmbH + Co. KG MA 258
i
16
Figure 3.7: Setting the IP address of the MA
Then, via the Change button, select the input/output data length of the module from a list of possible com-
binations by clicking on Connection.
Figure 3.8: Select combination for the lengths of the input and output data
Recommendation
A combination with 4 bytes of output data length is sufficient for most output data.
A longer length 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 combinations are usually
advisable.
Select the appropriate combination and transmit the settings to the device.
NOTE
The available lengths (4, 8, 12, 16, 20, 32, 64, 128, 240 bytes) of the input/output data are stored
here in "fixed" combinations. They cannot be freely combined. The MA can only process ONE
combination (connection).
Please select the suitable combination for the data length and the connected device. For further
information, see chapter 16 "Specifications for Leuze end devices".
NOTE
Since the combination of Produced/Consumed data contains 2 bytes for the control and status
bytes, the actual user data length is always 2 bytes smaller than specified in the selected combi-
nation.
E.g., when using the combination with 12 bytes In/12 bytes Out, there are effectively 10 bytes
available for user data on the Leuze device after subtracting the 2 bytes for status and control
bytes.

Leuze electronic GmbH + Co. KG MA 258
i
17
Figure 3.9: MA settings in the controller tags
3.5.5 Using explicit messaging services
Explicit messaging services (e.g., "get attributes …, set attribute …, and others) can be used to acycli-
cally access all data of the MA 258
i
ATTENTION!
If parameters are changed via explicit messaging services while simultaneously activating a con-
figuration assembly, the changed parameters must subsequently be entered in the configuration
assembly.

Leuze electronic GmbH + Co. KG MA 258
i
18
4 Device description
4.1 General information to the connection units
The modular connection unit of the MA 2xx
i
family is a versatile gateway for integrating Leuze RS 232
devices (e.g., BCL 22 bar code readers, RFID devices, RFM 32, …) into the respective fieldbus. The
MA 2xx
i
gateways are intended for use in industrial environments with a high degree of protection. 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 connection units
A special characteristic of the MA 258
i
device family are three function modes:
1. Transparent Mode
In this function mode, the MA 258
i
functions 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 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 programmed 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 pur-
pose, device-dependent commands (so-called online commands) are predefined via the device
selection switch, see chapter 16 "Specifications for Leuze end devices".
4.3 Device construction
The MA 258
i
modular connection unit is used for connecting 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 258
i
where 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 258
i
and connected there with the PCB connectors.
The MA 258
i
is intended as a gateway for any RS 232 devices, e.g., BCL 300i, hand-held scanners, scales
or for coupling a multiNet network.
Fieldbus Fieldbus
MA 258
i
Leuze
device
Either
network or other devices
with RS 232
RS 232
(V.24)

Leuze electronic GmbH + Co. KG MA 258
i
19
The RS 232 cables are internally connectable using JST pin strips. 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.
4.4 Operating modes
For fast commissioning, the MA 258
i
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 258
i
and 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, 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
NOTE
If the service switch is on one of the service settings, the MS 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.

Leuze electronic GmbH + Co. KG MA 258
i
20
Service interface
The service interface can be accessed once the MA 258
i
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
4.5 Fieldbus systems
Various product variants of the MA 2xx
i
series are available for connecting to different fieldbus systems
such as PROFIBUS DP, PROFINET-IO, DeviceNet and Ethernet or EtherCAT.
4.5.1 EtherNet/IP
The MA 258
i
is designed as an EtherNet/IP device (acc. to IEEE 802.3) with a standard baud rate of
10/100 Mbit. The functionality of the device is defined via parameter sets which are clustered in objects,
classes and instances. These objects … are contained in an EDS file which, depending on the version of
the control software, can be used to configure and integrate the MA into the system. PLC software
RSLogix 5000 from Rockwell offers EDS support for EtherNet/IP from software version 20.00 and up. A
fixed MAC ID is assigned to each MA 258
i
by the manufacturer; this ID cannot be changed.
The MA 258
i
automatically supports the transmission rates of 10 Mbit/s (10Base T) and 100 Mbit/s
(10Base TX), as well as auto-negotiation and auto-crossover.
The MA 258
i
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.
The MA 258
i
supports the following protocols and services:
• EtherNet/IP
•DHCP
•ARP
•PING
Further information on commissioning can be found in Chapter 12.
EtherNet/IP – star topology
The MA 258
i
can be operated as a single device (standalone) in an Ethernet star topology with individual
IP address. The setting is made via DHCP/ BootP.
Figure 4.4: EtherNet/IP in a star topology
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.
5 GND
3 TxD
2 RxD
GND 5
TxD 3
RxD 2
1
1
PC/terminal
COM interface
MA 258
i
Service interface
MA 258
i
"192.168.0.100" PC / PLC host interface
Other network participants
Table of contents
Other Leuze Gateway manuals
Popular Gateway manuals by other brands

TRBOnet
TRBOnet Swift A200 user manual

YANZI
YANZI IoT Gateway 2 Product brief

DEUTSCHMANN AUTOMATION
DEUTSCHMANN AUTOMATION UNIGATE EL PROFIBUS DP instruction manual

ZyXEL Communications
ZyXEL Communications USG1900 quick start guide

Moxa Technologies
Moxa Technologies MGate 5119 Series user manual

scigiene
scigiene RFR-0526-2 user guide