reproductions in any form require the written consent of the manufacturer.
Product names are used without warranty of unrestricted applicability.
Changes reflecting technical improvements may be made.
Table of contents
1General information ........................................................................................................... 3
1.1Explanation of symbols ........................................................................................................ 3
1.2Declaration of conformity ..................................................................................................... 3
1.3Description of MA 21 functions ............................................................................................ 3
1.4Definition of terms ................................................................................................................ 4
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 can result in injuries to personnel or damage to the equipment.
Notice!
This symbol indicates text passages containing important information.
1.2Declaration of conformity
The MA 21 modular connector units have been designed and manufactured in accordance
with applicable European directives and standards.
Notice!
A copy of all declarations of conformity available for this product can be found in the appendix of this handbook (see chapter 10.1 "EU Declaration of Conformity" on page 37).
General information
The manufacturer of this product, Leuze electronic GmbH + Co. KG in D-73277 Owen/Teck,
uses a certified quality assurance system in accordance with ISO 9001.
1.3Description of MA 21 functions
The MA 21 modular connector unit is used to connect Leuze identification systems (IDS)
featuring an RS 232 interface such as BCL 22, RFM 32, VR and hand-held scanners to
other interfaces such as RS 422, TTY or to the Leuze multiNet (depending on device type).
This is accomplished by transmitting the data from the IDS via an RS 232 (V.24) interface
to the MA 21 where a module converts it to the respective protocol. The data format of the
RS 232 interface corresponds to the standard Leuze data format.
Leuze electronicMA 213
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:
• 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 MA4xDP-k, but
are instead transmitted transparently (see description of ident device).
•IDS:
Ident systems, e.g. barcode readers, RFID readers, VisionReader…
•CR:
Cross reference
• Leuze multiNet plus:
Proprietary, fast, client network based on RS 485
4MA 21Leuze electronic
2Safety notices
2.1General safety notices
Documentation
All entries in this technical description must strictly be observed, in particular those in the
"Safety notices" section. Keep this technical description in a safe place. It should be accessible at all times.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability insurance association.
Repair
Repairs must only be carried out by the manufacturer or an authorised representative.
2.2Safety standards
The devices of the series MA 21 were developed, manufactured and tested in accordance
with the applicable safety standards. They correspond to the state of the art.
2.3Intended use
Safety notices
Attention!
The protection of personnel and the device is guaranteed only if the device is operated in a
manner corresponding to its intended use.
Areas of application
The MA 21 connector unit is used to connect hand-held scanners or other devices featuring
an RS 232 interface to the Leuze multiNet plus network or to connect directly to a host
computer featuring an RS 232, RS 422, RS 485 or TTY interface.
Leuze electronicMA 215
TNT 35/7-24V
Safety notices
2.4Working safely
Attention!
Access to or changes on the device, except where expressly described in this operating
manual, are not authorised.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability insurance association.
Qualified personnel
Mounting, commissioning and maintenance of the device may only be carried out by qualified personnel.
Electrical work must be carried out by a certified electrician.
6MA 21Leuze electronic
3Specifications of the MA 21
3.1General specifications of the MA 21
Electrical data
Interface type (selectable)RS 232, with electrical isolation (MA 21 110)
Service interface RS 232 internal, with data format,
Switching input (only MA 21 100.2) 12 … 36 V DC
Operating voltage18 … 36 V DC
Power consumptionmax. 9 VA with IDS
Operating voltage of
external devices
Indicators
RDY LED - greenPower
ERR LED - yellowError message
ACT LED - redTransparent mode
DTR LED - greenData transmission
Mechanical data
Protection classIP 65
Weight640 g
Dimensions (H x W x D)130 x 90 x 93 mm
Housingdiecast aluminium
Environmental data
Operating temperature range0 °C … +50 °C
Storage temperature range-20 °C … +60 °C
Air humiditymax. 90 % rel. humidity, non-condensing
Vibrationtested acc. to IEC 68.2.6
Shocktested acc. to IEC 68.2.27
Electromagnetic compatibilitytested acc. to IEC 801
RS 422, with electrical isolation (MA 21 130)
RS 485, with electrical isolation (MA 21 100)
RS 485 multiNet, with system connection and
electrical isolation (MA 21 100.2)
TTY, with electrical isolation (MA 21 120)
9600 Bd, 8 data bits, no parity, 1 stop bit
9-pin Sub-D connector
max. 4 VA without IDS
5.2 V DC ± 5 % (not for MA 21 100.2)
max. 0.8 A
see "Indicator LEDs" on page 14
Specifications of the MA 21
TNT 35/7-24V
Leuze electronicMA 217
Specifications of the MA 21
A: LED indicators
3.2Dimensioned drawing
Figure 3.1: Dimensioned drawing of the MA 21
3.3Functions of the MA 21
General information
The MA 21 connector unit is used to connect hand-held scanners or other devices featuring
an RS 232 interface to the Leuze multiNet plus network or to connect directly to a host
computer featuring an RS232, RS422, RS485 or TTY interface.
The MA 21 is a variation of the MA 30. For this reason the MA 21 contains operational
controls and display elements that have no function.
These operational controls and display elements are labelled accordingly in the description
that follows.
8MA 21Leuze electronic
Specifications of the MA 21
other
slaves
MA 21
slaves
MA 21
slaves
MA 30
multiNet plus
master
Leuze multiNet plus
Figure 3.2: MA 21 as a slave in the Leuze multiNet plus
Slaves in the multi-Net
All Leuze barcode readers and decoders that are multiNet plus compatible, can be used as
slaves, e.g. the following devices
• BCL 21 with MA 2
• BCL 31 with MA 2L
• MA 21 100 with hand-held reader
• MA 21 100 with external device
• MA 21 100.2 with RFMx2
• MA 21 100.2 with VRxxxx
Two-wire RS 485
The Leuze multiNet plus is optimised for fast transmission of scanner data to a primary host
computer. Physically it consists of a two-wire RS 485 interface which is controlled by a software protocol - the multiNet plus protocol. This makes wiring the network easy and inexpensive since the network wiring is passed through from slave to slave.
For the multiNet shielded, twisted pair conductors should be used. This allows a total
network length of up to 1200 m.
If you would like to operate the MA 21 directly on the host computer, it is also possible to use
the various interfaces (RS 232, RS 422, TTY or RS 485) as well as various protocols such
as 3964/RK512 (not MA 21 100.2).
TNT 35/7-24V
Protocols
Moreover, various data and frame formats can be selected from the software setup (except
for the MA 21 100.2, see chapter 6.1 "Configuring the interfaces with the BCL-Config software"). All standard protocols including 3964/RK512 are thus covered.
Leuze electronicMA 219
Specifications of the MA 21
Slave 1
Last slave
Read station
Slave n
Slave 3
Slave 2
Slave 1
MA 30
Master
Address of the
read station
Addr. 30
Addr. n
Addr. 03
Addr. 02
Addr. 01
Addr. 00
3.4Addressing in the network
Addressing via ASCII address
Addressing the individual barcode readers or devices is necessary for the functioning of the
network so that the data read can be matched to a station. Leuze uses 2-byte ASCII
addressing in multiNet plus. This addressing is included in each data telegram. This address
must be selected at the stations via software or hardware (rotary switch).
The following rules apply:
Master (MA 30):Addr. 00
Slaves:Addr. 01 to Addr. 30 (sequentially numbered)
No address may occur twice in the network. The numbering must be without gaps, i.e. all
addresses up to the last slave address (=last subscriber in the network) must be occupied.
Notice!
Be careful to select the network addresses correctly during commissioning.
The logical order of the assigned addresses does not have to correspond to the physical order of the read stations in multiNet plus.
Figure 3.3: Assignment of the network addresses
10MA 21Leuze electronic
3.5Operational controls of the MA 21
5
Address setting
Interface mode:
off: Host
on: Service
No function
ParaDefault
off: customer PS
on: standard PS
Host interface
assignment:
see module
Host interface module
Transparent
mode
Service plug
Service
Reset
Operation
Voltage supply of
external device
(hand-held scanner
etc.)
The operational controls of the MA 21 are described in the following.
The figures show the MA 21 with opened housing cover.
Operational controls of the MA 21 100, MA 21 110, MA 21 120, MA 21 130
Specifications of the MA 21
Figure 3.4: Front view: Operational controls of the MA 21 100, MA 21 110, MA 21 120,
MA
21 130
Particularities:
• no connection for switching input/switching output
• voltage supply of external device (hand-held scanner etc.):
• terminals 30 and 31: 5.2 V DC ± 5 %, max. 0.8 A
• terminals 15 and 16: 24 V DC
Leuze electronicMA 2111
TNT 35/7-24V
Specifications of the MA 21
Address setting
RFMxx connection
Bus termination,
see table
Operating mode
see table
Service plug
Reset
Operational controls of the MA 21 100.2
Figure 3.5: Front view: Control elements of the MA 21100.2
Particularities:
• no separate voltage supply
• connection option for switching input/switching output
• for RS 232 devices with system connector (RFM 12, RFM 32, RFM 62, BCL 21,
VR-KB)
Pluggable interface card for host communication, choice
of RS 232, RS 485, RS 422 and TTY
Set the device address on the rotary encoder switch or on
the encoding jumper
Positio n 0: If the MA 21 is to serve as protocol con-
verter from RS 232 to RS 485, RS 422
and TTY in stand-alone mode (not multiNet!)
Positio n 1 … F: multiNet slave address (MA 21 100 and
MA 21 100.2)
Can be set from 1 to F (15 positions) for addressing in
multiNet plus
Positio n 0 … 15 (right): lower address range 0 … 15
Positio n 16 … 30 (left): upper address range 16 … 30
host interface or multiNet, are interpreted and executed by the MA 21.
On:Online commands that are transmitted via the
host interface or multiNet, are not interpreted and
go directly to the BCL/RF device.
Off: With cold start, customer parameter set loaded
On: With cold start, standard parameter set loaded
Off: Host-interface active/service interface ready to
listen
On: Service interface active/ host-interface deacti-
vated
"Off": Service interface connected to MA 21 (operation).
"On": Service interface connected to connected BCL/RF
device (configuration of the RS 232 device via
service).
Sub-D 9-pin connector, RS 232 interface for service/setup
operation
Terminals 1 … 6: Connection terminals for the host computer, PIN assignments dependent on interface module
TNT 35/7-24V
Leuze electronicMA 2113
Specifications of the MA 21
ElementFunction
Switch S4
bus termination RS 485
Client interface
Voltage supply of external
device
not MA 21 100.2
Operating voltage
Indicator LEDs
Located at the rear are 6 LEDs that indicate the operating states of the MA 21:
Position 1: Bus termination switched on
Position 2: Bus termination switched off, necessary for
the network
Terminals 26 … 28: Connection terminals for the external
RS 232 (not assigned with MA 21 100.2)
Terminals 30 and 31: 5.2 V DC ± 5 %, max. 0.8 A
terminals 15 and 16: 24 V DC
Terminals 17 … 21: Connection terminals for operating
voltage (18 … 36 V DC) MA 21 and connected device.
Attention!
PE must be connected due to the interferencesuppression circuit!
Figure 3.6: Rear view: LEDs on the MA 21
LED StateMeaning
RDY (green)
Operational readiness
(ready)
ERR (yellow)
Error
14MA 21Leuze electronic
flashing
continuous light• Ready
flashing
continuous light
• Setup menu is active
• A reset or restart is being performed
• Special function is being performed
• Setup menu is active
• Hardware error or serious software error
• Reset is being started
Specifications of the MA 21
5 GND
3 TxD
2 RxD
GND 5
TxD 3
RxD 2
1
1
PC/terminal
COM interface
MA 21
Service interface
LED StateMeaning
ACT (red)
Indicates whether the
MA 21 is in transparent
mode
DEC (green)
light off
continuous light
Not featured on the MA 21
• Online commands are interpreted
and executed
• Online commands are not interpreted
NET (green)
DTR (green)
Data transmission
3.6Service mode
Service interface
The MA 21 offers the service interface for commissioning the connector unit. It can be
accessed once the MA 21 housing cover has been removed and features a 9-pin, Sub-D
connector (male).
Connection
You can use this to connect a PC or terminal to the MA 21 via the serial RS 232/V.24 interface in order to configure the device. The connection is made using a crossed RS 232
connection cable that establishes the RxD, TxD and GND connections. A hardware handshake via RTS, CTS is not supported at the service interface.
RS 232 connection cable
Not featured on the MA 21
Indicates data transmission to the
host interface of the MA 21
TNT 35/7-24V
Leuze electronicMA 2115
Figure 3.7: Connecting the service interface to a PC/terminal
Specifications of the MA 21
1
2
o
n
3
4
BSMA
Service DIP switch
In order to activate the service mode DIP switch 3 must be set to the "ON" position. The
switch must always be in this position if commands are to be sent from a PC to the MA 21
via the service interface. If the switch is set to "OFF", you can passively listen the data.
Figure 3.8: Position of the DIP switch and the jumper in the service network
Notice!
To be able to configure the connected device (RS 232) directly via the service interface, DIP
switch 4 must also be set to "ON".
Attention!
Upon activation of the service mode the connection to the host computer is interrupted.
Data format of the service interface
If DIP switch 3 is set to "Service", the service interface always functions with the fixed data
format
• 9600 baud
• 8 data bits
• 1 stop bit
• no parity
• no handshake
ASCII address
Attention!
Please note that to communicate in the network, the Frame format/Address mode/ASCII
address option must always be activated and the correct address must be selected.
Data frame Structure
The data frame on the service interface is structured as follows:
Prefix 1 Addr. HI Addr. LODataTerminator 1 Terminator 2
ASCII
HEX
16MA 21Leuze electronic
STX01CODECRLF
02h30h31h43h 4Fh 44h 45h0Dh0Ah
Specifications of the MA 21
Notice!
The "CODE" data content is only an example; normally the actual user data of the frame are
shown here. Addr. 01 corresponds to slave 1 in the network.
Exiting service mode
As soon as DIP switch 3 is switched back to "Host", the host interface is reactivated.
Data monitoring
When the service interface is in this position, it is possible to "listen" to the data via the
RS 232 as they are transferred from the MA 21 to the host computer (data monitoring).
To do this, you must set your PC / terminal to the host protocol as the host interface is only
passively decoupled with no change of protocol.
Notice!
The configuration programs required for configuring the MA 21 xxx via the service interface,
such as BCL-Config or RF-Config, can be downloaded from
www.leuze.de -> Download -> Identify for BCL, RFID, VR etc.
For further information on configuring see chapter 6.1 "Configuring the interfaces with the
BCL-Config software".
Leuze electronicMA 2117
TNT 35/7-24V
Mounting
4Mounting
Notice!
To mount the respective ident devices, please observe the notices in the corresponding operating instructions.
4.1Mounting the MA 21
There are different types of mounting arrangements for the MA 21.
• Using 4 threaded holes (M6) or
• using the provided M8 screws in the lateral fastening grooves in the mounting
plate.
Figure 4.1: Fastening options for the MA 21
18MA 21Leuze electronic
4.2Arrangement of devices
Voltage supply
MA 31
Slave 1
BCL 31
Slave 2
RFM
Slave 3
BCL or
VR
RS 232
RS 422
RS 485
or TTY
Host
(PLC, process etc.)
-Backup
-Parameter
Network master
multiNet plus
MA 2
MA 21 100.2
Ideally, the MA 21 should be mounted so that it is easily accessible near the ident device in
order to ensure good operability, e.g. for configuring the device connected.
Mounting
Figure 4.2: Example of arrangement of devices: Networking via multiNet plus
Leuze electronicMA 2119
TNT 35/7-24V
Connection
5Connection
5.1Connecting the host interface
Connection terminals: 1-6
Pin assignments of interface modules
Attention!
The pin assignments of the connection terminals are dependent on the interface module
connected. The respective terminal designations are printed on the modules or affixed to the
cover of the MA 21.
The type designation of the MA 21 indicates which interface module is installed:
MA 21Interface types
Type designation/
Order code
MA 21 100RS 485
MA 21 100.2
MA 21 110RS 232These versions use the MA 21 as
MA 21 120TTY
MA 21 130RS 422
Interface module of the
host interface
RS 485 multiNet plus with
system connectors
For multiNet see chapter 5.2
an interface and protocol con-
verter from RS 232 to the corre-
sponding host interface (cf.
following pages)
20MA 21Leuze electronic
5.1.1RS 232 interface (MA 21 110)
Host
Shield
Host interface module
up to 10 m
123
4
5 6
TTY
T
X+ 1
T
X- 2
RX+ 3
RX- 4
- 5
GND
6
pas.TXakt.
pas .RXak t.
+20
mA
Rx+
R
x
-
G
ND
+20
mA
Tx
+
Tx
-
G
N D
HostShield
Host interface module
up to 1000 m
Ground (shield)
Jumper position
active
The MA 21 110 functions as a protocol converter with two electrically isolated RS 232 interfaces (1 host, 1 client).
RS 232
RXD
TXD
C
S
T
T
S
R
GND
Figure 5.1: Connection of the MA 21110 to an RS 232 host computer
Notice!
The wiring for RTS and CTS must only be connected if RTS/CTS hardware handshake is
used.
123
4
5 6
RS23
RXD
T
XD
CTS
TS
R
-
GND
Connection
2
1
2
3
4
5
6
5.1.2TTY interface (MA 21 120)
The MA 21 120 functions as an interface converter from RS 232 (client) to TTY (host).
TTY active
a) MA 21 active/host passive:
Figure 5.2: Active connection of the MA 21120 to a TTY host computer
Leuze electronicMA 2121
TNT 35/7-24V
Connection
123
4
5 6
TTY
TX
+
1
TX
-
2
RX
+
3
RX
-
4
-
5
G
ND
6
pas .TXakt.
pas.RXakt.
+20
mA
Rx+
Rx-
G
ND
+20
mA
Tx
+
Tx
-
G
N D
HostShield
Host interface module
up to 1000 m
Jumper
Jumper
Jumper position
passive
Ground (shield)
TTY passive
b) MA 21 passive/host active:
Figure 5.3: Passive connection of the MA 21120 to a TTY host computer
Hints for connecting the TTY interface:
• The active subscriber is the one which supplies the current (20 mA).
• Switching between active/passive on the host interface card is carried out using two
• The jumpers for active/passive switching must always be changed in pairs (upper and
jumper pairs, independent for transmit (Tx) and for receive (Rx).
lower jumpers in the same position). Thus the current source and GND are switched
internally at the MA 21 host interface module.
• Mixed operation is possible (transmit active/receive passive or vice versa).
• When switching between active and passive operation or vice versa, the pin order of
the connection cable is changed (pin assignment).
22MA 21Leuze electronic
5.1.3RS 422 interface (MA 21 130)
HostShield
Host interface module
up to 1200 m
R
S
485
485A 1
485A
2
485B
3
485B
4
GND
5
G
ND 6
123456
485
A
485B
G
ND
485A
485
B
GND
HostShield
Host interface module
up to 1200 m
With the MA 21 130 the client interface (RS 232) is converted to a 422 (host) interface. A
protocol conversion is also possible.
RS 422
Connection
Rx
+
RxTx
+
Tx
-
G
ND
Figure 5.4: Connection of the MA 21130 to an RS 422 host computer
5.2Connecting the multiNet plus interface
Connection terminals: 1-6 RS 485
5.2.1RS 485 interface (MA 21 100 and MA 21 100.2)
RS 485
123
4
5 6
RS422
TX+
TXRX+ 3
RX-
-
GND
1
2
4
5
6
TNT 35/7-24V
Figure 5.5: Connection of the MA 21100 to an RS 485 host computer
Leuze electronicMA 2123
Connection
Master
MA 30/31
multiNet plus interface
MA 2MA 21MA 10
BCL 40
or
BCL 80
BCL 21
or
BCL 31
BCL 40
or
BCL 80
Terminal resistance 220
Ω
BCL 90
MA 90
HS
or
RS 232
device
Connection with MA 30 only
multiNet plus interface
The multiNet plus interface establishes the connection between the subscriber. Note that the
RS 485 interface module must be plugged in. The two-wire RS 485 with galvanic decoupling
is passed through from slave to slave.
Recommended network cable: twisted pair
multiNet plus wiring
GND
GND
GND
RS 485
485 B
485 B
485 B
485 A
485 A
485 A
GND
485 B
485 A
cross section: min. 0.2 mm
shielded
copper resistance <100 Ω/km
e.g. LiYCY 2 x 0.2 mm
GND
485 B
485 A
GND
GND
485 B
485 B
485 A
485 A
RS 485
2
2
GND
485 B
485 A
GND
GND
485 B
485 B
485 A
485 A
RS 485 RS 485
GND
GND
485 B
485 B
485 A
485 A
Figure 5.6: multiNet plus wiring
24MA 21Leuze electronic
Hints for connecting the multiNet plus interface:
• The RS 485 A, 485 B and GND lines are passed through in the network; for the MA 30,
MA 21, MA 10 and MA 90 the corresponding terminals are doubly provided for this
purpose.
• Connect the shielding to the slaves with GND.
• The maximum wire length in the network is 1200 m.
• The (physically) last slave in the network should be fitted with a 220
sistor between 485 A and 485 B. This prevents reflections and improves resistance to
interference.
• 485 A and 485 B wires must in no case be exchanged within the network. The multiNet
will otherwise not function.
5.3Connecting the voltage supply
Connection terminals: 17-21 (for all MA 21)
Voltage supply
Connection terminals for the voltage supply of MA 21
The terminals for V_IN and GND_IN are doubly supplied for ease of wiring. Thus the supply
voltage can be passed through from one read station to the next.
Leuze electronicMA 2125
TNT 35/7-24V
Connection
5.4Connecting an external device
5.4.1Connecting the RS 232 client interface
Connection terminals: 26-28 (not for MA 21 100.2)
RS 232
Connection terminals for the RS 232 interface of an external device such as a hand-held
scanner
Terminal 26: RXD
Terminal 27: TXD
Terminal 28:GND
5.4.2Connecting the voltage supply
Connection terminals: 15, 16, 30, 31 (not for MA 21 100.2)
Voltage supply
Various voltages are available: 5.2 V and 24 V fixed.
Terminals 15:24 V
Terminals 16:GND
Terminals 30:5.2 V ± 5 %
Terminals 31:GND
The 24 V client voltage supply is potential-free relative to the MA 21 voltage supply as well
as the client interface.
26MA 21Leuze electronic
Commissioning
6Commissioning
Setting parameters
To activate network operation with the MA 21, it may be necessary to set several parameters. For best results use the BCL-Config or IRF-Config software for PCs, programs developed expressly for this purpose. With the aid of these programs, you can use a fixed data
format via the service interface of the MA 21 to configure the host and client interface.
You can download the config. tool from www.leuze.de -> Download -> Identify for BCL,
RFID, VR etc.
6.1Configuring the interfaces with the BCL-Config software
6.1.1Setting the host interface
Host interface
Prior to the initial commissioning of the host interface it must be set to the parameters of the
host computer/PLC.
Figure 6.1: Standard setting for the Host Interface menu
Notice!
The host interface is the host connection, depending on the interface module used (connection terminals 1 to 6).
Leuze electronicMA 2127
TNT 35/7-24V
Commissioning
Select the desired baud rate, the stop bits, the data bits and the parity here. You can also
set various handshake modes and protocols.
The RK512/3964 protocol can also be selected here. The individual parameters for this
protocol can be found in the tree structure configuration under:
Communication -> customer interface -> 3964 / RK 512 protocol
Attention!
If the MA 21 is operated in a network ("Leuze multiNet"), no changes may be made here.
The MA 21 automatically sets itself to the multiNet protocol!
6.1.2Setting the client interface
Client interface
Prior to the initial commissioning of the client interface, this must be set to the parameters
of the external RS232 device.
Figure 6.2: Standard settings of the Client Interface menu
Notice!
The client interface is the connection to the external RS 232 device (connection terminals
26 to 28). A hardware handshake via RTS / CTS is not supported at the client interface.
28MA 21Leuze electronic
6.2Operating the MA 21 as multiNet plus slave
Initialising the network
• Set the appropriate slave address on the address selection switch (see also
chapter 3.1).
• The last slave address must be set on the address switch on the MA 30.
• Set the "operation" operating mode on the slaves.
• Switch on the voltage supply.
Acknowledgements on the terminal window:Meaning:
i>00 MM = master
i>01 ss = slave
i>02 s
i>•
i>•
i>•
i>nn sn = last slave address (max 30)
If, following the initialisation phase (approx. 30 s), not all slaves are yet operational or a timeout (Addr.+T) has been output, please refer to chapter "Troubleshooting".
The connected slaves can now be contacted and configured from the master as if they were
individual devices.
Commissioning
The only difference is:
Contacting a slave
Within the network each data telegram must contain an ASCII address that specifies for
which slave the data are intended (cf. chapter 3.4)
Service mode: structure of the data frame.
6.3Managing parameter sets in the MA 21
Parameter sets
The MA 21 is capable of managing three types of parameter sets
A "parameter set" refers to a memory area in the EEPROM that contains all settings (parameters) of a read station such as code type, number of digits, output formatting etc. in numerical form. The BCL-Config configuration software facilitates menu-driven parameter setting.
For the software handling of the parameter sets, these are sequentially numbered from "0"
to "2".
1.Current parameter set ("0"):
parameter set that can be changed via an online or offline setup and that contains the
current settings of the MA 21.
Leuze electronicMA 2129
TNT 35/7-24V
Commissioning
Cold start
"factory parameter set"
PC20
Factory
parameter
2
"Configure"
online/offline setup
PC01
PC10
or
cold start
"customer-spec.
parameter set“
Compu-
ter
or
PLC
Customer
parameter
1
Current
parameter
0
Hand-held scanner
Scale
Printer
RFM
RS 232
2.Customer-specific parameter set ("1"):
parameter set stored in the MA 21 that can be created as a copy of a valid, current
parameter set for the purpose of storing customer-specific settings. As a result, the
customer-specific data are retained following a hardware reset.
3.Factory parameter set ("2"):
Leuze standard parameter set that cannot be changed.
The settings correspond to the state upon delivery.
By means of a hardware RESET (see chapter 6.4.2), it is possible to restore the factory settings of the MA 21.
Figure 6.3: Managing parameter sets in the MA 21
The parameter sets are not erased by switching off the operating voltage. The current
parameter set is used on start-up. If this is invalid, the customer-specific parameter set is
loaded.
30MA 21Leuze electronic
"parameter copy" command
With the online command "Parameter Copy", abbreviated "PC", you can copy a given
parameter set as a backup, so to speak, into the customer-specific parameter set and use
a hardware RESET to return the read station to this state at any time (cf. chapter 6.4.2).
Commands for handling the parameter sets via software:
PC01: copies the current parameter set to the customer-specific parameter set
PC10:
PC20:
copies the customer-specific parameter set to the current parameter set (corresponds to hardware RESET with customer-specific parameters)
copies the standard parameter set to the current parameter set (corresponds to
hardware RESET with factory parameters)
6.4Executing a RESET
6.4.1Software RESET ("warm start")
Software RESET
In the event that the MA 21 no longer responds in spite of having applied the operating
voltage, and the RDY LED no longer illuminates, you should first perform a software RESET.
To do this, press the RESET button on the MA 21 for more than 0.2 and less than 4.0 s.
The operating software will be restarted and the devices with the current parameters will be
reinitialised. Following initialisation, the MA 21 responds with "S" and the RDY LED should
illuminate.
If the MA 21 does not respond even after carrying out a warm start, there may be an error
in the setup settings, i.e. in the "current parameter set" of the MA 21. A hardware RESET
(see chapter 6.4.2) returns the parameter set of the MA 21 to a defined state so that the
devices are operable again.
Commissioning
6.4.2Hardware RESET ("cold start")
Hardware RESET
By means of a cold start, you can either reset the MA 21 to factory settings (factory parameter set) or to your customer-specific parameter set. Which parameter set is loaded depends
on the position of DIP switch 2. Initiate a cold start by pressing the RESET button for more
than 4 s.
Attention!
A cold start replaces the current parameter set either with your customer-specific parameter
set or the Leuze factory parameter set, i.e. any settings made there are lost. Therefore perform a hardware RESET only if the software cannot be started or if you intentionally want to
reset the MA 21.
Leuze electronicMA 2131
TNT 35/7-24V
Commissioning
1
2
o
n
3
4
BMA
+
RESET
press > 4 s
1
2
o
n
3
4
BMA
+
RESET
press > 4 s
Customer-specific parameter set:
Factory parameter set:
Figure 6.4: Loadable parameter sets during cold start
32MA 21Leuze electronic
7Diagnostics and troubleshooting
If problems occur during commissioning of the MA 21, you can refer to the following table.
Typical errors and their possible causes are described here as well as tips for their elimination.
No.Error descriptionPossible error causesMeasures
Error when switching on
Diagnostics and troubleshooting
1No LED illuminates
RDY LED flashes for longer
2
than 30 s after start-up
With network operation, net-
3
work master (Addr. "00") does
not respond to the host
Master responds with "00S", the
4
connected slaves do not
respond
Master responds with "00S", all
connected slaves respond with
5
time-out (e.g. "01T, 02T, 03T
etc.)
• Incorrect polarity or improper
connection of operating voltage
• "Power-ON" function test
could not be carried out successfully
No communication between
host and master:
• Incorrect interface type
plugged in
• Interface incorrectly connected
• Incompatible data format
between host and MA 21
• DIP switch 3 set to "Service"
• Last slave address on the
master MA 21 not set
• DIP switch 4 set to "BCL"
• Interruption or polarity
reversal of the multiNet plus
interface (RS 485)
• The slaves have not recognised the "multiNet" protocol
type and are using a different
data format
❏ Check connection, correct if
necessary
❏ Check the network wiring;
switch the operating voltage
off and back on again
❏ Replace interface module
❏ Correct according to the con-
nection diagram
❏ Check the data format and
change in the master setup
❏ Set DIP switch 3 to "Host"
❏ Use the rotary switch or mas-
ter setup to set the last slave
address
❏ Set DIP switch 4 to "MA 21"
❏ Test and correct the connec-
tion; wires A and B must not
be interchanged
❏ Test and correct settings for
the host protocol of the
slaves at the service interface
data format: multiNet mode
baud rate: 57600
protocol: multiNet plus
slave
TNT 35/7-24V
other errors on start-up
Master and slaves respond with
6
"Addr.+S", but MA 21 with timeout (e.g. 03T)
• MA 21 is not connected correctly or is using an incorrect
data format
• MA 21 is set to "Service"
❏ Test the connection of the
MA 21, check host protocol
(see above)
❏ Switch MA 21 to "Operation"
Leuze electronicMA 2133
Diagnostics and troubleshooting
No.Error descriptionPossible error causesMeasures
Errors during operation
DTR LED flashes but no data
7
arrive at the host computer
RDY and ERR LEDs flash syn-
8
chronously
9RDY LED does not illuminate
• Incorrect protocol set at the
host interface of the MA 21
• DIP switch 3 set to "Service"
• The MA 21 is in setup mode;
no reading tasks can be performed while in this mode
• Operating software of the
MA 21 does not function
properly
❏ Set the protocol on the
MA 21 to the values of the
host computer
❏ Set DIP switch 3 to "Host"
❏ End setup and save if neces-
sary; the MA 21 returns to
operating mode
❏ Perform a software RESET
Notice!
Please use page 34 and page 33 as a master copy should servicing be required.
Mark the items in the "Measures" column which you have already examined, fill out the following address field and fax both pages together with your service contract to the fax
number listed below.
Customer data (please complete) Leuze service fax number:
Device type:
Company:
Contact person/ Department:
Phone (direct):
Fax:
Street / No:
ZIP code/City:
Country:
+49 7021 573-199
34MA 21Leuze electronic
8Type overview and accessories
8.1Type overview of the MA 21
Part N o.Type designationRemark
500 30481MA 21 100Protocol/interface converter - from RS 232 to RS 485/RS 485 multiNet
500 03125MA 21 100.2
500 30482MA 21 110
500 30483MA 21 120Protocol/interface converter - from RS 232 to TTY
500 30484MA 21 130Protocol/interface converter - from RS 232 to RS 422
Protocol/interface converter - from RS 232 to RS 485 multiNet with
system connection
Protocol/interface converter - from RS 232 to RS 232, electrically
isolated
Type overview and accessories
Leuze electronicMA 2135
TNT 35/7-24V
Maintenance
9Maintenance
9.1General maintenance information
The MA 21 does not require any maintenance by the operator.
9.2Repairs, servicing
Repairs to the device must only be carried out by the manufacturer.
Contact your Leuze distributor or service organisation should repairs be required.
ª
The addresses can be found on the inside of the cover and on the back.
Notice!
When sending devices to Leuze electronic for repair, please provide an accurate description
of the error.
9.3Disassembling, packing, disposing
Repacking
For later reuse, the device is to be packed so that it is protected.
Notice!
Electrical scrap is a hazardous waste! Observe the locally applicable regulations regarding
disposal of the product.
36MA 21Leuze electronic
10Appendix
10.1EU Declaration of Conformity
Appendix
Leuze electronicMA 2137
TNT 35/7-24V
Appendix
10.2ASCII table
HEXDEC CTRL ABBDESIGNATIONMEANING
00 0^@NULNULLNull
01 1^ASOHSTART OF HEADINGStart of heading
02 2^BSTXSTART OF TEXTFirst character of text
03 3^CETXEND OF TEXTLast character of text
04 4^DEOTEND OF TRANSMISSIONEnd of transmission
05 5^EENQENQUIRYRequest to transmit data
06 6^FACKACKNOWLEDGEPositive response
07 7^GBELBELLBell symbol
08 8^HBSBACKSPACEBackspace
09 9^IHTHORIZONTAL TABULATORHorizontal tabulator
0A 10^JLFLINE FEEDLine feed
0B 11^KVTVERTICAL TABULATORVertical tabulator
0C 12^LFFFORM FEEDForm feed
0D 13^MCRCARRIAGE RETURNCarriage return
0E 14^NSOSHIFT OUTShift out
0F 15^OSISHIFT IN Shift in
10 16^PDLEDATA LINK ESCAPEData link escape
11 17^QDC1DEVICE CONTROL 1 (X-ON)Device control 1
12 18^RDC2DEVICE CONTROL 2 (TAPE)Device control 2
13 19^SDC3DEVICE CONTROL 3 (X-OFF)Device control 3