The text of a manual · part 3 of 7
MA 21 connector unit as Leuze multiNet plus slave and as protocol converter: Technical Description: 3 Specifications of the MA 21
Pages 9 to 19 of 44, from MA 21 connector unit as Leuze multiNet plus slave and as protocol converter: Technical Description
The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Leuze MA21
Page 9
Specifications of the MA 21
3
Specifications of the MA 21
3.1
General specifications of the MA 21 Electrical data Interface type (selectable)
Mechanical data Protection class Weight Dimensions (H x W x D) Housing
IP 65 640 g 130 x 90 x 93 mm diecast aluminium
Environmental data Operating temperature range Storage temperature range Air humidity Vibration Shock Electromagnetic compatibility
0 °C … +50 °C -20 °C … +60 °C max. 90 % rel. humidity, non-condensing tested acc. to IEC 68.2.6 tested acc. to IEC 68.2.27 tested acc. to IEC 801
Leuze electronic
MA 21
TNT 35/7-24V
RS 232, with electrical isolation (MA 21 110) 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) 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. 9 VA with IDS max. 4 VA without IDS Operating voltage of 5.2 V DC ± 5 % (not for MA 21 100.2) external devices max. 0.8 A see "Indicator LEDs" on page 14 Indicators RDY LED - green Power ERR LED - yellow Error message ACT LED - red Transparent mode DTR LED - green Data transmission
7
Page 10
Specifications of the MA 21 3.2
Dimensioned drawing
A: LED indicators
Figure 3.1: Dimensioned drawing of the MA 21
3.3
Functions 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.
8
MA 21
Leuze electronic
Page 11
Specifications of the MA 21 Leuze multiNet plus
MA 30 multiNet plus master other slaves
MA 21 slaves
MA 21 slaves
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
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).
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 electronic
MA 21
9
TNT 35/7-24V
Two-wire RS 485
Page 12
Specifications of the MA 21 3.4
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. 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. Read station
Address of the read station
MA 30 Master
Addr. 00
Slave 1
Addr. 01
Slave 2
Addr. 02
Slave 3
Addr. 03
Slave n
Addr. n
Slave 1 Last slave
Addr. 30
Figure 3.3: Assignment of the network addresses
10
MA 21
Leuze electronic
Page 13
Specifications of the MA 21 3.5
Operational controls of the MA 21 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 Interface mode: off: Host on: Service
Address setting
Transparent mode
No function
Service
Host interface module
Reset
Operation
Service plug
Voltage supply of external device (hand-held scanner etc.)
TNT 35/7-24V
5
Host interface assignment: see 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.): • terminals 30 and 31: 5.2 V DC ± 5 %, max. 0.8 A • terminals 15 and 16: 24 V DC
Leuze electronic
MA 21
11
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 Reset
RFMxx connection
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)
12
MA 21
Leuze electronic
Page 15
Specifications of the MA 21
Element
Function
Host interface module
Pluggable interface card for host communication, choice of RS 232, RS 485, RS 422 and TTY
Setting the network address:
Set the device address on the rotary encoder switch or on the encoding jumper
Rotary switch
Position 0:
Jumper
Can be set from 1 to F (15 positions) for addressing in multiNet plus Position 0 … 15 (right): lower address range 0 … 15 Position 16 … 30 (left): upper address range 16 … 30
If the MA 21 is to serve as protocol converter from RS 232 to RS 485, RS 422 and TTY in stand-alone mode (not multiNet!) Position 1 … F: multiNet slave address (MA 21 100 and MA 21 100.2)
Ribbon cable connection to Not used with the MA 21 the BCL xx Press >0.2s and<4s: warm start Press 4 s: cold start Off: DIP switch 1 transparent mode
DIP switch 2 ParaDefault (MA 21 100.2 no function) DIP switch 3 interface mode
Online commands that are transmitted via the host interface or multiNet, are interpreted and executed by the MA 21. Online commands that are transmitted via the host interface or multiNet, are not interpreted and go directly to the BCL/RF device.
On:
Off: On:
With cold start, customer parameter set loaded With cold start, standard parameter set loaded
Off:
Host-interface active/service interface ready to listen Service interface active/ host-interface deactivated
On: "Off": "On":
Service interface connected to MA 21 (operation). Service interface connected to connected BCL/RF device (configuration of the RS 232 device via service).
Jumper service/operation
Top:
Service/listen (standard setting)
Service connector
Sub-D 9-pin connector, RS 232 interface for service/setup operation
Host interface (not MA 21 100.2)
Terminals 1 … 6: Connection terminals for the host computer, PIN assignments dependent on interface module
DIP switch 4 source
Leuze electronic
MA 21
13
TNT 35/7-24V
RESET button
Page 16
Specifications of the MA 21
Element
Function
Switch S4 bus termination RS 485
Position 1: Bus termination switched on Position 2: Bus termination switched off, necessary for the network
Client interface
Terminals 26 … 28: Connection terminals for the external RS 232 (not assigned with MA 21 100.2)
Voltage supply of external device not MA 21 100.2 Operating voltage
Terminals 30 and 31: terminals 15 and 16:
5.2 V DC ± 5 %, max. 0.8 A 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!
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
LED
RDY (green) Operational readiness (ready)
State
Meaning flashing
• Setup menu is active • A reset or restart is being performed continuous light
• Ready flashing
• Special function is being performed • Setup menu is active continuous light
• Hardware error or serious software error • Reset is being started
ERR (yellow) Error
14
MA 21
Leuze electronic
Page 17
Specifications of the MA 21
LED
State
Meaning
ACT (red) Indicates whether the MA 21 is in transparent mode light off
• Online commands are interpreted and executed continuous light
• Online commands are not interpreted
DEC (green)
Not featured on the MA 21
NET (green)
Not featured on the MA 21
DTR (green) Data transmission
3.6
Indicates data transmission to the host interface of the MA 21
Service 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. TNT 35/7-24V
RS 232 connection cable MA 21 Service interface
PC/terminal COM interface
GND 5
3 TxD
TxD 3
2 RxD
RxD 2 1
1
5 GND
Figure 3.7: Connecting the service interface to a PC/terminal
Leuze electronic
MA 21
15
Page 18
Specifications of the MA 21 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.
S o n 1 2 3 4 B MA
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
16
Addr. HI Addr. LO
Data
Terminator 1 Terminator 2
ASCII
STX
0
1
CODE
CR
LF
HEX
02h
30h
31h
43h 4Fh 44h 45h
0Dh
0Ah
MA 21
Leuze electronic
Page 19
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.
TNT 35/7-24V
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 electronic
MA 21
17