background image

MA 208

i

 

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

en

 02–2012/04 501130

24 

Содержание MA 208i

Страница 1: ...MA 208i 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 en 02 2012 04 50113024...

Страница 2: ...044 4961888 Fax Int 38 044 4961818 C Illies Co Ltd Tel Int 81 3 3443 4143 Fax Int 81 3 3443 4118 Profa Tech Ltd Tel Int 254 20 828095 6 Fax Int 254 20 828129 Leuze electronic Co Ltd Tel Int 82 31 382...

Страница 3: ...ng location 10 3 3 Electrical connection 10 3 3 1 Connecting the Leuze device 11 3 3 2 Connecting the power supply and the bus cable 11 3 4 Starting the device 11 3 5 MA 208i on Ethernet 12 3 5 1 Manu...

Страница 4: ...ternal 31 7 5 2 Service interface internal 32 7 6 Ethernet wiring 33 7 7 Cable lengths and shielding 33 8 Status displays and operational controls 34 8 1 LED status indicators 34 8 1 1 LED indicators...

Страница 5: ...ess 53 12 2 2 Ethernet host communication 54 12 2 3 TCP IP 55 12 2 4 UDP 55 12 3 Setting the read parameters on the Leuze device 55 12 3 1 Specific feature for the use of hand held scanners bar code a...

Страница 6: ...witch position 1 69 16 3 Bar code reader BCL 22 S4 switch position 2 70 16 4 Bar code reader BCL 32 S4 switch position 3 71 16 5 Bar code reader BCL 300i BCL 500i S4 switch position 4 72 16 6 Bar code...

Страница 7: ...s or damage to the equipment Notice This symbol indicates text passages containing important information 1 2 Declaration of Conformity The MA 208i modular interfacing units have been designed and manu...

Страница 8: ...9 ODSL 30 ODSL 96B Measuring light curtain KONTURflex to Quattro RSX M12 multiNet master connection box MA 3x Additional RS 232 devices scales third party devices This is accomplished by transmitting...

Страница 9: ...devices e g bar code readers RFID readers VisionReader Online command These commands refer to the respective connected ident device and may be differ ent depending on the device These commands are no...

Страница 10: ...out by the manufacturer or an authorized representative 2 2 Safety standards The devices of the series MA 2xxi were developed manufactured and tested in accordance with the applicable safety standards...

Страница 11: ...this operating manual is not authorized Safety regulations Observe the locally applicable legal regulations and the rules of the employer s liability insurance association Qualified personnel Mounting...

Страница 12: ...can be found in chapter 6 3 1 3 3 Electrical connection The devices from the MA 2xxi family feature four M12 connectors sockets which are coded differently depending on the interface The voltage supp...

Страница 13: ...evice 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 Unimpaired ope...

Страница 14: ...g or RF Config In these tools the MA 208i has been created as a device to enable setting of parameters in the usual way via the service interface 3 5 1 Manually setting the IP address If the IP addres...

Страница 15: ...can be used The connection free UDP protocol is used primarily to transfer process data to the host monitor operation The connection oriented TCP IP protocol can also be used to transfer commands from...

Страница 16: ...up The TCP IP stack requires information from the user regarding the local port of the MA 208i port number on which the connection requests of a client application host system are to be accepted If th...

Страница 17: ...orarily however Instead it is passed on The programmer must make certain to retrieve the data from the input memory of the PLC at the right time as it is otherwise overwritten by new data 2 Collective...

Страница 18: ...fieldbus The cable of the respective Leuze device is guided through cable bushings with PG cable glands into the MA 208i and connected there with the PCB connectors The MA 208i is intended as a gatewa...

Страница 19: ...position you can communicate directly with the Leuze device at the fieldbus gateway via RS 232 You can send online commands via the service interface con figure the Leuze device using the correspondin...

Страница 20: ...s such as PROFIBUS DP PROFINET IO DeviceNet and Ethernet 4 5 1 Ethernet The MA 208i is designed as an Ethernet device acc to IEEE 802 3 with a standard baud rate of 10 100 Mbit A fixed MAC ID is assig...

Страница 21: ...further development of the MA 208i with integrated switch functionality offers the option of connecting multiple gateways of type MA 208i to one another without direct connection to a switch In addit...

