Page 1
MA 208 Modular interfacing unit for Leuze Ident and RS 232 devices on Ethernet TCP/IP 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 Tel. +49(0) 7021/ 573-0, Fax +49(0)7021/ 573-199 info@leuze.de w.leuze.com Sales and Service Germany Sales Region East Sales Region North Sales Region South Phone 035027/629-106 Phone 07021/573-306 Phone 07021/573-307...
Notice! 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 certified quality assurance system in accordance with ISO 9001. Leuze electronic...
RS 232 interface corresponds to the Leuze standard data format (9600 bd, 8N1 and STX, data, CR, LF). The corresponding Leuze devices are selected using a rotary code switch on the circuit board of the connector unit. Many additional RS 232 devices can be connected through a universal position. 208i Leuze electronic...
• Online command: These commands refer to the respective, connected ident device and may be differ- ent depending on the device. These commands are not interpreted by the MA 208i, but are instead transmitted transparently (see description of Ident device).
Leuze devices such as barcode- or 2D code readers, hand-held scanners, RFID read-write devices, etc. directly to the fieldbus. A detailed list can be found in "Description of functions" on page 6. 208i Leuze electronic...
Observe the locally applicable legal regulations and the rules of the employer's liability insurance association. Qualified personnel qualified personnel. Mounting, commissioning and maintenance of the device must only be carried out by Electrical work must be carried out by a certified electrician. Leuze electronic 208i...
Fast commissioning / operating principle Notice! Below you will find a short description for the initial commissioning of the Ethernet gateway MA 208i. Detailed explanations for the listed points can be found throughout the handbook. Mounting The gateway mounting plate MA...
Attention! Only then may the supply voltage be applied. Upon startup of the MA 208i, the device selection switch is queried and the gateway automatically sets itself to the Leuze device. Connecting functional earth FE Ensure that the functional earth (FE) is connected correctly.
Have the network administrator specify the data for IP address, net mask and gateway address of the MA 208i. Select the connected device via the device selection switch. Apply the supply voltage +18 … 30 V DC (typ. +24 V DC); the MA 208i starts up.
If you would like to use the TCP/IP protocol, you must also define whether the MA 208i to operate as a TCP client or as a TCP server. Contact your network administrator to determine which communication protocol is used. Leuze electronic 208i...
Fast commissioning / operating principle 3.5.3 TCP/IP Set the TCP/IP mode of the MA 208i. In TCP client mode, the MA 208i actively establishes the connection to the primary host system (PC / PLC as server). The MA 208i requires from the user the IP address of the server (host system) and the port number on which the server (host system) accepts a connection.
Notice! The Collective mode is not available for the MA 208i. Due to a variable telegram length, data can always be transmitted in its entirety independent of its length. It is not necessary to transfer data in blocks.
PG cable gland which provide strain relief and protec- tion against contamination. With the help of adapter cables with Sub-D 9 or open cable end, other RS 232 devices can also be connected. 208i Leuze electronic...
If the service switch is on one of the service settings, the PWR LED flashes on the front side of the device, see chapter 8.1.2 "LED indicators on the housing". Furthermore, on the control, the SMA service bit of the status bytes signals that the MA is in service mode. Leuze electronic 208i...
Additional information on the electrical connection can be found in chapter 7. The MA 208i supports the following protocols and services: • TCP / IP (client / server) • UDP • DHCP • ARP • PING 208i Leuze electronic...
Page 21
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 100 m. Leuze electronic 208i...
130 x 90 x 41 mm / with plate: 180 x 108 x 41 mm Housing diecast aluminum Connection 2 x M 12: BUS IN / BUS OUT Ethernet TCP/IP 1 connector: RS 232 1 x M12: Power IN/GND and switching input/output 1 x M12: Power OUT/GND and switching input/output 208i Leuze electronic...
IEC 60068-2-6, test FC Shock IEC 60068-2-27, test Ea Electromagnetic compatibility EN 61000-6-3:2007 (interference emissions for residen- tial, commercial and light-industrial environments) EN 61000-6-2:2005 (interference rejection for industrial sectors) Dimensioned drawings LINK0 LINK1 Figure 5.1: MA 208 dimensioned drawing Leuze electronic 208i...
PROFIBUS DP V0 MA 204 50112893 Ethernet TCP/IP MA 208 50112892 PROFINET-IO RT MA 248 50112891 DeviceNet MA 255 50114156 CANopen MA 235 50114154 EtherCAT MA 238 50114155 EtherNet/IP MA 258 50114157 Table 5.1: Type overview MA 2xx 208i Leuze electronic...
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 electronic sales office. Observe the applicable local regulations when disposing of the packaging materials.
• using four threaded holes (M 6) or • using two M 8 screws on the two lateral grooves. Fastening by means of four M 6 or two M 8 screws Fastening options Figure 6.2: Fastening options 208i Leuze electronic...
Clean the housing of the MA 208i with a soft cloth after mounting. Remove all packaging remains, e.g. carton fibers or Styrofoam balls. Attention! Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device. Leuze electronic 208i...
The fieldbus gateways are designed in accordance with safety class III for supply by PELV (protective extra-low voltage with reliable disconnection). Notice! Protection class IP65 is achieved only if the connectors and caps are screwed into place! 208i Leuze electronic...
Positive supply voltage +18 … +30 V DC SWIO_2 SWIO_2 Switching input/switching output 2 Negative supply voltage 0 V DC SWIO_1 Switching input/switching output 1 Functional earth SWIO_1 M 12 connector Thread Functional earth (housing) (A-coded) Table 7.1: PWR IN pin assignment Leuze electronic 208i...
Page 30
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 instruc- tions. 208i Leuze electronic...
Table 7.3: Pin assignment HOST / BUS IN For the host connection of the MA 208i, the "KB ET - … - SA-RJ45" ready-made cables are preferred, see table 14.4 Bus connection cable for the MA 208ion page 64.
Table 7.4: Pin assignment HOST/BUS OUT For the host connection of the MA 208i, the "KB ET - … - SSA" ready-made cables are preferred, see table 14.4 Bus connection cable for the MA 208ion page 64. If you use user-configurable cables, note the following:...
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 as well as BCL 32, VR with KB 031. Figure 7.5: RS 232 device interface Leuze electronic 208i...
To configure the devices connected to the external interface, e.g., BCL 8 (JST plug connec- tor "X30"), a cable specially configured for this purpose is necessary. The service switch must be in the "DEV" or "MA" position (Service Leuze device/MA). 208i Leuze electronic...
If no standard network cables are to be used (e.g., due to lacking IP… protection class), you can use the "KB ET - … - SA" user-configurable cables on the side of the MA 208i, see table 14.4 Bus connection cable for the MA 208ion page 64.
LED (Status) Device OFF - no operating voltage or device defect continuous green light Device ok - readiness for operation continuous orange light Device error / firmware available flashing green-orange Device in boot mode - no firmware 208i Leuze electronic...
RS 232 service interface Sub-D Jumper for bridging, separating switching input/output PWR IN/OUT 3 JST plug connectors: connection of the Leuze devices MA 208 : without function/not equipped Figure 8.2: Front view: operational controls of the MA 208 208i Leuze electronic...
Page 39
Switch between service Leuze device (DEV), service fieldbus gateway (MA) and Standard setting = operation. J1, J2 Bridging, separating switching input/output Jumper (interruption of connection between the two PWR M12 connectors of the SWIO 1/ SWIO 2) Leuze electronic 208i...
• Operation (RUN) = default setting • Service Leuze device (DEV) and • Service fieldbus gateway (MA) Figure 8.4: DIP switch service - operation For further information on the corresponding options, see chapter 4.4 "Operating modes". 208i Leuze electronic...
Notice! In switch position "0", a distance of >20 ms must be maintained between two telegrams so they can be distinguished from one another. The parameters of the Leuze end devices are described in chapter 16. Leuze electronic 208i...
Now start one of the following terminal programs: e.g., BCL, RF, BPS Config. Alternatively, you can also use the Windows tool "Hyperterminal". Start the program. Select the correct COM port (e.g., COM1) and set the interface as follows: 208i Leuze electronic...
Page 43
You can now call up information on the MA 208i by sending the following commands. General service information. Enable memory mode for the last frames. The memory mode shows the last RX and TX frames for ASCII and fieldbus. Table 9.1: Available commands Leuze electronic 208i...
Page 44
Currently configured baud rate ASCII baud rate (dependent on switch position S4). ASCII framing Character length, parity, stop bit(s). ASCII warm start status Indicates whether the ASCII memory has detected and accepted a valid configuration. Table 9.5: ASCII configuration 208i Leuze electronic...
Page 45
Displays the configured mode: TCP client, TCP server or UDP. 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 208i...
The corresponding control and status bits and their meaning are specified in section 10.2 and section 10.3. Further information on the broadcast control bytes and address bits 0 … 4 can be found in chapter "Modular interfacing unit MA 3x (S4 switch position C)" on page 81. 208i Leuze electronic...
Meaning 0 … 7 DLC0 … DLC7 Data Length Code (length of the following user data) Notice! T-bit means toggle bit, i.e. this bit changes its state on each event ("0" "1" or "1" "0"). Leuze electronic 208i...
) … Data length code (number of user data in bytes) 1.0 … (00001 DLC0 … DLC7 0h (00000b) Stored in these bits is the number of user data bytes trans- (00255 mitted to the PLC which follow. 208i Leuze electronic...
Bit no. Designation Meaning Command mode Command mode Broadcast Broadcast (only relevant with a connected MA 3x) 2 … 6 Address 0 .. 4 Address bits 0 .. 4 (only relevant with a connected MA 3x) New data Leuze electronic 208i...
Bit 7: New data: ND Output data Description Addr. Data Value range Default type 0->1; 1->0: New data This bit is needed if several identical pieces of data are to be On each status sent in sequence. change for new data 208i Leuze electronic...
In Command mode, control or output byte 0.0 is to be set for activating the Command mode. Only the corresponding bit (control or output byte 2.1) then needs to be set for activating and deactivating the reading gate. Output byte 0 Output byte 1 Output byte 2 Output byte 3 208i Leuze electronic...
Page 53
Figure 11.1: Execution of command after activation of the Command mode Notice! 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 67. Leuze electronic 208i...
Finally, close the housing of the MA 208i. Attention! Only then may the supply voltage be applied. Upon startup of the MA 208i, the device selection switch is queried and the gateway automatically sets itself to the Leuze device. PWR IN HOST / BUS IN...
Commissioning and configuration 12.2 Starting the device and setting the communication parameters First, you must start the device and set the communication parameters of the MA 208i. With the communication parameters, you determine how data is exchanged between MA 208i and host system, monitor PCs etc.
If you would like to use the TCP/IP protocol, you must also define whether the MA 208i to operate as a TCP client or as a TCP server. Contact your network administrator to determine which communication protocol is used. 208i Leuze electronic...
Commissioning and configuration 12.2.3 TCP/IP Set the TCP/IP mode of the MA 208i. In TCP client mode, the MA 208i actively establishes the connection to the primary host system (PC / PLC as server). The MA 208i requires from the user the IP address of the server (host system) and the port number on which the server (host system) accepts a connection.
Page 58
The Leuze device is now connected to the fieldbus. Activation of the Leuze device can now occur via the switching input on the MA 208i, via the process data word Out bit 1 (bit 0.2) or by transmitting a "+" command to the Leuze device (see chapter 16 "Specifications for Leuze end devices").
When using the MA 208i, the voltage supply of the hand-held scanner (5 V/at 1 A) can be connected to the interface by means of a cable via the 9-pin Sub-D connector (voltage on PIN 9).
Each of these (hexadecimal) characters is, in turn, to be handled as an individual ASCII character and converted to hexadecimal format for transmission via the fieldbus. Example: Control byte 0 Control byte 1 Data CHAR Plain text 208i Leuze electronic...
Check baud rate or address. Red continuous light Device error. Send the device to customer service. LINK /RX/TX LEDs on the housing (see figure 8.1 on page 34) No connection. Check wiring/IP address. Table 13.1: General causes of errors Leuze electronic 208i...
M 12 connector for SW IN/OUT 50040155 D-ET1 RJ45 connector for user-configuration 50108991 KDS ET M12 / RJ 45 W - 4P Converter from M 12 D-coded to RJ 45 socket 50109832 Table 14.2: Connectors for the MA 208 Leuze electronic 208i...
Thread bare (A-coded) 14.4.2 Specifications of the cables for voltage supply Operating temperature range in rest state: -30° C … +70° C in motion: 5° C … +70° C Material sheathing: PVC Bending radius > 50 mm 208i Leuze electronic...
M 12 Ethernet connection cable (4-pin connector, D-coded, on both sides) Name Core color Ethernet yellow white orange blue SH (thread) bare M12 connector (D-coded) Core color Conductor class: VDE 0295, EN 60228, IEC 60228 (class 5) Figure 14.1: Cable structure of Industrial Ethernet connection cable Leuze electronic 208i...
KB ET - 2000 - SSA Cable length 2 m 50106899 KB ET - 5000 - SSA Cable length 5 m 50106900 KB ET - 10000 - SSA Cable length 10 m 50106901 Table 14.4: Bus connection cable for the MA 208 208i Leuze electronic...
K-D M12A-5P-5000/10000 connection cable (5-pin with injection molded connector), open cable end Core color brown white blue black gray KB JST 3000 (RS 232 connection cable, JST pin strip 10-pin, open cable end) Signal Core color JST 10-pin TxD 232 RxD 232 brown orange shield Leuze electronic 208i...
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. Notice! When sending devices to Leuze electronic for repair, please provide an accurate description of the error. 15.3...
The data frame is specified via the switch position. In the factory setting, the S4 switch position is 0. Resetting the settings to these is possible in S4 switch position F. The procedure for doing this is described in chapter 16.14. Leuze electronic 208i...
Page 70
First, the following settings are to be performed on the device using KONTURFlex-Soft: • Either "Autosend (fast)" or "Autosend with data in Modbus format" • Repeat time "31.5 ms" • Autosend baud rate "38.4 KB" • 2 stop bits, no parity 208i Leuze electronic...
Query reflector polling 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 208i...
Switching output 2 deactivation 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. 208i Leuze electronic...
For further information, see chapter 11.1.2 "Command mode", figure 11.1. Control bit Meaning Corresponds to serial command (ASCII) Version query Activation/Deactivation of reading gate: 12h/14h <DC2> / <DC4> Recommended settings Setting the data length is not required. 208i Leuze electronic...
To activate the Command mode, bit 0 must be set to 1 in control byte 0. 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 208i...
Default parameter Hand-held scanner Baud rate 9600 Data mode Handshake Protocol framing protocol without acknowledgment Frame <Data> <CR> <LF> Notice! Command mode cannot be used with hand-held scanners. Recommended settings Setting the data length is not required. 208i Leuze electronic...
Activation / deactivation reading gate + / - 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 208i...
In this switch position, the MA automatically sends a position request to the BPS 8 every 10 ms 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. 208i Leuze electronic...
C0F131 Cyclically transmit position values C0F232 Stop cyclical transmission C0F333 Laser diode on C0F434 Laser diode off C0F535 Transmit single speed value C0F636 Cyclically transmit speed values C0F737 Recommended settings Setting the data length is not required. Leuze electronic 208i...
Page 82
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. 208i Leuze electronic...
Reset parameters to default values PC20 Device restart Recommended settings Setting the data length is not required. Notice! In this switch position, the address of the multiNet slave is also transmitted in the first two bytes of the data range! Leuze electronic 208i...
Set device switch S4 to F in a voltage free state. 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. 208i Leuze electronic...
Record separator UNIT SEPARATOR Unit separator SPACE Space EXCLAMATION POINT Exclamation point " QUOTATION MARK Quotation mark NUMBER SIGN Number sign DOLLAR SIGN Dollar sign PERCENT SIGN Percent sign & AMPERSAND Ampersand APOSTROPHE Apostrophe OPENING PARENTHESIS Opening parenthesis Leuze electronic 208i...
Page 86
Plus sign COMMA Comma HYPHEN (MINUS) Hyphen (minus) PERIOD (DECIMAL) Period (decimal) SLANT Slant COLON Colon SEMICOLON Semicolon < LESS THAN Less than EQUALS Equals > GREATER THAN Greater than QUESTION MARK Question mark COMMERCIAL AT Commercial AT 208i Leuze electronic...