background image

Device description

Le

u

ze electronic

MA 255

i

1

9

TNT

 35/7-2

4

V

Topology

A bus address is assigned to each participant connected to DeviceNet; this address is 
represented by a 

MAC ID

 (

M

edia 

a

ccess 

Id

entifier).

Including the master, up to 64 participants can be connected to one network. 

Figure 4.4:

Bus topology

Attention!

After DeviceNet specification (Volume 3: DeviceNet Adaptation of CIP Chapter 8, Physical 
Layer 8-3.3 Connectors), use of the BUS OUT connection is not allowed. 

The topologies presented here are enabled according to the directives of the ODVA.

It possible to connect the participants directly to the master line (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 optional and can be ordered separately 
(see chapter 14.3 "Accessory terminating resistor").

A cable specified by the ODVA is required for connecting the participants to DeviceNet. Only 
cables that satisfy the ODVA specifications may be used.

The limits of network expansion without repeater are specified by the ODVA. The specified 
limit values are dependent on the design of the data line.

A distinction is made between "thick cable", "mid cable" and "thin cable".

Terminator 

Trunk Line 

Terminator 

Tap 

Drop

Line

Tap 

Drop

Line

Tap 

Drop

Line

Drop

Line

M12

BUS IN

connector

M12

BUS IN

connector

M12

BUS IN

connector

M12

BUS IN

connector

Summary of Contents for MA 255i

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 64: ...Commissioning and configuration 62 MA 255i Leuze electronic Figure 12 1 HW manager with inserted MA 255i...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviews: