background image

MA 255

i

 

Modular interfacing unit for Leuze Ident and 

 

RS 232 devices on DeviceNet

T E C H N I C A L   D E S C R I P T I O N

en

 01-2011/12  501

17075 

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

Страница 1: ...MA 255i Modular interfacing unit for Leuze Ident and RS 232 devices on DeviceNet T E C H N I C A L D E S C R I P T I O N en 01 2011 12 50117075...

Страница 2: ...1888 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 3828228 Tel...

Страница 3: ...e mounting location 11 3 3 Electrical connection 11 3 3 1 Connecting the Leuze device 12 3 3 2 Setting the DeviceNet device address 12 3 3 3 Setting the DeviceNet baud rate 13 3 3 4 Connecting the pow...

Страница 4: ...device interface accessible after opening the device internal 32 7 5 2 Service interface internal 33 8 Status displays and operational controls 34 8 1 LED status indicators 34 8 1 1 LED indicators on...

Страница 5: ...n Collective mode gateway PLC 53 11 1 2 Writing slave data in Collective mode PLC gateway 53 11 1 3 Command mode 56 12 Commissioning and configuration 59 12 1 Measures to be performed prior to the ini...

Страница 6: ...ady made cables for connecting Leuze ident devices 81 14 7 1 Order codes for the device connection cables 81 14 7 2 Contact assignment for the device connection cables 81 15 Maintenance 82 15 1 Genera...

Страница 7: ...istance measurement device ODSL xx optical distance sensors with RS 232 interface S4 switch position B 95 16 13 Modular interfacing unit MA 3x S4 switch position C 97 16 14 Resetting the parameters S4...

Страница 8: ...amage to the equipment Notice This symbol indicates text passages containing important information 1 2 Declaration of conformity The MA 255i modular interfacing units have been designed and manufactur...

Страница 9: ...to Quattro RSX M12 MultiNet master connection box MA 3x Additional RS 232 devices Scales third party devices This is accomplished by transmitting the data from the DEV via an RS 232 V 24 interface to...

Страница 10: ...lsified 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 differ ent depending on th...

Страница 11: ...t 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 T...

Страница 12: ...erating manual are not authorized Safety regulations Observe the locally applicable legal regulations and the rules of the employer s liability insurance association Qualified personnel Mounting commi...

Страница 13: ...e 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 supply PWR...

Страница 14: ...device interface X30 X31 or X32 see chapter 7 5 1 Use rotary switch S4 see chapter 8 2 5 to select the connected device Now screw the PG cable gland into the threaded opening to provide strain relief...

Страница 15: ...255i the device selection switch and the address settings are queried and the gateway automatically sets itself to the Leuze device Connecting functional earth FE Ensure that the functional earth FE i...

Страница 16: ...be set in the MA 255i via the S1 and S2 address switches Only if the addresses are the same between the MA 255i and the control can communication be established After all parameters have been set in...

Страница 17: ...ly no special programming by the user is necessary for this purpose The data is not buffered or stored temporarily however Instead it is passed on The programmer must make certain to retrieve the data...

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

Страница 19: ...een the Leuze device and the fieldbus is interrupted With this switch position you can communicate directly with the Leuze device at the fieldbus gateway via RS 232 You can send online commands via th...

Страница 20: ...OFINET IO DeviceNet and Ethernet 4 5 1 DeviceNet The MA 255i is designed as a DeviceNet device with a baud rate of max 500kBd The functionality of the device is defined via parameter sets which are cl...

Страница 21: ...ne trunk line or to the stub cable drop line via a tap On the respective ends of the trunk line master line the bus must be terminated with a 120 ohm terminating resistor The terminating plug is optio...

Страница 22: ...nits The EDS file is named MA255i eds the corresponding icon is named MA255i ico The EDS file includes all communication parameters of the participants as well as the avail able objects The DeviceNet...

Страница 23: ...hing input output 1 switching input 1 switching output device dependent voltage Operating voltage 18 30VDC Power consumption max 5VA without DEV current consumption max 300mA Max stress on the connect...

Страница 24: ...nsioned drawing MA 255i Vibration IEC 60068 2 6 test FC Shock IEC 60068 2 27 test Ea Electromagnetic compatibility EN 61000 6 3 2007 interference emissions for resi dential commercial and light indust...

Страница 25: ...acilitating 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 5...

Страница 26: ...t 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 nameplate Brief manual The name plate provid...

Страница 27: ...24V 6 2 Mounting The gateway mounting plate MA 255i 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 o...

