Page 1
MA 21 connector unit as Leuze multiNet plus slave and as protocol converter T E C H N I C A L D E S C R I P T I O N...
Page 2
Leuze electronic GmbH + Co. KG P.O. Box 1111, D- 73277 Owen / Teck Tel. +49(0) 7021/ 573-0, Fax +49(0)7021/ 573-199 • www.leuze.com Sales and Service Germany Sales Region East Sales Region North Sales Region South Phone 035027/629-106 Phone 07021/573-306...
5.1.3 RS 422 interface (MA 21 130) ..................... 23 Connecting the multiNet plus interface ................23 5.2.1 RS 485 interface (MA 21 100 and MA 21 100.2)................. 23 Connecting the voltage supply ................... 25 Connecting an external device................... 26 5.4.1 Connecting the RS 232 client interface ..................
Page 4
Table of contents Diagnostics and troubleshooting................... 33 Type overview and accessories ..................35 Type overview of the MA 21 ....................35 Maintenance ........................36 General maintenance information..................36 Repairs, servicing ......................36 Disassembling, packing, disposing ..................36 Appendix........................... 37 10.1 EU Declaration of Conformity ....................
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.
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 MA 21 Leuze electronic...
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.
Observe the locally applicable legal regulations and the rules of the employer's liability insur- ance association. Qualified personnel Mounting, commissioning and maintenance of the device may only be carried out by quali- fied personnel. Electrical work must be carried out by a certified electrician. MA 21 Leuze electronic...
Service interface RS 232 internal, with data format, 9600 Bd, 8 data bits, no parity, 1 stop bit 9-pin Sub-D connector Switching input (only MA 21 100.2) 12 … 36 V DC Operating voltage 18 … 36 V DC Power consumption max.
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.
Page 11
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).
Specifications of the MA 21 Addressing 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.
Host interface module ParaDefault off: customer PS on: standard PS 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.): 5.2 V DC ±...
Page 14
Specifications of the MA 21 Operational controls of the MA 21 100.2 Operating mode see table Address setting Bus termination, see table Service plug RFMxx connection Reset Figure 3.5: Front view: Control elements of the MA 21100.2 Particularities: • no separate voltage supply •...
Page 15
RS 232 to RS 485, RS 422 and TTY in stand-alone mode (not multi- Net!) Position 1 … F: multiNet slave address (MA 21 100 and MA 21 100.2) Jumper Can be set from 1 to F (15 positions) for addressing in multiNet plus Position 0 …...
Page 16
Attention! PE must be connected due to the interference- suppression circuit! Indicator LEDs Located at the rear are 6 LEDs that indicate the operating states of the MA 21: Figure 3.6: Rear view: LEDs on the MA 21 State Meaning •...
(male). Connection You can use this to connect a PC or terminal to the MA 21 via the serial RS 232/V.24 inter- face 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 hand- shake via RTS, CTS is not supported at the service interface.
Page 18
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.
Page 19
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! To mount the respective ident devices, please observe the notices in the corresponding op- erating instructions. Mounting the MA 21 There are different types of mounting arrangements for the MA 21. • Using 4 threaded holes (M6) or •...
Mounting Arrangement of devices 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. Slave 1 MA 2 Host BCL 31 (PLC, process etc.)
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/...
Connection 5.1.1 RS 232 interface (MA 21 110) The MA 21 110 functions as a protocol converter with two electrically isolated RS 232 inter- faces (1 host, 1 client). RS 232 Host interface module Shield Host RS232 R X D...
Page 24
• The jumpers for active/passive switching must always be changed in pairs (upper and 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).
Connection 5.1.3 RS 422 interface (MA 21 130) 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 Host interface module Host Shield R S 422...
Page 26
485 A 485 A RS 485 RS 485 RS 485 RS 485 MA 10 MA 2 MA 90 MA 21 BCL 40 BCL 21 BCL 90 RS 232 BCL 80 BCL 31 device Figure 5.6: multiNet plus wiring MA 21...
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.
Terminals 15: 24 V Terminals 16: 5.2 V ± 5 % Terminals 30: Terminals 31: The 24 V client voltage supply is potential-free relative to the MA 21 voltage supply as well as the client interface. MA 21 Leuze electronic...
Commissioning Setting parameters To activate network operation with the MA 21, it may be necessary to set several parame- ters. For best results use the BCL-Config or IRF-Config software for PCs, programs devel- oped 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.
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.2...
Managing 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 (param- eters) of a read station such as code type, number of digits, output formatting etc. in numer- ical form.
Page 32
Commissioning 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.
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.
Page 34
Commissioning Customer-specific parameter set: press > 4 s B MA RESET Factory parameter set: press > 4 s B MA RESET Figure 6.4: Loadable parameter sets during cold start MA 21 Leuze electronic...
Diagnostics and troubleshooting Diagnostics 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 elimina- tion. Error description...
Page 36
• DIP switch 3 set to "Service" Set DIP switch 3 to "Host" ❏ • The MA 21 is in setup mode; End setup and save if neces- RDY and ERR LEDs flash syn- no reading tasks can be per- sary;...
Type overview and accessories Type overview and accessories Type overview of the MA 21 Part No. Type designation Remark 500 30481 MA 21 100 Protocol/interface converter - from RS 232 to RS 485/RS 485 multiNet Protocol/interface converter - from RS 232 to RS 485 multiNet with 500 03125 MA 21 100.2...
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. Disassembling, packing, disposing Repacking For later reuse, the device is to be packed so that it is protected.
SYNCHRONOUS IDLE Synchronization END OF TRANSMISSION End of data transmission block BLOCK CANCEL Cancel END OF MEDIUM End of medium SUBSTITUTE Substitution ESCAPE Escape FILE SEPARATOR File separator GROUP SEPARATOR Group separator RECORD SEPARATOR Record separator MA 21 Leuze electronic...
Page 41
COMMA Comma HYPHEN (MINUS) Hyphen (minus) PERIOD (DECIMAL) Period (decimal) SLANT Slant COLON Colon SEMI-COLON Semi-colon < LESS THAN Less than EQUALS Equals > GREATER THAN Greater than QUESTION MARK Question mark COMMERCIAL AT Commercial AT Leuze electronic MA 21...