The text of a manual · part 5 of 7
MA 21 connector unit as Leuze multiNet plus slave and as protocol converter: Technical Description: 6 Commissioning
Pages 29 to 34 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 29
Commissioning
6
Commissioning 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.1
Configuring the interfaces with the BCL-Config software
6.1.1
Setting the host interface Host interface
TNT 35/7-24V
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 electronic
MA 21
27
Page 30
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.2
Setting 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.
28
MA 21
Leuze electronic
Page 31
Commissioning 6.2
Operating 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 M
M = master i>
01 s s = slave i>
02 s i>
• i>
• i>
• i> nn s n = 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.
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.3
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 (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 electronic
MA 21
29
TNT 35/7-24V
The only difference is:
Page 32
Commissioning 2.
3.
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. 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.
RS 232
Hand-held scanner Scale Printer RFM
Factory parameter 2 Cold start "factory parameter set" PC20
Customer parameter 1
Computer
PC01
PC10 or cold start "customer-spec. parameter set“
Current parameter 0 or "Configure" online/offline setup
PLC
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.
30
MA 21
Leuze electronic
Page 33
Commissioning "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:
copies the customer-specific parameter set to the current parameter set (corresponds to hardware RESET with customer-specific parameters)
PC20:
copies the standard parameter set to the current parameter set (corresponds to hardware RESET with factory parameters)
6.4
Executing a RESET
6.4.1
Software 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.
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.
6.4.2
Hardware 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 electronic
MA 21
31
TNT 35/7-24V
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.
Page 34
Commissioning Customer-specific parameter set:
o n
+ press > 4 s
1 2 3 4 B MA
RESET
Factory parameter set:
o n
+ press > 4 s
1 2 3 4 B MA
RESET
Figure 6.4: Loadable parameter sets during cold start
32
MA 21
Leuze electronic