Home

MCD 3000 Series Soft Starters to PROFIBUS Gateway

image

Contents

1. 5 byte block Status for address 1 Status value fordevice at address1 foraddress 1 Trip foraddress 1 Trip value fordevice ataddress 1 Current foraddress 1 Motor Current O 9999 Amps Temperature foraddr Motor Thermal Capacity 0 250 5 byte block 15 Status for address 2 Asabove for address 2 Trip for address 2 Asabove Curent for address 2 Asabove Temperature foraddr 2 Asabove 5 byte block Status for address 23 Asabove for address Trip foraddress 23 Asabove 23 Curent for address 23 Asabove 124 Temperature foraddr Asabove 23 Table 14 PROFIBUS Read In memory MCD PROFIBUS Gateway 26 USER MANUAL 3 7 Issuing Commands MCD PROFIBUS GATEWAY PROFIBUS master can issue commandsto each MCD device at any time The following Table 15 lists the commands as well as the purpose of these commands The commandsare shown in hexadecimal notation Command Action OxBO Start Motor OxB2 Stop Motor OxB4 Reset Trip State OxB6 Coast To Stop OxC 2 Read Status OxC 6 Read RS 485 Protocol Version OxC 8 Read Trip Status OxDO Read motor Current OxD2 Read Motor Temperature OXxFF Read Gateway Firmware Revision Table 15 Valid commands This isthe procedure for issuing a command Write the slave address into the Slave Address Register Control module Write data byte at offset 2 Write the command into the Command Register Control module Write data byte at offset 1 As the
2. Scanning cycle length for different baud rates and the number of MCD devices present 32 Table 19 Maximum time to detect return of an offline device ssssessnenssessssennrnrnseesrernnnrnssrnnnnnnnnnssrnnneensene 32 Table 20 Gateway speccations nn nan n nn nn nen nn r ran nn nnenn nn naar nrnrnnnnnininnnss 34 Table 21 TroubleshootingQUIAS comoconnoicinarinn dietarios 35 Figure List Figure 1 Typical diagram of a PROFIBUS network a gateway and an RS 485 sub network s s s 9 Figur 2 Gateway front panel iii dei ait an a ev eA eee 10 Figure 3 Entering address via dip Switches an example oooooccccnnonccccnoncccnnnnnncnnnnnonnnnrnnr ono nnnnnn cnn nano nnnn nara naar a nnnens 14 Figure 4 Recommended wiring diagram for one MCD device oooconccccnociconcccnonccnonnconnnnnano conc ccoo nc nan cn nan cn nana cnn 16 Figure 5 Wiring diagram for a number of MCD devices connected to a single gateway eeseeeseeesresereeereees 16 MCD PROFIBUS Gateway 5 USER MANUAL MCD PROFIBUS GATEWAY This page isintentionally left blank MCD PROFIBUS Gateway 6 USER MANUAL MCD PROFIBUS GATEWAY 1 INTRODUCTION 1 1 Important user information 12 General This manual describes operation and programming ofa PROFIBUS Gateway for MC D3000 Soft Startersand MCD Remote Operators gateway firmware revision 3 0x Throughout this manual the term the gateway refers to the MCD Profibus Gateway the t
3. about the baud rate on the RS 485 network and about required action if the gateway goes off line on PROFIBUS Process data are the data transmitted cyclically between the masterand slave The PLC writes the data forthe slave to the Write area and readsthe data from the slave from the Read area Locationsof the Write and Read areas in the PLC memory are specific to each PLC Fordetails consult the PLC manual The only write data data transferred from PROFIBUS master to the gateway are contained in the control module 3 bytes of data These three bytes are used to issue commandsto MCD devices asdescribed later in this manual The first byte isthe Master Handshake Register Only the two least significant bits BO and Bl are used the other six bits a re ignored by the gateway Meaning of the value of bits BO and Bl isexplained later in this document The second byte isthe Command Register When PROFIBUS master controller issues a command to a MCD device it writes the code of the command to the Command Register Table 15 below showsall the valid values command codes that can be written to the Command Register and the commands associated with these values The valuesin the table are shown in hexadecimal These valueshave been chosen to resemble the original command codesasused by MCD devices Forexample the ASCII command code for Stop is B12 The hexadecimal value selected for Stop is B2 hex OxB2 in C language notation and 1011
4. in the range of 100 120 ohm The recommended connection diagrams are shown in fig A and fig 5 below We recommend connecting cable shield on the gateway side only and we recommend that the connection point 61 or B7 on the MCD device be left unconnected MCD PROFIBUS Gateway 15 USER MANUAL MCD PROFIBUS GATEWAY 68 or B8 5 0 i 8 O 61 orB7 E pin a E GND O O pin acne lt x ac i to pin 9 xQ A DN 69 or B6 e MCD device cable shield MCD PROFIBUS Gateway Figure 4 Recommended wiring diagram forone MCD device B7 O Remote O GND Operator GND B6 gt topin1 to pin 5 MC D3000 Ti pin 9 Profibus gateway Figure 5 Wiring diagram fora numberof MCD devices connected to a single gateway MCD PROFIBUS Gateway 16 USER MANUAL MCD PROFIBUS GATEWAY Ifa numberof MCD devices are connected to a single gateway we recommend wiring them asin fig 5 The cable should constitute a single line without side branches Note that we recommend connecting GND points 61 or B7 on all MCD devicesto guarantee that they share the same ground potential If the devicesare connected to the common ground in some other way ex via a metallic mounting it may not be necessary to connect points 61 or B7 RS 485 interface on MCD devices is not galvanically isolated Failure to equalize ground potential on all MCD devices connected via RS 485 link may result in their dam
5. last step toggle the Command Request Bit in the Master Handshake Register Control module Write data byte at offset 0 change the bit from Oto 1 orfrom 1 to 0 so that it is different from the Command Acknowledgment Bit in Save Handshake Register Then the following happens The gateway toggles the Command Acknowledge Bit in Slave Handshake Register Control module Read data byte at offset 0 to make it the same asthe Command Request Bit This indicatesan acknowledgement of the command but not its completion When the command processing hasfinished whether suc cessfully ornot the gateway places the results into the Command Result Register Control module Read data MCD PROFIBUS Gateway 27 USER MANUAL MCD PROFIBUS GATEWAY byte at offset 1 nthe last step the gateway toggles the Result Ready Bit in Slave Handshake Register Control module Read data byte at offset 0 indicating the completion of the command aswell asthe availability of the results This ishow Mastercan read the outcome of the command Upon detecting change of value of the Result Ready Bit PROFIBUS master should read the Command Result Register Control module Read data byte at offset 1 Ifthe command was Read Status or Read Trip Status PROFIBUS master can also read the Data Read Registers These are bytes at offsets 6 through to 9 in the Control module Read data The content of these four bytes is the same ast
6. ofthe offline sla ves On a subsequent offline slave poll the next slave on the list of offline slavesis polled Once an offline slave respondsto a command itis no longer considered an offline slave This mechanism helps keep network delays to a minimum while also being able to recover offline saves when they come online The above mechanism allows connecting disconnecting MCD devices while the network is working with minimal impact on the rest of the network MCD PROFIBUS Gateway 33 USER MANUAL MCD PROFIBUS GATEWAY 5 _SPECIHCATIONS Item Value Height 75mm ine A Mounting EE PROFIBUS Interface Configured Dip switches Address MCD Subnetwork Interface PO Connector Type 9 Pin DB Male Galvanically Isolated Yes 1000V Status Indicator Type 5mm Bi Coloured LED Via PROFIBUS Voltage 3 2 Watts Connector Type Removable Screw Teminal V Reverse Polarity Protection se S Surge Short Protection Otheritems Field Programmable Approx 3509 Protection Class IP 20 Table 20 Gateway specifications MCD PROFIBUS Gateway 34 USER MANUAL MCD PROFIBUS GATEWAY 6 TROUBLESHOOTING Indications Problem Possible cause check in the order listed LEDs all off for No power No power extended period Incorrect polarity Gateway s fuse blown Both LEDs flashing red PROFIBUS address PROFIBUS address on DIP switches set invalid outside t
7. values In case of problems consult an S7 expert re the memory addresses to be used for slave modules and the conect way of retieving module data 3 3 Setting PROABUS parameters The gateway requires three parameters associated with the control module in the gateway configuration The first parameter defines the desired baud rate on the RS 485 network The gateway supportsall the baud rates that the MCD devices support First Parameter Baud Rate Value 1 200 bps 2 400 bps 4 800 bps 5 9 600 bps Default 19 200 bps Table 10 Gateway parameter RS 485 link baud rate The second parameter defines gateway operation if communication with the master stops MCD PROFIBUS Gateway 21 USER MANUAL MCD PROFIBUS GATEWAY Second Action on communication parameter breakdown Stop polling MCD devices STOP command sent to all MCD devices 3 COASTTO STOP sent to all devices Table 11 Gateway parameter gateway operation on communication loss The selected action will be executed when the gateway had established initial communication with the master and subsequently this communication stops If the second parameter isset to 1 the gateway will stop poling MCD deviceson communications breakdown Thismay cause soft starters to trip if they are so programmed Parameter 24 For other values of the second parameter the gateway will keep on polling and will prevent soft starters from tripping The third paramet
8. voltage can be unregulated the gateway will operate correctly for power voltage in the range 12 32V The current drawn changes with voltage 240mA for 12V and 90mA for 32V The powerconnector isa removable terminal block 2 pin The device is reverse polarity protected in the case of reversed connection it will not get damaged but it will not operate either MCD PROFIBUS Gateway 12 USER MANUAL 2 5 PROHBUS connection 2 5 1 Cabling MCD PROFIBUS GATEWAY Presence of correct powercan be venfied by looking at the LEDs on the front panel at least one LED should be illuminated at all times whether green or red The PROFIBUS socket of the gateway must be connected to a PROFIBUS network in accordance with PROFIBUS Technical Guideline Installation Guideline for PROFIBUS DP FM S PROFIBUS Intemational Order No 2 112 The gateway PROFIBUS connection requiresa PROFIBUS cable with DB9 male connector Pin assignment in the PROFIBUS socket is as follows DB9 socket Pin Purpose 1 Shield functional ground 3 RXD TXD P Data Line 4 Notcomected o Z o 5 Data ground reference potential for VP VP supply voltage 5V Not connected 8 RXD TXD N Data Line Inverted 9 Not connected Table 2 PROFIBUS socket pin assignment Pins 3 RXD TXD P and 8 RXD TXD N must be connected The other pinscan be used if needed The gateway doesnot provide termination on the PROFIBUS cable If the ga
9. 0010 in binary The third byte Address Register contains the RS 485 sub network address of the MCD device that the command is for MCD PROFIBUS Gateway 23 USER MANUAL 3 6 Data read area MCD PROFIBUS GATEWAY Offset Contents Comments Master Bit BO New Command Bit Handshake Bit B1 Result Acknowledge Bit Register Command see Table 15 below Register 2 Slave Address Address of the slave that the Register command is for Table 12 PROFIBUS Write Out Memory Read data data that the PROFIBUS master reads from the gateway come from the control module 10 bytes and from each slave module defined for MCD devices 5 bytes for each MCD device Actual memory addresses depend on programming of the master controller so in the following description we referto offsets where the very first byte in a module is assumed to have offset 0 and the subsequent bytes within the module follow The first byte in the control module offset 0 Slave Handshake Register operates in the way similar to the Master Handshake Register Only the bits BO and Bl are used More detailed explanation can be found later in this document The second byte at offset 1 camesthe code of the outcome of the command 1 forsuccess erorcodes2 3 0or4 in case of failure see the table below for details Resultcode Description 1 Suc cessful completion 2 The gateway rejected the command invalid command code ordata 3 No repl
10. MCD PROFIBUS GATEWAY MC D PROHABUS Gateway for MC D3000 Series Soft Starter and MCD Remote Operator P N FS 1135 DANFOSS P N 175G 0092 User Manual Ver 2 03 10 August 2006 Copyright 2002 Fieldbus Specialists MCD PROFIBUS Gateway 1 USER MANUAL MCD PROFIBUS GATEWAY REVISION NOTES Index Date Chapt Author Rev Revision note er 10 Mar 2002 a RW e Extended indications for invalid PROFIBUS address 4 1 2 14 Mar 2002 2 6 2 7 AJ 13 Local Remote setting recommendations correctionsto Specifications 4 Apnri 2002 2 6 1 AK Wiring diagramsadded mapping of read memory corrected 5 5 MAY 2002 All AmcN 1 5 Unified format added functions to handle AJ comm breakdown 7 AJ 1 6 25 OCT 2002 Added comments related to Siemens S7 PLC 1 O C T2003 JP 1 7 Added comments re firmware version 2 02 and code compliance with Danfoss manual AM B00000 Rev G 9 O C T 2003 JP AJ 1 8 Modified to reflect compliance with AM B00000 Rev G 10 OCT 2003 ip h Note re byte sequencing in 2 10 20 DEC 2004 lay 110 Max no of MCD300 corrected to 23 08 MAR 2006 Ju 20 New version of protocol firmware 3 xx 1 2 01 3 10 MAY 2006 AJ Correction of minor emors changesto drawings 22 Jun 2006 Ia 202 Numerouscomections 15 AJ 10 AUG 2006 AJ 2 03 Removal of referencesto preset TEC HNIC AL SUPPORT In case of any questions or problems please contact Fieldbus Specialist
11. PROFIBUS Gateway 28 USER MANUAL MCD PROFIBUS GATEWAY ignored and may lead to an unpredictable behaviour of the gateway On startup the PROFIBUS master should set the Master Handshake Registerto 0 The gateway resets Slave Handshake Registerto 0 while not on PROFIBUS network This guarantees proper startup conditions forthe handshaking mechanism We recommend that PROFIBUS master program checksthe correct startup conditions bits BO and B1 in both handshake registers being equal The tables below show possible combinations of handshaking bitsand their meaning Symbol X means either 0 or 1 X means the opposite to X New Command Meaning Command Acknowledge Bit BO Bit BO Bits are different PROFIBUS master has issued a command but the gateway has not accepted it yet X X Bits are the same No command or the gateway hasaccepted the command Table 16 New Command Command Acknowledge handshaking Result Ready Result Meaning Bit B1 Bits are different The gateway placed command results in PROFIBUS data and awaits the master s confirmation X X Bits are the same No results or the result has been read Table 17 Result Ready Result Acknowledge handshaking It isthe gatewa y s responsibility to acknowledge the command bits via the Command Acknowledge Bit It isthe PROFIBUS master s responsbility to acknowledge the result bits via the Result Acknowledge Bit Failure to follow th
12. able settings Default Setting 4 9600 baud Table 7 MCD Remote Operator RS 485 baud rate values Parameter 2 Address for RS 485 serial communications Required Setting A number between 1 and the total number of MCD deviceson the network Table 8 MCD Remote Operator address on RS 485 network Parameter 4 RS485 Network Protocol Configuration Options 1 Required settings Table 9 MCD Remote Operator network protocol MCD PROFIBUS Gateway 19 USER MANUAL MCD PROFIBUS GATEWAY 3 PROGRAMMING THE MASTER CONTROLLER 3 1 GSD file 3 2 Declaring modules Information on the technical characteristics of the gateway is loaded into PROFIBUS master software by meansof a GOD file A floppy disk with the GSD file is supplied with the gateway The GSD file name is FS1135 GSD Follow the instructions in the PROFIBUS configuration management software manual for loading the GSD file and adding a new node to the network If you need a copy of the GSD file please contact usat sales fieldbus com au For the PROFIBUS master to communicate with the gateway it must be provided with information about the way that the gateway works You can do it by following these steps g load the GSD file for details refer to the manual for master configuration software e declare the required modules within the gateway if default para metersare not suitable change these parameters The gateway isa modular PROFIBUS sav
13. accepted the command Be aware that thischange doesnot have to be immediate 5 Wait forbit Bl in Save Handshake Registerto change indicating that a reply iswaiting Thismay take some time needed for execution of the command 6 Read Command Result Register If it equals 1 the command hasbeen successful If Command Result Register equals 2 3 or 4 the command failed In either case acknowledge the response by modifying bit B1 in Master Handshake Register to make it equal Bl in Save Handshake Register Forcommandsthat do not retum any data such as Start or Stop there isno need to read Data Read Registers at offsets 6 to 9 MCD PROFIBUS Gateway 30 USER MANUAL MCD PROFIBUS GATEWAY 4 OPERATION OF THE GATEWAY 4 1 Scanning slaves 4 2 Scanning times The gateway starts scanning slaves only afterthe PROFIBUS master sendsthe configuration data and the gateway goes online on PROFIBUS The gateway periodically retrieves Status Tip Code Curent and Temperature from each slave and updatesthe PROFIBUS process Read data in an autonomousfashion Statusand Trip Code are being read most frequently in each scan cycle Curent is read once every third scan cycle and Temperature every tenth scan cycle On the first scan the Status Tip Code Curent and Tempenature are read from all declared devices The device network status bits in the Read area offset 2 4 are set forall Slavesthat reply referto Table 14 Ifan MCD devi
14. age 2 6 2 MCDdevice configuration The gateway can communicate at any of the baud ratesthat MCD devicescan support All MCD devicesconnected to the same sub network must be configured forthe same baud rate Each MCD device must be configured with a node address Each must have a different address and each address must be in the range 1 to the numberof MCD devicesconnected to the gateway inclusive Example if fourdevices are connected to a gateway they must have addresses 1 2 3 and 4 For MCD Remote Operators connected to the gateway the term address refersto the MCD Remote Operatoraddress Parameter 2 not the address of the soft starter connected to the MCD Remote Operator For soft starters connected directly to the gateway Local Remote Mode parameter Parameter 20 must be set to 0 1or2 Setting this parameter to 3 disables the RS 485 communications port For more detailed explanation refer to the MCD3000 Soft Starter Operating Instructions Soft starter must be set for Local operation using the Local Remote pushbutton on the front panel When thisis done the LED labeled REMOTE on the front panel is off NOTE When the soft starter is set for Remote itdoes not execute commands received over the RS 485 link However it stil acknowledges these commands Consequently the gateway and the PROABUS master cannot detect this condition For working with a gateway we recommend to set Local Remote Mode par
15. ails If there are no indications of power check voltage and polarity Set the PROFIBUS address on dip switches configure and activate PROFIBUS master see section 2 5 for instructions Configure the PROFIBUS master forone MCD device only On success the PROFIBUS status LED will go green on error it will blink red If the LED stays red check the cable addresson the gateway and addresssetting in the master If the LED flashes green red verify the configuration of modules in the PROFIBUS master Do not proceed further unless the PRO ABUS LED is steady green Configure and connect the first MCD device set it to address 1 see section 2 6 fordetails On success the RS 485 status LED should go green We recommend initially to configure PROFIBUS master for only one MCD device connected to the gateway and to get this configuration working successfully Lateron you can increase the numberof MCD devices If the RS 485 status LED stays solid red check the RS 485 cable configuration of the MCD device wiring and the value of the PROFIBUS parameterin the gateway configuration data in PROFIBUS master RS 485 sub network baud rate setting Configure and connect the remaining MCD devices make also the relevant changes to the configuration of PROFIBUS master On success the RS 485 LED should go solid green If it flashes green red one or more MCD devicesdo not communicate with the gateway The gateway requires 24V DC power approx 130mA The
16. ameter Parameter 20 to 2 Local contol only This will eliminate the possibility of the Soft Starter being accidentally set for Remote MCD PROFIBUS Gateway 17 USER MANUAL MCD PROFIBUS GATEWAY The MCD devices must be configured using the keypad LCD display on their front panels The method of setting parameters is described in detailsin the Operating Instructions The following tables show the relevant parameters fora soft starter connected directly to the gateway Parameter 20 Local Remote Mode Configuration Options 0 3 2 Acceptable settings 0 Recommended setting Unacceptable setting 3 Table 4 Soft starter Loca l Remote modes Parameter 22 Serial communication baud rate Configuration Options Acceptable settings Default Setting 4 9600 baud Table 5 Soft starter RS 485 baud rate values Parameter 23 Address for RS 485 serial communications Required Setting A numberbetween 1 and the total number of MCD devices on the network Table 6 Soft starter address on RS 485 network For soft starters connected to the gateway via a Remote Operator referto the Remote Operator instructions for soft starter configuration The following ta bles show the releva nt parametersforan MCD Remote Operatorconnected directly to a gateway MCD PROFIBUS Gateway 18 USER MANUAL MCD PROFIBUS GATEWAY Parameter 1 Serial communication baud rate Configuration Options Accept
17. ations network MCD PROFIBUS Gateway 7 USER MANUAL MCD PROFIBUS GATEWAY This manual describes how the gateway operates how to connect MCD devicesto the gateway and how to connect and operate the gateway on a PROFIBUS network When reading this manual it may help to referto the MCD Soft Starter instructions Danfoss document no MG 15 Ax 02 and MCD Remote Operator instructions Danfoss document no MG 17 Ex 02 MCD PROFIBUS Gateway 8 USER MANUAL MCD PROFIBUS GATEWAY 2 _INSTALING THE GATEWAY 2 1 Gateway connection diagram The diagram below shows how the gateway isconnected to the PROFIBUS network and to the RS 485 sub network PROFIBUS DP Master PROFIBUS network MCD3000 Profibus Gateway DP Slave DP Slave RS 485 sub network MCD device MCD device MCD device Figure 1 Typical diagram of a PROFIBUS network a gateway and an RS 485 sub network MCD PROFIBUS Gateway 9 USER MANUAL MCD PROFIBUS GATEWAY 2 2 Front panel A specialists POWER Ge ADDRESS PROFIBUS 3 je Rider STATUS D I Lag SB e O a EH RS485 D Figure 2 Gateway front panel FS 1135 Fig 2 showsthe front panel of the gateway Located on the front panelare 1 RS 485 sub network connector for connecting MCD devices DB9 male 2 PROFIBUS network connector DB9 female 3 Powerconnector 2 p
18. ce failsto respond to a data request command itisconsidered an Offline Slave and hasit s corresponding network status bit cleared Also cleared are the process data bytesrelated to thisdevice Note that Status Trip code Current and Temperature process data foreach slave in PROFIBUS master memory are valid only if the releva nt network status bit is set If the network status bit is not set then the processdata associated with that particular sla ve are invalid The following Table 18 givesan indication of the time required to complete a polling cycle fora number of slaves present on a serial link overthe supported baud rates The times are in seconds These figures indicate possible dela y in detecting changesto Status and Trip code data read in each scan cycle MCD PROFIBUS Gateway 31 USER MANUAL MCD PROFIBUS GATEWAY No of 1 200 2 400 bps 4 800 bps 9 600 bps 19 200 bps bps PF ooo foso lee 0260 le 3 1500 foso 0570 foo Loan a Lamm Tam Tome 0 520 20 10 000 6 000 3 800 2 600 2 200 Table 18 Scanning cycle length for different baud ratesand the number of MCD devices present The Curent register is scanned once every three scan cycles Consequently the average time between two consecutive reads of the current register of the MCD devicesis three times greater than the time asin the table above The Temperature register is scanned once every ten scan cycles Consequently the average
19. dules differently the offset va lues will be different The value in two byte Curent registerisan unsigned 16 bit two byte integer in the range 0 9999 with the first byte being the least significant one and the second byte being the most significant The last byte Temperature register ca mes information about motor s temperature given as percentage of the motors themal capacity range 0 to 250 encoded asan unsigned integer If the MCD device reports motor temperature greater than 250 the gateway will report 250 Asa general rule all unused bits or bytesare always set to 0 Table 14 shows the structure of the Read area fora controller that allocates modules consecutively in memory For other controllers such as S7 the values of offset start from 0 foreach module and placement of consecutive modules in PLC memory can be arbitrary MCD PROFIBUS Gateway 25 USER MANUAL MCD PROFIBUS GATEWAY Offset Contents Comments 0 Slave Handshake Bit BO Command Ackn bit Register Bit B1 Result Ready bit 10 byte Command Result 1 Success control block Register 2 Invalid rejected command 3 No rejected response from dave 4 Invalid save address Online Slaves Register1 Bit BO Save 1 online Bit B7 Save 8 online Online Slaves Register 2 Slave 9 online Slave 16 online Online Slaves Register 3 Slave 17 online Slave 23 online Online Slaves Register4 unused Data Read Registers Command Data Reply 1
20. e consisting of several modulesas defined in the GSD file The GSD file defines two types of modules a Control Module and an MCD device module The Control Module has 10 bytes of input data and 3 bytes of output data no consistency It must be declared asthe first module in the configuration If you cannot establish communication with PROFIBUS master verify that the configuration of the gateway in the master If the first module isnot asabove 10 bytesIN and 3 bytes OUT redefine the gateway configuration In addition to the Control Module you must declare an MCD device module 5 Bytes In module with data consistency for each MCD device connected to the gateway The gateway MCD PROFIBUS Gateway 20 USER MANUAL MCD PROFIBUS GATEWAY assumes that the addresses of the MCD devicesstart at 1 and are consecutive up to the numberof expected devices The first MCD device module relatesto the MCD device with address 1 the second one to 2and so on Address values are not related to physical positioning of MCD devices on the RS 485 sub network NOTE for users of SIMATIC S7 Slave modules are defined as so called modules with data consistency This is necessary to guarantee accuracy of reading the cunent The consequence of itin S7 is that module data cannot be read directly direct reading always retums 0 Instead you should use SFC 14 to cyclically copy module data to PLC intemal memory and then retieve the required
21. e handshaking procedure may lead to unpredictable behaviour of the gateway Commandstake precedence overscanning of slavesand will be executed within 250 msec If the PROFIBUS master detects undue delay in gateway acknowledging the command or MCD PROFIBUS Gateway 29 USER MANUAL MCD PROFIBUS GATEWAY sending a response it should restart the gateway by placing it in OFFLINE state and then retuming it to ONLINE This isan example of the complete procedure for resetting trip state of an MCD device at address 3 using Reset Trip State command 1 Checkthat the device is on line i e the network status bit is set in thiscase check Read byte at offset 2 bit B2 If this bit isset to 1 you can proceed If the bit equals O the device at address 3 is offline 2 Check that previous commands have been completed Master Handshake Register and Slave Handshake Register are equal 3 Write command code OxB4 Reset Trip State to Command Register byte at offset 1 in Write area Also write slave address 3 to Address Register byte at offset 2 in Write area The sequence in which these bytes are being written into is irelevant 4 Modify bit BO in Master Handshake Register change it from Oto 1 or from 1 to 0 whichever is applicable to indicate to the gateway that a command ispending You may monitor that bit BO in Slave Handshake Register changesto equal bit BO in Master Handshake Register indicating that the gateway device
22. er defines the timeout in seconds for communication with the master If the gateway stays off line on PROFIBUS for the time period as set in the third parameter the gateway will take action as defined by the second parameter Allowed range isOto 255 Default value is 5 setting the timeout at 5 sec If the third parameter isset to 0 no timeout supervision will be ca med out and once communication with master commences the gateway will keep on polling MCD devices irrespective of the status of gateway master link On receiving an invalid para meter value or invalid configuration data from the PROFIBUS master the gateway goes offline and flashes the PROFIBUS status LED green red and then tums it off After a few seconds the PROFIBUS master will try again to set the gateway to ONLINE state and the cycle repeats until the eroriscorrected MCD PROFIBUS Gateway 22 USER MANUAL MCD PROFIBUS GATEWAY 3 4 Masterslave data exchange 3 5 Data write area Data exchanged between PROFIBUS master and slaves are of two types configuration data and processdata Configuration data are transmitted once only when the master esta blishes communication with the slave These data cany information about slave configuration the modules declared there Also included in the configuration data are parameters sent from masterto the slave In case ofthe gateway the configuration data instruct the gateway about the number of MCD devicesto scan
23. erm soft starter refersto an MCD3000 Soft Starterand the term MCD device refers to eithera soft starteroran MCD Remote Operator that is directly connected to the gateway Gateways with firmware version 3 0x support MCD protocolas described in Danfoss manuals MG 15 Ax 02 and MG 17 Ex 02 It is compatible with e Soft starters with software version MCDI V6 1 or greater e MCD Remote Operator Batch 12 orgreater Contact Fieldbus Specialists if you require a firmware version that supports earlier models Observe all the necessary safety precautions when contolling any MCD device over the serial communications link including alerting personnel that the machinery may start without waming The gateway can be connected to a numberof MCD devices overa single RS 485 cable using a proprietary protocol specific to MCD devices The gateway operatesasa single PRO FIBUS slave node The PROFIBUS mastercan control all connected MCD devices start stop reset trip conditions and read operational status motor conditions ortrip status The gateway isa certified PROFIBUS slave device A number of gatewaysand other PROFIBUS slave devicescan be connected to the same network subject only to standard PROFIBUS limitations The gateway isa masteron the RS 485 multi drop MCD communications network Up to 23 MCD devices may be connected to a single Gateway In this wa y up to 23 MCD devices will share one PROFIBUS address on the PROFIBUS communic
24. essees 18 Table 5 Soft starter RS 485 baud rate values ceeccceeeeneceeseeeeeeeeeeeeeesaeeeeesneeeceaeeeessaeeessesaeeeseeeeeseeneeeesnaess 18 Table 6 Soft starter address on RS 485 network cccccscccceeeeceeeseeeeeesenaeeeseneeeeeeceaeeeeesneeeesseeeeeseesensenseeeesaes 18 Table 7 MCD Remote Operator RS 485 baud rate values nan nnnnnnnnnncnnnnss 19 Table 8 MCD Remote Operator address on RS 485 network oocoococooccccconoccnoononcnnnononcncnnnonnnnonnnnnn nono nnnnnnnnnnnninnos 19 Table 9 MCD Remote Operator network protocol ooococcconncccnnccccnoccconcncnnnncnnn nn non ccnnnn cnn cn nnn narrar 19 Table 10 Gateway parameter RS 485 link baud rate oooooccccnnoccccnononccnononcnononnnccnnonnrnnncnnnnnnnnnnnnnnn nan nnnnnnnnnnannnss 21 Table 11 Gateway parameter gateway operation on communication IOSS coooococcnnnocccnnoccccnnononcncnnncanononnnnnos 22 Table 12 PROFIBUS Write Out Memory eeeceeeeeeseeeeeeeeeneeeeeeeeeeaeeteaeeseaeeeeaeeseaeeseaeeseaeeseaeessaaeseaeenaeeseeeeenes 24 Table 13 Command result codes ccccesccceeseeeeeeeeneeeeeeaeeeeseaeeeeseaeeesecaaeeesenaneeeesaeeeeseaeeesecaeesseneesesssneeesseaes 24 Table 14 PROFIBUS Read In memonm conc cnn nn rnn nro nc rn nc rana 26 Table 15 Valid command a 27 Table 16 New Command Command Acknowledge handshaking cnn rca nnncnnnnn 29 Table 17 Result Ready Result Acknowledge handshaking AAA 29 Table 18
25. he four bytes that MCD device sendsin reply to the equivalent command referto the MCD device Operating Instructions for details Ifthe command was Read Gateway Finmware Revision PROFIBUS master can retrieve the content of the Data Read Registers bytes at offsets 6 9 in Control Module The fimware revision is encoded as four ASCII characters Example for Rev 3 01 the content of the fourdata bytes will be 0 0x30 3 0x33 0 0x30 and 1 0x31 Asthe last step PROFIBUS master should toggle the Command Acknowledge Bit in the Master Handshake Register Control module Write data byte at offset 0 to indicate to the gateway that the result reply hasbeen read PROFIBUS master must NOTissue a command until the gateway hasacknowledged the previouscommand bits BO in Masterand Slave Handshake Registers are equal whether 0 or1 the reply to ithasbeen acknowledged bits B1 in Master and Slave Handshake Registers are equal whether 0 or 1 Status of the motor can be affected by a number of factors other than commands Consequently you must not assume that the motoris in any particular state even ifa command has been accepted and retumed Success in Command Result Register To monitor status of the motor the master controller should continuously monitor the Status register An attempt to issue a command before the gateway has acknowledged and responded to the previous one will be MCD
26. he valid range 0 125 PROFIBUS StatusLEDs No communication PROFIBUS master is disconnected or off flashing red with PROFIBUS master PROFIBUS cable is cut broken not installed correctly PROFIBUS address set incorrectly High inducted noise on the cable PROFIBUS Status LEDs Gateway Incorrect gateway configuration flashing communicating with information in PROFIBUS master incorrect green red off PROFIBUS master but parameter value unable to establish data link RS 485 Status LED No communication on RS 485 cable fault c ut broken not installed flashing red RS 485 link correctly No devicesare configured correctly for operation over RS 485 No device addresses are set correctly RS 485 Status LED Erors on RS 485 link Some devices not present flashes red green but some Some devicesare not configured for remote communication still operation over RS 485 takes place Some device addresses are set incorrectly Incomect gateway configuration information in PROFIBUS master PROFIBUS master issues invalid command request Table 21 Troubleshooting guide MCD PROFIBUS Gateway 35 USER MANUAL
27. in removable terminal block 4 Bi colour PROFIBUS status LED 5 Bi colour RS 485 status LED 6 Dip switches for PROFIBUS address selection The following table indicatesthe status of the PROFIBUS connection MCD PROFIBUS Gateway 10 USER MANUAL MCD PROFIBUS GATEWAY PROABUS RS 485 Gateway status pn In Gateway starting max 6 sec orno power RB ANY Invalid PROFIBUS address PROFIBUS link down no PROFIBUS master incorrect addressor no connection PTE PROFIBUS link error wrong configuration or G R B para meters in PROFIBUS master G ANY PROFIBUS link up and problem free G RB No communication on the RS 485 link G GR Occasional errors on the RS 485 link G G Both PROFIBUS and RS 485 links operational and error free Legend B LED off G LED steady green RB LED flashing red off G R LED flashing green red G R B LED flashing green red off ANY applies imespective of LED status Table 1 LED Indication These simple rules may be worth remembering Flashing indicates errors on the relevant link Flashing red meansthatthe gateway attemptsto communicate but fails every time Flashing red green meansthat the gateway can communicate but errors occur MCD PROFIBUS Gateway 11 USER MANUAL 2 3 Installation sequence 2 4 Powerconnection MCD PROFIBUS GATEWAY When installing the gateway we recommend the following sequence Connect power see section 2 4 for det
28. nificant bit on the left and the least significant bit on the right The addressis entered in binary with the switch in up position for 0 and in the switch in the down position for 1 Forexample to set the address 3 binary 0000 0011 the switches need to be positioned as follows ADDRESS MEMEA i 315678 LSB Figure 3 Entering address via dip switches an example In addition to setting the address it is necessary to define the gateway s configuration in the PROFIBUS master For detailed description of this important stage referto section 3 MCD PROFIBUS Gateway 14 USER MANUAL MCD PROFIBUS GATEWAY 2 6 MCDconnection 2 6 1 Cabling The MCD devices should be connected to the RS 485 serial sub network as perthe relevant Operating Instructions The gateway isconnected to the RS 485 sub network using a 9 pin male DB connector located to the left side of the enclosure Pin assignment is asthe following table indicates Pins not listed there are unused or reserved and MUSTNOTbe connected Pin Number Purpose Shield G round 9 Signal Table 3 RS 485 pin assignment We recommend using a shielded twisted paircable When the gateway islocated away from the MCD device the communications cable should be shielded and should not be run in the vicinity of high current powercabling It isadvisable to fit termination resistors at each end of the cable to match its charactenstic impedance typically
29. s on sales fieldbus com au We will endeavour to reply immediately MCD PROFIBUS Gateway 2 USER MANUAL MCD PROFIBUS GATEWAY PREFACE The data and illustrations in this manual are not binding Fieldbus Specialists reserve the right to modify our products in line with our policy of continuous product development The information in this manual is subject to change without notice and should not be considered asa commitment by Fieldbus Sp ec ia lists Fieldbus Specialists assume no responsibility for any errorsthat may appear in this document Although this product hasbeen developed with great care and extensively tested Fieldbus Specialists cannot guarantee the suitability of this product forany purpose Warranty claims shall be limited to the right to require rectification of faults Lia bility for any damages which may have arisen from the use of this product or its documentation shall be limited to cases of intent MCD PROFIBUS Gateway 3 USER MANUAL MCD PROFIBUS GATEWAY CONTENTS 1 INTRODUCTION WE 7 1 1 IMPORTANT USER DNPORMATION senan a a S ASTAS N e NnS ains 7 1 2 E A E EE 7 2 INSTALING THE GATEWAY aaaaasnounnnnnnnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn mennaan nnmnnn nnn 9 ZE GATEWAY CONNECTION DA GRA M EE EE 9 DD CERONTPANEL a E E A a 10 2 3 INSTALLATION SEQUENCE ibas 12 2 4 POWER CONNECTION cccccccccececececesesecececesesececscesesssesecesssesesesesssssssssessss
30. sesesesesssssesssesessssssesesesssessessuseseess 12 2 5 PROFIBUS CONNECTION veo cttodtat dd al di ld td a ile 13 DL CAI ri rd it 13 23 2 GATEWAY CONFIGURA TN ica 14 26 MCP CONNECTION dE Ee dE EE E esheets 15 20L Ca Un EE 15 2 6 2 MCD device configuration ENNEN 17 3 PROGRAMMING THE MASTER CONTROLLER 0 cccccsessccccssssseeeseseseeeensesesesueeseaeassseeseseanas 20 USE e a Eed 20 3 2 DECLARING MODULES ccccccccececececececececececececececececececececececececececececececececececececscececececseeceeececececeeeeseeeecess 20 3 3 SETTING PROFIBUS PARAMETERS casele ninen ea a e e aoea aeie i iet 21 3 4 MASTER SLAVE DATA EXCHANGE ad 23 3 0 DATA READ AREA 0 bd 24 SCT ISSUING COMMANDS e eai 27 4 OPERATION OF THE GATEWAY connnnncccccccoccononnannocnonanananananonocnnanananan rn ro ncan anna nr n cr cnn nana n ra nannaas 31 4 1 SCANNING SAVE aa 31 AZ SCANNING TIMES e ONO 31 el ORBLINE LA VES ute se Stbe deco dece le E in Ge hates hte ees eae eS 33 5 SPECIFICATIONS lt a ia E Ae Bee REESEN 34 6 TROUBLESHOOTING 3 de dee EE See ele fete see 35 MCD PROFIBUS Gateway 4 USER MANUAL MCD PROFIBUS GATEWAY Table List ELCANO OEA 11 Table 2 PROFIBUS socket pin assignment oocncccinnccnncccnnocanoncnnnnncnnnnncnnn cnn nc narco 13 Table 3 RS 485 pin assignment NENNEN 15 Table 4 Soft starter Local Remote MOES cccceeeccceeeeneeceseneeeeeseaeeeeeseaaecesaneeeeeseeeeesseaeeeseeeesseneesessensee
31. teway is located at either end of the cable the termination resistors should be provided extemally usually in a PROFIBUS plug with the termination option The gateway providestermination poweron pins 5 and 6 in accordance with the PROFIBUS Specific ation The shield on the PROFIBUS soc ket is galvanically connected to the metal top lid on the enclosure An earthing lug isprovided for earthing the top lid When the PROFIBUS cable plug isin the MCD PROFIBUS Gateway 13 USER MANUAL MCD PROFIBUS GATEWAY socket the shield on the PROFIBUS cable isconnected with the socket shield the top lid and the earthing lug 2 5 2 Gateway configuration The gateway automatically detects the baud rate forthe PROFIBUS network All standard baud ratesare supported as per PROFIBUS Specification up to 12 Mbits s The PROFIBUS node address of the gateway is configured with an 8 way DIP switch that islocated on the front panel of the gateway The address must be set to a value that is not in use by any other device on the PROFIBUS network Valid address range Oto 125 The procedure forsetting the node address of the gateway is as follows Ensure that the device isnot powered up by unplugging the powerconnector Setthe DIP switches to the desired value see figure below Reinsert the power connector Fig 2 shows the location of the DIP switches on the front panel These switches are used to enterthe address with the most sig
32. time between two consecutive readsof the Temperature register of the MCD devicesisten times greater than the time asin the table above The gateway will automatically detect ifa MCD device that was declared offline becomes available again The Table 19 shows the worst case time for detecting such a device assuming that only one device on the network is offline The time isin seconds No of me E E Sei 19 200 Devices bps 1 0 250 o2so 0250 0250 0 250 2 5o00 3000 1900 1300 1100 a 10 000 6000 3800 2600 2200 10 2500 ao 9500 Team 5500 15 asw 22500 1250 o750 820 50 000 30 000 19 000 13 000 11 000 Only the offline device ison the network so no other scanning takes place Table 19 Maximum time to detect retum of an offline device MCD PROFIBUS Gateway 32 USER MANUAL 4 3 Offline slaves MCD PROFIBUS GATEWAY Since up to 23 slaves can share the same RS 485 serial link it is critical that communication dela ys are kept to a minimum Slavesthat are slow to respond slow down the entire serial link It is important that slaves that fail to respond do not hold up the gateway The following scheme is used to handle offline slaves Ifa slave failsto respond to a command it is considered an offline slave and joinsa list of offline slaves intemal to the gateway In each polling cycle all online slavesare polled After5 polling cycles a command issent to one
33. y from the target ortarget rejecting the command 4 Invalid target address Table 13 Command result codes The next four bytes at offsets 2 to 5 cany information about network status of devices on the RS 485 sub network The first byte at offset 2 relatesto addresses 1 8 the second to 9 16 the third to 17 23 and the fourth isunused Fourbytes are always reserved imespective of the number of slaves present When bit BO in byte at offset 2 is set it indicates that the MCD device with address 1 is present and communicating Simila dy bit B1 set indicates slave 2 present A bit setto O meansthat MCD PROFIBUS Gateway 24 USER MANUAL MCD PROFIBUS GATEWAY the corresponding slave is not present or not communicating Bits related to slaves not declared on the network are always set to 0 All data related to a slave status data trip codes current and temperature are valid only if the relevant network status bit is set The four bytes at offsets 6 9 are used forcommandsthat retum data such as Request Status The content of these bytes is the same asthe content of the data part of a reply received from the MCD devices referto the relevant MCD device Operating Instructions for more details Slave modules have 5 read bytes each one block foreach MCD device The structure of each 5 byte block is the same see Table 14 Thistable assumes consecutive placement of modulesin masters memory If your master controller places mo

Download Pdf Manuals

image

Related Search

Related Contents

Guidelines for Integrating DiskOnChip in a Host System  manual de instalación del servidor sierra  Operating Instructions  Manual del usuario  Manual del propietario de 1000-BQ2 - Alto  SENTINEL CONTROLLER USER AND INSTALLATION MANUAL  HDC-7  DMX fog machine User manual - Bax  Casio 3707 MA0410-EA User's Manual  Roteiro 24 – Qualidades fisiológicas do som  

Copyright © All rights reserved.
Failed to retrieve file