Home

1203-5.5, Bulletin 1203 Serial Communnications Module

image

Contents

1. Module Module Address Address swi Decimal Octal eX BXXXX 16 20 E 8 XBR 4321 17 21 HLL 817165 737 i ox man a 19 23 a T 20 24 A 4321 21 5 L om B 5 22 26 Ia U T 2 om B 23 27 XX Xx 24 30 59 am 25 31 i REL LEC BLECE 26 32 R om OM 27 33 0 XX 28 34 Pa LE FR 5 29 35 E L om XI so Tann T on n n aan DF1 Address Selection Module Module Address Address Swi Decimal Octal 32 40 ee BT BS 437 33 41 TD S 65 4 2 34 42 LD B 65 z 32 0 XI 35 43 R B 7 6 po 2 36 44 EEEH Fi az 432 37 45 raara Bo oe T 2 38 46 iraa a oe s 2 0 EE 39 47 qi Cae ol Oren 40 50 ie wa o E 41 51 a R ol im i M 42 52 OL o EE X 43 53 Ls 325 LB 44 54 eae LOS 45 55 otk On as 46 56 a o M EE 47 57 AR nmo zO Installation 2 5 Module Mo
2. Commands CMD Code FNC Code Command Name PLC Addressing Method 01h n a Unprotected read PLC 2 address 06h 00h Echo n a Olh Read diagnostic counters Variable modified PLC 2 addresses 02h Set variables NQs NAKs TIMEOUT n a 03h Identify host and some status n a 04h Set timeout n a 05h Set AKs n a 06h Set ENQs n a 07h Reset diagnostic counters n a 09h Read link parameters Logical address OAh Set link parameters Logical address 08h n a Unprotected write PLC 2 address OFh 67h Typed write System address 4 possibilities 68h Typed read System address 4 possibilities Protected typed logical read with two l Alh adas fields File number type element number Protected typed logical read with three File number type element A2h a address fields number sub element number Protected typed logical write with two l A9h address fielde File number type element number Protected typed logical write with three File number type element number AAh lt address fields sub element number ABh Protected typed logical write with four File number type element number 1203 5 5 September 1995 address fields sub element number bit mask Configuring and Interfacing Data Table Structure The Serial Communications Module provides the following data table structures for DF1 and DH 485 The following table is the drive control table binary file
3. 1 Open Style Comm Module 1336 PLUS Serial port SCANport Serial lt Serial communications link Communications Module SLC 5 03 CA A G ALLEN BRADLEY el S T SCANport Serial Communications Module Y Other serial devices Aponte 1203 5 5 September 1995 1 6 Product Description Configuration Switches The Serial Communications Module contains three DIP Switches SW1 SW2 and SW3 Figure 1 1 and Figure 1 2 Switches are set ON or OFF as shown in Figure 1 4 For a detailed explanation of switch configuration refer to Chapter 2 Figure 1 4 Configuration Switches Side view of typical Switch designation as Switches shown in this manual Rocker switch Side switch Open Off O Close On 4 VAN AB0397A off On 1203 5 5 September 1995 Chapter Objectives Setting Module Configuration Switches
4. ae Description File Description Address Address BD Logic Command B310 LogicStaus B3 1 Reference l B3 11 Feedback B3 2 Datalink A1 In to Drive l B3 12 Datalink A1 Out from Drive B3 3 Datalink A2 In to Drive B3 13 Datalink A2 Out from Drive B3 4 Datalink B1 In to Drive B3 14 Datalink B1 Out from Drive B3 5 Datalink B2 In to Drive B3 15 Datalink B2 Out from Drive B3 6 Datalink C1 In to Drive B3 16 Datalink C1 Out from Drive B3 7 Datalink C2 In to Drive B3 17 Datalink C2 Out from Drive B3 8 Datalink D1 In to Drive B3 18 Datalink D1 Out from Drive B3 9 Datalink D2 In to Drive B3 19 Datalink D2 Out from Drive gt Note If you write to B3 0 through B3 9 you will write data to the drive If you read from B3 0 through B3 9 you will return the data being currently sent to the drive If you read from B3 10 through B3 19 you will read data from the drive If you write to B3 10 through B3 19 you will receive an error The following table is the drive control table integer file File Address Description N41 0 Logic Command Status N41 1 R eference F eedback N41 2 Datalink A1 N41 3 Datalink A2 N41 4 Datalink B1 N41 5 Datalink B2 N41 6 Datalink C1 N41 7 Datalink C2 N41 8 Datalink D1 N41 9 Datalink D2 gt Note If you write to any location in N41 you will write data to the drive If you read from an
5. ww Allen Bradley Bulletin 1203 Serial Communications A d d Aas w 1 e Cat No 1203 GD2 GK2 GM2 J My k Module Series B RS232 422 483 Using DF1 Protocol Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls Publication SGI 1 1 describes some important differences between solid state equipment and hard wired electromechanical devices Because of this difference and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will the Allen Bradley Company be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation the Allen Bradley Company cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Allen Bradley Company with respect to use of information circuits equipment or software described in this manual Reproduction of
6. 30975 Message Error PLC Decimal Value 1193 Header Word 2 Header Word 3 Fault Queue Size Message Operation The Fault Queue Size function reads back the size of the fault queue available in the product Each product may have a different number of fault queue entries available for storage If an error has occurred word 2 of the response returns a value of 30975 Example In this example a 1336 PLUS was used This product has a fault queue of four storage locations available to store faults This value is seen in word 4 of the response header message Data File Format 0 1 2 3 4 5 6 7 8 9 moo s s o Nioso e ize oje 1 11 PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 19 Trip Fault Queue Number The Trip Fault Queue Number provides the fault queue number of the fault that caused the device to trip PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 4 words Message Structure PLC Request Drive Response pan Length Header Word 1 pina Length PLC Decimal Value 1794 Message OK 30984 Message Error PLC Decimal Value 1794 Header Word 2 Header Word 3 Number of Trip Fault Message Operation The Trip Fault Queue Number function provides the n
7. 1 249 250 499 N91 0 249 Parameter read 9500 9749 N128 0 249 full 9750 9999 N129 0 249 N40 0 63 Block transfer emulation area N41 0 Logic command status 42 0 ENQs N42 1 NAKs 42 2 Message TIMEOUT mS N42 3 Application TIMEOUT Seconds 42 4 Adapter series number 2 B N42 5 Adapter firmware version 201 FRN2 01 42 6 Maximum node address DH 485 System File 0 Station name DF 1 or N200 1 63 SLC compatible system file DH 485 gt Note Some devices cannot access an element number over 254 The files from N50 to N129 are intended for use with those devices 1203 5 5 September 1995 Configuring and Interfacing 4 7 The data tables have up to eight areas each having a different purpose 1 Parameter Value Read or Write N10 N19 N50 N89 Reading data from files in this area will cause the Serial Communications Module to read parameter values from the SCANport device and send those values as the response to the read message Writing data to files in this area will cause the Serial Communications Module to write that data into SCANport device parameters Status of Last Parameter Write N20 This area is read only When read the data returned contains status information from the last parameter write that was performed by the Serial Communications Module If no errors occurred during the write all of the data returned will be zeros Read this area beginning at element number zero Par
8. Check for failed devices or link problems eCheck configuration switch settings Red steady Faulted eCheck for serial cable connection eCycle power replace module TX off No transmission occurring Send serial data again Flash Transmission occurring None RX Off No transmission received eCheck data device to verify itis sending data Flash Characters being received None 1203 5 5 September 1995 Chapter Objectives Catalog Number Specifications Chapter 7 This chapter provides you with background information and specifications that you may need to install or apply your Serial Communications Module Product Specifications Open Style GM2 Enclosed Style 115 230V AC GD2 Enclosed Style 24V DC GK2 Environmental Operating Temperature 0 to 50 C 32 to 122 F 0 to 50 C 32 to 122 F 0 to 50 C 32 to 122 F Storage Temperature 40 to 85 C 40 to 185 F 40 to 85 C 40 to 185 F 40 to 85 C 40 to 185 F Electrical Input Voltage Supplied by drive 85 to 264V AC 1 phase 24V DC 10 Input Frequency NA 45 to 63 Hz NA Input Current NA 35mA maximum 0 4 amps maximum SCANport Load 60mA DC 60mA DC 60mA DC Communications SCANport Side a AZE ue as M O ad RS 232 RS 422 RS 485 RS 232 RS 422 RS 485 RS 232 RS 422 RS 485 Serial Side DF 1 DF1 DF 1 DH 485 DH 485 DH 485 Baud Rates 110 300 600 1200 2400 110 300 600 1200
9. Link ID N A error 0 ER Remote Link Type N A message done 0 DN Local Node Address 001 message transmitting 0 ST Destination Data Table Address N10 1 message enabled 0 EN Port Number 00 Error Code 0000 HEX 1203 5 5 September 1995 4 10 Configuring and Interfacing 1203 5 5 September 1995 Notes 1 000 00 is any application related conditioning logic MG20 0 EN is the enabled status bit from the message block B3 2 is a one shot that causes the message to be resent each time the message block completes or errors as long as I 000 00 is true The DF1 address of the PLC 5 is the same as its DH address set by DIP switch SW1 on the PLC 5 Refer to Publication 6200 6 4 11 Instruction Set Reference for information on the MSG block Refer to Publication 1785 6 6 1 Hardware Installation Manual for information on configuring the PLC 5 Channel 0 hardware Refer to Publication 6200 6 4 6 Software Configuration and Maintenance for information on configuring the PLC 5 Channel U driver Only one message may be active to a Serial Communications Module at any time When you write the PLC program you must ensure this requirement 100 101 102 103 104 105 110 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 410 20 30 40 50 60 61 70 75 80 81 490 500 510 520 530 540 BR DB DB DB DB PB DB DB BRD Configuring a
10. List Header Word 3 Message Operation Parameter Value Read reads parameter values from the drive and places that value or an error code in word 1 of the drive response data file The value is shown in device units Device units are listed in the user manual for the device you are using If an error occurs e Word 1 of the response contains the status code e The status area of the data file is non zero Example In this example the value of parameter 20 was requested from a 1336 PLUS and a value of 4096 was returned 4096 is the internal drive unit value for the Maximum Rated Voltage Parameter This corresponds to a value of 100 Drive Rated Volts in Display Units Data File Format 0 1 2 3 4 5 6 7 8 9 nonof 3 zo N1090 aoo J J PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 5 12 Parameter Value Write PLC request Drive response Parameter Value Data Word 1 Message Length 0 1 2 3 4 noo 4 s1999 20 409 Nioso 4 veo l o The Parameter Value Write message writes a 16 bit parameter data value to the selected parameter number PLC Block Transfer Emulation Instruction Data PLC request instruction length 1 word Drive response instruction length 4 words Message Structure PLC Request Drive Response 4 PLC Decimal Value 769 Message OK 3
11. and so forth Maximum Node Address When in DH 485 mode this parameter sets the maximum node address that the adapter will attempt to communicate with The default value is 31 decimal 7 Reserved for Future Expansion If you try a read or write to any address in this area the Serial Communications Module will respond with an error message 8 System Area Performing a read from this area will cause the Serial Communications Module to respond with a 22 character string This string is set at power up to contain the Product Text String from the SCANport device with 203 appended to it Writing to this area changes the characters contained in the string Cycling power returns the string to its original text 1203 5 5 September 1995 Configuring and Interfacing 4 9 Configuration Examples DF1 Messaging with a PLC 5 80 Example This example reads parameters through 50 Ladder rung example for Gx2 manual Rung 2 0 I 000 MG20 0 B3 MSG ONS SEND RECEIVE MESSAG EN 00 EN 2 Control block MG20 0 DN ER Data Table Report MESSAGE INSTRUCTION DATA MONITOR FOR CONTROL BLOCK MG20 0 Communication Command PLC 5 TYPED READ PLC 5 Data Table Address N30 0 ignore if timed out 0 TO Size in Elements 50 to be retried 0 NR Local Remote LOCAL awaiting execution 0 EW Remote Station N A continuous 0 CO
12. connection information SMP 3 An Allen Bradley SCANport cable is used to connect the Serial Communications Module to an SMP3 Important The maximum cable distance between any two devices cannot exceed 10 meters 33 feet of cable SCANport Connection on Serial Communications Module SMP3 Connection Portl Port 2 Human Interface odule Enclosed Communications Module AB0408B 1203 5 5 September 1995 2 18 Installation Power Supply The Enclosed Communications Module is powered from a separate Connections 24V DC or 115 230V AC power supply as shown below With the Open Style Communications Module board mounted in the drive no separate power supply connections are required Typical Power Supply Connection 115 230V Typical Connection o00000 O00000 115V AC Hi 115V AC Low ND OQ Enclosed Communications Module 24V DC Typical Connection oo0000 Go Qa ep iw Enclosed Communications Module AB0413B 1203 5 5 September 1995 Chapter Objectives SCANport Datalinks Chapter 3 SCANport Datalink Operation In this chapter you will
13. the contents of this manual in whole or in part without written permission of the Allen Bradley Company is prohibited Throughout this manual we use notes to make you aware of safety considerations ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you e identify a hazard e avoid the hazard e recognize the consequences Important Identifies information that is especially important for successful application and understanding of the product PLC PLC 2 PLC 3 PLC 5 SLC SLC 500 Panel View RediPANEL Data Highway Plus and Dataliner are trademarks of Allen Bradley Company Inc IBM is a registered trademark of International Business Machines Incorporated Table of Contents Preface Product Description Installation Who Should Use this Manual 0 00 c ec ee eee ees Purpose of thisManual ccc cee eect e eens Contents of this Manual ccc cece ee ees Related Documentation ccc cece ee eee es Terms and Abbreviations cc ccc cece teens Conventions cece cee eee ete tet e ees Firmware Suppo sisireciad cardini R RRR ea R T Safety Precautions icacavaae scandeeeeaetardtendaceean Serial Device Compatibility 0 eee ees Allen Bradley Support 0 00 c ese ee eee eee Local Product SUPPO 4 dusts wert acai edie amd bens Technical Product Assistance ccc cece eee
14. were 5 7 8 20 18 17 19 and 36 The drive response returned the values of these parameters in the data file These values are in drive units Data File Format 0 1 2 3 4 5 6 7 8 9 Pucrequest_ nior 9 3 eo o 7 o ej o l nozo o we oj w o wm o ae o Drive response ERRER R i or ve oo ae onal Example only These values vary depending on parameters and products 1203 5 5 September 1995 5 4 Scattered Parameter Value The Scattered Parameter Value Write function writes to a scattered Write list of parameters and returns the status of each parameter If any of the states have errors the parameter number is negative PLC Block Transfer Emulation Instruction Data PLC request instruction length 5 63 words Drive response instruction length 5 63 words Message Structure PLC Request Message Length Drive Response Header Message Length 5 63 Word 1 PLC Decimal Value 3 Message OK 32765 Message Error PLC Decimal Value 30765 Header Word 2 Number of Parameter Values to Write Data Word 3 Paramet Pubes Data Word 4 Parame arale Data Word 5 gias NOMOR Data Word 6 Header Word 2 Data Word 3 Data Word 4 Number of Parameter Values to Write be Parameter Number 1 Data Status Word 1 Word 5 Data Word 6 Data bit Parameter Number 15 2 gair PRUE Data Word 7 baaz Number Data Word 8 gini alaa Data Word 9 Paramet Numoar
15. write If the request was successful a zero is returned If an error has occurred the response returns a status word code for the error Data File Format TT R L L D S a a Dis response Nowe 15 3 fe sor or rs on ao o on Example only These values vary depending on parameters and products 1203 5 5 September 1995 5 6 Product ID Number Read The Product ID Number Read function returns the product ID of the device to which the Serial Communications Module is connected PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 4 words Message Structure PLC Request Drive Response bac Length PLC Decimal Value 256 Message OK 32512 Message Error Product ID Number Description 2 1336F PLUS Fractional 3 1336F PLUS 4 1336G FIBERS Fractional 5 1336G FIBERS 16 1336T FORCE 17 1395 18 1394 19 1557 20 SMP 21 SMC 22 1304 23 1305 Message Operation The Product ID Number Read function through the drive response message word 4 indicates the type of device the Serial Communications Module is connected to This value is defined in the message response chart shown above If an error has occurred word 2 of the response returns a negative value of 32512 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 7 Example In this example the Product ID Number Read was requested The drive
16. 1999 Message Error Parameter Number Status Word Message Operation The Parameter Value Write function sends a new value to the specified parameter The value must be in device units Units for each parameter are listed in the device manual If an error has occurred word 2 of the response returns a value of 31999 and word 4 contains a status code Example In this example a value of 4096 was sent to Parameter 20 4096 is in drive units and indicates a value of 100 Drive Rated Volts as defined in P147 Drive Rated Volts Data File Format 5 6 7 8 9 ae a a S J Example only These values vary depending on parameters and products 1203 5 5 September 1995 EE Memory Functions Block Transfer Emulation Instructions 5 13 The EE Memory Functions message activates the specified EE functions PLC Block Transfer Emulation Instruction Data PLC request instruction length 4 words Drive response instruction length 3 words Message Structure EE Command PLC Request Message Length PLC Decimal Value 31998 Drive Response Header Word 1 sea Length Header Word 2 PLC Decimal Value 770 Message OK 31998 Message Error Header Word 3 Header Word 4 EE Command Not Used EE Save EE Recall EE Default Initialize Message Operation The EE memory function allows three different message requests e EE Save saves parameter information from the working memory or RAM to EE
17. 2400 110 300 600 1200 2400 4800 9600 19 2K 4800 9600 19 2K 4800 9600 19 2K Checksum BCC or CRC BCC or CRC BCC or CRC Dimensions Open IP 00 NEMA Type 1 IP30 NEMA Type 1 IP30 NA 45w x 76h x 123d mm 45w x 76h x 123d mm 1 8 x 3 0 x 4 8 in 1 8 x 3 0 x 4 8 in This module is intended for use with devices that communicate via Module Compatibility RS 232 RS 422 or RS 485 hardware standards using the DF1 protocol or the DH 485 standard The Serial Communications Module is intended to provide a means for transmitting messages between these serial communications devices and Allen Bradley SCANport devices 1203 5 5 September 1995 7 2 Specifications 1203 5 5 September 1995 ZR Rockwell Automation Allen Bradley a Rockwell Automation Business has been helping its customers improve productivity and quality for more than 90 years We design manufacture and support a broad Allen Bradley range of automation products worldwide They include logic processors power and motion control devices operator interfaces sensors and a variety of software Rockwell is one of the worlds leading technology companies Worldwide representation A L n Argentina e Australia e Austria e Bahrain e Belgium e Brazil e Bulgaria e Canada e Chile e China PRC e Colombia e Costa Rica e Croatia e Cyprus e Czech Republic e Denmark e Ecuador s Egypt s El Salvador e Finland e France e Germany e Greece e Guatem
18. AR_VALUE REM encode the value as an ASCII hex string in order of LOW HIGH ASC 1 1 PAR_VALUE INT PAR_VALUI ASC 1 2 INT PAR_VALUE 256 E 256 256 GOSUB 550 REM fire off the write instruction GOTO 460 CALL 113 END 1203 5 5 September 1995 4 12 Configuring and Interfacing 550 RE KKKK KK KKK KK KKK KKK KK KKK KKK KKK KKK KKK KKK KKK KKK KKK KK KKK KKKKKKKK KKK KK 560 REM 4X RAAB Ke PLC TYPED READ Subroutine A rae 561 REM R wR inputs Parameter number in var PAR_NUM RRER EK 562 REM kee ER ASC coded hex string of value in 1 KRW KE 563 REM 2X RA ASK Kim outputs failure message FERRER 565 RE KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KEKKKKKKAKK KKK KK AK KKK KK 570 REM subroutine to do a typed write of a single parameter 580 PRINT Executing PLC Remote Write 600 PUSH 5 REM PLC5 Typed Write 610 PUSH 1 REM Communications Module Node Address 620 PUSH 10 REM File Number atterss is N10 PAR_NUM 630 PUSH ASC N REM Communications Module File Type 640 PUSH PAR_NUM REM Starting Word in File 650 PUSH 1 REM Number of Words to Transfer one parameter 660 PUSH 50 REM Command Time out x100ms 670 PUSH 2 REM Data Source 2 Internal String 680 PUSH 0 REM Offset in MO file Not used in this example 690 PUSH 1 REM String ASCII hex number order low high 700 CALL 123 REM Builds th
19. Chapter 2 Installation In this chapter you will learn how to e set the module configuration switches e mount the Serial Communications Module e connect the cables e connect the SCANport link e connect the power supply Read this chapter completely before you attempt to install or configure your Serial Communications Module Double check all connections and option selections before you apply power Important Switch selections take effect only on power up If you change selections after power is applied cycle the power to use the new settings When making configuration changes to the Serial Communications Module use the addressing conventions of the PLC SLC processor or serial device through which you are communicating In all cases each serial device must have a unique address that the target processor can recognize ATTENTION When changing the switch settings use a blunt pointed instrument such as a ball point pen Do not use a pencil because the lead graphite of the pencil may damage the switch assembly ATTENTION Failure to check connections and switch settings for compatibility with your application when configuring the communications module could result in personal injury and or equipment damage due to unintended or undesirable operation ATTENTION It is recommended that when a system is configured for the first time you should disconnect the motor from the machine or process during the initial testing
20. Data Word 13 Data Word 14 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 9 Message Structure Continued Drive Response f Data File Group Element ord 15 hoi Data Minimum Value ord 16 Data Maximum Value ord 17 Data Default Value Word 18 Data Data Message Operation Parameter Read Full retrieves the attributes of the specified parameter The attributes for each parameter include the data minimum and maximum values and the parameter text The response message returns this information If an error has occurred in reading any of the values word 1 contains the status word The parameter text is returned with each data word containing two ASCII characters per word The first and second characters are in opposite order Example In this example a Parameter Read Full was performed through block transfer on a 1336 PLUS N10 10 shows the header message for the request The data is returned in the response data file starting with word 1 for parameter 20 Word 1 shows the present value in drive units Word 2 through word 6 provide scaling information used to convert drive units to engineering units for the Human Interface Module HIM Word 7 through word 14 provide the parameter name 1203 5 5 September 1995 5 10 PLC request Drive response 0 1 2 3 4 nnan s 76s zor This example shows the response message N10 90 through N10 112 in bot
21. Data Word 62 paramiti Value Data Word 63 Status Word 2 Word 7 Data Word 8 bit Parameter Number 15 3 Data Status Word 3 Word 9 Data Word 62 Data Word 63 Parameter Number 15 30 Status Word 30 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 5 Message Operation The Scattered Parameter Value Write function writes data values to a pre defined group of device parameters in any order You define the number of parameters to write in word 3 The parameters to be written to and their order is defined starting with word 4 If an error occurs while writing to any of the parameters e Word 2 of the drive response returns a value of 32765 e Bit 15 of the drive response word for that parameter s number is set e The drive response word for that parameter s status word is non zero If no error has occurred e Word 2 of the drive response returns a value of 3 e Each of the drive response s parameter numbers are the same as in the request e Each of the drive response status words returns a value of 0 Example In this example six parameters were written to in a 1336 PLUS drive Word 3 of the request N10 12 defines the number of parameter values that are transferred Each parameter number followed by its value are listed in the message beginning with word 4 The values are entered in device units The drive response N10 90 returns the status of each parameter
22. PROM e EE Recall retrieves the last saved data from EEPROM and places it in the working memory or RAM e EE Default Initialize clears the RAM and EEPROM and sets all parameter values to default If an error has occurred word 2 of the response returns a value of 31998 1203 5 5 September 1995 5 14 Example This example requests that an EEPROM Save function be performed Data File Format PLC request Drive response 0 1 2 3 4 5 6 7 8 9 Nioto 4 f ov i Nioso 3 vot ooj T 1 Example only These values vary depending on parameters and products 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 15 Fault Clear Reset The Fault Clear Reset message activates the Clear Fault Clear Fault Queue and Drive Reset functions PLC Block Transfer Emulation Instruction Data PLC request instruction length 4 words Drive response instruction length 4 words Message Structure PLC Request Message Length PLC Decimal Value 30976 Drive Response Header Word 1 Message Length PLC Decimal Value 1792 Message OK 30976 Message Error Header Word 2 Header Word 3 Fault Command Data Word 4 Status Word Value Fault Command 00 Not Used 01 Clear Fault 02 Clear Fault Queue 03 Drive Reset 1336 FORCE Only Message Operation The specified fault Clear Reset function sends a fault handling request to the device e A Clear Fault request clears t
23. RS 232 Serial Port Connection Diagram a IBM AT Compatible Communications Module Personal Computer Computer Internal T RS232 Serial Port J umper Connectors COM COM N C RI TX DTR N C CTS RX TX N C RTS N C RX N C DSR COM DCD L AB0409D GND 1747 AlC Link Coupler Serial Connections Serial Communications Module to 1747 AIC Link Coupler PRT1 PRT2 DH 485 Mode Port Connection Diagram Communications Module Phoenix 6 Point Connector 9 P in D Shell 1747 AlC Link Coupler TERM A B COMMON SHLD CHS GND 1203 5 5 September 1995 Installation PLC5 Channel 0 Serial Connections Serial Communications Module to PLC5 RS 232 Serial Port Connection Diagram PLC5 20 5 40 5 60 5 80 Channel 0 Communications Module 9 Pin D Shell N C N C N C N C SLC 5 03 Port 1 Serial Connections Communications Module 9 P in D Shell SLC 5 03 RS 232 Port COM N C TX N C RX N C N C N C COM 2 15 AB0486B AB0411B 1203 5 5 September 1995 2 16 Installation SCANport Link Connection 1203 5 5 September 1995 Cable Requirements SCANport cables are available in either male to male or male to female configuration You can connect cables of up to 10 meters 33 feet from the master to the SCANport device A in the figure below If you use a Port Expander as shown in the figure
24. TTENTION Servicing energized industrial control equipment can be hazardous Electrical shock burns or unintentional actuation of controlled industrial equipment may cause death or serious injury Follow the safety related practices of NFPA 70E Electrical Safety for Employee Workplaces when working on or near energized equipment Do not work alone on energized equipment ATTENTION Do not attempt to defeat or override fault circuits You must determine and correct the cause of a fault indication before attempting operation Failure to correct a drive or system malfunction may result in personal injury and or equipment damage due to uncontrolled machine system operation LED Troubleshooting Table Indicator Color Description Recommended Action eCheck configuration switch settings Serial Sts Green blinking Link OK off line Check for serial cable connection Cycle Serial Communications Module power Green steady Link OK on line None system functioning properly Red blinking Link was Ka IS MOW Check for failed devices or link problems eCheck configuration switch settings Red steady Faulted Check for serial cable connection Cycle power replace module eCheck configuration switch settings SCANport Sts Green blinking Link OK not connected Check for serial cable connection Cycle power Green steady Link OK connected None a Link was connected and is now Red blinking not c nnected
25. This publication describes switches as being either on or off If the switch assembly has the word OPEN printed on it the word OPEN corresponds to OFF 0 If a switch is shown as gray then that switch does not affect the function being covered 1203 5 5 September 1995 2 2 Installation 1203 5 5 September 1995 Factory Switch Settings The following table shows the switch settings that are set at the factory Switch Setting Communication Mode SW3 8 Off Default application timeout disabled SW3 7 Off SW3 6 Off Duplicate message detection disabled SW3 5 Off Datalink D disabled SW3 4 Off Datalink C disabled SW3 3 Off Datalink B disabled SW3 2 Off Datalink A disabled Sa of e disabled SW2 8 Off BCC checksum SW2 7 Off Point to point SW2 6 Off 1 stop bit SW2 5 Off Even parity if enabled SW2 4 Off Parity disabled SW2 3 On 9600 baud SW2 2 On SW2 1 Off SW1 8 Off Module address 1 SW1 7 Off SW1 6 Off SW1 5 Off SW1 4 off SW1 3 On SW1 2 off RS 232 DF 1 protocol SW1 1 off These switches can be visually represented as follows SW3 SW2 0000000 iana a 7654 I 5 4 Ze SW bnga Installation 2 3 Switch SW1 Switch SWI is used to select e serial communications mode RS 232 RS 422 RS 485 DH 485 e Serial Communications Module address SW 0 F F 0 N 8 7 6 5 4 3 2 1 Y VE Communica
26. ala e Honduras s Hong Kong s Hungary e Iceland e India e Indonesia s Ireland e Israel e Italy e Jamaica s J apan e J ordan e Korea e Kuwait e Lebanon e Malaysia e Mexico e Netherlands e New Zealand e Norway e Pakistan e Peru e Philippines e Poland e Portugal e Puerto Rico e Qatar e Romania e Russia CIS e Saudi Arabia e Singapore e Slovakia e Slovenia e South Africa Republic e Spain e Sweden e Switzerland e Taiwan s Thailand e Turkey e United Arab Emirates e United Kingdom e United States e Uruguay s Venezuela e Yugoslavia Allen Bradley Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 1203 5 5 September 1995 74001 014 01 C Copyright 1995 Allen Bradley Company Inc Printed in USA
27. ameter Read Full N30 N38 N90 N129 This area is read only When read the data returned consists of 20 words 40 bytes of information about each parameter including scaling parameter text units text minimum maximum and default values When reading this area set the number of elements to twenty times the number of parameters to be read Block Transfer Emulation Area N40 This area provides a method for sending and receiving SCANport messages to and from the SCANport device This allows you to perform every SCANport command the device supports Chapter 5 provides information about the block transfer emulation functions available for use with the Serial Communications Module To send a SCANport message write data into this area beginning with element number zero Allow sufficient time for the SCANport device to respond to the message and then read the response message from this area beginning with element number zero Producer Consumer Emulation Area N41 Each element in this area has a different function Refer to the DIP switch configuration tables in Chapter 3 for more information Logic Command Status Writing sends a Logic Command to the drive Reading supplies the SCANport device Logic Status Refer to the manual supplied with the SCANport device for more information Reference Feedback Writing sends a reference to the SCANport device Reading supplies feedback from the SCANport device The meanin
28. analog 1394 only 1203 5 5 September 1995 1 2 Product Description SCANport Device Compatibility 1203 5 5 September 1995 The SCANport Serial Communications Module is compatible with the following Allen Bradley devices Device Firmware Revision 1336 PLUS All 1336 FORCE All 1305 Micro Drive 2 0 or newer SMC SMP 1394 1557 Product Description 1 3 Figure 1 1 Open Style Communications Module SW1 1 SW1 2 Protocol select SW1 3 SW1 8 Adapter address OmMDUIS WN KA SW2 1 SW2 3 Baud rate selection SW2 4 Parity enable 3 SW2 5 Parity sense even odd 4 sw2 Serial SW2 6 Stop bits 5 Communications SW2 7 Point to point multi drop Module 8 SW2 8 CRC BCC check SW3 1 Logic command status and reference feedback SW3 2 Datalink A settings SW3 3 Datalink B settings SW3 4 Datalink C settings SW3 5 Datalink D settings SW3 6 Duplicate message detection SW3 7 SW3 8 Application timeout default value GO 4 Cn Ln E WN Fe O LED Indicators TX Adapter transmit when flashing Serial Status 1 LED off adapter power removed 2 LED flashing green link OK off line 3 LED solid green link OK on line 4 LED flashing red was on line now off line 5 LED solid red fault 9 Pin D shell SCANport Status RX Adapter receive 1 LED off adapter power removed when flashing LED flas
29. below you need to subtract the cable length from the master to the Port Expander from the cable length used to connect the device to the expander B1 C a maximum of ten meters 1305 Drive An Allen Bradley SCANport link cable is used to connect the Serial Communications Module to the drive as shown below SCANport Connection on Serial Communications Module 1305 Drive Port Expander Port2 A Optional ale Female Cable 0000 O co000 O O O O O Communications Communications Human Interface Module Module odule AB0407B Important The maximum cable distance between any two devices cannot exceed 10 meters 33 feet of cable For example A B1 C Z 10 meters A B2 C lt 10 meters B1 B2 lt 10 meters Installation 2 17 1336 PLUS and 1336 FORCE Refer to the product manual for connection information On larger horsepower 1336 PLUS and FORCE drives with an open Serial Communications Module mounted in the drive you do not need a separate SCANport cable connection Connection information for the 1336 PLUS and 1336 FORCE is shown on page 2 11 Important The maximum cable distance between any two devices cannot exceed 10 meters 33 feet of cable 1394 Refer to the product manual for
30. cations terminology configuration procedures required equipment and safety precautions To use this Serial Communications Module efficiently you must be able to program and operate serial communications devices as well as have a basic understanding of the parameter settings and functions of the device to which you are communicating This manual is an installation and user guide for the Serial Communications Module The Serial Communications Module is available for products that include the SCANport communications port This manual provides you with the following 6 an overview of the Serial Communications Module e the procedures you need to install configure and troubleshoot the Serial Communications Module For information on specific features of Allen Bradley products mentioned within this manual refer to the user manual for that product Important You should read this manual in its entirety before installing operating servicing or initializing the Serial Communications Module 1203 5 5 September 1995 Contents of this Manual Chapter Title Contents Describes the purpose background and scope of Preface this manual Also specifies the audience for whom this manual is intended Explains the Serial Communications Module s Produet Desgnpion features configuration and diagnostics Provides procedures for mounting connecting 2 Installation power configuring switches cabl
31. dule Address Address SW1 Decimal Octal 0 1 OOO 48 60 aay a F321 CEDO e a RR d EE M li 0 XXE 51 63 ae m 52 64 aeS G K 65432 0 53 65 Shel B 8 8 4 kI 2 0 54 66 aa 0 dI of ON s o o Faget tT 0 XX 57 71 SO ali 0 Y T aa 0 i a Win o S N W 61 15 eee L 0 BEX Lag 321 0 s T a 21 1203 5 5 September 1995 2 6 Installation Switch SW2 Switch SW2 is used to select e baud rate parity S number of stop bits e point to point or multi drop S checksum mode CRC or BCC SW2 nmo zO 8 7 6 5 4 3 2 1 Y g Parity Baud rate setting selection Stop bits Point to point multi drop Checksum mode AB0399A Use SW2 3 SW2 2 and SW2 1 to select the baud rate Switch Value SW2 Baud Rate Decimal 0 ol RSS 110 8765 4 hL 1 ol KX 300 TEE 8765432 2 d B 8 600 T 8765 43 3 ol X 1200 i X 8765 4 wal 4 ol XX 2400 l 8765 B 5 ol X 4800 nH 8765432 6 ol X 9600 8765 TMS 7 ol 19200 TE Hed 8765 Rm gt Note For DH 485 1200 2400 9600 and 19200 are the allowed baud rates Selecting any other baud rate will cause the module to indicate a fault The module cannot operate in this state 1203 5 5 September 1995 Installation 2 7 Note If you are using th
32. e Data Table Structure oo ete eee eens Configuration Examp ISE DE Messaging with a PLC 5 80 Example n aaaaaaaaaaa DF1 Messaging with a 1746 BAS Module Example DH 485 Messa Chapter 5 Chapter Objectives ging with aSLC5 03 Interface Block Transfer Status WO Scattered Parameter Scattered Parameter Value Rea es eae dcewaduttersdacatieyeee tae Value Write oo cc ees ProductID Number Read Parameter Read Full Parameter Value Head Parameter Value Write cece tet eens EE Memory Function Fault Clear Reset Saha Wate dich aaa E a teed aha st aha ET Fault Queue EntryReadFull 2 cc eevee Fault Queue Size Trip Fault Queue Number 0 0 0 cee eee eee Chapter 6 Chapter Objectives LED Locations LED Troubleshooting Table Chapter 7 Chapter Objectives Product Specifications Module Compatibility Who Should Use this Manual Purpose of this Manual Preface Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics e who should use this manual e the purpose of this manual S terms and abbreviations conventions used in this manual e safety precautions e Allen Bradley support Use this manual if you are responsible for setting up and servicing the Serial Communications Module You must have previous experience with and a basic understanding of communi
33. e DH 485 communications mode setting switches SW2 4 SW2 5 SW2 6 SW2 7 and SW2 8 have no effect because this information is selected within the software Use SW2 5 and SW2 4 to set the parity sw2 Function V 7 x Parity disabled 87654321 NJ j XE Even parity 876 Ta 21 0 YY Odd parity 87 oe 21 Use SW2 6 to choose between 1 stop bit and 2 stop bits sw2 Function of 8765 4321 1 stop bit 0 i 2 stop bits A 4321 Use SW2 7 to choose between point to point and multi drop Sw2 Function 01 5 87654321 7 XI Multi drop aT 65 4321 Use SW2 8 to choose between BCC checksum mode and CRC checksum mode P oint to point sw2 Function VI he BCC Checksum 87654321 CRC Checksum aT 6543271 1203 5 5 September 1995 2 8 Installation 1203 5 5 September 1995 Switch SW3 Switch SW3 is used to select e logic command status and reference feedback e datalinks up to four datalinks e duplicate message detection e application timeout default value SW3 nmo Eo Application timeout Datalink message default values enables Duplicate message Logic command detection status and reference feedback AB0400B Use SW3 1 to enable and disable
34. e message to be sent 710 POP S 720 PUSH 123 REM sets up call 29 730 CALL 29 REM send the messag 750 RETURN 760 REM x x x x x End Write parameter subroutine x 1203 5 5 September 1995 Configuring and Interfacing 4 13 DH 485 Messaging with a SLC5 03 Interface The following example uses the DH 485 communications mode to send a message from an SLCS5 03 to the Serial Communications Module Rung 2 0 If this is the first scan or the error bit is true the MSG instruction s control byte is cleared and the done bit is set This ensures that the program always starts correctly and recovers from a MSG error First Scan Bit EE AND J T BITWISE AND I5 Source A 2595 Source B N15 0 8192 Dest N15 0 8192 MSG Block MSG Block Error ER Done DN Bit Bit N15 0 N15 0 t Sanet F T L 12 is Rung 2 1 When the MSG instruction is done the TON provides a 2 second delay before another message is sent B3 0 0 represents user logic The timer can be adjusted to provide control over DH485 network loading User MSG Block DH485 Done DN Enable Bit Bo 0 N15 lt 0 TON Nf ll TIMER ON DELAY EN 0 13 Timer T4 0 DN Time Base 0 01 Preset 200 Accum 156 1203 5 5 September 1995 4 14 Configuring and Interfacing R
35. eas Chapter 1 Chapter Objectives cc cece eee eee ees Module Description cc cece cece eee teens SCANport Device Compatibility 0 ccc eee eee Configuration SWIMS tice Sooke ete w ead Pows dea eae eas Chapter 2 Chapter Objectives cc cece eee ees Setting Module Configuration Switches ccc eee eens SWHCM OWT fk ashen ged Girdle dnd R E edit eek E DF1 DH 485 Address Selection ccc cece eee nee DF Address S alec lt uetvvaduprudied REAT ART SWIC ENS 1 opt RE ER R E T a cowawh ws SWIC SWS toate ieai AER ad a a AAE AAR 0 ATA Mounting the Serial Communications Module Enclosed Style Serial Communications Module Dimensions Connecting Cables cc ccc2ceceavese se sdaenenaeed 4 eeews 1746 BAS Module Serial Connections cee eevee IBM PC Compatible Serial Connections 0 ce eae 1747 AlC Link Coupler Serial Connections 005 PLC5 Channel 0 Serial Connections 004 SCANportLink Connection ccc eee eee ee eens DOP DIVE denenip dupdvh eet ensduseeyd a E DPS 1 5 9 90 R teeny eteveub ase TEE RET awry ii Table of Contents SCANport Datalink Operation Configuring and Interfacing Block Transfer Emulation Instructions Troubleshooting Specifications Chapter 3 Chapter Objectives SCANport Datalinks Chapter 4 Chapter Objectives Serial Communications Module Data Table Structure Supported PCC C Command List 0 cece ee
36. emory Module SCANport 1336 PLUS Main Control Board Human Interface odule Mounting screws amp standoffs qty 4 17 L OPTIO 1203 5 5 September 1995 AB0404C Installation 2 11 Enclosed Style Communications Module Mounting Location 1336 FORCE and 1336 PLUS Drives 1336 FORCE 86008 0l oo aee Port Expander SCANport 2 EJ a Optional 4 Male Male Q Cable 5 5 LA 00000 o amp p 666 G O Communications 09000 S To Module O me 9 Me O me o Communications Module 1203 5 5 September 1995 2 12 Installation Enclosed Style Serial Communications Module Dimensions 44mm x 1 75 DIN Rail EN LI 45mm 1 8 Top View a 0 25mm 1 OCO0000 O OOOO O 76mm 3 0 DIN Rail Front View 25mm 1 1203 5 5 September 1995 Notes Enclosed Style Serial Communications Module Dimensions The enclosure requires clearance at the top and bottom for proper cooling Additional space is required if you want to access the DIP switches without removing the device A
37. eter read full 34600 to 34677 Block transfer emulation area 34700 Logic command status 34701 Reference feedback 34702 Datalink A1 34703 Datalink A2 34704 Datalink B1 34705 Datalink B2 34706 Datalink C1 34707 Datalink C2 34710 Datalink D1 34711 Datalink D2 34712 ENQs 34713 NAKs 34714 Message TIMEOUT mS 34715 Application TIMEOUT seconds 34716 Adapter series number 2 B 34717 Adapter firmware version 201 F RN2 01 34720 Maximum node address DH 485 34721 to 37677 Reserved area for future expansion 37700 to 37777 System area Note The address locations shown in this table are not limited to PLC 2 commands and may be used by any device that can generate them 1203 5 5 September 1995 4 6 Configuring and Interfacing The following is the data table structure for the Serial Communications Module Parameter Number File Addresses Description of Location s Purpose 1 999 N10 1 999 1000 1999 N11 0 999 Parameter value 8000 8999 N18 0 999 read or write 9000 9999 N19 0 999 1 249 N50 1 249 250 499 N51 0 249 Parameter value 9500 9749 N88 0 249 read or write 9750 9999 N89 0 249 N20 0 127 Status of last parameter write 1 999 N30 1 999 1000 1999 N31 0 999 Parameter read 8000 8999 N38 0 999 full 9000 9999 N39 0 999 1 249 N90
38. ferred to the Serial Communications Module and the data sent by the Serial Communications Module for the Datalink is transferred into the parameters set into the Datalink In parameters e Ifa Datalink is not enabled the data transferred to the SCANport device for that Datalink is zero and the Serial Communications Module ignores any data sent by the SCANport device If no Datalink In parameter is configured for an input word that word is ignored If no Datalink Out parameter is configured for an output word the output word is undefined usually set to zero 1203 5 5 September 1995 3 2 SCANport Data Link Operation 1203 5 5 September 1995 Chapter Objectives Serial Communications Module Data Table Structure Chapter 4 Configuring and Interfacing This chapter provides you with information on how the Serial Communications Module communicates with a serial device The following topics are explained e Serial Communications Module data table structure e configuration examples ATTENTION When you configure a system for the first time you should disconnect the motor from the machine or the process during the initial testing The Serial Communications Module maintains a data table that allows the module to communicate with serial devices using standard PCCC commands 1203 5 5 September 1995 Configuring and Interfacing Supported PCCC Command List The Serial Communications Module supports the following PCCC
39. g of the reference and feedback values depend on the type of SCANport device 1203 5 5 September 1995 4 8 Configuring and Interfacing Datalink Al Writing to Datalink A1 sends a value to the parameter pointed to by the Dataln A1 parameter of the SCANport device Reading from Datalink A1 reads the value of the parameter pointed to by the DataOut Al parameter of the SCANport device Datalink A2 through Datalink D2 function the same as Datalink Al 6 Serial Communications Module Parameters N42 Each of the four elements in this area can be read or written and affects the operation of the Serial Communications Module as follows Number of ENQ s The number of ENQ s sent by the module before giving up on receiving ACK or NAK The default is 3 Number of NAK s The number of times the module will resend a message if the response is always NAK The default is 3 Message Timeout The number of milliseconds the module will wait before sending an ENQ The default is 100mS Application Timeout The number of seconds the module will wait between messages before faulting the SCANport device it is connected to The default is set by the configuration DIP switches Adapter Series Number The series letter of the 1203 Serial Communications Module expressed as a number For example 1 A 2 B and so forth Adapter Firmware Version The firmware version number of the 1203 Serial Communications Module For example 201 FRN2 01 202 FRN2 02
40. h binary and ASCII Note the ASCII information beginning with N10 99 The parameter name characters return in reverse order for each word N10 99 has the ASCII value of aM To read this invert the word to read Ma The next word ix inverted gives you xi These words along with the following two words form the word Maximum You can see the parameter name Maximum Voltage in word 7 through word 14 of the response message In addition word 20 is also returned in this format This word provides the units the parameter is defined in In this example it is vits Word 15 contains the file group and element which are used to reference the parameter Words 16 18 contain the minimum maximum and default values of this parameter Data File Format 6 7 8 9 5 ae es ee ee ee monoto v tT oa e or ejo oof wa ofwoo rv st Example only These values vary depending on parameters and products ASCII Display values 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 11 Parameter Value Read The Parameter Value Read function reads the 16 bit parameter data value for the selected parameter number PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 1 word Message Structure PLC Request Drive Response ieee mon meager wont Parameter Value or Data Status Word Word 1 PLC Decimal Value 769 Header Word 2 Parameter Number See Drive
41. he failure The location of the status word is typically header word 4 in the drive response but will depend on the message The following are valid status codes Value Description 0 No error occurred The service failed due to an internal reason and the drive could not perform the request some messages are read only or write only The requested service is not supported n invalid value in the block transfer emulation request header word 2 An invalid value in the block transfer emulation request header word 3 An invalid value in the block transfer emulation request header word 2 he data value is out of range There is a drive state conflict The drive is in an incorrect state to perform the function The drive cannot be running when you perform certain functions 1 gt a uo Eel WwW rm Ho 1203 5 5 September 1995 5 2 Scattered Parameter Value The Scattered Parameter Value Read function reads a scattered list of Read parameters PLC Block Transfer Emulation Instruction Data PLC request instruction length 5 63 words Drive response instruction length 5 63 words Message Structure PLC Request Message Length Header Word 1 5 63 PLC oe Value Header Word 2 1 Drive Response Message Length PLC Decimal Value 3 Message OK 32765 Message Error Number of Parameter Values to Read bit Parameter Number 15 1 Parameter Value or Status Word 1 bit Parameter N
42. he last fault that occurred e A Clear Fault Queue clears the entire fault buffer Certain devices may store more than one fault e A Drive Reset is used with the 1336 FORCE drive product only This function resets the drive it clears the fault queue and writes the parameter information stored in EEPROM to RAM Data File Format 0 1 2 3 4 5 6 7 8 9 Noo a aoor o rea T T nooo 4 ie oje PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 5 16 Fault Queue Entry Read This function reads the contents of the specified fault queue entry A Full message is returned which includes the fault text and fault code associated with the specified fault queue entry The 1336 FORCE also returns the time stamp associated with the fault PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 12 or 16 words Message Structure PLC Request Drive Response Message Length 18 PLC Decimal Value 1792 Message OK 30976 Message Error Fault Queue Entry Number Text Fault Char 1 Fault Text Fault Text Fault Text Fault Text peor Length Header Word 1 PLC Decimal Value 1792 Header Word 2 Fault Queue Entry Number Data Word 3 Fault Text Char 11 Fault Text Char 13 Fault Text Char 15 Fault Code Value C
43. hing green link OK not connected D solid green link OK connected D flashing red was connected now not connected D solid red fault 2 3 L 4 L J AB0394C m m m 1203 5 5 September 1995 1 4 Product Description Figure 1 2 Enclosed Style Serial to SCANport Communications Module SCANport connector Serial channel AS D shell connector Sa 0 Power St i S connection Li RX Diagnostic A SCANport Status 1 LED off adapter power removed 2 LED flashing green link OK not connected 3 LED solid green link OK connected 4 LED flashing red was connected now not connected 5 LED solid red fault on Status 1 LED off adapter power removed 2 LED flashing green link OK off line 3 LED solid green link OK on line 4 LED flashing red was on line now off line 5 LED solid red fault Switch SW3 Switch SW2 Logic command status and Baud rate selection reference feedback Parity enable Datalink A B C D settings E R as even odd Application timeout pI i Deru value Point to point multi drop Switch SW1 CRC BCC check Protocol select Duplicate message detection Adapter address A T7 p 8 SW3 1 8 SW21 8 SL 1 T H UUUUUONI a Bottom View ABO415B 1203 5 5 September 1995 Product Description 1 5 Figure 1 3 Typical Serial Communications SCANport Device Interconnect
44. ing and connecting hardware 3 SCANport Datalink Provides information for configuring SCANport Operation device datalinks and datalink operation 4 Configuring and Provides information about addressing information Interfacing transfer and sample programs 5 Block Transfer Emulation Provides information for using the block transfer Instructions emulation instructions 6 Troubleshooting Explains how to interpret and correct problems with your Serial Communications Module are Provides environmental electrical and 7 Specifications communications specifications Related Documentation The following documents contain additional information concerning Allen Bradley SLC and PLC products To obtain a copy contact your local Allen Bradley office or distributor For Read This Document Document Number Information about the DH 485 network Data Highway Data Highway E lus Dh 485 1770 6 5 16 Communication Protocol and Command Set PA about setting up the DH 485 network on SLC 500 Modular Hardware Style G as A complete listing of current Allen Bradley documentation including ordering instructions Also indicates whether the Allen Bradley Publication Index SD499 documents are available on CD ROM or in multi languages A glossary of industrial automation terms and abbreviations Allen Bradley Industrial Automation Glossary AG 7 1 Information about the MSG block Instruction Set Reference 6200 6 4 11 Information about co
45. less the user writes a value to the application timeout address in the Serial Communications Module data table This address is N42 3 If power is removed the default value is reloaded during power up SW3 Application Timeout Default Value IWAN har No timeout disabled 8765432 on 1 second 8765432 NZ iy 30 seconds 765432 jae 60 seconds Ka 5432 In DH 485 mode the application timeout function is as follows e Ifthe application timeout is set to zero the module will not cause the SCANport device to fault if DH 485 communications are disrupted e If the application timeout is set to a non zero value the module causes the SCANport device to fault if a DH 485 device that had sent a message to data table N41 drops off the network 1203 5 5 September 1995 2 10 Installation Mounting the Serial The Serial Communications Module can be provided in three Communications Module mounting configurations e Open style board factory installed in a drive not available for all drives e Open style board as a separate kit e Enclosed style for panel mount or DIN rail mount This section provides mounting information for the Open style kit and the Enclosed style Open Style Communications Module Mounting Location 1336 PLUS 7 5 500HP Open Serial Communications Module Mounts Here
46. ll dimensions are given in millimeters and inches DIN Rail Mounting Clip Back View 123mm 4 8 DIN Rail Side View AB0406A Connecting Cables Installation 2 13 This section provides information that you need to connect the cables to your Serial Communications Module Important When connecting your cables you should make sure that the network is properly terminated You should also ground the shield at the end furthest from the Serial Communications Module 1746 BAS Module Serial Connections Serial Communications Module to 1746 BAS Module PRT1 PRT2 RS 232 Mode Port Connection Diagram Communications Module 1746 BAS Module 9 Pin D S hell Port Connection COM N C DTR CTS TX RTS RX DSR N C AB0401B Serial Communications Module to 1746 BAS Module PRT1 PRT2 RS 422 Mode Port Connection Diagram Communications Module 1746 BAS Module 9 P in D Shell Port Connection COM RXD RXD N SHIELD TXD COM AB0402B Serial Communications Module to 1746 BAS Module PRT1 PRT2 RS 485 Mode Port Connection Diagram Communications Module 1746 BAS Module 9 Pin D Shell Port Connection COM N C N C SHIELD TXD RXD TXD RXD COM y AB0403B 1203 5 5 September 1995 2 14 Installation IBM PC Compatible Serial Connections RS 485 RS 422 RS 232 Communications Adapter to IBM AT Compatible Computer
47. lock Time ime Clock T Clock Time Day ime Clock T Year Month 1336 FORCE Drive Only 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 17 Message Operation Fault Queue Entry Read Full reads the contents of the fault queue specified in word 3 of the request The response returns the fault text which can be ASCII text The text will have every two characters in reverse order In addition the 1336 FORCE returns a time stamp indicating the day and time the fault occurred If an error has occurred word 2 of the response returns a negative value Example In this example Fault Queue Entry number 3 was retrieved from a 1336 PLUS drive The drive response returned the ASCII text Drive Reset Fit with each character reversed The fault code for this example is 22 Data File Format PLC request CCC Wc S G G G N10 90 Tass areg oso r o v i ele Ale s ifi mow a worst TT CU HS H H Example only These values vary depending on parameters and products ASCII Display values 1203 5 5 September 1995 5 18 Fault Queue Size The Fault Queue Size function gets the number of fault entries allowed in the fault queue PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 4 words Message Structure PLC Request Drive Response pee Length Header Word 1 ange Length PLC Decimal Value 1793 Message OK
48. nd Interfacing 4 11 DF1 Messaging with a 1746 BAS Module Example This example accepts a parameter number and a value from a user terminal and writes the data out to a SCANport compatible device REM REM __ This program inputs a parameter number and a value rem _ from a user terminal and writes it out to a scanport rem _ compatible device rem _ for 1746 BAS and 1203 GD2 mo rem dules STRING 512 127 REM RE REM Setup port 1 to 9600 baud no parity 8 bits 1 stop bit REM software handshaking and battery backed ram data storage REM REMEMBER TO SET TERMINAL TO MATCH RE ODE PRT1 9600 N 8 1 S R RE REM REM Setup port 2 to 300 baud no parity 8 bits 1 stop bit REM software handshaking and battery backed ram data storage REM RE ODE PRT2 300 N 8 1 S R RE REM REM Enable DF1 driver REM 20 Setup for Full Duplex Auto Detect Embedded Responses REM Disable Duplicate Packet Detection BCC error checking REM 200 Wait 1 second for polling by Master REM 2 2 retries REM 0 No RTS on delay REM 0 No RTS off delay REM 8 1746 BAS module address RE PUSH 20 PUSH 200 PUSH 2 PUSH 0 PUSH 0 PUSH 8 CALL 108 REM end dfl config Print print A negative parameter number exits the program INPUT Offset Parameter Number PAR_NUM IF PAR_NUM lt 0 THEN GOTO 530 INPUT Control parameter value P
49. nfiguring the PLC 5 channel 0 hardware Hardware Installation Manual 1785 6 6 1 Information about configuring the PLC 5 channel 0 driver Software Configuration and Maintenance 6200 6 4 6 1203 5 5 September 1995 Terms and Abbreviations Conventions Firmware Support Safety Precautions Preface P 3 The following terms and abbreviations are specific to this product For a complete listing of Allen Bradley terminology refer to the Allen Bradley Industrial Automation Glossary Publication Number ICCG 7 1 In this manual we refer to the Variable Frequency AC Drive Bulletin 1305 1336 FORCE 1336 PLUS 1395 1557 SMC SMC Plus or SMC dialog as the drive or SCANport device Programmable Logic Controller as the Programmable Controller Earth Ground as GND The following conventions are used throughout this manual Bulleted lists such as this one provide information not procedural Numbered lists provide sequential steps or hierarchical information Italic type is used for emphasis Textin this font indicates words or phrases you should type This manual supports communications module firmware versions 2 xx the xx designator may vary Features that work with specific firmware versions will be denoted as such ATTENTION Only personnel familiar with SCANport devices and associated machinery should plan or implement the installation start up configuration and subsequent maintenance of the serial c
50. ommunications module Failure to comply may result in personal injury and or equipment damage ATTENTION This module contains Electrostatic Discharge ESD sensitive parts and assemblies Static control precautions are required when installing testing servicing or repairing this assembly Component damage may result if ESD control procedures are not followed If you are not familiar with static control procedures refer to Allen Bradley Publication 8000 4 5 2 Guarding Against Electrostatic Damage or any other applicable ESD protection handbook 1203 5 5 September 1995 P 4 Serial Device Compatibility This Serial Communications Module is intended for use with devices that communicate via the following protocols Hardware Standard Communications Protocol RS 232 DE RS 422 DE RS 485 DE DH 485 DH 485 Allen Bradley Su pport Allen Bradley offers support services worldwide with over 75 Sales Support Offices 512 authorized Distributors and 260 authorized Systems Integrators located throughout the United States alone plus Allen Bradley representatives in every major country in the world Local Product Support Contact your local Allen Bradley representative for e sales and order support e product technical training e warranty support e support service agreements Technical Product Assistance If you need to contact Allen Bradley for technical assistance please review the information in the Troubleshoo
51. read about SCANport Datalinks A Datalink is a type of pointer function used by some SCANport devices to transfer parameter values to and from the SCANport device The Datalink function transfers parameters on a regular schedule Reading a parameter using the Datalink function data table N41 requires less time than reading a parameter using the Parameter Value Read data table addresses data tables N10 N19 or N50 N89 because the module is kept updated on the parameter value SCANport devices that support this function have a group of parameters for Datalink configuration These parameters are identified as Datalink In and Datalink Out parameters To enable the Datalink functions you need to 1 Set the correct switch to Enable on SW3 of the Serial Communications Module 2 Configure the Datalink In and Datalink Out parameters in the SCANport device Each Datalink consists of two 16 bit words of input and two 16 bit words of output You can configure each of the two input words to write to a different destination parameter within the SCANport device by setting the two Datalink In parameters for that Datalink to the desired destination parameters Similarly you can configure each of the two output words by setting the two Datalink Out parameters for that Datalink Each Datalink switch on SW3 can enable or disable one Datalink e Ifa Datalink is enabled the value of the parameters set into the Datalink Out parameters is trans
52. response contained a value of 3 in word 4 of its message response indicating a connection to a 1336 PLUS Data File Format 0 1 2 3 4 5 6 7 8 9 mnoo 3 of f Nos e ae o PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 5 8 Parameter Read Full The Parameter Read Full function provides all known attributes for the parameters requested This information includes the parameter s current value descriptor multiply and divide value base value offset value text string group element reference minimum value maximum value default value and unit text string PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 20 words Message Structure PLC Request Drive Response or Status Word Offset Va lue Parameter Text er Length Header Word 1 Data Word 1 Data Word 2 Data Word 3 Data Word 4 Data Word 5 Data Word 6 Data Word 7 PLC Decimal Value 768 Parameter Number See Drive List Data Word 3 Header Word 2 Char 2 Char 1 Parameter Text Char 4 Char 3 Parameter Text Char 6 Char 5 Parameter Text Char 8 Char 7 Parameter Text Char 10 Char 9 Parameter Text Char 12 Char 11 Parameter Text Char 14 Char 13 Parameter Text ar 16 Char 15 Data Word 8 Data Word 9 Data Word 10 Data Word 11 Data Word 12
53. the logic command status and reference feedback messaging SW3 Function NZ 7 1 Disable logic command status and reference feedback messaging 87654321 Enable logic command status and reference feedback messaging S765 4321 Use SW3 2 to enable and disable Datalink A messaging Sw3 Function Disable Datalink A messaging Enable Datalink A messaging 8765 4 TOT Use SW3 3 to enable and disable Datalink B messaging SW3 Function V 7 Disable Datalink B messaging 376543721 j Enable Datalink B messaging 3765 L T Installation 2 9 Use SW3 4 to enable and disable Datalink C messaging SW3 Function ol XI l l l i Disable Datalink C messaging 87654321 XI Enable Datalink C messaging Use SW3 5 to enable and disable Datalink D messaging SW3 Function of TK Disable Datalink D messaging 7 Enable Datalink D messaging 87 5 321 Use SW3 46 to enable and disable duplicate message detection SW3 Duplicate Message Detection of IM l l 2 Disable duplicate message detection 87654321 0 l TX Enable duplicate message detection 8 Te 543271 Use SW3 7 and SW3 8 to set the default application timeout value The default value is used for application timeout un
54. ting chapter first Then call your local Allen Bradley representative 1203 5 5 September 1995 Chapter Objectives Module Description Chapter 1 Product Description In this chapter you will read about e Serial Communications Module features e the location of configuration switches The Serial Communications Module is an optional interface device designed to provide a direct digital link between serial communications devices and any device that uses SCANport The current list of products that use SCANport includes 1305 1336 PLUS 1336 FORCE 1394 SMP3 controllers and 1557 medium voltage drives The module connects to these products via SCANport The Serial Communications Module is available in both Open style Figure 1 1 and Enclosed Figure 1 2 type configurations The Open style module mounts inside certain drives depending on drive size The Enclosed module mounts independently and can be used with any SCANport device The following table provides more information about the Open and Enclosed styles Designation Enclosure Power Supply Source Used With Open Style Open PC Board Supplied by the drive 1336 PLUS 1336 FORCE 13940 Enclosed IP30 24V DC separately supplied or 1305 120 240V AC separately supplied 1336 PLUS 1336 FORCE 1394 SMP3 Other SCANport products 7 5HP and higher sizes only excluding the AQF and BRF catalog number drives 7 5HP and higher sizes with Standard Adapter board only
55. tions Protocol Module Address Selection AB03988 Use SW1 1 and SW1 2 to select the communications protocol you are using amet vate Swi Protocol Decimal VVI 0 R z RS 232 DF1 protocol 87654321 d X 1 i Y RS 422 DF 1 protocol 876543 7 d X 2 i XB RS 485 DF 1 protocol 87654 Ray 3 7 aa DH 485 TIES IIo 1203 5 5 September 1995 2 4 Installation 1203 5 5 September 1995 Use SW1 3 SW1 4 SW1 5 SW1 6 SW1 7 and SW1 8 to set your address for the Serial Communications Module The following table provides the switch settings for selecting the serial device Note If you are using the DH 485 communications mode the highest serial device address you can select is 31 decimal Of 0 F N F addressing DF1 DH 485 Address Selection Module Module Address Address sw Decimal Octal 0 eee 0 8765432 1 1 OX XXX i 8765 i 2 Ia 8765 E 32 3 3 on 876 OXXX AAI 4 4 8 T 7 D B 5 5 E MLA BE T B T y 8765432 Doom 7 T l A J 8 10 m Xxx 8765432 EB B 9 11 aa 437 10 12 iaaa Al a LE 2 1 13 a 2 A BB 12 14 8 om 432 13 15 at 8 Tes Ka 14 16 hag a IMA 15 17 hac OOM 87
56. umber 15 2 Parameter Value or gaz Word Header Word 1 Header Word 2 Data Word 3 Data Word 4 Data Word 5 Data Word 6 Data Word 7 Number of Parameter Values to Read Data Word 3 Parameter Number Data Word 4 Parameter Numbat Data Word 6 Data Word 7 Data Word 8 Parameter Number 3 i net Data Word 62 bit Parameter Number 15 3 Parameter Value or Status Word bit Parameter Number 15 30 Parameter Value or aau on Data Word 8 Data Word 9 Data Word 62 Data Word 63 Data Word 9 1203 5 5 September 1995 Block Transfer Emulation Instructions 5 3 Message Operation Scattered Parameter Value Read reads a pre defined group of parameter values in any order from the device You define the number of parameters to read in word 3 of the request The parameters to be read and their order is defined starting with word 4 An unused word is left between each parameter request so the drive can respond with the parameter value as shown If an error has occurred in reading any of the parameters e Word 2 of the drive response returns a value of 32765 e Bit 15 of the drive response word for the number of that parameter is set e The drive response word for the value of that parameter returns a status word instead of returning the parameter value Example In this example eight parameters were read from a 1336 PLUS drive as defined in word 3 of the request The parameter numbers requested
57. umber of the entry in the fault queue that tripped the device in word 4 of the drive response The Fault Queue Number is 0 when the device is not faulted If an error has occurred in the block transfer word 2 of the response is negative Example In this example the device has stored a fault in the first entry of the Fault Queue that caused the drive to trip Word 4 of the response indicates the entry number Data File Format 0 1 2 3 4 5 6 7 8 9 oo 3 roa of T l nos e ize o wm ft I PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 5 20 1203 5 5 September 1995 Chapter 6 Troubleshooting Chapter Objectives Use this chapter to help you troubleshoot your Serial Communications Module system using the LED indicators on the front of the device as shown below The Serial Communications Module is a non serviceable device that you should return to Allen Bradley for replacement when a major fault exists that is attributable to the Serial Communications Module itself LED Locations Front View Open Version ey 7 T T 7 Serial STS gt ae ome au SCANport STS em RX J2 J4 O O Front View Enclosed Version RX SCANport STS Serial STS TX AB0414C 1203 5 5 September 1995 6 2 Troubleshooting A
58. ung 2 2 When the timer is done the MSG instruction is enabled TON Done Enable MSG Block T4 0 MSG T READ WRITE MESSAGE EN DN Type PEER TO PEER DN Read Write WRITE ER Target Device 500CPU Local Remote LOCAL Control Block N15 0 Control Block Length 14 Rung 2 3 END The following are the data tables used for this example Address Data Radix BINARY Address Data Radix BINARY B3 0 0000 0000 0000 0001 Address EN TT ODN TIME BASE PRE ACC T4 0 1 0 01 sec 200 156 Address CU CD DN OV UN UA PRE ACC C5 0 0 0 0 0 0 0 32767 2778 Address Data Radix DECIMAL 10 0 7 6 0 0 0 0 0 0 0 Address Data Radix DECIMAL N15 0 8192 3 9 10 137 5 0 224 10 N15 10 0 0 0 0 1 File Length 64 0 2 File Length 0 0 3 File Length 0 0 4 File Length 0 1 1 File Length 64 1 2 File Length 0 1 3 File Length 0 1 4 File Length 0 1203 5 5 September 1995 Chapter Objectives Block Transfer Emulation Status Word Chapter 5 Block Transfer Emulation Instructions This chapter contains the header and data configurations that you need to set up the data files for the block transfer emulation instructions The header and data values depend on the operation you want to perform When an operation is unsuccessful header word 2 of the drive response contains a negative value bit 15 1 In most cases the drive also returns a status word to indicate the reason for t
59. y location in N41 you will read data from the drive 1203 5 5 September 1995 4 4 Configuring and Interfacing Important The following two tables list the typical control and status structure You should refer to your drive manual for the actual control and status structures for your device The following are the bit definitions for B3 0 or writes to N41 0 Bit Description Bit Description 00 Stop 10 Acceleration time 01 Start l 11 Acceleration time 02 Jog 12 Deceleration time 03 Clear faults 13 Deceleration time 04 Direction l 14 Reference select 05 Direction l 15 Reference select 06 Local 16 Reference select 07 MOP increment 17 MOP decrement The following are the bit definitions for B3 10 or reads from N41 0 Bit Description Bit Description 00 Enabled 10 At speed 01 Running 11 Local 02 Command direction 12 Local 03 Actual direction 13 Local 04 Accelerating 14 Reference select 05 Decelerating 15 Reference select 06 Alarm 16 Reference select 07 Faulted 17 Reference select 1203 5 5 September 1995 Configuring and Interfacing 4 5 The following is the data table structure for PLC 2 style addressing P aramaio LG Style oe Description of Location s Purpose Number Decimal Octal 1 7039 tot een Parameter value read 16600 to 167770 Status of last parameter write 1 7039 a Param

Download Pdf Manuals

image

Related Search

Related Contents

  1. Contenu du kit 2. Pré-requis E 3. Installation 4  HLA Fusion Release Notes - Research v3_0  Manual de instrucciones Instruction manual Notice d  Libretto Aura R K 18S  J`aide mon enfant à s`organiser  Cisco Systems Network Cabling User's Manual  foot massager fm 8720  Convergence-enabled DVD and web system  VPCL22CFX/B  

Copyright © All rights reserved.
Failed to retrieve file