Страница 28: ...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 and othe...

Страница 29: ...f the electrical connections 7 1 Safety notices for the electrical connection Attention Before connecting the device be sure that the supply voltage agrees with the value printed on the name plate Con...

Страница 30: ...llowing are the individual connections and pin assignments Attention Voltage supply and bus cable are coded in the same way Please observe the printed connection designations 7 2 1 PWR IN voltage supp...

Страница 31: ...functional earth connection Switching input output The MA 255i is equipped with the SWIO_1 and SWIO_2 switching input output This is located on the PWR IN M12 connector and on the PWR OUT M12 connecto...

Страница 32: ...face Table 7 3 Pin assignments for DeviceNet BUS IN For the host connection of the MA 255i the ready made KB DN CAN xxxxx Bx cables are preferred table 14 5 Bus connection cable for the MA 255i on pag...

Страница 33: ...N 1 7 4 1 Termination of the DeviceNet The last physical DeviceNet participant must be terminated with a terminating resistor see Accessory terminating resistor on page 77 Attention After DeviceNet sp...

Страница 34: ...FM xx BCL 22 as well as BCL 32 VR with KB 031 Figure 7 4 RS 232 device interface The standard devices are connected with 6 or 10 pin connector piece to X31 or X32 respectively For hand held scanners B...

Страница 35: ...a 9 pin Sub D connector male A crossed RS 232 connection cable is required to make the RxD TxD and GND connections A hardware handshake via RTS CTS is not supported at the service interface Figure 7...

Страница 36: ...indicators on the MA 255i 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: ...continuous light Network error interference on DeviceNet no connection established no communication possible flashing red Time exceeded during establishment of connection flashing red green off Self t...

Страница 38: ...figure shows the MA 255i with opened housing cover Figure 8 2 Front view operational controls of the MA 255i C B A D E G F Standard settings A Switches S1 and S2 for address selection B Rotary switch...

Страница 39: ...8 30V X32 Leuze device JST plug connector with 6 pins Connection of the Leuze devices BCL RFI RFM Pin VINBCL with default setting V 18 30V X33 RS 232 service interface 9 pin SUB D connector RS 232 int...

Страница 40: ...e X33 RS 232 interface facilitates the configuration of the Leuze device and the MA 255i via PC which is connected by means of a serial null modem cable X33 pin assignment service connector 8 2 4 S10...

Страница 41: ...tion is changed the device must be restarted since the switch position is only queried after switching off completely and then restarting the device Note In switch position 0 a distance of 20ms must b...

Страница 42: ...s digits for setting the station address Figure 8 6 Rotary switch for setting the address Further information on the respective address ranges and the addressing procedure can be found in chapter 12 1...

Страница 43: ...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 opening the device cover of...

Страница 44: ...e connected Leuze device Commands You can now call up information on the MA 255i by sending the following commands Table 9 1 Available commands Information Table 9 2 General firmware information v Gen...

Страница 45: ...nds Number of ASCII stack send errors Number of frames that the ASCII memory could not send Number of good ASCII send frames Number of frames that the ASCII memory sent successfully ND Current status...

Страница 46: ...s used between fieldbus 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 pr...

Страница 47: ...1 or 1 0 7 6 5 4 3 2 1 0 ND BO DL BLR DEX SMA W ACK Status byte 0 DLC7 DLC6 DLC5 DLC4 DLC3 DLC2 DLC1 DLC0 Status byte 1 Data byte parameter byte 0 Data Data byte parameter byte 1 Bit no Designation Me...

Страница 48: ...the transmission of data to the transmit buffer with the CTB command and for sending the transmit buffer contents with the SFB command 0 0 Bit 0 1 Successfully written 1 0 Successfully written 0 Inpu...

Страница 49: ...ption Addr Data type Value range Default DL Data loss Data transmission monitoring This bit is set until the device is reset bit pattern see chapter 10 4 RESET function deleting memory in case gateway...

Страница 50: ...This can be used to differentiate between multiple identical data sets that are sent to the PLC 0 7 Bit 0 1 1 0 On each status changefornewdata 0 Input data Description Addr Data type Value range Defa...

Страница 51: ...the gateway In Command mode various bits that execute corresponding commands depending on the selected Leuze device can be set in the data or parameter field For further information see chapter 11 1 3...

Страница 52: ...and that new data can be received At the end of a read cycle this bit must be toggled in order to be able to receive the next data set This toggle bit is switched by the master after valid received da...

