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.2Declaration of Conformity
The MA 248i modular interfacing units have been designed and manufactured in accordance with applicable European directives and standards.
Notice!
The Declaration of Conformity for these devices can be requested from the manufacturer.
The manufacturer of the product, Leuze electronic GmbH + Co. KG in D-73277 Owen,
possesses a certified quality assurance system in accordance with ISO 9001.
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).
6MA248iLeuze electronic
1.3Description 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
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 electronicMA 248i7
TNT 35/7-24V
General information
1.4Definition 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 different 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
.
8MA248iLeuze electronic
2Safety
This device was developed, manufactured and tested in line with the applicable safety standards. It corresponds to the state of the art.
2.1Intended 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.2Foreseeable 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 combination is designed correspondingly by the machine manufacturer.
Leuze electronicMA 248i9
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.3Competent 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 electrical systems and independently 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.4Disclaimer
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.
10MA 248iLeuze 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
GNDVIN
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)
3Fast 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.1Mounting
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.2Device 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.3Electrical 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 electronicMA 248i11
TNT 35/7-24V
Fast commissioning / operating principle
3.3.1Connecting 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 automatically sets itself to the Leuze device.
Connecting functional earth FE
Ensure that the functional earth (FE) is connected correctly.
Unimpaired operation is only guaranteed when the functional earth is connected properly.
All electrical disturbances (EMC couplings) are discharged via the functional earth connection.
3.3.2Connecting 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.4Starting 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 communicate 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.
12MA 248iLeuze electronic
Fast commissioning / operating principle
3.5Commissioning 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.1Preparing 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.2Installation 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 electronicMA 248i13
TNT 35/7-24V
Fast commissioning / operating principle
3.5.3Configuration
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.4Configuration 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.
14MA 248iLeuze 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.5Transfer 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 electronicMA 248i15
TNT 35/7-24V
Fast commissioning / operating principle
3.5.6Configuration of the device name - device naming
PROFINET-IO defines the "naming of the device" as the creation of a name-based relationship 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
16MA 248iLeuze 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.7Device 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 electronicMA 248i17
TNT 35/7-24V
Device description
4Device description
4.1General 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 respective 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.2Characteristics 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 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 purpose, device-dependent commands (so-called online commands) are predefined via the device selection switch, see chapter 16 "Specifications for Leuze end
devices".
18MA 248iLeuze electronic
4.3Device 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 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.
Leuze electronicMA 248i19
TNT 35/7-24V
Device description
4.4Operating 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, configure the Leuze device using the corresponding BCL- BPS-, …-Config configuration
software and have the read data of the Leuze device output.
Pos. MA:
Service fieldbus gateway
With this switch setting, your PC/terminal is connected with the fieldbus gateway.In
doing so, the current setting values of the MA (e.g. address, RS 232 parameters) can
be called up via a command.
Figure 4.2:Service-switch switch positions
Notice!
If the service switch is on one of the service settings, the 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.
20MA 248iLeuze 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.5Fieldbus 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.1PROFINET-IO
The MA 248i is designed as a PROFINET-IO device (acc. to IEEE 802.3). It supports a transmission 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 Configuration 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 participating 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 electronicMA 248i21
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)
PROFILE_SPECIFIC_TYPE58UNSIGNED16Info about subchannels and submodules
IM_VERSION602xUNSIGNED8Implemented I&M version V 1.10x01,0x01
IM_SUPPORTED62Bit[16]Optional I&M records available0
Table 4.1:Base record I&M0
"0…65535"
corresponds to "V1.3.0"
modules
This function is not supported
Not relevant
dependent
dependent
Devicedependent
Devicedependent
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.
22MA 248iLeuze 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 electronicMA 248i23
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
5Specifications
5.1General specifications
Electrical data
Interface type2x PROFINET-IO, integrated switch,
ProtocolsPROFINET-IO RT-communication
Baud rate10/100MBaud
Data formatsData bit: 8, parity: None, stop bit: 1
Service interface RS 232, 9-pin Sub-D connector, Leuze standard
Switching input/output1 switching input/1 switching output
Operating voltage18 … 30V DC (PELV, Class 2)
Power consumptionMax. 5VA (without DEV, current consumption max.
Max stress on the connector
(PWR IN/OUT)
Indicators
LED LINK0 greenConnection 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 classIP 65 (with screwed-on M12 and connected Leuze
Weight700 g
Dimensions (HxWxD)130 x 90 x 41mm / with plate: 180 x 108 x 41mm
HousingDiecast aluminum
Connection2 x M12: BUS IN / BUS OUT PROFINET-IO
Environmental data
Operating temperature range0 °C … +55°C
Storage temperature range-20°C … +60 °C
Air humidityMax. 90% rel. humidity, non-condensing
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)
24MA 248iLeuze electronic
VibrationIEC 60068-2-6, test FC
ShockIEC 60068-2-27, test Ea
Electromagnetic compatibilityEN 61000-6-3:2007 (interference emissions for resi-
CertificationsUL 60950-1, CSA C22.2 No. 60950-1
1) For UL applications: only for use in "Class 2" circuits acc. to NEC.
5.2Dimensioned drawings
Specifications
dential, commercial and light-industrial environments)
EN 61000-6-2:2005 (interference rejection for industrial sectors)
1)
Figure 5.1:MA 248i dimensioned drawing
Leuze electronicMA 248i25
TNT 35/7-24V
Specifications
5.3Type overview
The following versions of the MA 2xxi gateway family are available for facilitating the integration of Leuze RS 232 devices in the various fieldbus types.
FieldbusDevice typePart no.
PROFIBUS DP V0MA 204i50112893
Ethernet TCP/IPMA 208i50112892
PROFINET-IO RTMA 248i50112891
DeviceNet MA 255i50114156
CANopen MA 235i50114154
EtherCAT MA 238i50114155
EtherNet/IP MA 258i50114157
Table 5.1:Type overview MA 2xxi
26MA 248iLeuze electronic
6Installation and mounting
6.1Storage, 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 electronicMA 248i27
TNT 35/7-24V
Installation and mounting
Fastening
options
6.2Mounting
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
28MA 248iLeuze electronic
Loading...
+ 78 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.