Страница 22: ...ng output device dependent voltage Operating voltage 18 30VDC Power consumption max 5VA without DEV current consumption max 300mA Max stress on the connector PWR IN OUT 3A Indicators LED LINK0 green c...

Страница 23: ...C 55 C Storage temperature range 20 C 60 C Air humidity max 90 rel humidity non condensing Vibration IEC 60068 2 6 test FC Shock IEC 60068 2 27 test Ea Electromagnetic compatibility EN 61000 6 3 2007...

Страница 24: ...ting the integration of Leuze RS 232 devices in the various fieldbus types Fieldbus Device type Part no PROFIBUS DP V0 MA 204i 50112893 Ethernet TCP IP MA 208i 50112892 PROFINET IO RT MA 248i 50112891...

Страница 25: ...g agent as well as the supplier Check the delivery contents using your order and the delivery papers Delivered quantity Device type and model as indicated on the name plate Brief manual The name plate...

Страница 26: ...2 Mounting The gateway mounting plate MA 208i can be mounted in two different ways using four threaded holes M6 or using two M8 screws on the two lateral grooves Fastening by means of four M6 or two M...

Страница 27: ...ending on which interface is used The housing cover should be easily accessible so that the internal interfaces device interface for connecting the Leuze device via PCB connectors service interface an...

Страница 28: ...ation of the electrical connections 7 1 Safety notices for the electrical connection Attention Before connecting the device please ensure that the supply voltage matches the value printed on the namep...

Страница 29: ...le Figure 7 2 MA 208i connections Described in detail in the following are the individual connections and pin assignments Attention Voltage supply and bus cable are coded in the same way Please observ...

Страница 30: ...onal earth connection Switching input output The MA 208i is equipped with the SWIO_1 and SWIO_2 switching inputs outputs This is located on the PWR IN M12 connector and on the PWR OUT M12 connector Th...

Страница 31: ...t interface available as host interface 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 cabl...

Страница 32: ...reduces the cabling requirements as only the first MA 208i requires a direct connection to the switch via which it can communicate with the host All other MA 208i are connected in series to the first...

Страница 33: ...For the MA 208i as standalone device or as the last participant in a linear topology termination on the BUS OUT socket is not mandatory 7 5 Device interfaces Figure 7 4 Open the MA 208i 7 5 1 RS 232...

Страница 34: ...s switched off during access The fieldbus itself is however not interrupted as a result The service interface can be accessed once the MA 208i housing cover has been removed and features a 9 pin Sub D...

Страница 35: ...doing so make certain that you connect TD on the M12 connector with RD on the RJ 45 connector and TD on the M12 connector with RD on the RJ 45 connector respectively etc Notice Use the recommended con...

Страница 36: ...indicators on the MA 208i 8 1 LED status indicators 8 1 1 LED indicators on the circuit board LED Status off Device OFF no operating voltage or device defect continuous green light Device ok readines...

Страница 37: ...operating voltage or device error for details see chapter 15 Diagnostics and troubleshooting continuous green light Device ok self test successfully finished ready flashing green Device ok device in...

Страница 38: ...lowing The figure shows the MA 208i with opened housing cover Figure 8 2 Front view operational controls of the MA 208i C B A D E G F Standard settings A MA 208i not equipped B Rotary switch S4 for de...

Страница 39: ...Leuze device JST plug connector with 10 pins Connection of the Leuze devices BCL RFI RFM Pin VINBCL with standard setting V 18 30V X32 Leuze device JST plug connector with 6 pins Connection of the Leu...

Страница 40: ...iguration of the Leuze device and the MA 208i via PC which is connected by means of a serial null modem cable X33 pin assignment service connector 8 2 4 S10 service switch The S10 DIP switch can be us...

Страница 41: ...since the switch position is only queried after switching off completely and then restarting the device Notice In switch position 0 a distance of 20ms must be maintained between two telegrams so they...

Страница 42: ...formation on configuring and on the configurable functions please refer to the description of the respective device 9 1 Connecting the service interface The RS 232 service interface is connected after...

Страница 43: ...C terminal program so that communication is possible with the connected Leuze device Commands You can now call up information on the MA 208i by sending the following commands Table 9 1 Available comma...

Страница 44: ...ands Command Buffer fill level Current fill level of the ring memory in Command mode fieldbus ASCII 1024 bytes max Number of send serial frames Number of serial frames sent without CTB SFB Number of s...

Страница 45: ...isplays the set IP address Gateway address Displays the set gateway address Network mask Displays the set network mask TCP UDP mode Displays the configured mode TCP client TCP server or UDP Remote IP...

Страница 46: ...ieldbus gateway PLC 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 f...

Страница 47: ...e T bit means toggle bit i e this bit changes its state on each event 0 1 or 1 0 7 6 5 4 3 2 1 0 ND Reserved DL Reserved Reserved SMA Reserved Status byte 0 DLC7 DLC6 DLC5 DLC4 DLC3 DLC2 DLC1 DLC0 Sta...

Страница 48: ...dr Data type Value range Default DL Data loss Data transmission monitoring This bit is set if gateway data could not be sent to the PLC and were lost Furthermore this bit is set in case the config ure...

Страница 49: ...ts of the output byte control byte 0 7 6 5 4 3 2 1 0 ND Address 4 Address 3 Address 2 Address 1 Address 0 Broadcast Command mode Control byte 0 Reserved Reserved Reserved Reserved Control byte 1 Data...

Страница 50: ...on see chapter 11 1 2 Command mode 0 0 Bit 0 Default transpar ent data transmis sion 1 Command mode 0 Output data Description Addr Data type Value range Default Broadcast Broadcast A broadcast only fu...

Страница 51: ...invalid characters in the data range and truncates them At 00h in the data range the MA cuts the telegram off because unnecessary bytes are also filled with 00h 11 1 1 Writing slave data in Collective...

Страница 52: ...to be queried the corresponding bit is to be set so that a v is sent to the Leuze device with the STX v CR LF frame The Leuze end device also answers the gateway with data e g bar code content NoRead...

Страница 53: ...d devices on page 67 Device executes the corresponding function cf chap 16 For function to be reestablished the ND bit and the selected bit in byte 2 must be toggled byte 0 0 can stay No No Yes Yes Bi...

Страница 54: ...and ensure protection class IP 65 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...

Страница 55: ...Config BPS Config or RF Config In these tools the MA 208i has been created as a device to enable setting of parameters in the usual way via the service interface 12 2 1 Manually setting the IP addres...

Страница 56: ...ed The connection free UDP protocol is used primarily to transfer process data to the host monitor operation The connection oriented TCP IP protocol can also be used to transfer commands from the host...

Страница 57: ...nection requests of a client application host system are to be accepted If there is a connection request and a connection is established by the primary host system PC PLC as client the MA 208i server...

Страница 58: ...nload the config tool from www leuze com Download Identify for BCL RFID VR etc In order to communicate with the connected Leuze device the STX data CR LF framing must be set on the PC terminal program...

Страница 59: ...tely The 9 pin Sub D cable KB JST HS 300 Part No 50113397 is connected to this cable which is connected to the MA 208i This cable must also be ordered separately In this example triggering occurs by m...

Страница 60: ...ransponder are hex encoded ASCII characters 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...

Страница 61: ...age Hardware error Send the device to customer service Green orange flashing Device in boot mode No valid firmware send device to customer service Continuous orange light Device error Send the device...

Страница 62: ...red light LED Incorrect wiring Check wiring Different protocol settings Check protocol settings Protocol not released Activate TCP IP or UDP Sporadic errors at the Ethernet interface Incorrect wiring...

Страница 63: ...n MA 204i PROFIBUS gateway 50112893 MA 208i Ethernet TCP IP gateway 50112892 MA 235i CANopen gateway 50114154 MA 238i EtherCAT gateway 50114155 MA 248i PROFINET IO RT gateway 50112891 MA 255i DeviceNe...

Страница 64: ...30 C 70 C in motion 5 C 70 C Material sheathing PVC Bending radius 50mm PWR IN 5 pin socket A coded Pin Name Core color 1 VIN brown 2 SWIO_2 white 3 GND blue 4 SWIO_1 black 5 FE gray Thread FE bare P...

Страница 65: ...Figure 14 1 Cable structure of Industrial Ethernet connection cable Type designation Description Part no K D M12A 5P 5m PVC M12 socket for PWR axial plug outlet open cable end cable length 5m 50104557...

Страница 66: ...Part no M12 connector for BUS IN axial connector open cable end KB ET 1000 SA Cable length 1m 50106738 KB ET 2000 SA Cable length 2m 50106739 KB ET 5000 SA Cable length 5m 50106740 KB ET 10000 SA Cabl...

Страница 67: ...0 LSIS 122 cable length 3m 50111225 K D M12A 5P 5m PVC Voltage supply cable length 5m 50104557 K D M12A 5P 10m PVC Voltage supply cable length 10m 50104559 K DS M12A MA 5P 3m S PUR ODS 96B with RS 232...

Страница 68: ...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 ac...

Страница 69: ...eatures are to be noted 16 1 Standard setting KONTURflex S4 switch position 0 This switch position can be used with almost all devices since a data frame is transmitted along with it if necessary A 00...

Страница 70: ...sition 0 Ethernet settings Setting the data length is not required User parameters Transparent mode baud rate 38400 4 data bits no parity 2 stop bits KONTURflex settings First the following settings a...

Страница 71: ...dshake no Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to serial command ASCII 0 Version query v 1 Activation deactivation reading gate 2 Refer...

Страница 72: ...Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to serial command ASCII 0 Version query v 1 Activation deactivation reading gate 2 Reference code...

Страница 73: ...Default parameter BCL 32 Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to serial command ASCII 0 Versi...

Страница 74: ...500i Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to serial command ASCII 0 Version query v 1 Activa...

Страница 75: ...hapter 11 1 2 Command mode figure 11 1 Recommended settings Setting the data length is not required Default parameter BCL 90 Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without...

Страница 76: ...te 0 For further information see chapter 11 1 2 Command mode figure 11 1 Recommended settings Setting the data length is not required Default parameter LSIS 122 Baud rate 9600 Data mode 8N1 Handshake...

Страница 77: ...et to 1 in control byte 0 For further information see chapter 11 1 2 Command mode figure 11 1 Recommended settings Setting the data length is not required Default parameter LSIS 4x2i Baud rate 9600 Da...

Страница 78: ...8 Specifications for the serial interface Notice Command mode cannot be used with hand held scanners Recommended settings Setting the data length is not required Default parameter Hand held scanner B...

Страница 79: ...igure 11 1 Recommended settings Setting the data length is not required The RFID devices expect the telegrams data in HEX format Default parameter RFM 12 RFM 32 and RFM 62 RFI 32 RFU via IMRFU Baud ra...

Страница 80: ...h 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...

Страница 81: ...e 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 Recommended settings Setting the data length is not required Default paramet...

Страница 82: ...ng device Specifications for the serial interface Specifications for Command mode Command mode cannot be used with the ODSL 9 ODSL 30 and ODSL 96B The ODSL 9 96B is to be operated in the Precision mea...

Страница 83: ...1 2 Command mode figure 11 1 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...

Страница 84: ...MA that can be configured with software such as baud rate IP address dependent on type to the factory settings do the following Set device switch S4 to F in a voltage free state Switch the voltage on...

Страница 85: ...17 Q DC1 DEVICE CONTROL 1 X ON Device control character 1 12 18 R DC2 DEVICE CONTROL 2 TAPE Device control character 2 13 19 S DC3 DEVICE CONTROL 3 X OFF Device control character 3 14 20 T DC4 DEVICE...

Страница 86: ...4 52 4 35 53 5 36 54 6 37 55 7 38 56 8 39 57 9 3A 58 COLON Colon 3B 59 SEMICOLON Semicolon 3C 60 LESS THAN Less than 3D 61 EQUALS Equals 3E 62 GREATER THAN Greater than 3F 63 QUESTION MARK Question ma...

Страница 87: ...ACCENT Grave accent 61 97 a 62 98 b 63 99 c 64 100 d 65 101 e 66 102 f 67 103 g 68 104 h 69 105 i 6A 106 j 6B 107 k 6C 108 l 6D 109 m 6E 110 n 6F 111 o 70 112 p 71 113 q 72 114 r 73 115 s 74 116 t 75...

Страница 88: ...euze device 11 Power supply and bus cable 11 Safety notices 26 Ethernet Cable lengths and shielding 33 Wiring 33 Ethernet connection cable 63 F Fast commissioning 10 Fieldbus systems 18 I Input byte 0...

Страница 89: ...8 66 S Safety notices 8 Service interface 32 38 Service mode Commands 41 Information 42 Service switch 38 Servicing 66 Specifications 20 Electrical data 20 Environmental data 21 Indicators 20 Mechanic...

Отзывы: