background image

MA 235i

Fieldbus Gateway – CANopen

en

 04-2017/01

5012

0388

We

 res

er

ve the r

ight to 

ma

ke tec

hnica

l cha

nges

O r i g i n a l   o p e r a t i n g   i n s t r u c t i o n s

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

Страница 1: ...MA 235i Fieldbus Gateway CANopen en 04 2017 01 50120388 We reserve the right to make technical changes Original operating instructions...

Страница 2: ...Leuze electronic MA 235i 2017 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 com...

Страница 3: ...n of the mounting 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 13 3 4 Starting the device 13 3 5 MA 235i on the CAN...

Страница 4: ...34 8 1 LED status indicators 34 8 1 1 LED indicators on the circuit board 34 8 1 2 LED indicators on the housing 35 8 2 Internal interfaces and operational controls 36 8 2 1 Overview of operational co...

Страница 5: ...be performed prior to the initial commissioning 58 12 1 1 Connecting the power supply and the bus cable 60 12 2 Starting the device 60 12 3 MA 235i in the CANopen system 61 12 4 Starting the MA 235i...

Страница 6: ...aintenance information 79 15 2 Repairs servicing 79 15 3 Disassembling packing disposing 79 16 Specifications for Leuze end devices 80 16 1 Standard setting KONTURflex S4 switch position 0 80 16 2 Bar...

Страница 7: ...g important information 1 2 Declaration of Conformity The MA 235i modular interfacing units have been designed and manufactured in accor dance with applicable European directives and standards Notice...

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

Страница 9: ...t is falsified 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 dependin...

Страница 10: ...cases Rooms with explosive atmospheres As stand alone safety component in accordance with the machinery directive 1 For medicinal purposes CAUTION Observe intended use Only operate the device in accor...

Страница 11: ...ectricians are able to perform work on elec trical systems and independently detect possible dangers In Germany certified electricians must fulfill the requirements of accident prevention regu lations...

Страница 12: ...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 IN as w...

Страница 13: ...he PG cable gland into the threaded opening to provide strain relief and ensure protection class IP 65 Set CANopen device address By setting the CANopen address the MA 235i is assigned its respective...

Страница 14: ...ure 3 3 Rotary switch for setting baud rate Finally close the housing of the MA 235i Attention Only then may the supply voltage be applied Upon startup of the MA 235i the device selection switch is qu...

Страница 15: ...e EDS file at www leuze com The MA 235i is configured in the planning tool control by means of the EDS file The MA 235i is assigned an address in the planning tool which then has to be set in the MA 2...

Страница 16: ...ial 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 from the...

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

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

Страница 19: ...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 4 5 Fieldbus systems Various product varia...

Страница 20: ...ti master bus access process arbitration requires that the sig nals are present virtually simultaneously at all nodes participants Therefore the cable length of the trunk cable must be adapted to the...

Страница 21: ...working within a stub cable Attention MA 235i should not be networked with each other within a stub cable The max permissible cable length of a stub cable must not be exceeded Taps and multi taps perm...

Страница 22: ...he address 0 is usually reserved for the CANopen master Notice The Layer Setting Services LSS function is not supported by the MA 235i For this reason the address must be set manually See Switch for a...

Страница 23: ...without DEV current consumption max 300mA Max stress on the connector PWR IN OUT 3A Hand held scanner operating voltage4 75 5 25VDC max 1A Indicators CAN LED green Bus state ok red Bus error PWR LED...

Страница 24: ...27 test Ea Electromagnetic compatibility EN 61000 6 3 2007 interference emissions for resi dential commercial and light industrial environments EN 61000 6 2 2005 interference rejection for indus tria...

Страница 25: ...cilitating the inte gration 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 name plate Brief manual The name plate provi...

Страница 27: ...24V 6 2 Mounting The gateway mounting plate MA 235i 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: ...7 1 Location 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 print ed on t...

Страница 30: ...MA 235i 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 observe the printed...

Страница 31: ...th connection Switching input output The MA 235i 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 The connec...

Страница 32: ...with a jumper 7 3 BUS IN The MA 235i makes a CANopen interface available as host interface Table 7 3 Pin assignment HOST BUS IN PWR OUT 5 pin socket A coded Pin Name Remark 1 VOUT Voltage supply for a...

