Home
1203-5.5, Bulletin 1203 Serial Communnications
Contents
1. Commands CMD Code FNC Code Command Name PLC Addressing Method 01h n a Unprotected read PLC 2 address 06h 00h Echo n a 01h Read diagnostic counters Variable modified PLC 2 addresses 02h Set variables ENQs NAKs TIMEOUT n a 03h Identify host and some status n a 04h Settimeout n a 05h Set NAKs n a 06h Set ENQs n a 07h Reset diagnostic counters n a 09h Read link parameters Logical address DAN 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 Alh a REESEN File number type element number Ah typed logical read with three File number type element address fields number sub element number A9h nn iaaiiai File number type element number Protected typed logical write with three File number type element number AAh S address fields sub element number ABh Protected typed logical write with four File numberitype element number address fields sub element number bit mask 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Data Table Structure Configuring and Interfacing 4 3 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
2. 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 2 8 Installation 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 no zo Application timeout Datalink message default values enables Duplicate message Logic command detection Status and reference feedback ABO400B Use SW3 1 to enable and disable the logic command status and reference feedback messaging SW3 Function NZ 7 Disable logic command status and reference feedback messaging 87654321 Enable logic command status and reference feedback messaging 87654321 Use SW3 2 to enable and disable Datalink A messaging SW3 Function Disable Datalink A messaging 7 Enable Datalink A messaging 87654 391 Use SW3 3 to enable and disable Datalink B messaging SW3 Function V 7 Disable Datalink B messaging 376543721 Enable Datalink B messaging 3765 A T 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Installation 2 9 Use SW3 4 to enable and disable Datalink C messaging SW3 Function d XI l l l i D
3. SMP3 Connection Port1 Port2 D Human Interface odule Enclosed Communications Module AB0408B 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 00000 0000 115V AC Hi 115V AC Low ND CH Enclosed Communications Module 24V DC Typical Connection 00000 EI Qa H Q oO Enclosed Communications Module AB0413B 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Chapter Objectives SCANport Datalinks Chapter 3 SCANport Datalink Operation In this chapter you will 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 func
4. O Me R Me Q e Communications o Module O Mie D Me O m o o Communications Module 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 2 12 Installation Enclosed Style Serial Communications Module Dimensions 44mm M 1 75 DIN Rail EN LI 45mm 1 8 Top View P am f 25mm 1 OOOOO O 0000 O 76mm 3 0 DIN Rail Front View 25mm 1 1203 5 5 September 1995 Notes 70mm 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 Al dimensions are given in millimeters and inches DIN Rail 2 7 Ge M DIN Rail Mounting Clip Back View 123mm 4 8 DIN Rail Side View ABO406A efesotomasyon com Allen Bradley Rockwell plc servo drive 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 Communica
5. 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 70 efesotomasyon com Allen Bradley Rockwell plc servo drive This example shows the response message N10 90 through N10 112 in both binary and ASCH Note the ASCH 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 Thes
6. SW3 SW2 BXXXXXXXX ser l 7654 1 5 4 SS Swi ser o efesotomasyon com Allen Bradley Rockwell plc servo drive Installation 2 3 Switch SW1 Switch SW1 is used to select serial communications mode RS 232 RS 422 RS 485 DH 485 e Serial Communications Module address SW1 0 F F 0 N 8 7 6 5 4 3 2 1 K yY A Communications Protocol Module Address Selection 1803988 Use SW1 1 and SW1 2 to select the communications protocol you are using a swi Protocol War 0 R Gei RS 232 DF1 protocol 87654321 d H 1 m RS 422 DF1 protocol 876543 TT 2 7 B i XB RS 485 DF1 protocol 87654 791 3 7 aa DH 485 RS 1203 5 5 September 1995 2 4 efesotomasyon com Allen Bradley Rockwell plc servo drive Installation 1203 5 5 September 1995 Use SW 1 3 SW1 4 SW 1 5 SW 1 6 SW 1 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 0 0 F N F addressing DF1 DH 485 Address Selection Modul
7. Pp Description File Description Address Address D n 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 Reference F eedback N41 2 Datalink Al 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 any location in N41 you will read data from the
8. 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 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 amp o 7 o o l nom o we o w o wm o lo Drive response ERRER R i or vor oo ae onal Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 5 4 Scattered Parameter Value Write The Scattered Parameter Value Write function
9. 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 WEE EE WE J Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 EEPROM e EE Recall retrieves the last saved data from EEPROM and places it in the working memory or
10. 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 Dala ee NA ee 1770 6 5 16 Communication Protocol and Command Set on about setting up the DH 485 network on SLC 500 Modular Hardware Style on A complete listing of current Allen Bradley documentation including ordering instructions Also indicates whether the Allen Bradley Publication Index 5D499 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 configuring 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Terms and
11. 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 Parameter Value or Status Word Multiply Value Divide Value SE 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 Offset Value Parameter Text Parameter Text Parameter Text 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 Char 16 Char 15 Data Word 8 Data Word 9 Data Word 10 Data Word 11 Data Word 12 Data Word 13 Data Word 14 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Block Transfer Emulation Instructions 5 9 Message Structure Continued Drive Response File Group Element Data Word 15 Data Word 16 Data Word 17 Data Word 18 Data Data Word 20 Default Value
12. 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 nonof 4 f ov i III Noj 3 7zoj ooj ITT Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 the
13. 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 the 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 xx End Write parameter subroutine 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Rung 2 0 Configuring and Interfacing DH 485 Messaging with a SLC5 03 Interface The following example uses the DH 485 communications mode to send a message from an SLC5 03 to the Serial Communications Module If this is the first scan or the error bit is true byte is cleared and the done bit is set starts correctly and recovers from a MSG error First Scan Bit Se AND H J L BITWISE AND Et 1 5 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
14. 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 DF1 RS 422 DE RS 485 DF1 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 sales and order support 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 Troubleshooting chapter first Then call your local Allen Bradley representative 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Chapter Objec
15. nia Saeg T L 12 13 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 provide control over DH485 network loading User MSG Block DH485 Done DN Enable Bit B3 0 N15 0 dh II 0 13 the MSG instruction s control This ensures that the program always timer can be adjusted to TON IMER ON DELAY E Timer T4 0 Time Base 0 01 Preset 200 Accum 156 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 4 14 Configuring and Interfacing Rung 2 2 when the timer is done the MSG instruction is enabled TON Done Enable MSG Block T4 0 MSG II 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 DN TIME BASE PRE ACC T4 0 1 1 0 01 sec 200 156 Address CU CD DN OV UN UA PRE ACC E50 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 1
16. 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 meaning of the reference and feedback values depend on the type of SCANport device 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 4 8 Configuring and Interfacing Datalink Al Writing to Datalink Al sends a value to the parameter pointed to by the DataIn Al parameter of the SCANport device Reading from Datalink Al 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
17. 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 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 i DEES features configuration and diagnostics Provides procedures for mounting connecting 2 Installation power configuring switches cabling 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
18. writes to a scattered 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 5 63 PLC Decimal Value 32765 Number of Parameter Values to Write Parameter Number 1 Parameter Value 1 gains Number i Parameter Number Pale AOUE Parameter Number 30 Parameter Value 30 1203 5 5 September 1995 Data Word 7 Data Word 8 Data Word 9 Data Word 62 Data Word 63 Drive Response Message Length 5 63 Header Word 1 Header Word 2 Data Word 3 Data Word 4 Data Word 5 Data Word 6 PLC Decimal Value 3 Message OK 32765 Message Error Number of Parameter Values to Write b it Parameter Number 15 1 Status Word 1 bit Parameter Number 15 7 Status Word 2 Data Word 7 Data Word 8 Data Word 9 Data Word 62 Data Word 63 bit Parameter Number 15 3 Status Word 3 Status Word 30 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 t
19. 0 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 the 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 n invalid value in the block transfer emulation request header word 2 he data value is out of range There is a drive state conflict Th
20. 03 Interface Block Transfer Status Word aaan Scattered Parameter Scattered Parameter Value Rea es eae na Value Write oo ccc ee ees ProductID Number Head Parameter Read Full Parameter Value Read Parameter Value Write 22 EE Memory Function Fault Clear Reset EE Fault Queue Entry Read Full Fault Queue Size Trip Fault Queue Number Chapter 6 Chapter Objectives LED Locations LED Troubleshooting Table Chapter 7 Chapter Objectives Product Specifications Module Compatibility efesotomasyon com Allen Bradley Rockwell plc servo drive 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 who should use this manual e the purpose of this manual terms and abbreviations e 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 communications 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
21. 305 Drive Port Expander Port2 A Optional ale Female Cable 0000 O 0000 0 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 lt 10 meters A B2 C lt 10 meters B1 B2 lt 10 meters efesotomasyon com Allen Bradley Rockwell plc servo drive 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 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
22. 49 read or write 9750 9999 N 89 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 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 N42 2 Message TIMEOUT mS N42 3 Application TIMEOUT Seconds 42 4 Adapter series number 2 B N42 5 Adapter firmware version 201 FRN2 01 N42 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Configuring and Interfacing 4 7 The data tables have up to eight areas each having a different purpose 1 Parameter Value Read or Write N 10 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 Wh
23. 5 device that had sent a message to data table N41 drops off the network 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 2 10 Installation Mounting the Serial Communications Module 1203 5 5 September 1995 The Serial Communications Module can be provided in three 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 1336 PLUS Main Control Board Human Interface oar odule Open Serial Communications Module Mounts Here emory SCANport Module L OPTION Mounting screws amp standoffs qty 4 II AB0404C efesotomasyon com Allen Bradley Rockwell plc servo drive Installation 2 11 Enclosed Style Communications Module Mounting Location 1336 FORCE and 1336 PLUS Drives 1336 FORCE 86008 SIE 00 8 8 Port Expander Optional 2 4 Male Male Cable a S
24. 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 communications 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
25. C 5 Channel U driver e 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 8l 490 500 510 520 530 540 E DB DB DB DB PB DB DB vs a efesotomasyon com Allen Bradley Rockwell plc servo drive Configuring and Interfacing 4 11 DEI 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 aSCANport 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 modules rem STRING 512 127 REM RE REM Setup port 1 to 9600 baud no parity 8 bits 1 stop kit REM software handshaking and battery backed ram data storage REM IIREMEMBER 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 DEI driver REM 20 Setup for Full Duple
26. D RECEIVE MESSAGE EN 00 EN 2 Control block MG20 0 DN T LER F 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 D NR Local Remote LOCAL awaiting execution D EW Remote Station N A continuous 0 CO 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 4 10 Configuring and Interfacing 1203 5 5 September 1995 Notes e 1 000 00 is any application related conditioning logic e MG20 0 EN is the enabled status bit from the message block e 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 e The DFI address of the PLC 5 is the same as its DH address set by DIP switch SW1 on the PLC 5 e Refer to Publication 6200 6 4 11 Instruction Set Reference for information on the MSG block e 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 PL
27. O G I Ne SWT SW eu Serial STS gt SCANport STS be RX Front View Enclosed Version RX SCANport STS Serial STS TX ABO414C 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 6 2 Troubleshooting ATTENTION 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 eCheck 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 conf
28. atus of last parameter write 1 7039 7680 Parm Parameter read full 17000 to 34577 34600 to 34677 Block transfer emulation area 34700 Logic command status 34701 Reference feedback 34702 Datalink Al 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 p 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 N 18 0 999 read or write 9000 9999 N19 0 999 1 249 N50 1 249 250 499 N51 0 249 Parameter value 9500 9749 N 88 0 2
29. aud paie Decimal 0 d XXX 110 87654 JI 1 d RX 300 EI 8765432 2 d BR 600 IH 876543 3 d X 1200 X 87654 Gay 4 d RX 2400 l 8765 A 5 d XI 4800 KN 8765432 6 d X 9600 8765 KA 7 d 19200 Ham 8765 13 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Installation 2 7 E Note If you are using the 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 N 7 x Parity disabled 87654321 N j XE Even parity 876 543 21 0 ar Odd parity 87 IR 21 Use SW2 6 to choose between 1 stop bit and 2 stop bits Sw2 Function IM 87654321 1 stop bit 0 i 2 stop bits ZB F321 Use SW2 7 to choose between point to point and multi drop Sw2 Function oN 87654321 i 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 DI e BCC Checksum 87654321 CRC Checksum 37 654321
30. drive 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 P Description Bit Description 00 Stop 10 Acceleration time 01 Start 11 Acceleration time 02 Jog 12 Deceleration time 03 Clear faults l 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Configuring and Interfacing 4 5 The following is the data table structure for PLC 2 style addressing Parameter Number 1 7039 PLC 2 Style Address Decimal Octal 512 Parm 1000 to 16577 Description of Location s Purpose Parameter value read 16600 to 167770 St
31. e Module Address Address sw Decimal Octal 0 eege 0 8765432 1 1 OX XXX i 8765 AS 2 2 2 MER 8765 E 32 3 3 on 876 XXX Wa 4 4 8 T 7 D B 5 5 2 MLA NV T RR 8765432 DE 7 7 7 GI RK 8 10 m Xxx 8765432 EB D 9 11 _ JB 137 10 12 info a Ke 2 1 13 m 2 E BB 12 14 gt 8 IX 432 13 15 at 8 Tes Ka 14 16 hag d 3 L 15 17 hac Sea 87 Module Module Address Address swi Decimal Octal EN D 16 20 8 RI 4321 17 21 MER 817165 7372 d ox N a 19 23 a m o T 20 24 vm 7321 21 5 NY NV 22 26 DN w H OI 2 om B 23 27 MEER 24 30 Kap CRW 25 31 RR BIR 26 32 l R om TS 27 33 j 0 XX 28 34 Pa JI MI A s ex om X so Tann T R n n aan DEI Address Selection Module Module Address Address swi Decimal Octal 32 40 u k GR a 33 41 WK 7654 2 34 42 LD B 65 7 32 0 N 35 43 X H os 36 44 REN d az 432 37 45 Vve 37 az 13 2 38 46 ana oe KR 2 39 47 Pa 1 Eu 40 50 WM wa 0 41 51 Je KS R d BI
32. e drive is in an incorrect state to perform the function The drive cannot be running when you perform certain functions 1 gt gt a Gol Eel WwW rm Ho 1203 5 5 September 1995 5 2 Scattered Parameter Value Read 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 PLC Decimal Value 3 Number of Parameter Values to Read daia Number Bias Number Parameter Number 3 Parameter Number 30 m SS 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 Number 15 2 Parameter Value or Status Word 2 bit Parameter Number 15 3 Parameter Value or Status Word 3 bit Parameter Number 15 30 Parameter Value or one The Scattered Parameter Value Read function reads a scattered list of Header Word 1 Header Word 2 Data Word 3 Data Word 4 Data Word 5 Data Word 6 Data Word 7 Data Word 8 Data Word 9 Data Word 62 Data Word 63 efesotomasyon com Allen Bradley Rockwell plc servo drive Block Transfer Emulation Instructions 5 3
33. e 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 ea en Header ona Parameter Value or Data Status Word Word 1 PLC Decimal Value 769 Header Word 2 Parameter Number See Drive 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 d
34. ed PLC Block Transfer Emulation Instruction Data PLC request instruction length 3 words Drive response instruction length 4 words Message Structure PLC Request Drive Response Kerger 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Block Transfer Emulation Instructions 5 7 Example In this example the Product ID Number Read was requested The drive 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 oo 3 a6 o l Nos e ae o PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 5 8 Parameter Read Full The
35. efesotomasyon com Allen Bradley Rockwell plc servo drive F Allen Bradley J e Module al A Aa DH485 i d Cat No 1203 GD2 GK2 GM2 d UU i Bulletin 1203 Serial Communications RS232 422 483 Using DF1 Protocol efesotomasyon com Allen Bradley Rockwell plc servo drive 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 Com
36. en 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 ofthe data returned will be zeros Read this area beginning at element number zero Parameter 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
37. er and motion control devices operator interfaces sensors and a variety of software Rockwell is one of the worlds leading technology companies Worldwide representation i L EH 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 e Egypt e El Salvador e Finland e France e Germany e Greece e Guatemala e Honduras e Hong Kong e Hungary e Iceland e India e Indonesia s Ireland e Israel e Italy e Jamaica e 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 e Thailand e Turkey e United Arab Emirates e United Kingdom e United States e Uruguay e 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
38. evice 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 ml 3 zo N1090 aoo J TI J PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 5 12 Parameter Value Write PLC request Drive response Parameter Value Data Word 1 Message Length 0 1 2 3 4 noo 4 Lasel 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 31999 Message Error Parameter Number Status Word Message Operation The Parameter Value Write function sends a new value to the specified parameter
39. har 13 Fault Text Char 15 Fault Code Value Clock Time ime Clock T Clock Time Day ime Clock T Year Month 1336 FORCE Drive Only 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 Flt with each character reversed The fault code for this example is 22 Data File Format PLC request E A sg Vos zoo oso r o v i ele Ale s ifi po ET TT CU III Example only These values vary depending on parameters and products ASCII Display values 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 instruc
40. heir 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 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 0 1 2 3 4 5 6 7 8 9 BE RE RE BZ E E E RE EN Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 connect
41. id red fault RX Adapter receive LED flashing green link OK not connected D solid green link OK connected D flashing red was connected now not connected D solid red fault C AB0394C mmm 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 1 4 Product Description Figure 1 2 Enclosed Style Serial to SCANport Communications Module SCANport connector Serial channel Bun D shell connector Sa 0 Power St i o connection lt lt 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 2 ae even odd Application timeout pI i G rt value Point to point multi drop Switch SW1 CRC BCC check Protocol select Duplicate message detection Adapter address _ Hau 1 8 SW21 8 SL 1 T H 1000 SC Bottom View ABO415B 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell p
42. iguration 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 Lala Link was connected and is now Red blinking not c nnected 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Chapter Objectives 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 Module Compatibility Open Style Enclosed Se 115 230 Enclosed Style 24V DC Catalog Number GM2 GD2 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 In
43. isable 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 E 321 Use SW3 6 to enable and disable duplicate message detection SW3 Duplicate Message Detection of IM l j l d Disable duplicate message detection 87654321 D l TX Enable duplicate message detection 8 785 4321 Use SW3 7 and SW3 8 to set the default application timeout value The default value is used for application timeout unless 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 er No timeout disabled 8765432 on 1 second 8765432 NZ NW 30 seconds 765432 mp 60 seconds La 165432 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 aDH 48
44. 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 aal nooo 4 ie o wo PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 Fault Text Fault Text Fault Text Fault Text TE Length Header Word 1 PLC Decimal Value 1792 Header Word 2 Fault Queue Entry Number Data Word 3 Fault Text Char 11 Fault Text C
45. lc servo drive Product Description 1 5 Figure 1 3 Typical Serial Communications SCANport Device Interconnect Open Style i Comm Module 1336 PLUS Serial port SCANport Serial lt Serial communications link Communications Module SLC 5 03 CAIA G ALEN BRADLEY kal Ge SCANport Serial Communications Module Y Other serial devices Aponte 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 switches Rocke
46. m M 42 52 N d LR D 43 53 Z AA Do 44 54 NN 9 LC w PI 45 55 er DEE X BI 46 56 Ke dE HI 47 57 AR nmo zo efesotomasyon com Allen Bradley Rockwell plc servo drive Installation 2 5 Module Module Address Address SW Decimal Octal XXX 48 60 HR WI F321 CEDO 1 e d Yon D d S Wi 432 d D 51 63 ae We 0 52 64 Zu me Wi 53 5 ee G R nn 2 0 54 66 aa l 0 55 67 Wan l od XXX s v as 0 ee 57 71 SO RR S 0 a N KE T 2 0 73 anan 0 d i N wadi 61 75 eee 0 BEX e Lag 321 0 s e 21 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 2 6 Installation Switch SW2 Switch SW2 is used to select baud rate e parity number of stop bits e point to point or multi drop checksum mode CRC or BCC SW2 no zo 8 7 6 5 4 3 2 1 NV E Parity Baud rate setting selection Stop bits Point to point multi drop Checksum mode ABO399A Use SW2 3 SW2 2 and SW2 1 to select the baud rate Switch Value SW2 B
47. n 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 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 Ee 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 DF1 protocol SW1 1 off These switches can be visually represented as follows
48. pany with respect to use of information circuits equipment or software described in this manual Reproduction of 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Table of Contents Preface Product Description Installation Who Should Use this Manual Purpose ofthis Manual Contents of this Manual Related Documentation Terms and Abbreviations ccc cece ete eee eens Conventions Firmware Supp ft 2 A ana anna Safety Precautions naar rasanten Serial Device Compatibility 0 eee een Allen Bradley Support Local EE Technical Product Assistance Chapter 1 Chapter Objectives cc cece eee eee ees Module Desc
49. put 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 on ge as e ad RS 232 RS 422 RS 485 RS 232 RS 422 RS 485 RS 232 RS 422 RS 485 Serial Side DF1 DF1 DF 1 DH 485 DH 485 DH 485 Baud Rates 110 300 600 1200 2400 110 300 600 1200 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 This module is intended for use with devices that communicate via 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 7 2 Specifications 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 pow
50. r switch Side switch Open Off O VAN AB0397A Switch designation as shown in this manual off On 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive Chapter Objectives Setting Module Configuration Switches 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 i
51. ription SCANport Device Compatibility 0 ccc eee eee Configuration SWIMS tice Sooke ete w ead Pows dea eae eas Chapter 2 Chapter Objectives cece eee eee nn Setting Module Configuration Switches SULHSWE fk ashen ged Girdle dnd R E edit eek E DF1 DH 485 Address Selection BEL Address S alec lt uetvvaduprudied REAT ART SWIC OW ren SWIC SWS toate ieai tee EE Mounting the Serial Communications Modus Enclosed Style Serial Communications Module Dimensions Connecting Cables ai NA ENNERT NNN REESEN SNE 1746 BAS Module Serial Connections IBM PC Compatible Serial Connections 1747 AlC Link Coupler Serial Connections PLC5 Channel 0 Serial Connections SCANportLink Connection ccc eee eee ee eens DOP DIVE keines Mee dE dd DPS sa Ta e ER TEE a awry efesotomasyon com Allen Bradley Rockwell plc servo drive 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 et Data Table Structure o a anaa Configuration Examp ISE DF1 Messaging with a PLC 5 80 Example DF1 Messaging with a 1746 BAS Module Example DH 485 Messa Chapter 5 Chapter Objectives ging with a SLC5
52. s 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 efesotomasyon com Allen Bradley Rockwell plc servo drive 3 2 SCANport Data Link Operation 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Configuring and Interfacing Supported PCCC Command List The Serial Communications Module supports the following PCCC
53. sage 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 number 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 TI I TI PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 5 20 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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
54. tion length 4 words Message Structure PLC Request Drive Response ES Length Header Word 1 Do Length PLC Decimal Value 1793 Message OK 30975 Message Error PLC Decimal Value 1793 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 wm s s o mo e ize oje 1 NN PLC request Drive response Example only These values vary depending on parameters and products 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 Mes
55. tion 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 transferred 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 parameter
56. tions 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 S hell 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 FER AB0403B 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 2 14 Installation IBM PC Compatible Serial Connections RS 485 RS 422 RS 232 Communications Adapter to IBM AT Compatible Computer RS 232 Serial Port Connection Diagram a IBM AT Compatible Communications Module Personal Computer Computer Internal 9 P in D Shell RS 232 Serial Port i 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 Connec
57. tives 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 P 7 5HP and higher sizes with Standard Adapter board only Per analog 1394 only 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 1 2 Prod
58. 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 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 efesotomasyon com Allen Bradley Rockwell plc servo drive Configuration Examples Configuring and Interfacing 4 9 DF1 Messaging with a PLC 5 80 Example This example reads parameters 1 through 50 Ladder rung example for Gx2 manual Rung 2 0 I 000 MG20 0 B3 MSG 171 ONS SEN
59. tor 9 P in D Shell 1747 AIC Link Coupler TERM A B COMMON SHLD CHS GND 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 COM N C TX N C RX N C N C N C COM SLC 5 03 Port 1 Serial Connections Communications Module 9 P in D Shell SLC 5 03 RS 232 Port COM TX RX N C COM 2 15 AB0486B AB0411B 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 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 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 Bl 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 1
60. uct Description SCANport Device The SCANport Serial Communications Module is compatible with Com patibility 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 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive SW1 1 SW1 2 Protocol select SW1 3 SW1 8 Adapter address SW2 1 SW2 3 Baud rate selection SW2 4 Parity enable 3 SW2 5 Parity sense even odd 4 sw Serial SW2 6 Stop bits 2 Communications SW2 7 Point to point multi drop Module 8 SW2 8 CRC BCC check SW3 1 Logic command status and 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 TX Adapter transmit when flashing Serial Status 1 LED off adapter power removed 2 3 4 5 SCANport Status S 1 LED off adapter power removed when flashing 2 3 4 di Product Description 1 3 Figure 1 1 Open Style Communications Module GO 4 Cn Ln Es LKA KA reference feedback GO 4 Cn Ln Es L KA KA default value O LED Indicators 9 Pin D shell LED flashing green link OK off line LED solid green link OK on line LED flashing red was on line now off line LED sol
61. x 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 PAR_VALUE REM encode the value as an ASCII hex string in order of LOW HIGH ASC 1 1 PAR_VALUE INT PAR_VALU ASC 1 2 INT PAR_VALUE 256 GOSUB 550 REM fire off the write instruction GOTO 460 CALL 113 END E 256 256 1203 5 5 September 1995 efesotomasyon com Allen Bradley Rockwell plc servo drive 4 12 Configuring and Interfacing 550 RE KEK KE KKK KKK KKK KEK KKK KKK KKK KKK KKK TR IH HH KH A KH TH AH KH A TH FH A TR TH A KH A TH TH A FH A FH KH A FH AK A KH A KH A 560 REM XKR Ke PLC TYPED READ Subroutine ARE 561 REM Ze ee REA inputs Parameter number in var PAR_NUM EKRRK 562 REM Fran ASC coded hex string of value in 1 XK 563 REM 2X RA ASK ER outputs failure message RR 565 RE KKK KKK KKK KKK KKK KKK KKK KKK HF HH TH TH FR KH KH AH FH TH TH FH TH TH FH A FR TH A KH A TH TH A FH A A AK A FH FH A KH A KH I 570 REM subroutine to
Download Pdf Manuals
Related Search
Related Contents
User manual tuberailcart type HH/HM Exakta II User's Manual Logitech K300 User's Manual SAFEGUARD™ Lubrication System Console Etiologia das Anormalidades Operacionais na Indústria - TPQB Russound CA6.4 Stereo Amplifier User Manual 取扱説明書 - マックスレイ Car Multimedia Player LCD Module User`s Manual MX-C21 シリーズ 風向風速記録器 ( ダイジェスト版 ) 仕様・取扱説明書 Copyright © All rights reserved.
Failed to retrieve file