Home

Series 90-30 PROFIBUS Slave Module User`s Manual

image

Contents

1. sssssssssssssseeeeneenee 4 4 COMMREQ Programming Requirements and Recommendations 4 5 Error Detection and Handling sseee emen ems 4 5 Corrective Actions for COMMREQ Errors ssssssssseeee 4 5 COMMREQ Status Word sssssssssseseeeeeeeeeeren enne 4 6 PROFIBUS Slave Module COMMREQ Reference rnnvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnrnnnnnnnennnnnenn 4 7 Get Slave Status COMMREQ 3 benedi isi mad toa decise dde EEAS 4 7 Memory Types niai iieri po ceeds ac beta o long ee latet ea Bu lens medtristne 4 7 GFK 2193A Contents Get Slave Status Command Block Basic Example ssssssssssss 4 7 Get Slave Status Reply Data Format sssssssssssseeeeeneeene 4 8 Network Parameter Errors 2 cccccceceeeeeececceceeeeeeececccaeaeceeeeesesecnaeaeeeeeeeeeesensncaeeeeees 4 9 Read Module Header 5 eine eene ean th ke epu tinae kite na eut inna unn 4 10 Read Module Header Command Block Basic Example sssssss 4 10 Read Module Header Reply Data Format for Slave ssssssseeee 4 11 Clear Counters 6 uutgitte 4 12 Clear Counters Command Block Basic Example sssssssssssss 4 12 Clear Counters Reply Data Format sss enm 4 12 vi Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A Chapte
2. GE Intelligent Platforms Programmable Control Products Series 90 30 PROFIBUS Slave Module User s Manual GFK 2193A J anuary 2010 GFL 002 Warnings Cautions and Notes as Used in this Publication Warning notices are used in this publication to emphasize that hazardous voltages currents temperatures or other conditions that could cause personal injury exist in this equipment or may be associated with its use In situations where inattention could cause either personal injury or damage to equipment a Warning notice is used Caution notices are used where equipment might be damaged if care is not taken Note Notes merely call attention to information that is especially significant to understanding and operating the equipment This document is based on information available at the time of its publication While efforts have been made to be accurate the information contained herein does not purport to cover all details or variations in hardware or software nor to provide for every possible contingency in connection with installation operation or maintenance Features may be described herein which are not present in all hardware and software systems GE Intelligent Platforms assumes no obligation of notice to holders of this document with respect to changes subsequently made GE Intelligent Platforms makes no representation or warranty expressed implied or statutory with respect to and assumes no responsibility for the
3. 96l Q G AQ R T or 96M If Type is set to Digital In and the number of bytes Size is odd an address in discrete memory must be used l Q G 96M or T Default For Digital In next available address in l For Analog In next available address in Al Length The length of the reference mapped to the area Allowable ranges For discrete memories in bits 0 8 16 X For register memories in words 0 1 2 X where X is the required length to hold the entire data area The default value is the space required to map bytes specified by the entries in Type and Size Note If an input data area is defined Type and Size are specified but Length is set to 0 data received by the Slave is ignored GFK 2193A Chapter 3 Configuration 3 3 Output Data Area Tab The output data area describes data sent over the network by the Slave module to the PROFIBUS Master These outputs are mapped using the Output Data Area tab from specific memory locations in the PLC where the Slave module resides Settings Input Data Area Output Data Area Power Consumption Area Type Size Units Ref Address Length 1 Digital Out 1 Byte Q00001 8 2 Digital Out 1 Byte Q00009 8 3 Analog Out 1 Word zAQ0001 1 4 Analog Out 1 Word AQ0002 1 5 Empty Byte 300001 6 Empty 7 Byte AF 7 Empty i Byte AF 8 Empty 7 Byte AF 9 Empty i Bi AN 1 Empty 7 Byte AR 1 Empty E An 4 Area Read only ident
4. Attach the PROFIBUS cable and terminate as required For details about installing Series 90 30 rack systems and modules refer to the Series 90 30 Installation Manual and Hardware Manual GFK 0356 2 1 Connecting the Slave to the PROFIBUS Network 2 2 Network Segment Length A PROFIBUS network uses either fiber optic or RS 485 copper media The copper bus line specified in EN 50 170 is Line Type A and is the recommended cable type A more economical copper cable Line Type B is commonly used for smaller installations however it is not specified in EN 50 170 It is extremely important to use cable rated to PROFIBUS specifications The higher the baud rate selected and the longer the distances involved the more critical cable selection becomes PROFIBUS cable has a distinctive purple color Stub or T type branch connections are supported if the total stub branch lengths do not exceed 6 6 meters Do not use stubs at all on 12 Mbaud networks The data rates for network communication with maximum segment trunk length per cable type are provided below Multiple segments may be connected via repeater stations to extend the total bus length Line Types Baud Rate Line A Line B Glass Fiber Distance Max 1 2 Distance Max 1 2 9 6KBps 19 2KBps and 93 75KBps 1200 m 1200 m 6Km 187 5KBps 1000 m 600 m 6Km 500KBps 400 m 200 m 6Km 1 5MBps 200 m NA 6Km 3 6 and 12MBps 100 m NA 6Km If using a
5. GFK 2121 Series 90 30 Installation and Hardware Manual GFK 0356 Series 90 30 20 Micro PLC CPU Instruction Set Reference Manual GFK 0467 Proficy Machine Edition Getting Started GFK 1868 Proficy Machine Edition Logic Developer PLC Getting Started Guide GFK 1918 1 1 1 2 PROFIBUS DP SLAVE SERVICE RS232 PROFIBUS IC693PBS201 PROFIBUS Slave Module Figure 1 1 PROFIBUS Slave Module System SYS and Communications COM LEDs indicators RS232 9 pin male D Shell Connector Used Service Port for module firmware upgrades PROFIBUS 9 pin female D Shell Connector Used for Port connecting to a PROFIBUS network Label on side of module contains catalog number description standard conformance and serial number information Label not shown IC693PBS201 Slave Module Specifications Catalog number IC693PBS201 Description Series 90 30 Slave module for PROFIBUS DP networks Configuration software requirement Requires Proficy Machine Edition Logic Developer version 2 6 or later CPU version requirement Requires CPU firmware version 8 00 or later Mounting location Can reside in any Series 90 30 baseplate CPU expansion or remote slot except for slot 1 of a modular CPU baseplate Environment Storage temperature 40 C to 85 C Operating temperature 0 C to 60 C Backplane current consumption 450 mA at 5VDC typical Data ra
6. Type and Size are specified but Length is set to 0 a value of 0 is sent to the Master for that data area Power Consumption Tab 3 4 The information in this tab is read only It displays the power consumed by the module from the PLC backplane Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A Chapter Status and Diagnostics 4 The following methods can be used to obtain status and diagnostic data m Observing and interpreting the LED indicators on the PROFIBUS module described below m Monitoring the Status Firmware ID Array page 4 2 m Using Communications Request COMMREQ ladder logic instructions to instruct the PROFIBUS module to gather diagnostic or status data and report it to the PLC CPU page 4 3 Note The PROFIBUS Slave Module does not generate faults for the Fault Table PROFIBUS Slave Module LED Indicators SYS LED LED Color Indication IDEEN Indicators SLAVE Red The Slave is not being scanned or is faulted SERVICE RS232 Amber The Slave is being scanned in Stop mode Green The Slave is being scanned in Run mode Flashing Green This LED flashes green for two seconds at system startup Off PROFIBUS Slave is not configured COM LED The PROFIBUS slave does not use the COM LED except when loading firmware This LED is normally off Flashing Green PROFIBUS Slave is not configured Note When loading firmware
7. combination of both line types divide the lengths shown by two Values shown are the sum of all bus segment and drop cable lengths NA Not Applicable Note The two physical ends of the PROFIBUS network should be terminated There should be two and only two terminators on a network Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A PROFIBUS Cable Types The recommended cable is O Belden 3079A PROFIBUS Cable This is a shielded 150 ohm twinaxial single twisted pair cable It has 22 AWG conductors and a mutual capacitance of 9 0 pF per foot nominal For complete specifications on this cable please contact your Belden dealer or visit their website at www belden com Alternate cable types are m Siemens 6XV1 830 OAH10 Two Core shielded m Siemens 6XV1 830 OBH10 w PE Sheath m Siemens 6XV1 830 3AH10 for underground burial m Siemens 6XV1 830 3BH10 trailing cable m Bosch Comnet DP 913 548 Flexible PROFIBUS cable m Bosch Comnet DP 917 201 Trailing PROFIBUS Cable m Bosch Comnet DP 917 202 Massive PROFIBUS Cable Note Allen Bradley blue hose which has an impedance of 78 ohms is not recommended for this application Network Termination GFK 2193A Termination resistors are needed as defined in DIN 19245 Part 1 section 3 1 2 5 Termination Required Segment 1 One terminator must be applied at each end of a network segment Repeater Termination Required Termination Requi
8. this parameter Status Firmware This is the starting address for this two word array Status Firmware ID Address is a consumed ID Address range and as such must be a non overlapping range in AI 961 Q G AQ R T or M Defaults to Al memory The Status word provides information about the status of the PBS201 module to the PLC CPU For more information see Get Slave Status Reply Data Format in chapter 4 The Firmware ID word contains the current firmware version running on the PBS201 The Major Revision number resides in the upper byte and the Minor Revision number resides in the lower byte of this word Tip Use the Communication Request COMMREQ task 3 GetSlaveStatus to retrieve the information that is reported in this memory area This COMMREQ is sent from the CPU of the PLC where the Slave module resides Length Always two words A value of 2 for register memories and 32 for discrete memories Inputs on Loss of Determines what values are used for the data received by the module from the master inputs to Master the Slave module outputs from the master if communication with the master is lost Choices are Hold Last State default Until communication resumes and new values are received each input will have the value that it had when communication was lost Clear Until communication resumes and new values are received each input will have a value of 0 Series 90 30 PROFIBUS Slave Modu
9. type to write response R Word 9 250 00FA Starting Address to write response response written to R251 Word 10 5 0005 Maximum size of response area Must be 2 words or more or an error will be reported in the COMMREQ status and the Get Slave Status request will be ignored Chapter 4 Status and Diagnostics 4 7 Word 7 Command Code Word 7 specifies the Command code for the COMMREQ to be executed Get Slave Status 3 Word 8 Local PLC Memory Type Words 8 9 specify the location in the PLC where the response will be written Valid values for Word 8 are listed on page 4 7 Word 9 Local PLC Memory Starting Address Word 9 determines the starting address in the local PLC in which the response is to be written The value entered is the offset 0 based from the beginning of PLC memory for the memory type and mode specified in Word 8 This offset will be either in bits bytes or words depending on the mode specified for example if Word 8216 and Word 9 2 the starting address will be 92619 Valid ranges of values depend on the PLC s memory ranges Word 10 Response Memory Size Words 10 specifies the size of the memory block for the response Must be at least 2 words Get Slave Status Reply Data Format 4 8 Word Name Description Word 1 Command Code Echo of Command code that this data block is replying to 0x0003 Word 2 Status Code See Word 2 formats in table below Word 3 10 Reserved for Fu
10. 8 86 21 3217 4826 India Indonesia and Pakistan Technical Support Email support cn ip 2ge com China support jp ip ge com Japan support in ip Q9 ge com remaining Asia customers Customer Care Email customercare apo ip ge com customercare cn ip 2ge com China Contents Overview and SpecificatiOnS rrrrvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 1 1 PROFIBUS Information terere innere ne knee nnne E nena o eR mnn Eran ndis 1 1 Related Publications GP 1 1 IC693PBS201 Slave Module Specifications esee 1 2 PROFIBUS Basics DE 1 3 PROFIBUS Network Overview ssssssssssssseseneee eene eene nnne nnne rens n nnns 1 3 Bus COMMUNICATION sec aed A tto me atu RO GAGA dens 1 3 Network Topology 2 ait edt hetere P teme or etae ore er 1 4 Network COHnLFiectors rere er deem eer ien rhe Gre Ee RR dea ture Mare Gater 1 5 Installation iaiia ceases an an aae aa Eaa a aana aaea daa e Aaaa sa NES eaea ARE 2 1 Reviewing System Power Requirements arnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 2 1 Installing the PROFIBUS Module in the PLC Rack eene 2 1 Connecting the Slave to the PROFIBUS Network eee 2 2 Network Segment Length cccccccceececcceceeeeeeceeeeeeaaceeeecaaeeeeseaaeeesecaaeeeeeeaaceeseeaaeeteeeaaeetteses 2 2 PROFIBUS Cable Types e
11. 93A C Clear Counters 6 4 12 COMMREQs Clear Counters 6 4 12 Get Slave Status details 4 7 memory types 4 7 PROFIBUS Master 4 7 Read Module Header 5 4 10 COMMREQs general information 4 3 error detection and handling 4 5 ladder instruction 4 3 operation 4 4 programming recommendations 4 5 status word 4 6 Configuration 3 1 software 1 2 CPU version 1 2 F Features 1 2 G Get Slave Status details 4 7 memory types 4 7 Indicators 4 1 Installation procedures installing bus termination 2 3 installing the module in the rack 2 1 reviewing system power requirements 2 1 L LEDs 4 1 Mounting location 1 2 P Pin out PROFIBUS bus plug connector 1 5 Power consumption 1 2 Power supplies 2 1 PROFIBUS baud rate 2 4 bus communication 1 3 Index network connectors 1 5 network overview 1 3 network topology 1 4 standards 1 1 R Read Module Header 4 10 Reviewing system power requirements 2 1 S Selecting the proper line type 2 2 Specifications 1 2 environment 1 2 power consumption 1 2 Standards PROFIBUS 1 1 Status and diagnostic methods 4 1 Status information 1 2 Status Word codes 4 6 Status firmware ID array 4 2 Index 1
12. OMMREO ladder instruction is activated during the PLC scan At this time a command from the PLC via the Communications Request is sent to the PROFIBUS Master module PBM At the conclusion of every request the PLC CPU reports the status of the request to the Status Word which is a location in PLC memory that is designated by the Status Word Pointer in the Command Block In Figure 4 2 the PBM is shown in the CPU rack and communications occur over the PLC backplane If the PBM is located in an expansion or remote rack the commands and data are sent over the CPU rack s backplane through the expansion or remote cable to the rack containing the PBM and across that rack s backplane to the PBM Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A COMMREQ Programming Requirements and Recommendations m COMMREQ instructions should be enabled by a contact from a transition coil m If using more than one COMMREQ in a ladder program verify that a previous COMMREQ executed successfully before executing another one This can be done by checking the Status Word and the FT Fault output m The FT output is held False if the Enable Input is not active This means that if the COMMREQ is enabled by a transitional one shot contact and a fault occurs the FT output is High for only one PLC scan To capture the fact that a fault occurred you can program the fault output as a Set coil which would not be automatically reset at t
13. S station address to identify each master slave or repeater in the entire network Each participant on the bus must have a unique station address Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2121A Repeater Connecting Segments Remote Repeate Link Segment No Participants Participant Branch Segment Remote Repeater To additional participants Figure 1 2 Repeaters and bus termination Network Connectors PROFIBUS connections are created with a 9 pin sub D connector A minimum connection consists of a shielded twisted pair cable shield to pin 1 and twisted pair wires to pins 3 and 8 with terminating connections in the appropriate bus plugs The pin to signal conventions are described below Pin out Listing for the PROFIBUS Bus Plug Connector Pin No Signal Designation 1 Shield Shield Protective Ground 2 M24 Ground Common of the 24V output voltage 3 RxD TxD P Receive data transmission data plus 4 CNTR P Control signal for repeaters direction control 5 DGND Data transmission potential ground to 5V 6 VP Supply voltage of the terminating resistance 5V 7 P24 Output voltage 24V 8 RxD TxD N Receive data transmission data negative 9 CNTR N Control signal for repeaters direction control Note For information on network segment length network connectors and network termination and networ
14. accuracy completeness sufficiency or usefulness of the information contained herein No warranties of merchantability or fitness for purpose shall apply indicates a trademark of GE Intelligent Platforms Inc and or its affiliates All other trademarks are the property of their respective owners Copyright 2009 GE Intelligent Platforms Inc All Rights Reserved Support Technical Support If you purchased this product through an Authorized Channel Partner please contact them directly General Contact Information Online Technical Support and GlobalCare www ge ip com support Additional information www ge ip com Technical Support If you have technical problems that cannot be resolved with the information in this guide please contact us by telephone or email or on the web at www ge ip com support Americas Online Technical Support www ge ip com support Phone 1 800 433 2682 International Americas Direct Dial 1 434 978 5100 Technical Support Email support ip 2ge com Customer Care Email customercare ip ge com Primary language of support English Europe the Middle East and Africa Online Technical Support www ge ip com support Phone 800 1 433 2682 Technical Support Email support emea ip 2ge com Customer Care Email customercare emea ip ge com Primary languages of support English French German Italian Czech Spanish Asia Pacific Online Technical Support www ge ip com support Phone 86 400 820 820
15. ese a a inanem d nnam nana inea a 2 3 Network Termination 2 cc ccccccceceeeeeeececececeeeeeseceaeaeceeeeeeeseqaaeaaeeeeeeesesgeeneaeeeeeeeeeeseensaees 2 3 Network Baud Rate c ecccccceceeeeeeeeeeeee cee eeee cece eaeaeceeeeeeesqeaeaececeeeeesascanaeeeeeeeeeseesensaees 2 4 Removing the Module from the Rack rrrnnsnnnvnnnnnnnvnnnnnnnnvnnnnnnnvnnnnnnnvnennnnnnvnnnnnnnvnennnnn 2 4 evil LIE 3 1 Adding a PROFIBUS Slave Module to the Hardware Configuration 3 1 Configuring a PROFIBUS Slave Module eene 3 2 Settings Tab dde efe PEU EE ERREUR ER A telat 3 2 Input D t Area Tab mo nada ee el eats sere tee gate tert eth nep et eii 3 3 Output Data Area Tab e eee en a ie Re 3 4 Power Consumption Tab iid e e ete in bt tte ies 3 4 Ernugrx nn sBBEPLDPIid 4 1 PROFIBUS Slave Module LED Indicators rnnnnnnnnnnnnnnvnnnvnnnnnnvnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnenn 4 1 Status Firmware ID Array eese nennen enne nennen nn nnne nennen nennen 4 2 Word 1 Slave Status Word ssssssssssssssseeseee eene eren ennt etn nnne 4 2 Network Parameter Errors sss ennemi n entente 4 2 Communication Requests ecce netter rerit scteet uci dena Ee ESI S FOR ERR RP F e EDEN 4 3 COMMREQ Ladder Instruction sss 4 3 Operation of the Communications Request
16. from master does not match Slave ID Ready Time from Master does not match Slave Ready time 3 Master is requesting Freeze or Sync which is not supported by the slave Length of data from master to slave is incorrect Length of data from slave to master is incorrect One of the watchdog factors SIWVdFact1 or SIWWdFact2 from the master was 0 Slave watchdog time out check response timeout 8 Slave timeout watchdog disabled from master GFK 2193A Chapter 4 Status and Diagnostics 4 9 Read Module Header 5 The Read Module Header command retrieves Network Diagnostic Information for the Device Read Module Header Command Block Basic Example The following command block accomplishes the following Get Module Header Data Return the COMMREQ Status Word to R10 R13 Return the Device Status to R251 R275 Word Dec Hex Definition Word 1 4 0004 Length of command Data Block Word 2 0 0000 Always 0 no wait mode request Word 3 8 0008 Memory type of COMMREQ status word R Word 4 9 0009 COMMREQ status word address minus 1 R10 Word 5 0 0000 Reserved Word 6 0 0000 Reserved Word 7 5 0005 Read Module Header command number Word 8 8 0008 Memory type to write response R Word 9 250 00FA Starting Address to write response response written to R251 Word 10 25 0019 Size of response area 25 for slave Word 7 Command Code Word 7 specifies the Command c
17. he end of a scan Additional logic would then be needed to reset the fault output coil after the fault is acknowledged and before the next execution of the COMMREQ m Programming a device such as a Set Coil on the FT output of the COMMREQ is optional this output may be left open if desired m Itis necessary to initialize the data in the Command Block before executing the COMMREO instruction Since the normal PLC sweep order is from top to bottom initializing the Command Block in an earlier rung or rungs than the rung that contains the COMMREQ will satisfy this requirement Error Detection and Handling GFK 2193A As shown in COMMREQ Status Word a value of 1 is returned to the Status Word if communications proceed normally but if any error condition is detected a value greater than 1 is returned If you require error detection in your ladder program you can use a Greater Than GT compare instruction to determine if the value in the Status Word is negative less than zero If an error occurs the GT instruction s output Q will go high A coil driven by the output can be used to enable fault handling or error reporting logic The FT output of the COMMREQ described on page 4 4 goes high for certain faults and can be used for fault detection also Additionally the first Status Word can be monitored by error message logic for display on an Operator Interface device in which case Status Word codes would correspond to appropriate erro
18. ield devices Note The PROFIBUS logo is a registered trademark of the PROFIBUS International Organization Membership in the organization is open to all individuals companies and organizations More information about the organization and the protocol is available at http www profibus com Bus Communication GFK 2121A The PROFIBUS specification defines the technical characteristics of a serial field bus system that links distributed digital controllers on the network from field level to cell level PROFIBUS is a multi master system that allows the joint operation of several automation engineering or visualization systems with their distributed peripherals on one bus PROFIBUS distinguishes between the following types of devices e Master devices determine the data communication on the bus A master can send messages without an external request when it holds the bus access rights the token Masters are also called active stations e Slave devices include motion controllers drives I O devices valves and transducers Slaves do not have bus access rights and can only acknowledge received messages or send messages to the master when requested to do so Slave devices are passive stations and require only small portions of the bus protocol The majority of PROFIBUS DP applications are located at the field level The field level typically includes slave devices such as the S2K motion controller station and host devices like PLC or PC contro
19. ifier for the row Valid range 1 32 Type Data type of area being defined Valid types are Digital Out Analog Out and Empty The default value is Empty Size Describes the size of the data area on the network Set to 0 and read only if Type is set to Empty Valid ranges If Type is set to Digital Out Byte 0 244 If Type is set to Analog Out Word 0 122 Note The total number of output bytes for all entries cannot exceed 244 Units This read only field gives the units for the Type specified If Type is set to Empty or Digital Out Byte If Type is set to Analog Out Word Ref Location in PLC memory where the data to be sent is mapped This field is read only if Size is set to 0 Address This is a produced range and can be any range in Al l Q G AQ R T or 96M If Type is Digital Out and the number of bytes Size is odd an address in discrete memory must be used l Q G 96M or 96 T Overlaps with another produced range are not considered fatal and can be included in a valid configuration Default For Digital Out next available address in Q For Analog Out next available address in AQ Length The length of the reference mapped to the area Allowable ranges For discrete memories 0 8 16 X For register memories 0 1 2 X where X is the required length to hold the entire data area The default value is the space required to map bytes specified by the entries in Type and Size Note If an output data area is defined
20. k baud rate refer to Chapter 2 Installation Chapter 1 Overview and Specifications 1 5 Chapter 2 Installation This chapter contains information on the following procedures Reviewing system power requirements Installing the PROFIBUS module in the PLC rack Installing PROFIBUS wiring Connecting the Slave to the PROFIBUS network O Selecting the proper line type o PROFIBUS cable types o Installing bus termination Reviewing System Power Requirements Review the power requirements of your system to ensure that your power supply has sufficient capacity to support the PROFIBUS Slave module Power supply load is automatically calculated by the CIMPLICITY Machine Edition configuration software Details on manually calculating power supply load can be found in the Series 90 30 Installation and Hardware Manual GFK 0356 Note High capacity Series 90 30 power supplies IC693PWR330 or IC693PWR331 are recommended particularly for systems with CPU350 or higher or that have Ethernet adapters and or multiple PROFIBUS modules The Series 90 30 PROFIBUS Slave module consumes 450mA at 5VDC typical Installing the PROFIBUS Module in the PLC Rack GFK 2193A Note Remove power from Series 90 30 rack Turn off power to rack Place the module into slot 1 or higher in the rack slot 2 or higher in the Main rack by hooking the top of the module on the notch above the slot and slowly lowering the module until it snaps into place
21. l systems for the PROFIBUS DP master station Operator interfaces and DCS type systems usually operate at the cell level Chapter 1 Overview and Specifications 1 3 Data bandwidth Demands on PROFIBUS Communications Systems Amount of Data Transmission Transmission Duration Frequency Management level Mbytes Hours Minutes Day Shift Cell level Kbytes Seconds Hours Minutes Field Level Bytes Several 100 10 to 100 milliseconds microseconds to 100 milliseconds Actuator sensor level Bits Microseconds to Milliseconds milliseconds Network Topology A PROFIBUS DP network may have up to 127 stations address 0 126 however address 126 is reserved for commissioning purposes The bus system must be sub divided into individual segments to handle this many participants These segments are linked by repeaters The function of a repeater is to condition the serial signal to allow connection of segments In practice both regenerating and non regenerating repeaters may be used Regenerating repeaters actually condition the signal to allow increased range of the bus Up to 32 stations are allowed per segment and the repeater counts as a station address 1 4 A specialized link segment consisting only of optical fiber modem repeaters may be used to span long distances Plastic fiber optic segments are typically 50 meters or less while glass fiber optic segments may extend several kilometers The user assigns a unique PROFIBU
22. le User s Manual August 2004 GFK 2193A Input Data Area Tab The input data area describes data received over the network by the Slave module from the PROFIBUS Master These inputs are mapped using the Input Data Area tab into specific memory locations in the PLC where the Slave module resides Settings Input Data Area Output Data Area Power Consumption Ref Address Length Digital In yte 2100081 Digital In byte 100089 Analog In AI0001 Analog In AI0005 Empty Empty Empty Empty Empty Empty Empty PROFIBUS Slave Module s Input Data Area Parameters Area A read only identifier for the row Valid range 1 to 32 Type Data type of area being defined Valid types are Digital In Analog In and Empty The default value is Empty Size Describes the size of the data area on the network Set to 0 and read only if Type is set to Empty Valid ranges If Type is set to Analog In Word 1 122 If Type is set to Digital In Byte 1 244 Notes The total number of input bytes for all entries cannot exceed 244 A value of 0 sets Type to Empty Units This read only field gives the units for the Type specified If Type is set to Empty or Digital In Byte If Type is set to Analog In Word Ref Location in PLC memory where the received data is mapped This field is read only if Size is set to O This Address isa consumed range and must be a non overlapping range in AI
23. lready appears in the rack right click the module and select Configure The module s Parameter Editor window opens Click the Communications tab The Communications module list appears Select the IC693PBS201 PROFIBUS Slave and click the OK button The module is added to the PLC configuration in the Navigator window and the module s Parameter Editor window appears in the InfoViewer window space GFK 2193A 3 4 3 2 Configuring a PROFIBUS Slave Module The PROFIBUS Slave module has four Parameters tabs Settings Input Data Area Output Data Area and Power Consumption Settings Tab Settings Input Data Area Output Data Area Power Consumption Parameters Station 1 Baud Rate 1 5 MBps Status Firmware ID Address A10001 Inputs on Loss of Master Hold Last State Station The Slave module s station number that is used on the PROFIBUS network Can be in the range from 1 to 125 Each module on a network should be given a unique station number Default is 1 Note that the Master is commonly assigned to Station O zero Baud Rate Specifies the data transmission rate for the PROFIBUS Slave module in bits second bps Values 9 6Kbps 19 2KBps 93 75KBps 187 5KBps 500KBps 1 5MBps 3MBps 6Mbps 12MBps Default 1 5MBps Note The Horner PROFIBUS Slave module HE693PBS105 does not have this setting If you are converting from a Horner module to a Series 90 30 IC693PBS201 PROFIBUS Slave module you will need to set
24. me Description 1 State The state of the current COMMREQ request See Status Word State Codes below 2 LostCommand Command code of the last command lost when the CRL bit is set in Flags 3 ErrorCode Not Used 4 AdditionalCode Additional code for error reporting Status Word State Codes Value Description 0 Module has not yet processed the COMMREQ 1 Command Complete Note This status does not necessarily mean success Some commands have reply data that must also be checked 2 Command Terminated module busy 3 Command Terminated invalid command 4 Command Terminated invalid command data 5 Command Terminated not enough data 6 Command Terminated command collision An identical command which has already reported completion is currently being processed and has not replied yet 7 Command Terminated not enough memory in reply area The command did not specify sufficient PLC memory for the reply Command will be ignored 8 Command Terminated command specific error See ErrorCode and AdditionalCode in the Status Block for more information 9 255 Reserved Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A PROFIBUS Slave Module COMMREOQ Reference The PROFIBUS Slave module supports the following COMMREQ tasks and responses Get Slave Status COMMREQ 3 Memory Types Task Name 3 Get Slave Status 5 Read Module Header Retrieves module header information 4 10 6 Clear Coun
25. ode for the COMMREQ to be executed Read Module Header 5 Word 8 Local PLC Memory Type Words 8 9 specify the location in the PLC where the response will be written Valid values for Word 8 are listed below Value Type Dec Hex Description R 8 0008 Register memory word mode AI 10 000A Analog input memory word mode AQ 12 000C Analog output memory word mode l 16 0010 Discrete input memory byte mode Q 118 0012 Discrete output memory byte mode T 20 0014 Discrete temporary memory byte mode M 22 0016 Discrete momentary internal memory byte mode Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A Word 9 Local PLC Memory Starting Address Word 9 determines the starting address in the local PLC in which the response is to be written The value entered is the offset 0 based from the beginning of PLC memory for the memory type and mode specified in Word 8 This offset will be either in bits bytes or words depending on the mode specified for example if Word 8216 and Word 9 2 the starting address will be 92619 Valid ranges of values depend on the PLC s memory ranges Word 10 Response Memory Size Word 10 specifies the size of the memory block for the response The Response Memory Size is 25 words If the Response Memory Size is set smaller than 25 the COMMREQ will fail with a 7 in the COMMREQ Status Word The user is res
26. of SYSIDs SYSID Examples Rack Slot Word Value 0 4 0004 3 4 0304 2 9 0209 TASK Must be set to 1 Chapter 4 Status and Diagnostics 4 3 FT Output The function s FT fault output can provide an output to optional logic that can verify successful completion of the Communications Request The FT output can have these states FT Output Truth Table Enable Input Status Does an Error Exist FT output Active No Low Active Yes High Not active No execution Low m The FT output is set High if The specified target address is not present for example specifying Rack 1 when the system only uses Rack 0 The specified task number is not valid for the device Data length is set to 0 m The FT output can either be connected to another device such as a set coil or can be left open Operation of the Communications Request 4 4 The figure below illustrates the flow of information between the PLC CPU and the PROFIBUS Slave module PROFIBUS Slave PLC CPU Module PLC Backplane Ladder program COMMREQ Firmware PROFIBUS instructions network to Master On board memory CPU memory e Data e Status word Css bits r 1 i 1 1 1 1 i Requested data 1 1 1 1 i 1 I i Figure 4 2 Operation of the PROFIBUS Communications Request A Communications Request is initiated when a C
27. ons such as MOVE or BLKMOV Block Move The CPU reports the result of the COMMREQ in the status word which is a single location in PLC data memory The status word address is specified in the command block For a list of status codes reported in the status word see COMMREQ Status Word on page 4 6 The PROFIBUS slave module supports one COMMREQ described on page 4 7 COMMREQ Ladder Instruction GFK 2193A This discussion provides an overview of the COMMREQ instruction For details of the COMMREO ladder instruction refer to the online help provided with the Enable Input programming software The command Block Pointer Fault Output Communications Request begins when Rack Slot Location the COMMREQ Ladder Instruction is activated The COMMREQ ladder Task instruction has four inputs and one output Figure 4 1 COMMREQ Ladder Instruction Enable Input Must be Logic 1 to enable the COMMREO Instruction It is recommended that the enabling logic be a contact from a transition one shot coil IN The memory location of the first word of the Command Block It can be any valid address in word type memory R AI or AQ For example R00100 at IN would indicate that the starting address of the Command Block is R00100 SYSID The rack and slot location of the module that the COMMREOQ is targeting The high byte contains the rack number and the low byte contains the slot number The table below shows some examples
28. ponsible for assuring that this area is large enough to contain the requested data without overwriting other application data Read Module Header Reply Data Format for Slave GFK 2193A word meme Deed Word 1 Command Code Echo of the Command Code that this data block is replying to 0x0005 Word 2 ModuleType Contains 1 if the module is a Slave and a 2 if the module is a Master Word 3 PfbStatus PROFIBUS Status register also can be read using the Get Device Status COMMREQ For definitions see page 4 8 Word 4 ModuleVersion Module firmware version 0122h 1 22 DEE Words Word Words Words Word WoT Words Word Woe Wod i Woe Wod ia Wod is Word Wo Word is Word Word od Wodz Note If the Name starts with Err the value stops at the maximum If the Name starts with Diag the count rolls over to zero Chapter 4 Status and Diagnostics 4 11 Clear Counters 6 The Clear Counters Command sets the counters in the PROFIBUS module to zero Clear Counters Command Block Basic Example In the following command block Status is returned in R251 R252 words 8 and 9 Word 7 Command Code Word 7 specifies the Command code for the COMMREQ to be executed Clear Counters 6 Word 8 Local PLC Memory Type Words 8 9 specify the location in the PLC where the response will be written Valid values for Word 8 are listed below Value Type Dec Hex Description R 8 0008 Regis
29. r l Overview and Specifications This manual provides instructions for installing programming and troubleshooting control systems that use the Series 90 30 PROFIBUS slave module IC693PBS201 It is assumed that you have a basic understanding of Series 90 30 PLCs and are familiar with PROFIBUS DP protocol The Series 90 30 PROFIBUS Slave module enables a Series 90 30 CPU to be a slave on a PROFIBUS DP network and to communicate with a PROFIBUS DP master It operates as a slave on the network automatically exchanging data with a master device The slave module has no bus access rights It can only acknowledge received messages or transmit messages to a master upon request Its features include m ability to read up to 244 bytes of input data from the network and send up to 244 bytes of output data m support for all standard PROFIBUS data rates m PROFIBUS compliant Module and Network Status LEDs m anRS 232 serial port the Service port for upgrading the firmware PROFIBUS Information Please refer to the following sources for PROFIBUS information m PROFIBUS standard DIN 19245 parts 1 low level protocol and electrical characteristics and 3 DP protocol m European standard EN 50170 m ET 200 Distributed I O system 6ES5 998 3ES22 m IEEE 518 Guide for the Installation of Electrical Equipment to Minimize Electrical Noise Input to Controllers Related Publications GFK 2121A Series 90 30 PROFIBUS Master Module User s Manual
30. r messages that would display on the operator screen To dynamically check the Status Word write a non significant positive number 0 or 99 are typically used into the Status Word each time before its associated COMMREQ is executed If the instruction executes successfully the CPU will write the number 1 there This method lets you know that if the number 1 is present the last COMMREQ executed successfully and that the 1 was not just left over from a previous execution When multiple COMMREQs are used it is recommended that each be verified for successful communications before the next is enabled Monitoring the Status Word is one way to accomplish this Corrective Actions for COMMREQ Errors The type of corrective action to take depends upon the application If an error occurs during the startup or debugging stage of ladder development you should verify the COMMREQ parameters The same is true if an error occurs right after a program is modified But if an error occurs in a proven application that has been running successfully the problem is more likely to be hardware related The PLC fault tables should be checked for possible additional information when troubleshooting Status Word errors Chapter 4 Status and Diagnostics 4 5 4 6 COMMREQ Status Word The following table defines the format of the Status Block used during the COMMREQ handshake Status Word Format Word Na
31. red Segment 1 Segment 2 Generally termination is provided in commercially available PROFIBUS standard network connectors Some connector vendors provide termination capability in the connector and a switch on the connector to enable disable termination Some connector vendors provide both terminated and unterminated connectors Chapter 2 Installation 2 3 Note For proper network termination it is essential that the terminating devices maintain power Power is provided by the device on Pin 6 and Ground on Pin 5 If power is lost to either terminating device the network may not operate correctly Generally the lone network master device is one of the terminating devices Therefore a loss of power to the network master renders the network inoperable anyway The other terminating device may be a critical slave device which must maintain power or a separately powered stand alone terminator These stand alone devices are commercially available VP 6 Ru 390 Ohms RxD TxD P 3 Rt 220 Ohms RxD TxD N 8 Rd 390 Ohms DGND 5 Figure 2 1 Bus Termination for Type A Cable in Accordance to PROFIBUS Specifications In addition to the termination shown above the following compensation should be added for 12 Mbit bus technology a To from To from another another node node Network Baud Rate The master configures the appropriate network baud rate for each station on the network Typical baud rate values are 9 6KBp
32. s 19 2KBps 45 45KBps 93 75KBps 187 5KBps 500KBps 1 5MBps 3MBps 6MBps or 12MBps For details on using the configuration software refer to chapter 3 Removing the Module from the Rack 2 4 The following procedure describes how to remove the GE Series 90 30 master 1 Turn off power to rack 2 Remove all cabling from the module 3 Press the release latch located on the bottom of the module and slowly raise the module from the bottom until it comes out of the slot Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A Chapter Configuration 3 These configuration procedures are intended for users with at least a basic knowledge of the CIMPLICITY Machine Edition Logic Developer software and the Series 90 30 PLC For help with using the software please see the software s built in help system Note The PROFIBUS Slave is supported only in Machine Edition Logic Developer PLC Adding a PROFIBUS Slave Module to the Hardware Configuration Add the IC693PBS201 module to the PLC rack configuration 1 In the E7 Project tab of the Navigator expand the lit Hardware Configuration folder 2 Inthe Hardware Configuration folder right click the PLC Slot where you wish to install the PROFIBUS Slave module Note that a PROFIBUS module is not a valid choice for slot 1 of a modular CPU rack 3 Select Add Module from the shortcut menu The Module Catalog dialog box appears Note To edit a module that a
33. ter memory word mode AI 10 000A Analog input memory word mode AQ 12 000C Analog output memory word mode l 16 0010 Discrete input memory byte mode Q 18 0012 Discrete output memory byte mode T 20 0014 Discrete temporary memory byte mode M 22 0016 Discrete momentary internal memory byte mode Word 9 Local PLC Memory Starting Address Word 9 determines the starting address in the local PLC in which the response is to be written The value entered is the offset 0 based from the beginning of PLC memory for the memory type and mode specified in Word 8 This offset will be either in bits bytes or words depending on the mode specified for example if Word 8216 and Word 9 2 the starting address will be 92619 Valid ranges of values depend on the PLC s memory ranges Word 10 Response Memory Size Words 10 specifies the size of the memory block for the response The Response Memory Size is 2 words If the Response Memory Size word 10 in the Clear Counters command block is set greater than 2 the COMMREQ will succeed The unneeded memory locations are not written Clear Counters Reply Data Format Word Name Description Word 1 CommandCode Echo of Command code that this data block is replying to 0x0006 Word 2 StatusCode Reports 1 for success and 0 for failure Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A GFK 21
34. ters Description Page No Retrieves detailed status information for the Slave 4 7 Clears counters in ReadModuleHeader 4 12 The Get Slave Status COMMREQ retrieves detailed status information for the slave module from the 16 bit slave status word The starting address of this word is configured as Status Firmware ID Address in the PROFIBUS Slave module software configuration For details refer to Parameters in chapter 3 The following table lists the memory types that can be used for the Status Block and Reply Data areas COMMREQ Status Word Memory Type Codes pe Memory Type Gode Fa l Discrete input table BYTE mode 16 LQ Discrete output table BYTE mode 18 R Register memory 8 KAI Analog input table 10 HAQ Analog output table 12 T Discrete temporary memory BYTE 20 M Discrete internal memory BYTE 22 Get Slave Status Command Block Basic Example Get Slave status for Device Return the COMMREQ status words to WR 10 R13 Return the Slave status to R251 R259 GFK 2193A Word Dec Hex Definition Word 1 4 0004 Length of command Data Block Word 2 0 0000 Always 0 no wait mode request Word 3 8 0008 Memory type of COMMREQ status word R Word 4 9 0009 COMMREQ status word address minus 1 R10 Word 5 0 0000 Reserved Word 6 0 0000 Reserved Word 7 3 0003 Get Module Status command code Word 8 8 0008 Memory
35. tes Supports all standard Data Rates 9 6KBps 19 2KBps 93 75KBps 187 5KBps 500KBps 1 5Mbps 3MBps 6MBps and 12MBps Status information Slave Status Word Firmware module revision Note The PROFIBUS Slave module does not support Sync and Freeze modes Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2121A PROFIBUS Basics PROFIBUS Network Overview e PROFIBUS is an open vendor independent FieldBus standard for a wide range of applications in industrial automation including motion control e PROFIBUS is a dynamic technology that grows functionally while complying with the European FieldBus Standard EN 50 170 e PROFIBUS Guidelines and Profiles provide the means for further technical development based on the ever changing communication requirements of the networks systems and devices used in today s industrial automation applications PROFIBUS specifications reference three different protocols to cover a range of industrial requirements e PROFIBUS DP High speed data communication DP stands for Decentralized Periphery In practice the majority of slave applications are DP applications e PROFIBUS FMS Object oriented general purpose data communication FMS stands for FieldBus Message Specification FMS protocol devices may exchange data on the same bus used for DP devices e PROFIBUS PA Meets requirements for intrinsic safety and non intrinsic safety areas and includes bus powered f
36. the bit 0 6 0 Error Info See Network Parameter Errors Network Parameter Errors The following errors codes may be returned in bits O 6 in the Slave Status word Note The error code is the numerical value of the bits Error Meaning Code 0 No error ID from master does not match Slave ID Ready Time from Master does not match Slave Ready time 3 Master is requesting Freeze or Sync which is not supported by the slave Length of data from master to slave is incorrect Length of data from slave to master is incorrect One of the watchdog factors SIWdFact1 or SIWWdFact2 from the master was 0 Slave watchdog time out check response timeout 8 Slave timeout watchdog disabled from master 4 2 Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A Communication Requests The Communications Request uses the parameters of the COMMREQ Ladder Instruction and an associated Command Block to define the characteristics of the request An associated Status Word reports the results of each request The Communication Request function COMMREQ allows the program to communicate with a GE intelligent module such as a PROFIBUS slave module The COMMREQ function uses a command block that contains the data to be communicated to the other device plus information related to the execution of the COMMREQ The command block must be placed in the designated memory area using data move instructi
37. the module is placed in the System Configuration mode When in this mode the COM and SYS LEDs flash red alternately GFK 2193A 4 1 Status Firmware ID Array The starting reference address for this two word array is set in the PROFIBUS Slave software configuration For details see Parameters in chapter 3 Word Name Description 1 Slave Status This word contains the slave status code The status can be read using the Get Slave Status COMMREQ task 3 described on page 4 7 Firmware ID Current firmware version running on the Slave module The Major Revision number resides in the upper byte and the Minor Revision number resides in the lower byte of this word Word 1 Slave Status Word Bits Meaning Value 15 12 Baud Rate 0 12MBps 1 6MBps 2 3MBps 3 1 5MBps 4 500KBps bps 5 187 5KBps 6 93 75Bps 8 19 2KBps 9 9 6KBps 11 10 Module State 0 Module is waiting for parameters from Master 1 Module is waiting for configuration from Master 2 Data Exchange is occurring normal operation 3 Error either configuration error or module watchdog timeout 9 On line 1 Online module firmware is running 0 Offline 8 PLC Cfg 0 Module configuration from PLC CPU is bad 1 Module configuration from PLC CPU is good 7 Run Stop 0 Stop 1 Run This is the state of the PROFIBUS module it is not the status of the PLC CPU If the SYS LED is Green the bit 1 if the SYS LED is Red or Amber
38. ture Word 10 of the command block should specify a Use minimum of 5 words to accommodate possible future use of this space Note Thereply from Get Slave Status contains the same information that is provided to the PLC CPU in the Status Firmware ID Address This parameter is defined when the module is configured in the PLC hardware configuration Word 2 Status Code Bit Meaning Value 15 12 Baud Rate bps 0 12MBps 1 6MBps 2 3MBps 3 1 5MBps 4 500KBps 5 187 5KBps 6 93 75Bps 8 19 2KBps 9 9 6KBps 11 10 Module State 0 Module is waiting for parameters from Master 1 Module is waiting for config from Master 2 Data Exchange is occurring normal operation 3 Error either config error or module watchdog timeout On line 1 Online module firmware is running 0 Offline PLC Cfg 0 Module config from PLC CPU is bad 1 Module config from PLC CPU is good Run Stop 0 Stop 1 Run This is the State of the PROFIBUS Module it is not the status of the PLC CPU If the SYS LED is Green the bit 1 if the SYS LED is Red or Amber the bit 0 Error Info See Network Parameter Errors Series 90 30 PROFIBUS Slave Module User s Manual August 2004 GFK 2193A Network Parameter Errors The following errors codes may be returned in bits 0 6 in the Get Slave Status reply Note The error code is the numerical value of the bits Error Meaning Code 0 No error ID

Download Pdf Manuals

image

Related Search

Related Contents

EscudoWeb.com - Manual de usuario  MANUAL DE INSTRUÇÕES DJ-200  Règles de certification NF 089 version Française 08-2009  le mode d`emploi des tests du CADET.  POSIFLEX Business Machines MP  User`s Manual - InvertersRus  Tripp Lite NB1150BKTAB User's Manual  Triarch 75250/14 User's Manual  Datasheet  Using Linux with USB 3.0 1.1. Subject 1.2. Applicable  

Copyright © All rights reserved.
Failed to retrieve file