Page 1
Original operating instructions MA 208 Fieldbus gateway – Ethernet TCP/IP We reserve the right to make technical changes EN 2022/04/22 - 50113024...
NOTE 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 certi- fied quality assurance system in accordance with ISO 9001.
• 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.
Intended use The MA 208 modular connection 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! ...
(e.g. electrician foreman). In other countries, there are respective regulations that must be observed. Exemption of liability 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.
3.3.1 Connecting the Leuze device To connect the Leuze device to the internal RS 232 device interface, open the housing of the MA 208 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).
192.168.61.100. Net mask: 255.255.255.0 The setting can be adapted via Leuze configuration software BCL-Config, BPS-Config or RF-Config. In these tools, the MA 208 has been created as a device to enable setting of parameters in the usual way via the service interface.
TCP server, also set the following values: • Port number for the communication of the MA 208 with the TCP client The corresponding adjustment options can be found in the configuration tool. Leuze electronic GmbH + Co. KG MA 208...
Set the following values: • IP address of the communication partner • Port number of the communication partner The corresponding adjustment options can be found in the configuration tool. Leuze electronic GmbH + Co. KG MA 208...
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 208 where a module converts it into the fieldbus format.
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 208 and connected there with the PCB connectors.
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. Fieldbus systems Various product variants of the MA 2xx series are available for connecting to different fieldbus systems such as PROFIBUS DP, PROFINET-IO, DeviceNet and Ethernet or EtherCAT.
Page 17
Each participant in this network requires its own unique IP address, which must be assigned to it via the RS 232 interface. Alternatively, the DHCP procedure can be used. The maximum length of a segment (connection from the hub to the last participant) is limited to 100m. Leuze electronic GmbH + Co. KG MA 208...
Power red Collection error Mechanical data Degree of protection IP 65 (with screwed-on M12 and connected Leuze device) Weight 700g Dimensions (H x W x D) 130 x 90 x 41mm / with plate: 180 x 108 x 41mm...
Figure 5.1: MA 208 dimensioned drawing Type overview The following versions of the MA 2xx gateway family are available for facilitating the integration of Leuze RS 232 devices in the various fieldbus types. Fieldbus Device type Part no. PROFIBUS DP V0...
Device name plate MA 208 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 sales office. Observe the applicable local regulations when disposing of the packaging materials.
• The housing cover should be easily accessible, so that the internal interfaces (device interface for connecting the Leuze device via PCB connectors, service interface) and other operational controls are easy to reach. • Maintaining the required environmental conditions (temperature, humidity).
Two additional M12 sockets are used for connection to the fieldbus. Both of these connections are D-coded. 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.
(on SWIN_1, PWRIN) Table 7.2: Device-specific function of the SWIOs Supply voltage ATTENTION! For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National Electric Code). Leuze electronic GmbH + Co. KG MA 208...
PWR IN to PWR OUT can be interrupted by means of a jumper. In this case, only the switching input and output on PWR IN are active. The function of the switching inputs and outputs is dependent on the connected Leuze device. Detailed information on this topic can be found in the respective operating instructions.
Use CAT 5 cables for the connection. NOTE For the MA 208 as standalone device or as the last participant in a linear topology, termination on the BUS OUT socket is not mandatory! Leuze electronic GmbH + Co. KG MA 208...
MA 208 Open 7.5.1 RS 232 device interface (accessible after opening the device, internal) The device interface is prepared for the system plugs (PCB connectors) for Leuze devices RFI xx, RFM xx, BCL 22. Figure 7.5: RS 232 device interface The standard devices are connected with 6- or 10-pin connector piece to X31 or X32, respectively.
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. NOTE To configure the devices connected to the external interface, e.g., BCL 8 (JST pin strip "X30"), a cable specially configured for this purpose is necessary.
Green, continuous light Bus operation ok - Network mode ok - Connection and communication to Host established Red, continuous light Configuration error - Network error - No connection established - No communication possible Leuze electronic GmbH + Co. KG MA 208...
Page 29
Green, continuous light LINK0 - Connection exists Yellow, flashing ACT 0 - Data exchange LINK 1/ACT 1 LED Green, continuous light LINK1 - Connection exists Yellow, flashing ACT 1 - Data exchange Leuze electronic GmbH + Co. KG MA 208...
Second BUS interface for creating a network with other participants in a linear topology JST pin strip with 12 pins Leuze device Connection of the Leuze devices with 5V / 1A (BCL 8, BPS 8 and hand-held scanner) JST pin strip with 10 pins Leuze device Connection of the Leuze devices (BCL, RFI, RFM,…)
RS 232 interface can be operated. 8.2.3 RS 232 service interface – X33 The X33 RS 232 interface facilitates the configuration of the Leuze device and the MA 208 via PC, which is connected by means of a serial null modem cable.
Reset to factory setting The gateway is set via the switch position on the Leuze device. If the switch position is changed, the device must be restarted, since the switch position is only queried after switching off completely and then restarting the device.
The respective configuration programs – e.g. for bar code readers the BCL-Config, for RFID devices the RF-Config etc. – and the associated documentation are provided on the Leuze home page www.leuze.com in the download area.
Page 34
Firmware Date Firmware date. Table 9.2: General firmware information Selected scanner Currently selected Leuze device (selected via switch S4). Gateway mode Transparent or Collective mode. State and Control Bytes Used Displays whether the status and control bytes can be used.
Page 35
Remote IP address Displays the IP address of the communication partner. Local port Displays the local port address. Remote port Displays the port address of the communication partner. Table 9.6: MA 208 communication parameters Leuze electronic GmbH + Co. KG MA 208...
Only the data part with the corresponding frame (e.g., STX, CR & LF) is then transmitted between the fieldbus gateway and the Leuze end device. The two control bytes are processed by the fieldbus gateway. The corresponding control and status bits and their meaning are specified in Section 10.2 and Section 10.3.
0: Device in operating "DEV", i.e. if the device is in either fieldbus gateway or mode Leuze device service mode. This is also indicated by a 1: Device in service flashing PWR LED on the front side of the device. Upon mode changing to the normal operating mode "RUN", the bit...
Command mode This bit is used to activate Command mode. In Com- mand mode, no data is sent by the PLC to the Leuze end 0: Default, transparent device via the gateway. In Command mode, various bits Command mode...
Page 39
Data Value range Default type New Data 0->1; 1->0: This bit is needed if several identical pieces of data are On each status change to be sent in sequence. for new data Leuze electronic GmbH + Co. KG MA 208...
(e.g., v, +, -, etc.). If, for example, the version of the Leuze end device is to be queried, the corresponding bit is to be set so that a "v" is sent to the Leuze device with the <STX>...
Page 41
Figure 11.1: Execution of command after activation of the Command mode NOTE Further information on fieldbus telegram structure can be found in Chapter 10.1. A specification of all usable commands can be found in chapter "Specifications for Leuze end devices" on page 53. Leuze electronic GmbH + Co. KG...
NOTE The default address of the MA is 192.168.61.100. The setting can be adapted via Leuze configuration software BCL-Config, BPS-Config or RF-Config. In these tools, the MA 208 has been created as a device to enable setting of parameters in the usual way via the service interface.
IP address of the server (host system) and the port number on which the server (host system) accepts a connection. In this case, the MA 208 determines when and with whom a connection is established! Leuze electronic GmbH + Co. KG MA 208...
You can download the config. tool from www.leuze.com for BCL, RFID, etc. In order to communicate with the connected Leuze device, the STX, data, CR, LF framing must be set on the PC terminal program, as the Leuze device is preconfigured ex works for this frame character.
Switch the MA 208 to switch position "RUN" (operation). The Leuze device is now connected to the fieldbus. Activation of the Leuze device can now occur via the switching input on the MA 208 , via the process data word Out bit 1 (bit 0.2) or by transmitting a "+"...
Page 46
Example: Control byte 0 Control byte 1 Data CHAR Plain text Leuze electronic GmbH + Co. KG MA 208...
Avoid EMC coupling caused by power cables laid parallel to device lines. Check max. network expansion as a Overall network expansion exceeded. function of the max. cable lengths. Figure 13.1: Interface error Leuze electronic GmbH + Co. KG MA 208...
13.3 Service and support Service hotline You can find the contact information for the hotline in your country on our website www.leuze.com under Contact & Support. Repair service and returns Defective devices are repaired in our service centers competently and quickly. We offer you an extensive service packet to keep any system downtimes to a minimum.
Overview of MA 2xx types 14.3 Accessories – Connectors Order codes for M12 connectors on our website www.leuze.com under Products - Network and connection technology - Cables and connectors - User-configurable connectors 14.4 Accessories – Preassembled cables for voltage supply 14.4.1 Contact assignment of PWR connection cable...
Bending radius > 50mm 14.4.3 Order codes of the cables for voltage supply Order codes for 5-pin M12 connection cable with socket on our website www.leuze.com under Products - Network and connection technology - Cables and connectors - Connection cables 14.5 Accessory –...
14.5.4 Order codes of M12 Ethernet connection cable KB ET… Order codes for 4-pin M12 connection cable with D-coded connector on our website www.leuze.com under Products - Network and connection technology - Cables and connectors - Connection cables or Ethernet interconnection cables M12 D-coded to M12 D-coded or M12 D-coded to RJ 45 on our website www.leuze.com under Products - Network and connection technology - Cables and connectors - Intercon-...
Contact your Leuze distributor or service organization should repairs be required. The addresses can be found on the inside of the cover and on the back. NOTE When sending devices to Leuze for repair, please provide an accurate description of the error. 15.3 Disassembling, packing, disposing Repacking For later reuse, the device is to be packed so that it is protected.
The corresponding Leuze end device can be selected while configuring the fieldbus gateway (see chapter 9 "Configuration"). The exact specifications for the individual Leuze end devices can be found in the following sections and in the device description. The corresponding serial command is sent to the Leuze end device in Command mode. To send the corre- sponding command to the RS 232 device after activating the Command mode in byte 0 (control bit 0.0),...
Output version of the boot kernel with check sum Output version of the decoder program with check sum Reset parameters to default values PC20 Device restart Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
Output version of the boot kernel with check sum Output version of the decoder program with check sum Reset parameters to default values PC20 Device restart Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
Switching output 1 deactivation Switching output 2 deactivation Parameter - difference to default parameter set PD20 Reset parameters to default values PC20 Device restart Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
Activation/deactivation of reading gate: 12h/14h (LSIS 122 only) <DC2> / <DC4> Activation of reading gate (LSIS 222 only) <SYN>T<CR> Deactivation of reading gate (LSIS 222 only) <SYN>U<CR> Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
For further information, see chapter 11.1.2 "Command Mode", Figure 11.1. Control bit Meaning Corresponds to serial command (ASCII) Version query Image acquisition trigger Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
+ / - Reset parameters to default values Device restart Not for IMRFU/RFU Recommended settings Setting the data length is not required. The RFID devices expect the telegrams / data in HEX format. Leuze electronic GmbH + Co. KG MA 208...
In this switch position, the MA automatically sends a position request to the BPS 8 every 10ms until another command comes via the control. Automatic request only restarts when a new position request is sent by the PLC or when the MA is restarted. Leuze electronic GmbH + Co. KG MA 208...
C0F838 Transfer position and velocity value cyclically C0F939 Transfer marker information C0FA3A Not used / reserved Transfer diagnostic information C0FC3C Activate standby C0FD3D Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
Page 63
The ODSL 9/96B is to be operated in the "Precision" measure mode. The mode is set through the display menu via Application -> Measure mode -> Precision. You can find more details on this in the technical description. Leuze electronic GmbH + Co. KG MA 208...
Switch the voltage on and wait until it is ready for operation. If necessary, switch the voltage off to prepare for commissioning. Set service switch S10 to the "RUN" position. Leuze electronic GmbH + Co. KG MA 208...
Opening parenthesis CLOSING PARENTHESIS Closing parenthesis ASTERISK Star PLUS Plus sign COMMA Comma HYPHEN (MINUS) Hyphen (minus) PERIOD (DECIMAL) Period (decimal) SLANT Slant COLON Colon SEMICOLON Semicolon < LESS THAN Less than Leuze electronic GmbH + Co. KG MA 208...
Page 66
COMMERCIAL AT Commercial AT OPENING BRACKET Opening bracket REVERSE SLANT Reverse slant CLOSING BRACKET Closing bracket CIRCUMFLEX Circumflex UNDERSCORE Underscore ‘ GRAVE ACCENT Grave accent OPENING BRACE Opening brace VERTICAL LINE Vertical line Leuze electronic GmbH + Co. KG MA 208...
Page 67
CTRL DESIGNATION MEANING CLOSING BRACE Closing brace TILDE Tilde DELETE (RUBOUT) Delete Leuze electronic GmbH + Co. KG MA 208...
Page 68
Safety notices ......22 Service Leuze Device ....15...
Page 69
Type overview ..... . . 19 Writing slave data ..... . . 40 Leuze electronic GmbH + Co. KG MA 208...
Need help?
Do you have a question about the MA 208i and is the answer not in the manual?
Questions and answers