Home

Manual - motrona

image

Contents

1. nnn 5 23 g s 51 AS 5 0 LV GRR a ee er ee Bee er 6 2 2 VOM OWS aspe e teega ao eaen o aisnean hiatus a aorto E EE a 6 23 Delldlnerlab ae ehe ee ee E e 7 Si DE UINGS aan 9 Silke PONDU See 9 8 2 SENALDIENaR Eee nee nen 10 A COmmMUnIcallon as een 11 4 1 Communication Star Ohencne sterne 11 42 Cycle Data Exchange een 12 4 3 Acyclic Data Transmission erh 12 4 4 Diagnosis and Eros ie sn en 13 5 isting ofthe GSsDKHlesan snn aa 15 6 Technical Specifications ueceeeeeeeeeeeenennennnenennnnnennnnnnnnnnennnenn 18 Fx DIMERSIONS ans anra E AR 19 PB25102B_e DOC Mrz 08 Page 3 19 1 Introduction The PB251 gateway has been designed to connect motrona units providing serial interface to Profibus DP DPV1 networks The PB251 units are Profibus DP DPV1 slaves They can support cyclic data transmission Profibus DP according to EN50170 as well as acyclic data transmission extended DPV1 functions PB251 provides a RS232 and RS485 2 wire 4 wire interface For serial communication the motrona Lecom protocol according to DIN ISO 1745 is used All motrona devices providing a serial interface but also other devices using the same serial protocol can be connected to Profibus by the gateway The PB251 acts as a master of the serial communication site At the present time only one slave unit can be connected to the serial interface i e it is not possible to connect a RS485 bus system with several sta
2. Customer specific protocols are possible on request PB25102B_e DOC Mrz 08 Page 10 19 4 Communication 4 1 Communication Start Up During start up of Profibus communication the master parameterizes the unit The transmit parameter data must consist of Profibus DP parameter data 7 bytes DPV1 parameter data 3 bytes and 3 additional user parameters 5 bytes Si wd_fact wd_fact iir Ident Ident Group DPV1 DPV1 DPV1 ison below 1 2 high low Ident Stat 1 Stat 2 Stat 3 Profibus DP parameter data DPV1 parameter data 5 byte user parameter data The following table shows the meaning of the user parameters Byte 1 2 3 4 User Cyclic Request Parameter Cyclic Send Parameter Serial Mode Parameter high byte low byte high byte low byte Meaning Register Code of data Register Code of data Type of serial requested cyclically from transmitted cyclically to connected target target unit target unit unit see below Profibus input data Profibus output data See also hint in chapter 4 2 on p 9 The user parameter serial mode selects the type of device connected to the serial interface 1 motrona motion controllers MC700 720 and third party products using Lecom protocol with extended addressing mode 2 all actual motrona controllers converters display units providing a serial communication interface except the units specified under 1 and 3
3. 3 motrona units of series AX FX IX PX OX SX ZX equipped with an optional serial interface option RS500 4 Third party products using Lecom protocol with standard addressing mode 5 Reserved for some special versions of motrona controllers BY CT FS150 use on consultation with motrona only After that the master has to send the configuration of the cyclic data transmission to the slave Cyclic Transmission Configuration Data Meaning Cyclic read data only 4 byte input data 4 byte input data Cyclic read and write data 4 byte output data PB25102B_e DOC Mrz 08 Page 11 19 4 2 Cyclic Data Exchange After successful start up cyclic data transmission begins The data received from the Profibus master 4 byte output data is transmitted via serial link to the target unit and stored to the register specified by the Cyclic Send Parameter The value of the target unit register determined by Cyclic Request Parameter will be requested cyclically by the serial interface and transmitted to the Profibus master 4 byte input data The target unit must respond to the serial transmission within a timeout period of 100 ms If the response is negative or missing the PB251 will repeat the transmission nine times more If there is no positive response to the tenth trial the cyclic communication will be aborted and the unit will go to the Profibus state Wait_Prm The error is indicated by the yellow st
4. User parameter Type default value value range User parameter Type default value value range 3 byte DPV1 parameter 5 byte user parameter Page 16 19 Ext_User_Prm_Data_Ref 3 1 Ext_User_Prm_Data_Ref 5 2 Ext_User_Prm_Data_Ref 7 3 Module Definition List Configuration Module Cyclic Read and Write 0xB3 4 byte input data 4 byte output data 1 EndModule Module Cyclic Read only 0x93 4 byte input data no output data 2 EndModule DPV1 DPV1_Slave 1 C1_Read_Write_supp 1 C2_Read_Write_supp 1 C1_Max_Data_Len 240 C2_Max_Data_Len 240 C1_Response_Timeout 100 in units of 10ms optional C2_Response_Timeout 100 in units of 10ms optional C1_Read_Write_required 0 C2_Read_Write_required 0 C2_Max_Count_Channels 1 Max_lInitiate_PDU_Length 64 Diagnostic_Alarm_supp 0 Process_Alarm_supp 0 Pull_Plug_Alarm_supp 0 Status_Alarm_supp 0 Update_Alarm_supp 0 Manufacturer_Specific_Alarm_supp 0 Extra_Alarm_SAP_supp 0 Alarm_Sequence_Mode_Count 0 Alarm_Type_Mode_supp 0 Diagnostic_Alarm_required 0 Process_Alarm_required 0 Pull_Plug_Alarm_required 0 Status_Alarm_required 0 Update_Alarm_required 0 Manufacturer_Specific_Alarm_required 0 DPV1_Data_Types 0 optional WD_Base_1ms_supp 1 Check_Cfg_Mode 0 PB25102B_e DOC Mrz 08 Page 17 19 6 Technical Specifications Power supply Current consumption Profibus Commu
5. B25102B_e DOC Mrz 08 Page 13 19 The actual communication state of the slave unit is indicated by a yellow state LED Profibus DP state Device state Fatal Error flashing slowly Wait_Prm Wait_Cfg Ready waiting for start up on Data_Exchange Communication active flashing quickly Data_Exchange Wait_Prm Serial Communication Error A fatal error can be reset only by cycling the power supply of the unit PB25102B_e DOC Mrz 08 Page 14 19 5 Listing ofthe GSD File RRRRRRRRRRRRRRRRRRRRRRRRRR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR GSD File for PB251 File Version Date Author motrona GmbH mksr0635 gsd 05 07 01 2008 Thomas Jaeckle Zwischen den Wegen 32 78239 Rielasingen GERMANY Tel 49 7731 9332 0 Fax 49 7731 9332 30 Email thomas jaeckle motrona com RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RR RRRRRRRRR Profibus_DP General parameters GSD_Revision 3 Vendor_Name motrona Model_Name PB251 Revision 01 Ident_Number 0x0635 Protocol_Ident 0 Station_Type 0 FMS_supp 0 Hardware_Release 01 Software_Release 01 9 6_supp 1 19 2_supp 1 93 75_supp 1 187 5_supp 1 500_supp 1 1 5M_supp 1 3M_supp 1 6M_supp 1 12M_supp 1 MaxTsdr_9 6 60 MaxTsdr_19 2 60 MaxTsdr_93 75 60 MaxTsdr_187 5 60 MaxTsdr_500 100 MaxTsdr_1 5M 150 PB25102B_e DOC Mrz 08 Profibu
6. ate LED and by the diagnosis data see chapter 4 4 To reset this error the Profibus master must again parameterize the PB251 and restart the Profibus communication The cyclic data transfer can also be operated by a Profibus DP master without extended DPV1 functions In this case upon parameterization the Profibus DP master must omit the 3 bytes of DPV1 parameter data or set them all to zero 4 3 Acyclic Data Transmission For acyclic data transmission the DPV1 services Initiate Establishment of a connection DS_Read read data from slave DS_Write write data to slave and Abort Termination of the connection are used The PB251 does not support the DPV1 service Data_ Transfer read and write data in the same service cycle The register number of the target unit the data is read from and written to respectively is determined by a so called Slot_Number and a so called Index lf the PB251 is connected to a target unit using 4 digit register codes Lecom extended addressing mode e g MC700 720 the Slot_Number must contain the high byte of the register code and the Index must contain the low byte of the register code If you have connected a target unit using only 2 digit register codes Lecom standard addressing mode e g BY125 BY CT FS150 IV251 etc the slot number must always be set to 0 and the index must contain the register code To read out the actual value registers code 0 a
7. ing on the Baud rate the following maximum cable length must not be exceeded Baud rate kbit s 96 19 2 93 75 187 5 500 1500 3000 6000 12000 On the extreme ends of the Profibus line first unit and last unit the bus must be terminated by a resistor network The cable shield must be connected to protection earth PB25102B_e DOC Mrz 08 Page 6 19 Screen Sy 2 3 Serial Interface The male type Sub D connector provides a RS232 interface and a RS485 interface As the drivers are connected in parallel it is not necessary to switch over between RS232 RS485 2 wire or RS485 4 wire communication modes Serial interface connector pinout RS232 GND TxD RxD Serial interface D Sub 9 male PB25102B_e DOC Mrz 08 Page 7 19 RS232 wiring 2 BxD RxD PB251 3 IXO TxD Target unit 5 e AN ecu Only pins 2 3 and 5 must be wired RxD and TxD must be crossed Please make sure your RS232 cable is using only the three pins shown When also other pins are connected this will cause interference with the RS485 pins and the RS232 communication will not work The cable length should not exceed 15 m RS485 wiring Screen 120 Ohms RS 485 T T Target unit 2 wire system Screen 2x 2x 120 Ohms Se a a a A 120 Ohms RS 485 4 wire system Target unit PB25102B_e DOC Mrz 08 Page 8 19 3 Settings 3 1 Profibus The Profibus interface doe
8. motrona GmbH A ae Fr ee Zwischen den Wegen 32 mo rona 78239 Rielasingen Germany Tel 49 0 7731 9332 0 Fax 49 0 7731 9332 30 interface an info motrona com www motrona com PB251 Profibus to Serial Gateway Profibus DPV1 lt gt RS232 RS485 Operating Instructions PB25102B_e DOC Mrz 08 Page 1 19 Safety Instructions This manual is an essential part of the unit and contains important hints about function correct handling and commissioning Non observance can result in damage to the unit or the machine or even in injury to persons using the equipment The unit must only be installed connected and activated by a qualified electrician It is a must to observe all general and also all country specific and application specific safety standards When this unit is used with applications where failure or maloperation could cause damage to a machine or hazard to the operating staff it is indispensable to meet effective precautions in order to avoid such consequences Regarding installation wiring environmental conditions screening of cables and earthing you must follow the general standards of industrial automation industry Errors and omissions excepted Version Description CA25102B TJ Jul 03 P 8 Serial transmission with max nine repeats PB25102B_e DOC Mrz 08 Page 2 19 Table of Contents 1 Introduction saI a 4 2 Block Diagram and Terminal Assignment
9. nd following the Index must be set to 100 64hex and following PB25102B_e DOC Mrz 08 Page 12 19 If an error occurs during serial transmission or if a service cannot be executed because e g the selected register does not exist in the unit or the register value is out of range the acyclic request frame will be replied by a negative response frame The acyclic communication can not be operated before the PB251 has been parameterized by the Profibus master since the User Parameter Serial Mode selects the type of unit and therefore the type of serial protocol to be used 4 4 Diagnosis and Errors The diagnosis data consist of 6 byte Profibus DP diagnosis data and 5 byte DPV1 device specific diagnosis data 1 2 3 4 high low 05hex 81 hex 00 00 XX State PDU The byte Error will denote the reason causing the serial communication error Error hex Serial Communication Error Reason 01 Parity error or stop bit error 02 Checksum error 04 Serial buffer overflow 08 Timeout no response or invalid response 10 Negative response 20 Code does not exist 30 Invalid request 40 Wrong control character 50 Response contains wrong code 60 Response contains wrong sub code 70 Data format not supported FO Other error These error numbers can be added since the errors can occur at the same time PB251 does not use DPV1 alarms at all P
10. nication Identification Number GSD file Profibus Baud rates Serial communication Serial communication protocol Serial Baud rates Operating temperature Weight Conformity and Standards PB25102B_e DOC Mrz 08 10 30 V DC ca 100 mA 24 V Profibus DP DPV1 Slave 0635 hex mksr0635 gsd 9 6 19 2 93 75 187 5 500 kbit s 1 5 3 6 12 Mbit s RS232 RS485 2 wire 4 wire Lecom DIN ISO 1745 9600 19200 bit s 0 45 C 32 113 F approx 170 g EMC 89 336 EEC EN 61000 6 2 EN 61000 6 3 LV73 23 EEC EN 61010 1 Page 18 19 7 Dimensions 40 mm 1 575 79 mm 3 110 Front view PB25102B_e DOC Mrz 08 91mm 3 583 Side view Page 19 19
11. s DP Slave No FMS supported Supported baudrates Page 15 19 MaxTsdr_3M 250 MaxTsdr_6M 450 MaxTsdr_12M 800 Redundancy 0 Repeater_Ctrl_Sig 2 24V_Pins 0 Implementation_Type DPC31 Slave Specification Freeze_Mode_supp 1 Sync_Mode_supp 1 Set_Slave_Add_Supp 0 Auto_Baud_supp 1 Min_Slave_Intervall 6 Fail_Safe 1 Max_Diag_Data_Len 11 Modul_Offset 0 Slave_Family 9 Modular_Station 1 Max_Module 1 Max_Input_len 4 Max_Output_len 4 Max_Data_len 8 UserPrmData Max User_Prm_Data_Len 8 i lt Ext User Prm Data Def List gt ExtUserPrmData 1 Cycl Req Param Unsigned16 0 0 0x7fff EndExtUserPrmData ExtUserPrmData 2 Cycl Send Param Unsigned16 0 0 0x7fff EndExtUserPrmData ExtUserPrmData 3 Serial Mode Unsigned8 1 1 5 EndExtUserPrmData Ext_User_Prm_Data_Const 0 0x00 0x00 0x00 Ext_User_Prm_Data_Const 3 0x00 0x00 0x00 0x00 0x00 PB25102B_e DOC Mrz 08 RTS Signal CNTR P TTL level No 24V supply on Profibus connector Freeze Mode supported Sync Mode supported Set_Slave_Address not supported Automatic baudrate recognition Fail Save Mode supported 5 byte user diagnostic data Gateway Modular station with one module max 4 byte input data max 4 byte output data max 2 4 byte data 3 byte DPV1 parameter 5 byte user parameter data User parameter Type default value value range
12. s not require a baud rate preset The baud rate of the network is automatically recognized upon start up of the communication All Profibus DP baud rates from 9 6 kbit s to 12 Mbit s are supported Positions 2 7 of the DIL switch select the Profibus station address setting range 3 126 The address cannot be changed by the master by Set_Slave_Address service UU I ONG F 0 12345678 Serial Baudrate Profibus station address 0 9600 Bit s 0000011 1 19200 Bit s 0000100 0000101 1111100 1111101 1111110 All DIL switch settings are only read upon initialization Changes during normal operation will not be recognized After change of DIL switch settings please cycle the power supply of the unit PB25102B_e DOC Mrz 08 Page 9 19 3 2 Serial Interface DIL Switch position 1 selects the serial communication baud rate Off 9600 Bit s On 19200 Bit s The serial interface data format and the address of the target unit are permanently set to the values given below and cannot be changed Data format 1 Start bit 7 data bit 1 stop bit parity even Target unit address 11 The serial communication is based on the LECOM protocol patterned on DIN ISO 1745 Depending on the target unit on the serial site standard addressing or extended addressing can be used A detailed description of the serial protocol is available as document SERPRO pdf from the Download site of the motrona homepage www motrona com
13. tions A printout of the GSD file necessary for use of this unit can be found under section 5 of this manual The GSD file itself is available on the CD included to each unit or can be downloaded from our homepage http www motrona com PB25102B_e DOC Mrz 08 Page 4 19 2 Block Diagram and Terminal Assignment RS232 DIL switch Driver Potential RS485 Separation Driver Profibus RS485 Driver PE Screen Serial Interface Profibus D Sub 9 female Serial Interface D Sub 9 male Protection Earth Protection Earth Screen Serial Interface Screen Profibus GND 24 VDC Power Supply PB25102B_e DOC Mrz 08 Page 5 19 2 1 Power Supply The unit operates from a power supply of 10 to 30 V DC connected to screw terminals 10 and 11 The power supply input is filtered and protected against polarity reversal 2 2 Profibus The Profibus connection is optically isolated The Profibus driver is internally supplied from a DC DC converter and no auxiliary power supply needs to be applied to the Profibus connector Profibus connector pin assignment Pin Signal Meaning m Shield Screen Protection Earth 2 ROD CNTR P RTS Request To Send 6 Y Aux voltage output 5V 50mA zz 8 RDN ata O ee ee The following cables are recommended for Profibus EN 50 170 Type A cable Capacitance Loop resistance Wire diameter Conductor cross section Depend

Download Pdf Manuals

image

Related Search

Related Contents

SEGURIDAD SECURITE · SAFETY  Mode d`emploi - direct  取扱説明書 - LED照明「Luci」  Petra M 20.07 coffee maker  Télécharger  Philips SCF603/25 User's Manual  Philips BDP2205  S43909 EVOnet-KBD-1000 manual V1.3  

Copyright © All rights reserved.
Failed to retrieve file