Summary of Contents for Allen-Bradley DeviceNet 1203-GK5
Page 1
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet™ Communications Module Catalog Number 1203-GK5 or 1336-GM5 Firmware 1.xxx-3.xxx CONFORMANCE TESTED User Manual...
Page 2
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.
Page 3
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Summary of Changes Summary of Changes The information below summarizes the changes made to the manual since the last release. These changes are a result of the 3.xxx firmware upgrade. DeviceNet Communications Modules with firmware 3.xxx support an internal (Rockwell use only) Object for use with IntelliCENTER™...
Page 4
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive soc–2 Summary of Changes Notes...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Table of Contents Preface Using this Manual Objectives ..........P-1 Who Should Use this Manual? .
Page 6
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive toc–ii Table of Contents Chapter 5 Creating a Ladder Logic Chapter Objectives......... . . 5-1 Required Equipment .
Page 7
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Table of Contents toc–iii Appendix D Supported PCCC Messages Appendix Objectives ......... D-1 PCCC Support .
Page 8
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive toc–iv Table of Contents Notes...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Preface Using this Manual Objectives Read this preface to become familiar with the organization of the manual. In this preface, you will read about the following: • Who should use this manual. • The purpose of this manual. •...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using this Manual Contents of this Manual This manual contains the following information: Chapter Title Contents Preface Using this Manual Describes the purpose, background, and scope of this manual. Also provides information on safety precautions and technical support. Overview Provides an overview of the 1203-GK5 module, 1336-GM5 board, DeviceNet, and SCANport™.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using this Manual Safety Precautions Please read the following safety precautions carefully. ATTENTION: Only personnel familiar with Allen- Bradley SCANport products and associated machinery should plan or implement the installation, start-up, configuration, and subsequent maintenance of the 1203-GK5 or 1336-GM5 DeviceNet communications adapter.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using this Manual Conventions Used in this Manual The following conventions are used throughout this manual: • Bulleted lists provide information, not procedural steps. • Numbered lists provide sequential steps or hierarchical information. • Italic type is used for chapter names, parameter names, and book names.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Chapter Overview Chapter Objectives Chapter 1 provides an overview of 1203-GK5 module and 1336-GM5 board. In this chapter, you will read about the following: • Function of the 1203-GK5 module or 1336-GM5 board. • Features of the 1203-GK5 module and 1336-GM5 board. •...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview Figure 1.2 Example DeviceNet Network Node 3 1336 PLUS Node 1 1305 Node 2 1336- Node 0 PLC-5 DeviceNet In Figure 1.2, Node 1 and Node 2 use a 1203-GK5 module to connect to the DeviceNet network, and Node 3 uses a 1336-GM5 board to connect to it.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview SCANport Products Some SCANport products support only one peripheral; others support up to six peripherals. The table below lists many SCANport products, the number of peripherals each supports, the minimum and maximum I/O words, and the type of adapter that can be used. I/O Words Adapter Use Number of...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview Hardware and Parts Description The hardware included with the adapter depends on the adapter that you have. 1203-GK5 Module Hardware Figure 1.3 illustrates and the following table lists the main parts of the 1203-GK5 DeviceNet communications module: Figure 1.3 Parts of the 1203-GK5 Module AB0935...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview 1336-GM5 Board Hardware Figure 1.4 illustrates and the following table lists the main parts of the 1336-GM5 DeviceNet communications board: Figure 1.4 Parts of the 1336-GM5 Board AB0936 Number Part Description DeviceNet Connection Provides a 5-pin Phoenix connector to attach the module to the DeviceNet network. Bi-Color LEDs Indicate the status of the DeviceNet media channel and of the SCANport connection.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview Required Tools and Equipment The tools and equipment required, depend on if you are using a 1203-GK5 module or 1336-GM5 board. 1203-GK5 Module When unpacking the 1203-GK5 module, ensure that the contents of the shipping box include: •...
Page 19
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview 1336-GM5 Board When unpacking the 1336-GM5 board, ensure that the contents of the shipping box include: • 1336-GM5 DeviceNet Communications Board. • One 5-pin plug-in connector. • One grounding wrist strap. • Four Phillips mounting screws. •...
Page 20
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Overview This Page Intentionally Left Blank.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Chapter Configuring the 1203-GK5 Module or 1336-GM5 Board Chapter Objectives Chapter 2 provides instructions and information that you need to configure the 1203-GK5 module or 1336-GM5 board. In this chapter, you will read about the following: •...
Page 22
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board On the 1203-GM5 board, DIP switches are found in the following location. Figure 2.2 Switches on the 1336-GM5 Board SW1.1 = Datalink A SW1.2 = Datalink B SW1.3 = Datalink C SW1.4 = Datalink D SW1.5 = Not Used SW1.6 = Zero Data / Hold Last State...
Page 23
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board Safety Precautions When configuring the 1203-GK5 module or 1336-GM5 board, please observe the following safety precautions: ATTENTION: When you make changes to the switch settings, use a blunt, pointed instrument. Do not use a pencil because the lead (graphite) of the pencil may damage the switch assembly.
Page 24
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board Setting the Node Address DIP switches 6 through 1 on SW2 set the node address for the 1203-GK5 module or 1336-GM5 board. The factory-default setting is DeviceNet node address 63. Figure 2.3 Setting the Node Address Off = 0...
Page 25
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board Setting the Data Rate DIP switches 7 and 8 on SW2 set the data rate at which the 1203-GK5 module or 1336-GM5 board communicates on the network. The factory-default setting for the data rate is 125K. Figure 2.4 Setting the Data Rate Off = 0...
Page 26
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board Setting the Datalinks DIP switches 4 through 1 on SW1 are used to enable or disable datalinks. With datalinks, you can increase the size of I/O transmitted to and from a drive. By enabling a datalink, you can continuously change or monitor the value of a parameter without using the DeviceNet explicit messages.
Page 27
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board Setting the Fault Response Configuration Switches DIP switches 8 through 6 on SW1 let you configure how a 1203-GK5 module or 1336-GM5 board controls a product when network communications fail or the scanner is idle. With the factory-default setting, the product is faulted when communications are disrupted.
Page 28
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring the 1203-GK5 Module or 1336-GM5 Board 4. Slide switches 6 to 8 to their appropriate positions. Important: DIP switch and parameter settings take effect when a module or board first receives power. When you change a setting, you must remove and then reapply power for the new setting to take effect.
SCANport Cables When selecting the SCANport cable to connect the 1203-GK5 module to the SCANport product, you need to: • Use an Allen-Bradley SCANport cable. Refer to the table below. Male to Male Connection Male to Female Connection Length Catalog Number...
Page 30
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board DeviceNet Cables You can connect a device to a DeviceNet network using either a drop line or daisy chain. A drop line connects a device directly to the DeviceNet trunk. In Figure 3.1, Node 1 uses a drop line. A daisy chain connects one device to another device.
Installing the 1203-GK5 Communications Module The following instructions explain how to physically install your DeviceNet 1203-GK5 communications module. 1. Remove power from the network. 2. Hook the top lip of the module DIN rail mount onto the top of the DIN rail and then rotate the module onto the DIN rail.
Page 32
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board 3. Insert the DeviceNet cable wires into the 5-pin or 10-pin connector. ATTENTION: If you wire the 5-pin or 10-pin header after you have connected it to the module, static control precautions are required.
Page 33
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board 4. Plug the DeviceNet cable into the module. Make sure that you use the color key next to the connector receptacle on the module. Figure 3.4 Inserting a 5-pin or 10-pin Phoenix Connector AB0942 5.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board Removing the 1203-GK5 To remove the 1203-GK5 communications module, you need to: Communications Module 1. Remove power from the network. 2. Remove the SCANport cable from the product and then from the module.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board Installing a 1336-GM5 Board After selecting the cables that you need, read this section for information and instructions on installing Required Tools and Equipment To install your 1336-GM5 board, you need the following tools and equipment: •...
Page 36
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board Installing the 1336-GM5 Communications Board The following instructions explain how to physically install a DeviceNet 1336-GM5 communications board. Important: If you are attaching the communications board to a 1336 PLUS II, refer to the one-page insert included with the kit for mounting instructions.
Page 37
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Installing the 1203-GK5 Module or 1336-GM5 Board 4. Insert the pins located on the 1336-GM5 into the 14-pin SCANport header on the drive. The board should sit squarely on the stand-offs. 5. Using a #1 Phillips screwdriver and the four supplied mounting screws, screw the board securely into place, being careful not to overtighten.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 3-10 Installing the 1203-GK5 Module or 1336-GM5 Board Removing the 1336-GM5 To remove the 1336-GM5 communications board, you need to: Communications Board Important: To prevent damage to the board, you must wear a grounding wrist strap when handling the 1336-GM5 communications board.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Chapter Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board Chapter Objectives Chapter 4 provides instructions for configuring your scanner to communicate with a product connected to either the 1203-GK5 module or 1336-GM5 board. This procedure makes the product an active node on the DeviceNet network.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board Getting Started For the scanner on the DeviceNet network to transmit control I/O and/or messages to the product connected to the 1203-GK5 module or 1336-GM5 board, you must first configure the scanner to recognize and communicate with the product.
Page 41
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4. Select the appropriate settings for the following: Description Port Setting Select the communications port that your computer is using to connect to the DeviceNet network. Baud Rate Select the baud rate that your computer uses to communicate to the DeviceNet network.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board Creating an EDS File for the EDS (Electronic Data Sheet) files are specially formatted ASCII files that provide all of the information necessary for a configuration tool Adapter and Product such as DeviceNet Manager to access and alter the parameters of a device.
Page 43
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 3. Click Yes to display the Create EDS Stub dialog box. Figure 4.5 Create EDS Stub Dialog Box 4. Click Load from Device to display the Load Description from Device dialog box.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board When the device description has completed loading, the Create EDS Stub dialog box reappears. Figure 4.8 Create EDS Stub Dialog Box 6. In the Select Bitmap for this Device box, select an icon for your product.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 11. Click Yes to display the EDS File Description dialog box. Figure 4.10 EDS File Description Dialog Box 12. Enter a description (optional), and then click OK. The Network Who screen reappears.
Page 46
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board Configuring a PLC Scanner The following instructions describe how to configure a PLC scanner on a DeviceNet network. (1771-SDN) to Communicate with a 1203-GK5 Module or 1336-GM5 Important: If you are using an SLC scanner (1747-SDN), refer to Board “Configuring an SLC Scanner (1747-SDN) to Communicate with a...
Page 47
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4. Click Edit Scan List to display the 1771-SDN Scan List Editor: Both Channels dialog box. Figure 4.13 1771-SDN Scan List Editor: Both Channels Configuration Dialog Box 5.
Page 48
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-10 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 7. Click OK to display the 1771-SDN Scan List Editor: Both Channels dialog box. The new node appears in it. Figure 4.15 1771-SDN Scan List Editor: Both Channels Dialog Box 8.
Page 49
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4-11 10. Under Polled, set the following: Setting Enable Select it. An X appears in it. Polled Size Type the number of bytes the adapter receives in the RX box and the number of bytes it transmits in the TX box.
Page 50
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-12 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 15. Click Map. The Scan List Editor: Both Channels dialog box reappears and Yes/Yes appears under Mapped. Figure 4.19 Scan List Editor: Both Channels Dialog Box 16.
Page 51
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4-13 Configuring an SLC Scanner The following instructions describe how to configure an SLC scanner on a DeviceNet network. (1747-SDN) to Communicate with a 1203-GK5 Module or 1336-GM5 Important: If you are using an PLC scanner (1771-SDN), refer to Board...
Page 52
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-14 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4. Click Edit Scan List to display the 1747-SDN Scan List Editor dialog box. Figure 4.23 1747-SDN Scan List Editor Dialog Box 5. Under Add Devices From, click Who to display the Add Devices to Scan List dialog box.
Page 53
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4-15 7. Click OK to display a dialog box similar to the following. Figure 4.25 1747-SDN Scan List Editor Dialog Box 8. Click the row of the new node to highlight it. Figure 4.26 1747-SDN Scan List Editor Dialog Box 9.
Page 54
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-16 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 10. Under Polled, set the following: Setting Enable Select it. An X appears in it. Polled Size Type the number of bytes the adapter receives in the RX box and the number of bytes it transmits in the TX box.
Page 55
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4-17 14. Select the following: Setting Input File Select the location in the SLC to which messages from the 1203-GK5 module or 1336-GM5 board are sent. Output File Select the location in the SLC from which messages to the 1203-GK5 module or 1336-GM5 board are sent.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-18 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 17. Select the records to download, and then click OK. A DeviceNet Manager Message appears. Figure 4.33 DeviceNet Manager Message 18. Click OK to download the new configuration to the SLC. The 1747-SDN Scan List Editor dialog box reappears.
Page 57
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4-19 2. Click Yes to display the Save As dialog box. Figure 4.36 Save As Dialog Box 3. In the File name box, type a name for the file. 4.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-20 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 9. In the Save File as type box, select the appropriate extension: If Using: File Extension: PLC Scanner (1771-SDN) .SL7 SLC Scanner (1747-SDN) .SL4 10.
Page 59
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board 4-21 3. Click on the Parameter Group box and select the desired group. Important: Select DeviceNet Module to view and edit parameters in the 1203-GK5 module or 1336-GM5 board. Parameter numbers vary based on the number of product parameters.
Page 60
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 4-22 Configuring a Scanner to Communicate with the 1203-GK5 Module or 1336-GM5 Board This Page Intentionally Left Blank.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Chapter Creating a Ladder Logic Program Chapter Objectives Chapter 5 provides information needed to create the PLC or SLC Ladder Logic program that the controller will use to transmit control I/O and messages to and from the product connected to the 1203-GK5 module or 1336-GM5 board.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program About Ladder Logic Programs A PLC or SLC ladder logic program lets you control the drive and the messaging from the PLC or SLC on the DeviceNet network. Figure 5.1 shows how the I/O image table for a DeviceNet scanner relates to the drive when a 1203-GK5 module or 1336-GM5 board is used.
Page 63
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program The 1305, 1336 PLUS, or 1336 PLUS II drive in this example accepts the following Logic Command Data from the controller. Logic Command Bits Function Description X Stop 1=Stop, 0=No Operation Start 1=Start, 0=No Operation 1=Jog, 0=No Operation...
Page 64
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program PLC Ladder Logic Example In the following example, a PLC-5, 1771-SDN DeviceNet scanner, and 1203-GK5 module (or 1336-GM5 board) are used to control a 1305, 1336 PLUS, or 1336 PLUS II drive. The example program shows how to obtain status information from the drive and how to control it (e.g., starting the drive, stopping the drive, jogging the drive, sending reference, and clearing faults).
Page 65
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program Figure 5.2 Example PLC Ladder Logic Program (Continued) This rung enables the scanner. 1771-SDN Scanner Port A Enable N10:0 0004 Rungs 0005 through 0009 move the operator’s inputs from the operator station to the Block Transfer Write data file where they will be sent to the scanner and out to the drive via DeviceNet.
Page 66
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program SLC Ladder Logic Program Example In the following example, an SLC-5/03, 1747-SDN DeviceNet scanner, and a 1203-GK5 module (or 1336-GM5 board) control a 1305, 1336 PLUS, or 1336 PLUS II drive. The example assumes that there is an operator’s station wired to an I/O module in slot one of module group zero of rack zero.
Page 67
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program Figure 5.3 Example SLC Ladder Logic Program (Continued) Rungs 0004 through 0008 move the operator’s inputs from the operator station to the N9 data file where they will be sent to the scanner and out to the drive via DeviceNet.
Page 68
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Creating a Ladder Logic Program This Page Intentionally Left Blank.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Chapter Using DeviceNet Explicit Messages Chapter Objectives Chapter 6 provides information you need to monitor and configure the SCANport device using explicit messaging on DeviceNet. In this chapter, you will read about the following: • Required equipment. •...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages Messaging for the 1771-SDN The PLC uses a 64-word Block Transfer Write (BTW) to copy an Explicit Message into the 1771-SDN scanner. Ten explicit message Scanner buffers are available within the 1771-SDN scanner. When the BTW completes, the scanner executes the message.
Page 71
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages Transaction Blocks are divided into two parts: • Transaction header — contains information that identifies the transaction to the scanner and processor. • Transaction body — in a request, this contains the DeviceNet Class, Instance, Attribute and Service Data portion of the transaction.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages Messaging for the 1747-SDN The SLC copies an Explicit Message into the scanner’s M0-file. When the copy is completed the scanner moves the message into a Scanner queue for processing. Up to 10 Explicit Messages can be in this queue.
Page 73
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages Each of the data fields in the transaction header are one byte in length: Data Field Description TXID Transaction ID — when the processor creates and downloads a request to the scanner, the processor’s ladder logic program assigns a TXID to the transaction.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages Examples The following examples show messages used with the ladder logic programs begun in Chapter 5, Creating a Ladder Logic Program. ATTENTION: The example ladder logic program shown in this manual is intended solely for purpose of example.
Page 75
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages I:000/17: When you set this instruction to the true state, the next instruction, a one-shot block transfer write, sends data to the scanner. The Move instruction then initializes the first word of the data file that is used by the block transfer read instruction in the next rung.
Page 76
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages In this example, there were four entries in the fault queue. Notice the following about the data: Location Value Meaning N30:0 0x0201 TXID of 2. Command 1 (Execute) N30:1 0x0006 Port 0. Size = 6 bytes (N30:3 – 5) N30:2 0x0E03 Service E (Get Attribute Single) Node 3...
Page 77
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages SLC Messaging Figure 6.4 shows an example message in the SLC ladder logic program started in Chapter 5, Creating a Ladder Logic Program. Figure 6.4 SLC Messaging Example When B3:0/0 is set true, this rung will copy the 32 words of the Esplicit Message from the buffer at N20:10 to the M0-File Explicit Message buffer.
Page 78
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 6-10 Using DeviceNet Explicit Messages The following table display data sent to and received from the scanner. Values are in hexadecimal. Offset N20:0 N20:10 N20:20 N20:30 N20:40 N20:50 8E03 N20:60 N20:70 N20:80 In this example, there were four entries in the fault queue. Notice the following about the data: Location Value...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Using DeviceNet Explicit Messages 6-11 Using Messages to Control Explicit messages provide multi-purpose, point-to-point communication paths between two devices. It is possible to control SCANport Products SCANport devices through explicit messaging on DeviceNet by following particular guidelines and by writing to various register objects that are buffering the I/O data.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 6-12 Using DeviceNet Explicit Messages Writing to Register Objects Within the DeviceNet adapter, various register objects buffer I/O in the following fashion (RO=Read Only, R/PW=Read/Protected Write): Instance Access Size Function See M-S Output Poll Response I/O data to controller R/PW See M-S Output Buffered Poll I/O data from controller...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Chapter Troubleshooting Chapter Objectives Chapter 7 provides information about the LEDs on the 1203-GK5 module and 1336-GM5 board. It also provides basic troubleshooting procedures. In this chapter, you will read about the following: • Locating the LEDs. •...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Troubleshooting DeviceNet Network Status LED The LED closest to the DeviceNet connector is the DeviceNet Status LED. It is labeled “NET.” Refer to the following table: LED status State: Indicates Action: Not powered/Not No power/Duplicate ID 1.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Troubleshooting SCANport Status LED States The LED furthest from the DeviceNet connector is the SCANport Status LED. It is labeled “SP.” It indicates the status of the SCANport connection. Refer to the following table: LED Status State: Indicates Action:...
Page 84
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Troubleshooting This Page Intentionally Left Blank.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Appendix Specifications Appendix Objectives Appendix A provides the specifications that you may need to install or use either the 1203-GK5 module or the 1336-GM5 board. These adapters are non-repairable units. If they are broken, you must replace the whole unit.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Specifications 1336-GM5 Board Specifications The following table gives the specifications for the 1336-GM5 DeviceNet communications board. Category Specifications Electrical Input Voltage 12 to 25 V DC Input Current 40 mA (supplied via DeviceNet) Environmental Operating Temperature 0 to +50°C (32 to 122°F) Storage Temperature –40 to +85°C (–40 to 185°F)
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Appendix Parameters in the 1203-GK5 Module and 1336-GM5 Board Appendix Objectives Appendix B provides information on the parameters in the 1203-GK5 module and 1336-GM5 board. In this appendix, you will read about the following: • Factory-default settings. •...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Parameters in the 1203-GK5 Module and 1336-GM5 Board Parameters The following table provides information on the parameters in the 1203-GK5 module and 1336-GM5 board. When accessing this parameter set Important: through the the adapter parameter number to DeviceNet Parameter Class, add When the number of the last parameter of the SCANport device.
Page 89
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Parameters in the 1203-GK5 Module and 1336-GM5 Board 4 DN-NV-Node Adx Parameter Number Parameter Type Read/Write Lets the user program the node address using software such as DeviceNet Factory Default Manager. To use this feature, SW2 switches 7 and 8 must be set ON during Minimum Value the network power-up of the adapter.
Page 90
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Parameters in the 1203-GK5 Module and 1336-GM5 Board This Page Intentionally Left Blank.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Appendix DeviceNet Objects Appendix Objectives Appendix C defines the DeviceNet object classes, class services, and attributes that are supported by the DeviceNet adapter. These objects can be used to develop programs for the module. This appendix assumes that you have experience in object programming.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x01 — Identity Object) Class Code 0x01 — Identity Object The identity object provides identification and general information about the device. Class Attributes Attribute Access Data Name Description Rule Type Max Instance UINT Maximum instance number of an object currently created in...
Page 93
0x69 = Sub-Component 0x65 = SCANport Device Product Code UINT Identification of a particular Allen-Bradley product. 0xXX02 = 1336 PLUS 0.5 – 10 HP 0xXX03 = 1336 PLUS 7.5 – 800 HP 0xXX07 = 1336 PLUS II 0xXX10 = 1336 FORCE w/ PLC Adapter...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x02 — Message Router Object) Class Code 0x02 — Message The Message Router Object provides a messaging connection point through which a client may address to any object class or instance Router Object residing in the physical devices.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x03 — DeviceNet Object) Class Code 0x03 — DeviceNet The DeviceNet Object is used to provide the configuration and status of a physical attachment to DeviceNet. A product must support one Object (and only one) DeviceNet Object per physical network attachment.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x05 — Connection) Class Code 0x05 — Connection The Connection Class allocates and manages the internal resources associated with both I/O and Explicit Messaging Connections. The specific instance generated by the Connection Class is referred to as a Connection Instance or a Connection Object.
Page 97
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x05 — Connection) Instance Attributes Attribute ID Access Rule Name Data Type Description State USINT State of the connection as defined in the DeviceNet specification Instance type USINT Indicates I/O or Messaging connection Transport Class Trigger USINT The Transport Class Trigger for this instance...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x07 — Register Object) Class Code 0x07 — Register Object The Register Object is used to address individual bits or a range of bits. It may operate as either a producer (input) register or a consumer (output) register.
Page 99
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x07 — Register Object) Instance Attributes Setting of an assembly attribute can only be accomplished through a connection. This feature is to prevent accidental control of the SCANport product. Attribute Data Access Rule Name Description Type...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-10 DeviceNet Objects (Class Code 0x0F — Parameter Object) Class Code 0x0F — Parameter The Parameter Object provides a known, public interface for device configuration data. This object also provides all the information Object necessary to define and describe each individual configuration parameter of a device.
Page 101
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x0F — Parameter Object) C-11 Instance Attributes Attribute ID Access Rule Stub/Full Name Data Type Description ➀ Stub Parameter Value Specified in Actual value of parameter. Data type specified ➀➁ Descriptor, in descriptor, data type, and data size. Data Type and Data Size attributes.
Page 102
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-12 DeviceNet Objects (Class Code 0x0F — Parameter Object) Attribute ID Access Rule Stub/Full Name Data Type Description Full Scaling Offset UINT Offset for scaling formula. Full Multiplier Link UINT Parameter object instance number of multiplier source. Full Divisor Link UINT...
Page 103
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x0F — Parameter Object) C-13 Data Types for Instance Attribute 5 Attribute Data Type Scaling Supported Definition ID Value Description on this Data Type WORD 16-bit word UINT 16-bit unsigned integer 16-bit signed integer BOOL Boolean SINT...
Page 104
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-14 DeviceNet Objects (Class Code 0x0F — Parameter Object) Get_Attribute_All Response Not supported. At the instance level, the order of attributes returned in the Get_Attributes_All response is as follows: Class Attribute ID Attribute Name and Default Value Parameter Value Link Path Size Link Path...
Page 105
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x0F — Parameter Object) C-15 The table below lists the parameters for the Get_Enum_String request service. Name Data Type Description of Attribute Enumerated String USINT Number of enumerated string to retrieve Number (MAX value is 255).
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-16 DeviceNet Objects (Class Code 0x10 — Parameter Group Object) Class Code 0x10 — Parameter The Parameter Group Object identifies and provides access to groups of parameters in a device grouping. The Parameter Group Object Group Object provides convenient access to related sets of parameters.
Page 107
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x10 — Parameter Group Object) C-17 Common Services Implemented for: Service Code Service Name Class Instance 0x0E Get_Attribute_Single Get_Attribute_All Response Not supported.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-18 DeviceNet Objects (Class Code 0x67 — PCCC Object) Class Code 0x67 — PCCC Object The PCCC Object is used to process encapsulated PCCC messages from DeviceNet. The PCCC Object does not implement any specific class or instance attributes, so the instance field for any received messages is ignored.
Page 109
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x67 — PCCC Object) C-19 Message Structure for Execute_Local_PCCC Request Response Data Data Name Description Name Description Type Type USINT Command byte USINT Command byte USINT USINT Status byte TNSW UINT Transport word TNSW UINT Transport word.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-20 DeviceNet Objects (Class Code 0x93 — SCANport Pass-Through Parameter Object) Class Code 0x93 — SCANport The SCANport Pass-Through Parameter Object lets you perform a scattered read or write. Pass-Through Parameter Object Class Attributes Not supported. Instance Attributes Not supported.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x97 — SCANport Pass-Through Fault Object) C-21 Class Code 0x97 — SCANport The SCANport Pass-Through Fault Object provides information on the product’s fault queue. Pass-Through Fault Object Class Attributes Attribute ID Access Rule Name Data Type Description...
Page 112
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-22 DeviceNet Objects (Class Code 0x97 — SCANport Pass-Through Fault Object) Common Services Implemented for: Service Code Service Name Class Instance 0x0E Get_Attribute_Single 0x01 Set_Attribute_Single...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x98 — SCANport Pass-Through Warning Object) C-23 Class Code 0x98 — SCANport The SCANport Pass-Through Warning Object provides information on the product’s warning queue. Pass-Through Warning Object Class Attributes Attribute Access Name Data Type Description Rule...
Page 114
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-24 DeviceNet Objects (Class Code 0x98 — SCANport Pass-Through Warning Object) Attribute Access Name Data Type Description Rule Warning STRUCT of Code and Time Stamp (Time Stamps not available in all products) Warning WORD Fault Code. Code Warning Time STRUCT of...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive DeviceNet Objects (Class Code 0x99 — SCANport Pass-Through Link Object) C-25 Class Code 0x99 — SCANport The SCANport Pass-Through Link Object lets you perform a scattered read or write of a number of links or a single read or write of Pass-Through Link Object a link.
Page 116
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive C-26 DeviceNet Objects (Class Code 0x99 — SCANport Pass-Through Link Object) The table below lists parameters for Scattered_Link_Reference_Read and Scattered_Link_Reference_Write object-specific services. Name Data Type Description Scattered Link Read/Write STRUCT of Parameter Number WORD Parameter Link Reference to read or write. Parameter Link Reference WORD Link Reference value to write (zero when reading).
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Appendix Supported PCCC Messages Appendix Objectives Appendix D describes the PCCC object. This object provides a mechanism for PLC products to utilize native messages across DeviceNet. The 1203-GK5 module (firmware v2.001 or later) and 1336-GM5 board (firmware v2.001 or later) support the PCCC object in order to support communications with PLCs and software programs such as DriveExplorer that support PCCC messages.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Appendix N-File Addresses Appendix Objectives Appendix E provides information on the N-File addresses used when accessing the PCCC object. When using messages, you can use the N-file addresses to locate information about the adapter or SCANport product.
Emulated block transfer is a method used by some SCANport peripherals to read and write information using PCCC messages. Some Allen-Bradley DeviceNet products can send PCCC messages. Other products can send PCCC messages using a DF-1 connection.This appendix assumes that you have experience using emulated block transfer commands with SCANport peripherals.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Emulated Block Transfer Status Word) Emulated Block Transfer Status When an operation is unsuccessful, header word 2 of the drive response contains a negative value (bit 15 = 1). Word If an error occurs, the drive also returns a status word to indicate the reason for the failure.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Parameter Value Read) Parameter Value Read Parameter Value Read 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 Figure F.2 Message Structure...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Parameter Value Write) Parameter Value Write Parameter Value Write 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 Figure F.3 Message Structure...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Parameter Read Full) Parameter Read Full Parameter Read Full 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.
Page 126
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Parameter Read Full) Figure F.4 Message Structure (Continued) Drive Response (cont.) Data File, Group, Element Word 17 Data Minimum Value Word 18 Data Maximum Value Word 19 Data Default Value Word 20 Data Char 2 Char 1...
Page 127
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Parameter Read Full) This example shows the response message in both binary and ASCII. Note the ASCII information beginning with word 9. The parameter name characters return in reverse order for each word. Word 9 has the ASCII value of (aM).
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Product ID Number Read) Product ID Number Read Product ID Number Read returns the product ID of the device to which the DeviceNet adapter is connected. PLC Block Transfer Emulation Instruction Data PLC request instruction length: 3 words Drive response instruction length: 4 words Figure F.5...
Page 129
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Product ID Number Read) Message Operation Product ID Number Read, through the drive response message word 3, indicates the type of device the DeviceNet adapter is connected to. This value is defined in the message response chart shown above.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive F-10 Supported Emulated Block Transfer Commands (Scattered Parameter Value Read) Scattered Parameter Value Read Scattered Parameter Value Read reads a scattered list of parameters. PLC Block Transfer Emulation Instruction Data PLC request instruction length: 5 – 63 words Drive response instruction length: 5 –...
Page 131
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Scattered Parameter Value Read) F-11 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 2 of the request. The parameters to be read and their order is defined starting with word 3.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive F-12 Supported Emulated Block Transfer Commands (Scattered Parameter Value Write) Scattered Parameter Value Write Scattered Parameter Value Write 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.
Page 133
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Scattered Parameter Value Write) F-13 Message Operation Scattered Parameter Value Write writes data values to a pre-defined group of device parameters in any order. You define the number of parameters to write in word 2. The parameters to be written to and their order is defined starting with word 3.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive F-16 Supported Emulated Block Transfer Commands (Fault Queue Entry Read Full) Fault Queue Entry Read Full Fault Queue Entry Read Full reads the contents of the specified fault queue entry. A message is returned which includes the fault text and fault code associated with the specified fault queue entry.
Page 137
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Fault Queue Entry Read Full) F-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.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive F-18 Supported Emulated Block Transfer Commands (Fault Queue Size) Fault Queue Size Fault Queue Size 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 Figure F.11 Message Structure...
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Supported Emulated Block Transfer Commands (Trip Fault Queue Number) F-19 Trip Fault Queue Number 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 Figure F.12...
Page 140
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive F-20 Supported Emulated Block Transfer Commands (Trip Fault Queue Number) This Page Intentionally Left Blank.
Page 141
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive Index Numerics disconnecting, 3-6, 3-10 selecting, 3-2 1203-GK5 module SCANport configuring to communicate with a PLC scanner, 4- connecting to module, 3-5 8 to 4-12 disconnecting, 3-6 configuring to communicate with an SLC scanner, selecting, 3-1 4-13 to 4-18 communications module, refer to 1203-GK5 module or configuring with dip switches, 2-2...
Page 142
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive I–2 Index NVS functions, F-14 parameter read full, F-5 objects, refer to DeviceNet objects parameter value read, F-3 online mode in DeviceNet Manager, 4-2 to 4- parameter value write, F-4 product ID number read, F-8 scattered parameter value read, F-10 scattered parameter value write, F-12 trip fault queue number, F-19 parameters...
Page 143
By filling out this form you can help us provide the most useful, thorough, and accurate manuals available. Please take a few minutes to tell us what you think - then mail this form or FAX it. FAX: your local Allen-Bradley Sales Office or 414/512-8579 PUBLICATION NAME ________________________________________________________________________________________________ PUBLICATION NUMBER, DATE AND PART NUMBER (IF PRESENT) _________________________________________________________ ✔...
Page 144
FIRST CLASS PERMIT NO. 413 PERMIT NO. 413 MEQUON, WI MEQUON, WI POSTAGE WILL BE PAID BY ADDRESSEE POSTAGE WILL BE PAID BY ADDRESSEE ALLEN-BRADLEY ALLEN-BRADLEY Attn: Marketing Communications Attn: Marketing Communications P.O. Box 760 P.O. Box 760 Mequon, WI 53092-9907...
Page 145
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive 1336 FORCE, 1336 IMPACT, Data Highway Plus, and SCANport are trademarks of Rockwell Automation. PLC, PLC-5, SLC and SLC-5/03 are registered trademarks of Rockwell Automation. ControlNet is a trademark of ControlNet International, Ltd. DeviceNet Manager, RSLinx, RSLogix5, and RSLogix500 are trademarks of Rockwell Software. DeviceNet is a trademark of the Open DeviceNet Vendor Association.
Page 146
- Allen Bradley,Rockwell,plc,servo,drive Reach us now at www.rockwellautomation.com Wherever you need us, Rockwell Automation brings together leading brands in industrial automation including Allen-Bradley controls, Reliance Electric power transmission products, Dodge mechanical power transmission components, and Rockwell Software. Rockwell Automation's...
Need help?
Do you have a question about the DeviceNet 1203-GK5 and is the answer not in the manual?
Questions and answers