Страница 53: ...the PLC for this purpose if 20 ms is pending Control byte 0 10101010 AAh Control byte 1 10101010 AAh OUT data byte 0 parameter byte 0 AAh OUT data byte 1 parameter byte 1 AAh This sets the memory or s...

Страница 54: ...Collective mode the data of the serial end device is stored temporarily in the fieldbus gateway by toggling the CTB bit and is not sent to the PLC in blocks until prompted to do so by the PLC On the...

Страница 55: ...status and control bits DLC BLR DEX R ACK 11 1 2 Writing slave data in Collective mode PLC gateway Writing in blocks The data sent by the master to the slave is first collected in a transmit buffer by...

Страница 56: ...g at byte 2 of the telegram to the gateway a ASCII is sent for activation This means that the hex value 2B corresponds to a is to be entered in control or output byte 2 To deactivate the reading gate...

Страница 57: ...data bytes Is there still data in the receive buffer DEX 1 set status bit 0 3 Transmit the next data with toggle bit R ACK R ACK control bit 1 0 Confirmdataretrievalwith toggle bit R ACK R ACK control...

Страница 58: ...ode it is possible to set various device specific bits in the data or parameter field that execute the corresponding serial commands e g v etc If for example the version of the Leuze end device is to...

Страница 59: ...0 0 0 0 0 0 1 Output byte 0 0 0 0 0 0 0 0 0 Output byte 1 0 0 0 0 0 0 1 0 Output byte 2 0 0 0 0 0 0 0 0 Output byte 3 Device executes the corresponding function cf chap 16 For function to be re establ...

Страница 60: ...mands can be found in chapter Specifications for Leuze end devices on page 83 Triggering scanner Reception of data Has the slave received data from the RS 232 BLR BLR Rescue data e g data block DLC nu...

Страница 61: ...ct the cable to the internal device interface X30 X31 or X32 see chapter 7 5 1 Use rotary switch S4 see chapter 8 2 5 to select the connected device Now screw the PG cable gland into the threaded open...

Страница 62: ...and the gateway automatically sets itself to the Leuze device Figure 12 3 Connections of the MA 255i seen from below device on mounting plate Check the applied voltage It must be in the range between...

Страница 63: ...rx Installation of the EDS file Setting the parameters on the MA 12 3 1 Setting the hardware configuration Enter the MA 255i in your project in the configuration of the DeviceNet system Proceed as fol...

Страница 64: ...Commissioning and configuration 62 MA 255i Leuze electronic Figure 12 1 HW manager with inserted MA 255i...

Страница 65: ...ess switches see chapter 12 1 Measures to be performed prior to the initial commissioning section Set DeviceNet device address on page 59 Only if the addresses are the same between the MA 255i and the...

Страница 66: ...l This aids in retaining the parameters during device exchanges as they a re now also stored centrally in the control Each time a connection is established between the control and the MA 255i these pa...

Страница 67: ...n in the objects described in detail in the Default column Attention The Rockwell control offers the possibility of activating the Configuration Recovery function This stores the parameters defined in...

Страница 68: ...d from the identity object The selection is made in the Electronic key field Attributes marked there are monitored Path Designation Size in bit Data type Default dec Min dec Max dec Access Cl Inst Att...

Страница 69: ...e electronic that has no further impact on other objects 12 5 1 4 Revision Version number of the identity object 12 5 1 5 Status The device status is displayed in the status byte the first part of the...

Страница 70: ...YTE 00 Get 5 Data type BYTE Get 6 Data size 16 Get 2 Status byte 2 1 Parameter value 8 BYTE 00 Get 5 Data type BYTE Get 6 Data size 16 Get 3 Data bytes 1 Parameter value 8 BYTE 00 Get 5 Data type BYTE...

Страница 71: ...UINT 0xC7 Get 6 Data size 16 2 Get 11 Stop bits 1 Parameter value 8 BYTE 1 see below 1 2 Set 5 Data type UINT 0xC7 Get 6 Data size 16 2 Get Path Designation Size in bit Data type Default dec Min dec M...

Страница 72: ...e 16 2 Get Designation Size in bit Data type Default dec Min dec Max dec Access Cl Inst Attr 15 5 1 Parameter value 8 BYTE 4 4 240 Set 5 Data type UINT 0xC7 Get 6 Data size 16 2 Get Designation Size i...

Страница 73: ...meter value 1 1 bit default 2 2 bits Designation Size in bit Data type Default dec Min dec Max dec Access Cl Inst Attr 15 9 1 Parameter value 8 BYTE 8 see below 7 8 Set 5 Data type UINT 0xC7 Get 6 Dat...