Страница 33: ...ng For the devices and ready made cables offered by Leuze electronic the shield is on PIN 1 7 4 1 Termination of the CANopen bus If the gateway is the last physical CANopen participant in the trunk li...

Страница 34: ...232 device interface The standard devices are connected with 6 or 10 pin connector piece to X31 or X32 respectively For hand held scanners BCL 8 and BPS 8 with 5VDC 10 supply from the MA on pin 9 the...

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

Страница 36: ...indicators on the MA 235i 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: ...ice ok self test successfully finished ready flashing green Device ok device in service mode flashing red Configuration error baud rate or address incorrect CAN LED continuous green light Bus operatio...

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

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

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

Страница 41: ...device must be restarted 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 betwe...

Страница 42: ...re 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 8 2 7 Switch for setting the baud rate You c...

Страница 43: ...the input and output data is permanently set for CANopen the MA 235i always provides the process data for transmission in this form 8 bytes Tx and 8 bytes Rx 9 1 Connecting the service interface The R...

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

Страница 45: ...level of the ring memory in Command mode fieldbus ASCII 1024 bytes max Number of send fieldbus frames Number of frames sent via the fieldbus Number of invalid commands Number of invalid commands ND C...

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

Страница 49: ...ted 0 Input data Description 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...

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

Страница 51: ...selected Leuze device can be set in the data or parameter field For further information see chapter 11 1 3 Command mode 0 0 Bit 0 Default transpar ent data transmis sion 1 Command mode 0 Output data D...

Страница 52: ...ceive the next data set This toggle bit is switched by the master after valid received data has been read out of the input bytes and the next datablock can be requested If the gateway detects a signal...

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

Страница 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: ...tatus 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: ...ation 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 a 2D hex must be used instead corresponds to a ASCII 7 6 5 4 3 2 1 0...

Страница 57: ...ve buffer DEX 1 set status bit 0 3 Transmit the next data with toggle bit R ACK R ACK control bit 1 0 Confirm data retrieval with toggle bit R ACK R ACK control bit 1 0 No No Yes Yes Sending of data N...

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

Страница 59: ...d devices on page 80 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...

Страница 60: ...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 opening to provide strai...

Страница 61: ...s communication with the MA 235i possible Set the baud rate of the gateway via the S3 rotary switch to the value defined in the control Figure 12 2 Rotary switch for setting baud rate Finally close th...

Страница 62: ...the power supply and the bus cable Ideally use the ready made cables listed in chapter 14 5 3 to connect the gateway to the power supply via the PWR IN connection The ready made cables listed in chap...

Страница 63: ...pant can initiate its data transmission independently Here the arbitration specified by the CIA controls the access of the individual participants to the network Generally each CAN partic ipant listen...

Страница 64: ...the PRE OPERATIONAL state configuration is initially possible via SDOs only SAFE OPERATIONAL The Start Input Update command puts the gateway into the Safe Operational state The master produces output...

Страница 65: ...Nopen the MA 235i always provides the process data for transmission in this form 8 bytes Tx and 8 bytes Rx The EDS file has the name MA 235i eds and is available for download on the Leuze home page Ve...

Страница 66: ...telegram SYNC transmitted by a master The SYNC telegram is a broadcast to all network devices with high priority and without data content Generally the master sends the SYNC telegram cyclically Partic...

Страница 67: ...12 4 6 1 Object 1000h Device Type The object describes the MA 235i device type Object address in hex CANopen specific object area 1000 Device Type 1008 Manufacturer Device Name contains the device nam...

Страница 68: ...bes the output data of the MA 235i which is transmitted cyclically 8 bytes by 8 bytes Tx Index Sub index Name Data type Access Value range Remark hex hex Minimum Maximum Default 1008 Manufac turer Dev...

Страница 69: ...default 1 use EDS settings RS 232 Baud Rate Parameter value 3 300 6 600 12 1200 24 2400 48 4800 96 9600 default 192 19200 384 38400 576 57600 1152 115200 Index Sub index Name Data type Access Value r...

Страница 70: ...configuration 68 MA 235i Leuze electronic RS 232 Data Bits Parameter value 7 7 bits 8 8 bits default RS 232 Parity Parameter value 1 none default 2 even 3 odd RS 232 Stop Bits Parameter value 1 1 bit...

Страница 71: ...ing on the Leuze device this occurs either via a connection cable accessory no KB 031 1000 or directly on the MA 235i The service connector and corresponding switches can be accessed with the housing...

Страница 72: ...und in chapter Reading out information in Service mode on page 41 12 5 1 Specific feature for the use of hand held scanners bar code and 2D devices combi devices with RFID Notice A description of the...

Страница 73: ...igger button on the hand held scanner The following codes for configuring the devices are necessary for these devices as well 12 5 2 Specific features in the operation of an RFM RFI When using the MA...

Страница 74: ...data earlier Data in the RS 232 instead of in the buffer Incorrect order Correct order Provide data toggle CTB PWR status LED on the circuit board Off No supply voltage connected to the device Check s...

Страница 75: ...ng Incorrect baud rate address different baud rate setting in con trol and MA no communication Address 99 no communication Check switch settings Baud rate selector switch S3 Address switch S1 S2 Spora...

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

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

Страница 78: ...art no K D M12A 5P 5m 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...

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

Страница 80: ...ble length 3m 50113468 KB JST M12A 8P 3000 LSIS 122 LSIS 222 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 501...

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

Страница 82: ...ty for the function of Leuze products When using third party devices Leuze does not assume liability for the function of third party devices 16 1 Standard setting KONTURflex S4 switch position 0 This...

Страница 83: ...en Produced Consumed data settings Dependent on number of beams used but at least 8 bytes In User Parameters Transparent Mode Use EDS Settings Baudrate 38400 8 Data Bits No parity 2 Stop Bits KONTURfl...

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

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

Страница 86: ...Default parameter BCL 300i BCL 500i BCL 600i Baud rate 9600 Data mode 8N1 Handshake no Protocol framing protocol without acknowledgment Frame STX Data CR LF Control bit Meaning Corresponds to serial...

Страница 87: ...e mode for codes with a number of digits 4 Output data 8 bytes Notice When using the command mode make sure that 00H is shown in the data range otherwise the device only performs one alignment cycle D...

Страница 88: ...ngs Input data 8 bytes Use of the Collective mode for codes with a number of digits 4 Output data 8 bytes Default parameter LSIS 122 LSIS 222 Baud rate 9600 Data mode 8N1 Handshake no Protocol framing...

Страница 89: ...urther information see chapter 11 1 3 Command mode figure 11 2 Recommended settings Input data 8 bytes Use of the Collective mode for codes with a number of digits 4 Output data 8 bytes Default parame...

Страница 90: ...al interface Notice Command mode cannot be used with hand held scanners Recommended settings Input data 8 bytes Use of the Collective mode for codes with a number of digits 4 Output data none Default...

Страница 91: ...Input data 8 bytes Use of the Collective mode for codes with a number of digits 4 Output data 8 bytes The RFID devices expect the telegrams data in HEX format Default parameter RFM 12 RFM 32 and RFM 6...

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

Страница 93: ...settings Input data 8 bytes Use of the Collective mode for codes with a number of digits 4 Output data 8 bytes Default parameter BPS 300i Baud rate 38400 Data mode 8N1 Handshake no Protocol binary pr...

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

Страница 95: ...ommended settings Input data 8 bytes Use of the Collective mode for codes with a number of digits 4 Output data 8 bytes Notice In this switch position the address of the multiNet slave is also transmi...

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

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

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

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

Страница 100: ...evice 11 Power supply and bus cable 13 60 Safety notices 27 F Fast commissioning 10 Fieldbus systems 17 I Input byte 0 Buffer overflow 47 Data exist 46 Data loss 47 New data 48 Next block ready to tra...

Страница 101: ...buffer 50 P Packing 79 Q Quality assurance 5 R Reading slave data 53 Repair 79 S Service interface 33 38 Service mode Commands 42 Information 42 Service switch 38 Servicing 79 Specifications 21 Elect...

Отзывы: