background image

i

         50 Northland Road

       Waterloo, Ontario, CANADA

     N2V 1N3

   Tel: (519) 725-5136   Fax: (519) 725-1515

www.sstech.on.ca

SST-PFB-SLC
User’s Guide

Version 2.04

Summary of Contents for SST-PFB-SLC

Page 1: ...i 50 Northland Road Waterloo Ontario CANADA N2V 1N3 Tel 519 725 5136 Fax 519 725 1515 www sstech on ca SST PFB SLC User s Guide Version 2 04...

Page 2: ...of Siemens AG PLC SLC and APS are registered trademarks of Allen Bradley RS Logix 500 and PLC 500 Ladder Logistics are trademarks of Rockwell Software All other trade names referenced are trademarks...

Page 3: ...ns used in this manual 3 1 3 1 Special Notation 3 1 4 Warranty 4 1 5 Technical Support 5 1 5 1 Before you call for help 5 1 5 2 Getting help 5 Overview 7 2 1 System Overview 8 2 2 Hardware Features 10...

Page 4: ...ster Configuration and Programming 27 5 1 Configuring the Scanner 28 5 1 1 APS 28 5 1 2 PLC 500 Ladder Logistics 29 5 1 3 RS Logix 500 30 5 2 Creating an I O Configuration in the SST ProfiBus Configur...

Page 5: ...n 56 7 4 Disabling DP Slave Operation 56 7 5 Using the Module Only as a DP Slave 56 7 5 1 Local Station 57 7 5 2 Active Passive 57 7 5 3 Baud Rate 57 7 5 4 Other Network Options 57 7 5 5 Displaying Ne...

Page 6: ...Error Register 88 9 9 Diagnostic Counters 89 9 9 1 General Statistics 91 9 9 2 DP Master Statistics 91 9 9 3 DP Slave Statistics 92 9 9 4 ASPC2 PROFIBUS Controller Statistics 92 9 10 Summary of Diagno...

Page 7: ...Contents vii Technical Data 105 Index 107 A...

Page 8: ...SST PFB SLC User s Guide viii...

Page 9: ...vision Notes and Exceptions This chapter describes the purpose of this manual related documentation style conventions used in this manual warranty and technical support information As of Publication D...

Page 10: ...e Electrical Noise Input to Controllers For Read this Document A B Document Number An overview of SLC products SLC 500 System Overview 1747 2 30 A description of how to install and use the SLC 500 PLC...

Page 11: ...CAPS 1 3 1 Special Notation The following special notations are used throughout the manual Warning messages alert the reader to situations where personal injury may result Warnings are accompanied by...

Page 12: ...r replace at our option all products returned freight prepaid which prove upon examination to be within the Warranty definitions and time period The Warranty does not cover costs of installation remov...

Page 13: ...problem application module type and version target network circumstances that caused the problem 1 5 2 Getting help For questions or problems that the manual does not address contact Profibus Technic...

Page 14: ...SST PFB SLC User s Guide 6...

Page 15: ...7 2 Overview This chapter describes the following system overview how the scanner interacts with the SLC processor how the scanner interacts with ProfiBus DP I O modules...

Page 16: ...2M You configure the I O on the DP network using either the SST ProfiBus Configuration Tool or Siemens COM PROFIBUS configuration software The SST configuration tool exports the configuration to a bss...

Page 17: ...er DP master on the same network It supports up to 122 words of input data and 122 words of output data as a slave Up to 32 words of data can be configured to be in the input and output files With the...

Page 18: ...Description status LEDs display the communication and system status front label identifies the scanner 9 pin ProfiBus connector for connection to the ProfiBus network self locking tabs secure the sca...

Page 19: ...munication status Refer to section 4 3 Status LEDs in this manual for more detailed information 2 2 2 9 pin ProfiBus connector The 9 pin ProfiBus connector connects the scanner to the ProfiBus network...

Page 20: ...SST PFB SLC User s Guide 12...

Page 21: ...le system power up procedures Note The procedures in this chapter are written with the assumption that the user has a basic understanding of process control and is able to interpret the ladder logic i...

Page 22: ...o the ProfiBus network 3 2 Package Contents Unpack the module Make sure that the contents include ProfiBus scanner this manual serial null modem cable for uploading I O configurations CD with files fo...