Страница 74: ...he RS 232 cable On the PC call up a terminal program e g BCL Config and check whether the interface COM 1 or COM 2 to which you have connected the MA 255i is set to the following Leuze standard settin...

Страница 75: ...cable via the 9 pin Sub D connector voltage on PIN 9 The corresponding cable is to be selected for the respective hand held scanner and ordered separately The 9 pin Sub D cable KB JST HS 300 Part no...

Страница 76: ...bination with an RFID device Notice Also note that all characters which are sent to a transponder are hex encoded ASCII characters Each of these hexadecimal characters is in turn to be handled as an i...

Страница 77: ...tomer service Continuous orange light Device error Send the device to customer service Firmware update failed MNS LED on the housing see figure 8 1 on page 34 Green flashing Online no net connection R...

Страница 78: ...ross the items in the Measures column which you have already examined fill out the following address field and fax the pages together with your service contract to the fax number listed below Customer...

Страница 79: ...8i Ethernet TCP IP gateway 50112892 MA 235i CANopen 50114154 MA 238i EtherCAT 50114155 MA 248i PROFINET IO RT gateway 50112891 MA 255i DeviceNet 50114156 MA 258i EtherNet IP 50114157 Table 14 1 Type o...

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

Страница 81: ...PVC M12 socket for PWR axial plug outlet open cable end cable length 5m 50104557 K D M12A 5P 10m PVC M12 socket for PWR axial plug outlet open cable end cable length 10m 50104559 Table 14 4 PWR cable...

Страница 82: ...DN CAN 10000 BA M12 socket for BUS IN axial connector open cable end cable length 10m 50114699 KB DN CAN 30000 BA M12 socket for BUS IN axial connector open cable end cable length 30m 50114701 KB DN C...

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

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

Страница 85: ...rd 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 00h in the data range of the control...

Страница 86: ...oduced Consumed data settings Dependent on number of beams used but at least 8 bytes in User Parameters Transparent mode Use ESD settings baud rate 38400 8 data bits No parity 2 stop bits KONTURflex s...

Страница 87: ...etting Consumed data 4 bytes Default parameter BCL 8 Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to...

Страница 88: ...umed data 4 bytes Default parameter BCL 22 Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to serial com...

Страница 89: ...s bytes for example it is advisable to use the 20 byte setting Consumed data 4 bytes Default parameter BCL 32 Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment...

Страница 90: ...sable to use the 20 byte setting Consumed data 4 bytes Default parameter BCL 300i BCL 500i Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment Frame STX Data CR...

Страница 91: ...n the number of digits of the bar code that is to be read With an 18 digit bar code 2 bytes of status bytes for example it is advisable to use the 20 byte setting Consumed data 4 bytes Default paramet...

Страница 92: ...d settings Produced data dependent on the number of digits of the 2D code that is to be read With an 18 digit code 2 bytes of status bytes for example it is advisable to use the 20 byte setting Consum...

Страница 93: ...igure 11 2 Recommended settings Produced data dependent on the number of digits of the 2D code that is to be read With an 18 digit code 2 bytes of status bytes for example it is advisable to use the 2...

Страница 94: ...hand held scanners Recommended settings Produced data dependent on the number of digits of the code that is to be read With an 12 digit bar code 2 bytes of status bytes for example it is advisable to...

Страница 95: ...ed data consumed data setting with 24 bytes during the reading of a serial number with 16 characters 2 bytes of status bytes Consumed data 4 bytes If data are to be written it is advisable to use the...

Страница 96: ...tch 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 th...

Страница 97: ...e Command mode bit 0 must be set to 1 in control byte 0 For further information see chapter 11 1 3 Command mode figure 11 2 Recommended settings Produced data 8 bytes Consumed data 8 bytes Default par...

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

Страница 99: ...s of the code that is to be read With an 18 digit bar code 2 bytes of status bytes 2 bytes of slave address for example it is advisable to use the 24 byte setting Consumed data 4 bytes Notice In this...

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

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

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

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

Страница 104: ...Leuze device 12 Power supply and bus cable 13 Safety notices 27 F Fast commissioning 11 Fieldbus systems 18 I Input byte 0 Buffer overflow 47 Data exist 46 Data loss 47 New data 48 Next block ready to...

Страница 105: ...e 6 R Reading slave data 53 Repair 9 82 S Safety notices 9 Service interface 33 38 Service mode Commands 42 Information 42 Service switch 38 Servicing 82 Setting the DeviceNet device address 12 Specif...

Отзывы: