Leuze MA 208i Original Operating Instructions

Leuze MA 208i Original Operating Instructions

Fieldbus gateway – ethernet tcp/ip
Table of Contents

Advertisement

Quick Links

Original operating instructions
i
MA 208
Fieldbus gateway – Ethernet TCP/IP
We reserve the right to make technical changes
EN 2022/04/22 - 50113024

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MA 208i and is the answer not in the manual?

Questions and answers

Summary of Contents for Leuze MA 208i

  • 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...
  • Page 2 © 2022 Leuze electronic GmbH + Co. KG In der Braike 1 D-73277 Owen / Germany Phone: +49 7021 573-0 Fax: +49 7021 573-199 http://www.leuze.com info@leuze.de Leuze electronic GmbH + Co. KG MA 208...
  • Page 3: Table Of Contents

    Connecting the Leuze device ........
  • Page 4 12.3 Setting the read parameters on the Leuze device ....... .
  • Page 5 Specifications for Leuze end devices ........
  • Page 6: General Information

    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.
  • Page 7: Definition Of Terms

    • 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.
  • Page 8: Safety

    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! ...
  • Page 9: Exemption Of Liability

    (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.
  • Page 10: Fast Commissioning / Operating Principle

    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).
  • Page 11: Connecting The Power Supply And The Bus Cable

    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.
  • Page 12: Ethernet Host Communication

    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...
  • Page 13: Udp

     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...
  • Page 14: Wdevice Description

    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.
  • Page 15: Operating Modes

    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.
  • Page 16: Fieldbus Systems

    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...
  • Page 18: Technical Data

    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...
  • Page 19: Dimensioned Drawings

    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...
  • Page 20: Installation And Mounting

    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.
  • Page 21: Device Arrangement

    • 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).
  • Page 22: Electrical Connection

    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.
  • Page 23: Pwr In - Voltage Supply / Switching Input/Output

    (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...
  • Page 24: Pwr Out Switching Input/Output

    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.
  • Page 25: Bus Out

    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...
  • Page 26: Device Interfaces

    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.
  • Page 27: Ethernet Wiring

    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.
  • Page 28: Status Displays And Operational Controls

    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...
  • Page 30: Internal Interfaces And Operational Controls

    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,…)
  • Page 31: Connections Of The X30

    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.
  • Page 32: Rotary Switch S4 For Device Selection

    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.
  • Page 33: Configuration

    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...
  • Page 36: Telegram

    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.
  • Page 37: Detailed Description Of The Bits (Input Byte 0)

    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...
  • Page 38: Description Of The Output Bytes (Control Bytes)

    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...
  • Page 40: Modes

    (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...
  • Page 42: Commissioning And Configuration

    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.
  • Page 43: Manual Configuration Of The Ip Address

    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...
  • Page 44: Udp

    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.
  • Page 45: Specific Feature For The Use Of Hand-Held Scanners

     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...
  • Page 47: Diagnostics And Troubleshooting

    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...
  • Page 48: Service And Support

    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.
  • Page 49: Type Overview And Accessories

    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...
  • Page 50: Technical Data Of The Cables For Voltage Supply

    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 –...
  • Page 51: Order Codes Of M12 Ethernet Connection Cable Kb Et

    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-...
  • Page 52: Maintenance

     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.
  • Page 53: Specifications For Leuze End Devices

    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),...
  • Page 54: Bar Code Reader Bcl 8 (S4 Switch Position 1)

    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...
  • Page 55: Bar Code Reader Bcl 22 (S4 Switch Position 2)

    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...
  • Page 56: Bar Code Reader Bcl 300I, Bcl 500I, Bcl 600I (S4 Switch Position 4)

    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...
  • Page 57: Bar Code Reader Bcl 90, Bcl 900I (S4 Switch Position 5)

    Version query Activation / deactivation reading gate + / - Configuration mode Alignment mode Read operation Reset parameters to default values PC20 Device restart Recommended settings Setting the data length is not required. Leuze electronic GmbH + Co. KG MA 208...
  • Page 58: Lsis 122, Lsis 222 (S4 Switch Position 6)

    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...
  • Page 59: Lsis 4X2I, Dcr 202I (S4 Switch Position 7)

    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...
  • Page 60: Hand-Held Scanner (S4 Switch Position 8)

    + / - 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...
  • Page 61: Bps 8 Bar Code Positioning System (S4 Switch Position A)

    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...
  • Page 62: Interface (S4 Switch Position B)

    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...
  • Page 64: Modular Connection Unit Ma 3X (S4 Switch Position C)

     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...
  • Page 65: Appendix

    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...

Table of Contents