Allen-Bradley ControlNet 1747-SCNR Reference Manual
Allen-Bradley ControlNet 1747-SCNR Reference Manual

Allen-Bradley ControlNet 1747-SCNR Reference Manual

Hide thumbs Also See for ControlNet 1747-SCNR:
Table of Contents

Advertisement

ControlNet
Scanner
1747-SCNR
Reference Manual
Allen-Bradley Replacements

Advertisement

Table of Contents
loading

Summary of Contents for Allen-Bradley ControlNet 1747-SCNR

  • Page 1 ControlNet Scanner 1747-SCNR Reference Manual Allen-Bradley Replacements...
  • Page 2 Allen-Bradley, FLEX I/O, RSLinx, RSLogix 500, RSNetWorx, SLC, and SLC 500 are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies.
  • Page 3 Other changes in this manual provide an update or clarification of the material. Change Bars Change bars (as shown with this paragraph) show the areas in this manual that are different from previous editions and indicate the addition of new or revised information. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 4 Summary of Changes Notes: Publication 1747-RM623D-EN-P - June 2006...
  • Page 5: Table Of Contents

    Questions to Ask....... . 3-1 Data Transfer Mapping ......3-2 Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 6 Table of Contents Work with the ControlNet Explicit Chapter 4 Message Instruction What This Chapter Contains ..... . . 4-1 Understand the ControlNet Explicit Message Instruction .
  • Page 7 Example ........D-1 Allen-Bradley Replacements...
  • Page 8 Table of Contents Application Examples Appendix E What This Appendix Contains ..... . E-1 What We Assume ....... E-1 Example 1: Configure the 1747-SCNR Scanner with the 1746-IV16 Input Module .
  • Page 9: What This Manual Contains

    • You are familiar with the Microsoft Windows environment. Common Techniques Used We use the following conventions throughout this manual. in This Manual • Numbered lists provide sequential steps. • Bulleted lists provide information, not procedural steps. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 10: Terminology

    Preface The screen captures shown in this manual are pictures of the software’s actual screens. Terminology See these tables for a list of ControlNet network terms and acronyms used in this manual. Term Definition Actual Packet Interval The measure of how frequently a specific connection produces (API) its data.
  • Page 11 Operation or function that an object performs upon request from another object. Target The end-node to which a connection is established. Unscheduled Data transfers that use the remaining time in the NUT after the scheduled transfers have been completed. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 12 Preface Abbreviations and Meaning Acronym Actual packet interval A connector for coaxial cable having a bayonet-type shell with two small knobs on the female connector which lock into spiral slots in the male connector when it is twisted The control and information protocol defined by part 4 of the ControlNet standard.
  • Page 13: What This Chapter Contains

    Module Status Indicator Status Indicator indicates whether the device is powered and is functioning properly. ControlNet Network Access Port NAP RJ45 connector ControlNet Redundant Media Ports BNC Connectors (Channels A and B) 30751 Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 14: Prepare For Module Installation

    41523 Software (RSLogix 500 Software) Before you install the module, you must know how to do this. • Program and operate an Allen-Bradley SLC 500 programmable controller. • Install and configure the devices on your ControlNet network. The 1747-SCNR scanner fits in any slot of the chassis except for the leftmost slot of the first chassis, which is reserved for the SLC 500 processor.
  • Page 15: Select The Controlnet Node Address

    Turning on the scanner with the node address set to 00 clears the module memory back to the factory default. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 16: Insert The 1747-Scnr Scanner Into The Chassis

    Install and Connect the ControlNet Scanner Insert the 1747-SCNR To insert the 1747-SCNR scanner into the SLC chassis complete these procedures. Scanner Into the Chassis Do not install the 1747-SCNR scanner with the ATTENTION chassis power supply on. Installing the module with the chassis power supply on may damage the module.
  • Page 17: Connect To A Controlnet Network

    1786-TPYS 1786-TPR 1786-TPS 1786-TPYR 20094 Allen-Bradley ControlNet taps contain passive IMPORTANT electronics and must be purchased from Rockwell Automation for the network to function properly. After terminating your segments, connect your node to the network. If you connect or disconnect the ControlNet cable...
  • Page 18 Install and Connect the ControlNet Scanner Nonredundant Media Redundant Media 30802 Remove the tap’s dust cap—located on the straight or right-angle connector—and set it aside. If Your Network Supports Connect the Tap’s Straight or Right-angle Connector Nonredundant media To the channel A connector on the scanner—channel B is not used.
  • Page 19: Connect Programming Terminal To Controlnet Network

    Do not connect the same communication card to both the NAP and a tap on the ControlNet network. Using 1784-PCIC communication card on coax media Using 1784-PCC or -PCIC communication card and NAP ControlNet 1747-SCNR Scanner Programming Terminal ControlNet 1747-SCNR Scanner Programming Terminal 1784-PCC...
  • Page 20: Slc 500 I/O Configuration For The 1747-Scnr Module

    Install and Connect the ControlNet Scanner Use the 1786-CP cable when connecting a ATTENTION scanner to the network through a NAP. Using a commercially-available RJ-style cable could result in network failure. SLC 500 I/O Configuration Select the I/O card. If you do not have an I/O card, complete the following procedure.
  • Page 21: What This Chapter Contains

    Discrete input and output (DIO) is the transfer of one to 32 words between an SLC 500 processor and a scanner. All 32 words of input data and all 32 words of output data are updated on each SLC program scan. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 22: Communicating With Your Slc Processor Using M1 And M0 Files

    Prepare to Use the ControlNet Scanner Communicating with Your SLC processor Using M1 and M0 Files Your processor can communicate with the scanner via M1 file transfer reads and M0 file transfer writes. The scanner does not send data to your processor. Data transfer between your scanner and the processor must be initiated by the processor.
  • Page 23: Understand Controlnet Data Transfer

    Housekeeping period start, which occurs once per scan. This process is illustrated below. Housekeeping Scheduled Data Data Private Table Memory Files Data Update Buffers 41554 Allen-Bradley Replacements SLC 500 Program Scan Data Tables Files Housekeeping 1747-SCNR Scheduled Data Publication 1747-RM623D-EN-P - June 2006...
  • Page 24: Unscheduled Data Transfer Operations On A Controlnet Network

    Prepare to Use the ControlNet Scanner Unscheduled Data Transfer Operations on a ControlNet Network The ControlNet network lets you use unscheduled messaging in addition to deterministic delivery. Unscheduled operations include: • peer-to-peer messaging. • messaging from any remote CIP client device. •...
  • Page 25: Understand 1747-Scnr Mapping

    Module Status (see Bit field reporting general the next section, status information. “Module Status”) 1-31 Scheduled ControlNet Input You can map up to 31 words of Data input data using RSNetWorx for ControlNet software. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 26: 1747-Scnr M1 File

    Prepare to Use the ControlNet Scanner Module Status (I:e.0) Bit 0 1747-SCNR Module Faulted. Bit 1 1747-SCNR Communication Module Fault The 1747-SCNR scanner is not on line. See M1 word 2 (M1:e2) for the ControlNet network status. Bit 2 1747-SCNR Connection Fault There is a fault in at least one scheduled connection.
  • Page 27 Flashing red/off Flashing red/green Alternating red/off Alternating red/green Bit 3 Reserved Bit 4-6 Channel B status Value LED State Green Flashing green/off Flashing red/off Flashing red/green Alternating red/off Alternating red/green Allen-Bradley Replacements Bit 7-15 Reserved Publication 1747-RM623D-EN-P - June 2006...
  • Page 28: Discrete Output File

    Prepare to Use the ControlNet Scanner Discrete Output File Word Word ControlNet Contents Description Offsets Size Transfer Mode Module Command Bit field used to send commands to the 1747-SCNR Scanner. 1-31 Scheduled ControlNet Output You can map up to 31 words of Data output data using RSNetWorx for ControlNet software.
  • Page 29: 1747-Scnr M0 File

    Data received from your SLC processor, or output data, is stored within the Output file or M0 ControlNet data area. The 1747-SCNR scanner can then send the data to your remote ControlNet devices. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 30: Unscheduled Data Server

    2-10 Prepare to Use the ControlNet Scanner All scheduled data transfer to Input, Output, M0 and M1 files must be mapped on a ControlNet network. You have to specify where I/O data is to be read from or written to, in other words, mapped. Data size and location within 1747-SCNR data files have to be configured for each connection you want to setup with a remote device.
  • Page 31: Cip Client Request Transfer

    FRN 10, or later, include ControlNet explicit message (CEM) instruction capability. The CEM instruction uses the CIP client message capability of the scanner. See Work with the ControlNet Explicit Message Instruction section for details. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 32 2-12 Prepare to Use the ControlNet Scanner Notes: Publication 1747-RM623D-EN-P - June 2006...
  • Page 33: What This Chapter Contains

    When mapping your I/O, you have the opportunity to leave room for future I/O. Answering this question now can save time and Allen-Bradley Replacements effort in the future. Publication 1747-RM623D-EN-P - June 2006...
  • Page 34: Data Transfer Mapping

    Configure and Map Scheduled Data Exchange with RSNetWorx for ControlNet Software Data Transfer Mapping You can use the configuration software (RSNetWorx for ControlNet software) to select either Input or M1 files for input data and either Output or M0 files for output data. However, it is more appropriate to use Input and Output files for critical I/O data transfer and M1 and M0 for non-critical I/O data transfer.
  • Page 35: Understand The Controlnet Explicit Message Instruction

    The CEM instruction can be used with any SLC 5/03, 5/04, or 5/05 processor that is at OS firmware level Series C, FRN 10, or later. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 36 Work with the ControlNet Explicit Message Instruction The CEM instruction uses an integer control block for storing the instruction parameters and a configuration setup screen, similar to the MSG instruction. The CIP commands consist of a Service Code; the object Class, Instance, and Attribute; and Send and Receive Data (if required for the selected Service Code).
  • Page 37: Cem Instruction Parameters

    0 and no send data file will be defined. If unsure of how much data will be sent, you may select up to the maximum size of 248 words when defining the instruction, and Allen-Bradley Replacements then reduce the size later based on experience. Publication 1747-RM623D-EN-P - June 2006...
  • Page 38 Work with the ControlNet Explicit Message Instruction • Data Table Address (Send Data) If Size in Words (Send Data) is non-zero, then this field requires a starting integer (N) file address for storing the Send Data. • Data Table Address (Receive Data) If Size in Words (Receive Data) is non-zero, then this field requires a starting integer (N) file address for storing the Receive Data.
  • Page 39 Common Specification for the list of valid Members for each Class. You may either enter in a hexadecimal Member value in the (hex) field or a decimal Member value in the (dec) field. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 40 Work with the ControlNet Explicit Message Instruction Definitions for Message Status Bits on the General Tab See the table that lists the various status bits associated with the CEM instruction as displayed in the CEM instruction setup screen. CEM Instruction Setup Screen Status Bit Bit Definition Bit Mnemonic Bit Address...
  • Page 41 Invalid command data size 202H Internal fault detected 204H Invalid service code 205H Invalid IOI size 206H Invalid CIP request block contents 207H CIP message request timeout 208H CIP timeout value too small Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 42 Work with the ControlNet Explicit Message Instruction A scanner code of 0x207 results in an error code of 1. All other scanner codes listed result in an error code of 2. The Valid CEM Instruction error codes table lists all valid CEM instruction error codes. Valid CEM Instruction Error Codes Error Code Description of Error Condition...
  • Page 43 Data Table Address (Receive Data) field. If the Size in Words is zero, then no data is displayed. To update the Receive Data display with the current values stored in the Receive Data data table file, click on the Refresh button. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 44 4-10 Work with the ControlNet Explicit Message Instruction Control Block Layout See this table for the control block layout. SLC 5/0x ControlNet Explicit Message (CEM) Control Block Structure Word 0 Reserved by the 1747-SCNR module Word 1 Target MAC ID Word 2 Message Timeout Preset (x1 ms) Word 3...
  • Page 45: What This Chapter Contains

    ControlNet Status Indicators 30750-M These indicators are the following. • An alphanumeric display (of status and node address) • A and B status indicators • OK Use these indicators to troubleshoot the scanner. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 46: Apply Chassis Power

    Troubleshoot Apply Chassis Power When you apply chassis power, the module address and status display cycles through the following mnemonics: 1 . POST - The 1747-SCNR runs Power On Self Test. 2. 1 1 1 1 , 2222, etc. - The 1747-SCNR is executing its startup sequence.
  • Page 47: Ok Indicator And Display Mnemonics

    Cancel edits with Note that previously RSNetWorx for configured ControlNet software. connections will be reestablished if lost. Newly configured or changed connections will not be established until edits are accepted. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 48 Troubleshoot Sequence OK Alpanumeric Module Status Description Probable Cause Recommended Action Indicator Display Word (M1 file) Run time Flashing I/OX 0x20 The scanner is not Module is not Use RSNetWorx for Green configured. configured. ControlNet software to download a new configuration.
  • Page 49 (out of phase). • Flashing – the indicator alternates between the two defined states (applies to each indicator viewed independent of the other). If both indicators are flashing, they must flash together (in phase). Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 50 Troubleshoot See the table that describes how the status indicator is behaving, the cause of the behavior, and the action you should take. Probable Cause Recommended Action No power No action required or apply power. Steady red Faulty unit Cycle power or reset unit. If fault persists, contact a Rockwell Automation representative or distributor.
  • Page 51: What This Appendix Contains

    • Command – Only PLC-5 Typed Read, PLC-5 Typed Write, PLC-2 Unprotected Read, and PLC-2 Unprotected Write are supported by the 1747-SCNR • Data-table address in PLC-5 source processor • Size of message in elements • Network address of destination processor Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 52 Local Database Access Using PLC-5 MSG Instructions • Data-table address in destination processor - The destination file must be N7, otherwise the request will be rejected. • PLC-5 Typed Read and PLC-5 Typed Write: N7:XX where XX is the zero-based element offset in the Local Database file •...
  • Page 53 1747-SCNR slot number in the SLC rack. If you reuse this example, and your module is not in slot number one, update all instructions with the current appropriate number. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 54 Local Database Access Using PLC-5 MSG Instructions PLC-5 ladder program Read/Write Message Control MG9:1 Setup Screen RSLogix 5 window PLC-5 SLC 500 SLC 500 PLC-5 SLC 500 PLC-5 Request packet Request packet ControlNet ControlNet Response packet Response packet SLC 500 ladder program Copy File Source #M0:1.700...
  • Page 55 Local Database Access Using PLC-5 MSG Instructions PLC-5 Pr ocessor - Sour ces: N7 Data File SLC 500 Pr ocessor - Destin ation : N1 1 Data File RSLogix 500 window Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 56 Local Database Access Using PLC-5 MSG Instructions Notes: Publication 1747-RM623D-EN-P - June 2006...
  • Page 57: What This Appendix Contains

    • The member number is interpreted as the one-based word offset of the data transfer. • The number of members (first word of the request field) is interpreted as size in words of the data transfer. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 58: Assembly Object Instance Numbers Supported For Get And Set Member On Data Attribute

    Use CIP Messaging to Access Local Database and ControlNet Data Files Assembly Object Instance Numbers Supported for Get and Set Member on Data Attribute The following table lists assembly object instance numbers supported for Get and Set Member services. SLC File Word Offset Contents Assembly...
  • Page 59 I:1. starting at I:1. Invalid Instance Number = Any 0 is an invalid member 0 is an invalid member Member Number = 0x00 number. Request rejected. number. Size Parameter = 0x02 Request rejected. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 60: 1747-Scnr Memory Layout

    Use CIP Messaging to Access Local Database and ControlNet Data Files 1747-SCNR Memory Layout See the figure for an example of 1747-SCNR memory layout. 1747-SCNR memory layout Input Output image file image file ControlNet ControlNet input data output data I:31 O:31 one-based word offsets...
  • Page 61: Cip Client Management

    We assume that you are familiar with the following. • Ladder programming • Object modeling as described in ControlNet specifications, noting that you can contact ControlNet International at its website www.controlnet.org, if needed Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 62: Cip Client Area

    CIP Client Management CIP Client Area The 1747-SCNR M0 file contains a CIP client area that can be used to let limited unconnected data exchange with a remote node on the local ControlNet link. These messages are initiated by the SLC processor.
  • Page 63 Data values are copied into a CIP message path segments. 1100-1349 Command data Request data. 1350-1600 Extended status + Response data. Response data You can purchase the ControlNet International Specification from ControlNet International. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 64: Send A Get Attribute All Request To Node 14 Identity Object

    CIP Client Management Send a Get Attribute All In this example, a 1747-SCNR module with MAC ID 11 is located in slot 1 of the SLC rack. It sends a Get Attribute All request to Request to Node 14 Identity the Identity object of a remote 1794-ACNR15 Flex I/O device at Object MAC ID 14 on the ControlNet network.
  • Page 65: Slc 500 Processor: N7 Data File (Hex

    N7:7 = 0x00:Target Attribute number - Not used N7:8 = 0x00:Target Member number - Not used N7:9 = 0x00:Command Data Size - No data used In the following ladder example: M0:1.1100 = 0x00:Not used Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 66: Slc 500 Ladder Program

    CIP Client Management SLC 500 Ladder Program Get an image of the CIP Message Control data Copy File Source #M0:1.1000 Dest #N7:0 Length There is no request data, just clear the command word Use a flag to notify that Your Precondition a message is pending Fill File B3:0...
  • Page 67: Slc 500 Processor: Data Files (Hex

    N10:Response data RSLogix 500 window Detail: N10:0 to N10:23:Response data The data format on the wire is Little Endian. RSLogix 500 IMPORTANT software displays words so byte order is inverted on the screen. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 68: Send A Set Attribute Single Request

    CIP Client Management Send a Set Attribute This process is illustrated in the following example. The steps in the process correspond to the steps in the illustrations following. Single Request 1 . The CIP message control image is updated on a regular base. 2.
  • Page 69: Slc 500 Processor: N7 Data File (Hex

    N7:7 = 0x03:Target Attribute number - Data Attribute N7:8 = 0x00:Target Member number - Not used N7:9 = 0x20:Command Data size - 32 words of data at M0:1.1000 N7:10 to N10:40:Data - Copy 32 words of data to M0:1.1000 Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 70: Example: Slc 500 Ladder Program

    C-10 CIP Client Management Example: SLC 500 Ladder Program Get an image of the CIP Message Control data Copy File Source #M0:1.1000 Dest #N7:0 Length Use a flag to notify when the message slot is free. Use a flag to notify that Your Precondition a message is pending Fill File...
  • Page 71: Slc 500 Processor: Target Input Data File (Hex

    If you reuse this example, and your module is not in slot number one, update all instructions with the current appropriate number.. SLC 500 Processor: Target Input Data File (hex) RSLogix 500 I:1 file is the image of target node 8 Input file. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 72: Send A Set Member Request

    C-12 CIP Client Management The 1747-SCNR at MAC ID 11 wrote 32 words into the input data file of 1747-SCNR at MAC ID 8. The 1747-SCNR module at MAC ID 8 must be in program IMPORTANT mode to write to the input data file. Send a Set This process is illustrated in the following example.
  • Page 73: Slc 500 Processor: N7 Data File (Hex

    The set member service contains the amount of data to be IMPORTANT written in N7:10, followed by the actual data values. The length contained in N7:9 includes the size word of N7:10, plus the number of data words to be sent. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 74: Example: Slc 500 Ladder Program

    C-14 CIP Client Management Example: SLC 500 Ladder Program Get an image of the CIP Message Control data Copy File Source #M0:1.1000 Dest #N7:0 Length Use a flag to notify when the message slot is free. Use a flag to notify that Your Precondition a message is pending Fill File...
  • Page 75: Slc 500 Processor: Target Input Data File (Hex

    SLC 500 Processor: Target Input Data File (hex) RSLogix 500 N11 file is the image of target node 8 Local Database. The 1747-SCNR at MAC ID 11 wrote 64 words into the Local Database of 1747-SCNR at MAC ID 8. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 76 C-16 CIP Client Management Notes: Publication 1747-RM623D-EN-P - June 2006...
  • Page 77: Example Of Reset Bit Management

    This is why the reset bit change is not taken into account until the slot is disabled. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 78: Publication 1747-Rm623D-En-P - June

    Example of Reset Bit Management If the module in slot 3 is not enabled, no access to Use a timer to re-enable the module after a 4 the module is allowed seconds delay. S2:11 Timer On Delay Timer T4:0 Timer Base Preset Accum Enable the module 4 seconds after the reset...
  • Page 79: Application Examples

    Configure the ControlNet Network with RSNetWorx for ControlNet Software Follow this procedure to configure the ControlNet network using RSNetWorx for ControlNet software. 1 . Start RSNetWorx for ControlNet software by double clicking its icon. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 80 Application Examples You see this screen: At this time, you can configure your ControlNet network offline and then download it to the network. But in this example, we go online and configure the network. 2. Go online by clicking the Online icon or by clicking the Network menu and selecting Online.
  • Page 81 5. Right-click the 1747-ACNR15 module. 6. Choose Edit Chassis and verify that the chassis configuration is as follows: • Slot 0: 1747-ACNR15 • Slot 1: 1746-IA16 • Slot 2: 1746-OB16 Allen-Bradley Replacements • Slot 3: 1746-IV16 Publication 1747-RM623D-EN-P - June 2006...
  • Page 82 Application Examples If the chassis is not already configured, manually configure it by dragging the appropriate modules from the list on the right to the proper slot on the left of the chassis configuration screen. When this is complete, click APPLY and then OK. Configure a Rack Connection We are now ready to configure the necessary ControlNet connection so we can read/write data from the SLC processor to the remote...
  • Page 83 1747-SCNR scanner is in slot 3 of the processor chassis. The first available starting I/O addresses were placed into the Input Address and Output Address fields, because automatic addressing was previously selected in the Auto Address Preference screen. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 84 Application Examples Words I:3.0 and O:3.0 are reserved. Note that the input data from the 1746-IA16 module is found in the processor’s input image word I:3.3, the output data written to the 1746-OB16 module is from the processor’s output image word O:3.2, and the input data from the 1746-IV16 module is in the processor’s input image word I:3.5.
  • Page 85 Then, whenever the SLC processor is placed into the Program mode or if communications is lost to the 1747-ACNR15 adapter, the outputs revert to the Safe State data you entered for each output word. b. Click APPLY. c. Click OK. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 86 Application Examples The Connection Properties window closes and the Scanlist Configuration window should look like the following: You have now successfully configured a rack connection to read/ write data between the SLC processor and the remote ControlNet chassis. All that remains is to save the configuration to the network keeper, which in this case is the 1747-SCNR scanner.
  • Page 87: Example 2: Configure The 1747-Scnr Scanner With The 1746-Nio4V Analog Input/Output Module

    Configure the ControlNet Network with RSNetWorx for ControlNet Software Follow the procedure below to configure the ControlNet network using RSNetWorx for ControlNet software. 1 . Start RSNetWorx for ControlNet software by double-clicking its icon. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 88 E-10 Application Examples You see this screen: At this time, you can configure your ControlNet network offline and then download it to the network. But in this example, we go online and configure the network. 2. Go online by clicking the Online icon or by clicking the Network menu and selecting Online.
  • Page 89 5. Right-click the 1747-ACNR15 module. 6. Choose Edit Chassis and verify that the chassis configuration is as follows: • slot 0: 1747-ACNR15 • slot 1: 1746-IA16 • slot 2: 1746-OB16 • slot 3: 1746-NIO4V Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 90 E-12 Application Examples If the chassis is not already configured, manually configure it by dragging the appropriate modules from the list on the right to the proper slot on the left of the chassis configuration screen. When this is complete, click APPLY and then OK. Configure a Rack Connection We are now ready to configure the necessary ControlNet connection so we can read/write data from the SLC processor to the discrete I/O...
  • Page 91 1747-SCNR scanner is in slot 3 of the processor chassis. The first available starting I/O addresses have been placed into the Input Address and Output Address fields, because automatic addressing was previously selected in the Auto Address Preference screen. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 92 E-14 Application Examples Words I:3.0 and O:3.0 are reserved. Note that the input data from the 1746-IA16 is found in the processor’s input image word I:3.3, the output data written to the 1746-OB16 module will be from the processor’s output image word O:3.2. There is a two-word offset for input data for rack IMPORTANT connections.
  • Page 93 Program Mode or if communications is lost to the 1747-ACNR15 adapter, the outputs revert to the Safe State data you entered for each output word. b. Click APPLY. c. Click OK to return to the Scanlist Configuration screen. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 94: Configure A Module Connection

    E-16 Application Examples Configure a Module Connection Next, we need to configure a module connection for the 1746-NIO4V module, 2 input/2 output module. 1 . Right-click the 1746-NIO4V module in the Scanlist Configuration window. 2. Select Insert Connection. A Connection Properties window appears. 3.
  • Page 95 1747-SCNR scanner. 1 . Click the Save icon or click the File menu and choose Save. You are prompted to Optimize and re-write schedule for all Allen-Bradley Replacements connections. Publication 1747-RM623D-EN-P - June 2006...
  • Page 96: Example 3: Configure The 1747-Scnr Scanner With The 1746-Ni8 Analog Input Module

    E-18 Application Examples 2. Click OK. 3. Click YES. Your network configuration information are now written to the network keeper. The display on the front of your 1747-SCNR scanner should show an image of a full glass next to the word I/O. This indicates that all configured connections have been successfully downloaded to the scanner.
  • Page 97: Hardware Setup

    But in this example, we will go online and configure the network. 2. Go online by clicking the Online icon or by clicking the Network menu and selecting Online. You see the Browse for Network window. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 98 E-20 Application Examples In this window, you must select the communication path previously configured in RSLinx software for communicating with your ControlNet network. For this example, a 1784-KTCX15 ControlNet PC card is used. 3. Click the 1784-KTCX15 card to select it. 4.
  • Page 99 I/O module. 1 . Right-click the 1747-SCNR scanner and choose Scanlist Configuration. You are prompted to enter the Edit mode. 2. Click YES. You see the following screen: Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 100 E-22 Application Examples The 1747-SCNR and 1747-ACNR15 modules are shown as nodes 1 and 3, respectively. The three I/O modules are under the 1747-ACNR15 in slots 1 through 3 of the 1747-ACNR15 chassis. 3. To establish a 16-bit rack connection to the 1747-ACNR15 chassis, right-click the 1747-ACNR15 and choose ControlNet Configuration.
  • Page 101 Idle mode. In this example, the starting address chosen is the first available bit pair, M1:3.600/00. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 102 E-24 Application Examples You have successfully configured a rack connection to the remote chassis to communicate with the two discrete I/O modules. At this point, you may also configure the state of the outputs in the remote ControlNet Chassis when the processor is placed into the Program Mode or if communications is lost to the remote chassis.
  • Page 103: Configure A Module Connection

    1746-6-8 for additional information on this module. M-file words M1:3.0, M1:3.1, M1:3.2, M0:3.0, M0:3.1, and M0:3.2 are reserved. The next available status address is M1:3.600/02, since bits 0 and 1 are used for the rack connection. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 104 E-26 Application Examples The Connection Properties window for the module connection should look as follows: 4. Click APPLY. 5. Click OK. The Connection Properties window closes and the Scanlist Configuration window appears and looks as follows: Publication 1747-RM623D-EN-P - June 2006...
  • Page 105 1746-IA16 in word I:3.3 and write to the 1746-OB16 in word O:3.2. The analog input data and channel status will reside in words M1:3.3 and M1:3.18, while the analog module configuration data must be placed in words M0:3.3 and M0:3.14. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 106: Example 4: Configure The 1747-Scnr Scanner With The 1746-Bas Series B Interface Module

    E-28 Application Examples Note that your ladder program should also contain an unconditional rung with an OTE instruction addressed to the 1747-SCNR scanner’s Run/Idle bit, O:3.0/10 for this example. When the SLC processor is placed into the Run mode, this rung will set the 1747-SCNR scanner’s Run/Idle bit and place the scanner into the Run mode as well.
  • Page 107: Configure The Controlnet Network With Rsnetworx For Controlnet Software

    You see this screen: At this time, you can configure your ControlNet network offline and then download it to the network. But in this example, we go online and configure the network. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 108 E-30 Application Examples 2. Go online by clicking the Online icon or by clicking the Network menu and selecting Online. You see the Browse for Network window. In this window, you must select the communication path previously configured in RSLinx for communicating with your ControlNet network. For this example, a 1784-KTCX15 ControlNet PC card is used.
  • Page 109 I/O module. 1 . Right-click the 1747-SCNR scanner and choose Scanlist Configuration. You are prompted to enter the Edit mode. 2. Click YES. You see the following screen: Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 110 E-32 Application Examples The 1747-SCNR and 1747-ACNR15 modules are shown as nodes 1 and 3, respectively. The three I/O modules are under the 1747-ACNR15 in slots 1 through 3 of the 1747-ACNR15 chassis. 3. To establish a 16-bit rack connection to the 1747-ACNR15 chassis, right-click the 1747-ACNR15 module and choose Insert Connection.
  • Page 111 Mode or if communications is lost to the remote chassis. This is optional. The default is to turn all outputs off when one of the two conditions occur. To select other options: 1 . Click the Advanced tab in the Connection Properties window. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 112 E-34 Application Examples You see the following window. By default, outputs in all slots in the remote chassis are reset if the processor is placed into the Program mode or if communications is lost for any reason. Two other choices are offered: •...
  • Page 113: Configure A Module Connection

    M1:3.2 and M0:3.0 through M0:3.2 are reserved (please refer to Chapter 2 of this manual for details). The next available Status Address is M1:3.600/02, since bits 0 and 1 are used for the rack connection. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 114 E-36 Application Examples The Connection Properties window for the module connection should look like the following: We now have to configure this connection for the eight I/O words and the 64 M0/M1 file words. 4. Click the Advanced tab in the Connection Properties window. You see this screen: Publication 1747-RM623D-EN-P - June 2006...
  • Page 115 0 when the SLC processor is placed into the Program mode or if communications is lost to the 1747-ACNR15 module. The Hold Last State option is not available for the 1747-BAS module. 5. Click APPLY. 6. Click OK. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 116 E-38 Application Examples The Connection Properties window will close and the Scanlist Configuration window appears and looks as follows:. You have successfully configured your two connections to read/write data between the SLC processor and the remote ControlNet chassis. All that remains is to save the configuration to the network keeper, which in this case is the 1747-SCNR scanner.
  • Page 117 Run mode, this rung will set the 1747-SCNR scanner’s Run/Idle bit and place the scanner into the Run mode as well. The scanner will begin executing the configured connections when the Run/Idle bit is set. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 118 E-40 Application Examples A sample Basic module program using CALL 23 for PT1 and CALL 22 for PRT2 follows, along with the necessary ladder logic to handshake with the module for these CALLs. When the SLC processor is placed into the Run mode, it in turn places the 1747-SCNR scanner into the Run mode as well by virtue of the unconditional OTE rung described above.
  • Page 119 400 REM CALL 22 SETUP STATUS 410 IF (S2<>0) THEN P. "UNSUCCESSFUL CALL 22 SETUP" 420 GOTO 420 The next example contains ladder logic to handshake with the module for CALLs 23 and 22. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 120 E-42 Application Examples This rung simply gives the following rung a false-to-true transition every 1 second. T4:1 Timer On Delay 0000 Timer T4:1 Timer Base 0.01 Preset 100< Accum 86< This rung copies up to 64 words beginning with N12:0 to the SCNR for transfer to the Basic module on ControlNet. T4:1 Copy File 0001...
  • Page 121: Example 5: Configure The 1747-Scnr Scanner With The 1794-Ie4Xoe2 Analog Combo Module

    Configure the ControlNet Network with RSNetWorx for ControlNet Software Follow the procedure below to configure the ControlNet network using RSNetWorx for ControlNet software. 1 . Start RSNetWorx for ControlNet software by double-clicking its icon. You see this screen: Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 122 E-44 Application Examples At this time, you can configure your ControlNet network offline and then download it to the network. But in this example, we go online and configure the network. 2. Go online by clicking the Online icon or by clicking the Network menu and selecting Online.
  • Page 123 SLC processor to the discrete I/O modules and to the analog I/O module. 1 . Right-click the 1747-SCNR scanner and choose Scanlist Configuration. You are prompted to enter the Edit mode. 2. Click YES. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 124 E-46 Application Examples You see the following screen: The 1747-SCNR and 1794-ACNR15 module are shown as nodes 1 and 3, respectively. The three I/O modules are under the 1794-ACNR15 module in slots 0 and 2 of the 1794-ACNR15 system. 3. To establish a 16-bit rack connection to the 1794-ACN515 chassis, right-click the 1794-ACNR15 module and choose Insert Connection to see the following window.
  • Page 125 In addition, this same offset scheme applies to module connections for Flex I/O on ControlNet. For this example, the input and output data for the 1794-IE4XOE2 is located in M1:3.5 through M1:3.8 and M0:3.3 and M0:3.4. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 126 E-48 Application Examples You must also enter a value in the Status Address field. This field supplies Connection Status information to the processor for each unique connection. The bit addresses for this field must be an even number, because two consecutive bits are used as status for each connection.
  • Page 127: Configure A Module Connection

    M0:3.3. The next available Status Address is M1:3.600/ 02, since bits 0 and 1 are used for the rack connection. The Connection Properties window for the module connection should look as follows: Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 128 E-50 Application Examples At this point, the state of the two analog outputs should be determined for the times when the SLC processor is placed into the Program mode or in the event that communications is lost to the 1794-ACNR15 module. Set this state in the Advanced tab of the Connection Properties window for this module connection, provided you do not want the default settings of 0 decimal, which is the most common...
  • Page 129 The 1794-ACNR15 module should be displaying a green COMM A and STATUS LED, while COMM B should be Allen-Bradley Replacements off. Publication 1747-RM623D-EN-P - June 2006...
  • Page 130: Example 6: Creating Peer-To-Peer Scheduled Connections

    E-52 Application Examples Creating Ladder Logic and Basic Module Program The final step is to write a ladder program for the SLC processor, including the 1747-SCNR scanner for slot 3 of the processor’s chassis. After downloading the program to your processor, place the processor into the Run mode.
  • Page 131: Configure The Controlnet Network With Rsnetworx

    RSLinx for communicating with your ControlNet network. For this example, a 1784-KTCX15 ControlNet PC card is used. 3. Click the 1784-KTCX15 card to select it. 4. Click OK. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 132 E-54 Application Examples The software attempts to communicate with all possible node numbers on the network, from 1 to 99. The online network screen appears. For this example, the screen should show node 99 as the programming terminal as shown. The two 1747-SCNR scanners are nodes 1 and 2 on the ControlNet network.
  • Page 133: Configure A Scheduled Connection Between Controlnet Scanners

    SLC processors to send unscheduled messages on a ControlNet network. 1 . Right-click the 1747-SCNR scanner at node 1. 2. Choose Scanlist Configuration. You are prompted to enter the Edit mode. 3. Click YES. You see the following screen: Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 134 E-56 Application Examples As you can see, the two 1747-SCNR ControlNet scanners are shown as nodes 1 and 2. To establish a scheduled peer-to-peer connection so node 1 can send/produce 50 words of data for node 2: 4. Right-click the 1747-SCNR scanner at node 2. 5.
  • Page 135 The SLC processor in the same chassis as the node 1 scanner will then need to copy 50 words of data to M0:3.3. The SLC processor in the same chassis as the node 2 scanner will need to copy 50 words from M1:1.3. Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 136 E-58 Application Examples Please refer to the Hardware Setup section at the beginning of this application example to match the slot numbers in the M-file addresses to the slot numbers of the scanners in their respective chassis. When you are finished configuring the connection in the Connection Properties screen: 6.
  • Page 137 You are prompted to Optimize and re-write schedule for all connections. 1 2. Click OK. 1 3. Click YES to the warning message The Scanlist Configuration screens for nodes 1 and 2 should look as follows: Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 138 E-60 Application Examples You have successfully configured peer-to-peer scheduled connections between two 1747-SCNR scanners. You have also saved this information to the active keeper on the network. If your ladder programs in the two SLC processors are correctly copying data to and from the M-files of each 1747-SCNR scanner and have an unconditional rung with an OTE instruction addressed to the Run/Idle bit for each scanner (bit 10 of the first output image word for the...
  • Page 139 1747-SCNR module with unscheduled data transfer operations on the 1794-IE4XOE2 I/O analog a ControlNet network E-42 combo module creating peer-to-peer scheduled connections between 1747-SCNR ControlNet discrete output file E-51 scanners display mnemonics Allen-Bradley Replacements Publication 1747-RM623D-EN-P - June 2006...
  • Page 140 Index MSG instructions read and write access to 1747-SCNR local examples database application reset bit management explicit messages instruction for ControlNet networks OK indicator troubleshooting Get attribute send an all request to node 14 identity purpose of 1747-SCNR scanner object reset bit management example I/O scheduled data transfer installing...
  • Page 141 ___No, there is no need to contact me ___Yes, please call me ___Yes, please email me at _______________________ ___Yes, please contact me via _____________________ Return this form to: Rockwell Automation Technical Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 Allen-Bradley Replacements Fax: 440-646-3525 Email: RADocumentComments@ra.rockwell.com...
  • Page 142 PLEASE FASTEN HERE (DO NOT STAPLE) Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE...
  • Page 143 Allen-Bradley Replacements...
  • Page 144: Publication 1747-Rm623D-En-P - June

    Rockwell Automation Rockwell Automation provides technical information on the web to assist you in using its products. At http://support.rockwellautomation.com, you can find Support technical manuals, a knowledge base of FAQs, technical and application notes, sample code and links to software service packs, and a MySupport feature that you can customize to make the best use of these tools.

Table of Contents