Page 23: ...acement of the scanner module For modular systems calculate the total load on the system power supply using the procedure described in the SLC 500 Modular Style Installation Operation Manual Allen Bra...

Page 24: ...e prompt Refer to section 5 1 Configuring the Scanner in this manual for more detailed information 4 Set the M0 and M1 file sizes to 4200 If you are using fewer than 32 input words or 32 output words...

Page 25: ...rate 5 Configure the slave parameters for each slave set the slave station number the slave module type and assign I O addresses to the slave 6 Save the file then export the configuration to a binary...

Page 26: ...ansfer in the communication software to upload the binary file 10 Use the exit command to leave configuration mode when the file has been successfully transferred 11 Put the SLC in run mode The module...

Page 27: ...tallation and Wiring This chapter contains the information necessary to install the module insert the module in the SLC chassis connect the module to the network power up the module understand the mod...

Page 28: ...anner Module This illustration identifies the chassis and module components described in the procedures in this chapter Warning Disconnect system power before attempting to install remove or wire the...

Page 29: ...Bus cable Turn on termination as required Is this station at one of the two physical ends of the network 5 Route the cable down and away from the scanner 6 Cover all unused slots with the card slot fi...

Page 30: ...erved 3 data connect this pin to pin 8 data with 220 ohm resistor 4 TX Enable 5 Isolated ground connect this pin to pin 8 data with 390 ohm resistor 6 Isolated 5V connect this pin to pin 3 data with 3...

Page 31: ...201 Trailing ProfiBus Cable Bosch Comnet DP 917 202 Massive ProfiBus Cable Allen Bradley blue hose which has an impedance of 78 ohms is not recommended 4 2 2 Serial Port Wiring Before scanning I O us...

Page 32: ...y The master status is flashed first followed by the slave status If you are using the scanner for FDL the sequence is DP Master DP slave FDL messages and FDL SAPs The following table provides a descr...

Page 33: ...ork The following table provides a description of the status of the LEDs If you are using the scanner as a passive DP slave only this LED will normally be off Color Indication Red a network error has...

Page 34: ...SST PFB SLC User s Guide 26...

Page 35: ...s chapter describes configuring the scanner in APS creating an I O configuration in the SST ProfiBus Configuration Tool or Siemens COM PROFIBUS assigning I O addresses to the slaves uploading the I O...

Page 36: ...d enter the scanner ID 13635 6 Select SPIO Config press F9 You do not have to set the G file size 7 Select Advanced Setup 8 Set the M0 and M1 file sizes to 4200 9 If you are using less than 32 input w...

Page 37: ...er ID code 13635 6 Select spioCfg 7 Press F1 M0 length and set the M0 file size to 4200 8 Press F2 M1 length and set the M1 file size to 4200 9 If you are using fewer than 32 input words or 32 output...

Page 38: ...s and enter the scanner ID code 13635 7 Highlight the scanner and click on the Adv Config button 8 Set the M0 length and M1 length to 4200 9 If you are using fewer than 32 input words or 32 output wor...

Page 39: ...se View Library to open it This frame appears by default on the upper left side of the window 4 If the On line Browse frame is closed choose View On line to open it This frame appears by default at th...

Page 40: ...ed slave 9 Set the station address of the slave in the General tab 10 If your device is a modular device you have to insert the modules your slave device uses Select the Modules tab of the dialog box...

Page 41: ...eters and includes them in the binary file To use the SST PFB SLC with COM PROFIBUS install the update files for the SST PFB SLC in the appropriate COM PROFIBUS directories To install the files run th...

Page 42: ...SST PFB SLC have not been installed set the master station type to be IM 308 C and set the host type to S5 115U CPU 944A or S5 115U CPU 944B 4 Select Configure Bus parameters Set the baud rate for the...

Page 43: ...I O data for the module appears in the SLC memory Addresses in the P range appear in the I and O areas of the SLC Addresses P0 to P63 map to I0 31 for inputs and O0 31 for outputs Addresses in the Q r...

Page 44: ...ddress is even the module occupies the low byte of the register If the address is odd it occupies the high byte Whenever possible assign addresses so that everything maps into the I and O areas of mem...

Page 45: ...Kbaud with no parity 8 data bits 1 stop bit The scanner automatically detects the baud rate you are using When configuring the scanner the SLC must be in program mode Type an asterisk to get the scan...

Page 46: ...eration Refer to section 7 for information on how to use the scanner as a DP slave ShowNet Displays network parameters ShowMas Displays the DP master configuration ShowSlv Displays the DP slave config...

Page 47: ...d with your communication software for more detailed information You can also upload a DP master configuration file 2bf using the Rec2bfXmodem command When you upload a configuration file to the scann...

Page 48: ...ADR 04h STS_BAD_HI_STN_ADR 05h STS_BAD_TOK_ROT 06h STS_BAD_SLOT_TME 07h STS_BAD_IDLE_1 08h STS_BAD_IDLE_2 09h STS_BAD_RDY_TME 0ah STS_BAD_QUI_TME 0bh STS_BAD_GAP_UPD 0ch STS_BAD_TOK_RETRY 0dh STS_BAD_...

Page 49: ...s from the SST ProfiBus Configuration Tool 5 4 3 Flash Programming Errors The following errors may occur when programming flash memory 5 4 4 COM PROFIBUS Address Assignment Errors 30h STS_CFG_NO_CONFI...

Page 50: ...put online The scanner turns off both LEDs when it is no longer in config mode If there have been changes to the configuration the scanner asks you whether you want to store those changes in flash bef...

Page 51: ...ts are off When the SLC is in run mode the scanner updates inputs and outputs SLC Fault Codes The scanner may fault the SLC with one of the following error codes x is the slot number of the slot occup...

Page 52: ...the SLC Processor If the SST PFB SLC does not get an update of I O from the SLC processor with the 100 ms period the scanner faults The period of the watchdog timer may be set to a different value by...

Page 53: ...45 6 DP Master Application Examples...

Page 54: ...canner is in slot 2 Module Address in COM PROFIBUS Address in SLC 32DO P0 O 2 0 O 2 1 8DO DI out P4 O 2 2 low byte in P4 I 2 2 low byte 32DI P0 I 2 0 I 2 1 8DO 24DI out P6 O 2 3 low byte in P6 I 2 3 I...

Page 55: ...ernal SLC file to set up the Ignore Slave Status table see section 9 3 and copy it to the scanner on the first scan use a delay at startup to allow slaves to come online before you configure the modul...

Page 56: ...SST PFB SLC User s Guide 48 Sample Program...

Page 57: ...DP Master Application Examples 49 Sample continued...

Page 58: ...es The result is that all four blocks are accessed within the 320 ms combined period of the two timers 6 6 Example Using Flex I O When you configure the Flex I O using COM PROFIBUS always configure 18...

Page 59: ...rd out 1794 IB8S 1 word in 1 word out 1794 IA8 1 word in 1 word out 1794 OA8 000 1 word out 1794 OW8 000 1 word out 1794 IE8 9 words in 1 word out 1794 OE4 1 word in 6 words out 1794 IEX4OE2 5 words i...

Page 60: ...k The input data for the 1794 IB16 maps into I 2 0 to I 2 15 The output data for the 1794 OB16 module maps into O 2 16 to O 2 31 Module Slot Assigned type I Addr O Addr pre assigned 0 1AI Q0 pre assig...

Page 61: ...53 7 Using the Scanner Module as a DP Slave This chapter describes how to use the scanner module as a DP slave...

Page 62: ...le but the more DP slave data you put in the input file the less input data you can scan with the module acting as a DP master DP slave received data in the M1 file always starts at offset 1000 To set...

Page 63: ...e the less output data you can scan with the module acting as a DP master Transmit data in the M0 file always starts at offset 1000 To set the transmit data length and location use the SlvTxLen comman...

Page 64: ...d disable DP slave operation issue the ClrSlv command from the serial port 7 5 Using the Module Only as a DP Slave If you use the scanner module only as a DP slave set several network parameters from...

Page 65: ...d 7 5 4 Other Network Options To tell the module that there are one or more repeaters on the network issue the command Repeater 1 from the serial port To tell the module that there are FMS devices on...

Page 66: ...Using the Scanner Module as a DP Slave 58...

Page 67: ...59 8 Using FDL...

Page 68: ...canner uses the following bits in the input word The subsequent sections explain how these bits are used Output Table O 31 The SLC application uses the following bits in the output word The subsequent...

Page 69: ...41 FDL message control Tx buffer 3 1642 1771 FDL SAP Tx buffer 0 1772 1901 FDL SAP Tx buffer 1 1902 2031 FDL SAP Tx buffer 2 2032 2161 FDL SAP Tx buffer 3 M1 offsets Use 1122 1251 FDL message status R...

Page 70: ...files will be used Set the appropriate values in the FDL message control block for the message in the corresponding area of the M0 file The following table shows the offsets to the message control blo...

Page 71: ...s sent to the default SAP at the destination You usually send the message to some specific SAP The allowed range is 0 to 63 or 255 When you send a message with a destination SAP the scanner automatica...

Page 72: ...Data No Ack Lo Pri SDNL FC_SDNh 06h Send Data No Ack Hi Pri SDNH FC_SRDl 0Ch Send and Request Data Lo Pri SRDL FC_SRDh 0Dh Send and Request Data Hi Pri SRDH FC_SmTime1 00h First SM time message FC_SmT...

Page 73: ...set if the message has good status The value in Error is 1 if the scanner could not deliver the message Look in RspStatus for more information on the cause The value in Error is 3 if the transmit len...

Page 74: ...e destination station to receive a broadcast or multicast message it must have strict station checking disabled To receive a broadcast message it must have a SAP configured on SAP 63 Value hex Meaning...

Page 75: ...Using FDL 67 Sample Program...

Page 76: ...SST PFB SLC User s Guide 68 Sample Continued...

Page 77: ...P update by setting the corresponding bit in output word O 31 Setting the SAP indication ACK bit tells the scanner to clear the SAP indication update bit in the input word and also transfers the curre...

Page 78: ...ns the number of the station that updated the SAP Bit 7 is set if the message was sent with a source SAP SrcSap is the source SAP sent in the message and is valid only if bit 7 in SrcStn is set RxLen...

Page 79: ...er to have reply data ready when the SAP is first updated you must set the SAP indication ACK bit for the SAP block when your program starts 8 3 3 Receiving Broadcast Multicast Messages To receive bro...

Page 80: ...SST PFB SLC User s Guide 72 Sample Program...

Page 81: ...SST PFB SLC User s Guide 73 Sample Continued...

Page 82: ...rLay2MsgNotOk whenever it sends a FDL message and doesn t receive an appropriate acknowledge or response data The scanner increments diagLay2SapOk when it processes an FDL SAP request with no errors T...

Page 83: ...ost of them are not needed if the station is passive You may also want to change the high station address to optimize performance The default high station address is 126 Local Station To set the local...

Page 84: ...SST PFB SLC User s Guide 76 Displaying Network Settings To display the current network parameter settings issue the ShowNet command from the serial port...

Page 85: ...SST PFB SLC User s Guide 77...

Page 86: ...SST PFB SLC User s Guide 78...

Page 87: ...79 9 Diagnostics This chapter describes system diagnostics...

Page 88: ...in the low byte of register 4130 of the M1 file and also in register 4012 of the M1 file If the status register contains STS_OUT_OF_APBS 81h the scanner has run out of application blocks The DP slave...

Page 89: ...e status of some slaves The ignore slave fault table is organized exactly like the slave status table above Set the bit that corresponds to a slave if you want the scanner to ignore the status of that...

Page 90: ...3 2 1 0 4021 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 4022 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 4023 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 4024 79 78 77 76 75 74 73 72 71...

Page 91: ...ion number This table can be used in conjunction with the slave status table 4000 4007 or the slave error table 4020 4027 to determine the cause of the error The scanner sets various values in the hig...

Page 92: ...n diagnostic status byte 2 during configure 07h error in diagnostic status byte 1 during diagnostic read 08h error in diagnostic status byte 2 during diagnostic read 09h station address from diagnosti...

Page 93: ...the result should not be set Mask the value in the low byte with 02h and bit 1 should be set 7 Invalid response after sending configuration check data to the slave 8 Response to configuration check p...

Page 94: ...depends on the value returned by the slave in the second station status byte when the master reads diagnostics during configuration Mask the value with 080h and any bits that are set in the result sho...

Page 95: ...Register The scanner reports the status its operation as a DP slave by setting bits in the slave status register register 4017 in the M1 file The scanner sets bit 6 SLV_STS_RUN_MODE if it s being scan...

Page 96: ...ent but you may experience network errors If the value is SLV_ERR_UNSUP_REQ the master has requested Sync or Freeze during parameterization which the card does not support If the value is SLV_ERR_RX_L...

Page 97: ...te of the master network statistics The counters are located in the M1 file from 4100 to 4200 To reset these counters to 0 set the low byte of register 4100 to a non zero value The scanner then clears...

Page 98: ...y2MsgOk 4116 FDL messages sent OK errLay2MsgNotOk 4117L FDL message errors diagLay2SapOk 4118 FDL SAP requests processed OK errLay2SapNotOk 4119L FDL SAP errors errInvReqLen 4124L Invalid request leng...

Page 99: ...nimum value of diagTokHldTime If this number is 0 you may need to increase the target token rotation time or delta TTR in COM PROFIBUS 9 9 2 DP Master Statistics These counters relate to the operation...

Page 100: ...age that is too long This error is an internal error and should never occur The errFifo counter the high byte of register 4124 counts FIFO overflow errors These errors occur when the LAN controller co...

Page 101: ...is unable to pass the token This is usually caused by bad wiring usually shorted or other hardware problems The scanner tries to pass the token fails to hear its own token pass message and puts itsel...

Page 102: ...diagnostic station select 3829 3950 DP master diagnostic status buffer 4000 4007 Slave status table 4011 Profibus status 4012 errArg 4013 Bit 0 all slaves good flag 4014 Firmware revision 4017 DP slav...

Page 103: ...95 10 Upgrading the Scanner Firmware This chapter describes the steps required to upgrade the scanner firmware...

Page 104: ...o upload software You may need to press it several times while the scanner tries to autodetect the baud rate 3 The LEDs flash alternately red to tell you the scanner is in system configuration mode Th...

Page 105: ...97 11 Network Parameter Defaults This chapter describes network defaults...

Page 106: ...baud rate whether there are repeaters on the network whether there are FMS devices on the network Idle time 1 is the time the scanner waits after it receives a response before it sends and correspond...

Page 107: ...00 11 0 750K 300 37 140 11 0 1 5M 300 37 150 11 0 3M 400 45 250 11 3 6M 500 55 350 11 6 12M 750 75 550 11 9 No repeater FMS Baud rate Slot time Idle time 1 Idle time 2 Ready time Qui Time 9600 125 37...

Page 108: ...0 11 0 750K 300 37 140 11 0 1 5M 300 37 150 11 0 3M 400 45 250 11 3 6M 500 55 350 11 6 12M 750 75 550 11 9 Repeater FMS Baud rate Slot time Idle time 1 Idle time 2 Ready time Qui Time 9600 125 37 60 3...

Page 109: ...101 12 M0 and M1 Files Note The following is based on information in the SLC 500 Instruction Set Reference Manual Allen Bradley publication 1747 6 15 and is provided here for reference...

Page 110: ...d M1 files are considered read write files by the SLC processor M0 and M1 files can be addresses in your ladder program and they can also be acted upon by the specialty I O module independent of the p...

Page 111: ...ximum supplied by module b bit 0 to 15 12 1 1 Restrictions on Using M0 M1 Data File Addresses M0 and M1 data file addresses can be used in all instructions except the OSR instruction and the instructi...

Page 112: ...erring Data between Processor Files and M0 M1 Files The SLC processor does not contain an image of the M0 or M1 file As a result you must edit and monitor M0 and M1 file data via instructions in your...

Page 113: ...rofiBus networks SLC Interface 32 words direct Input and Output data 1000 words of M0 M1 mapped data Environmental storage temperature 40 C to 85 C operating temperature 0 C to 50 C operating RH level...

Page 114: ...ssion standard Part 2 Industrial Environment EN 50082 2 1995 Electromagnetic compatibility Generic immunity standard Part 2 Industrial Environment Caution This is a Class A product In a domestic envir...

Page 115: ...nd 91 diagLay2MsgOk 74 diagLay2SapOk 74 diagMasMaxScanTime 92 diagMasScanTime 91 diagMasterUpdate 91 diagMinTokHldTime 91 Diagnostic Counters 89 diagSlaveUpdate 92 diagTokHldTime 91 DP Slave disabling...

Page 116: ...FDL SAPS 69 Firmware Version Number 80 Flash Programming Errors 41 Flex I O 50 G General Statistics 91 H help 5 Hyperterminal 42 I I O Configuration creating 31 33 uploading 37 M Mapping Addresses 35...

Page 117: ...Index 109 U Uploading the I O Configuration 37 V Version Number 80 W Web site 5 Wiring 22 Serial Port 23...

Reviews: