Installation Instructions DeviceNet Scanner Module Catalog Number 1771-SDN/C Contents Use this document as a guide to install your 1771-SDN/C Scanner Module.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Important User Information Because of the variety of uses for the products described in this publication, those responsible for the application and use of these products must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Prevent Electrostatic Discharge . ATTENTION ! Where to Find More Information 3 This equipment is sensitive to electrostatic discharge which can cause internal damage and affect normal operation.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Module Compatibility and Maintenance Requirements The 1771-SDN/C DeviceNet Scanner Module is fully compatible with the Series A and Series B versions. You can use the Series C version as a spare or replacement module with one requirement: you must change the postion of Switch 5 to the off or “0” position in the Configuration switchbank as shown below: Series C label Configuration NOTE: Default scanner setting is Series C operation.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Other Features 5 Change of State Change of state enables the scanner module to perform a scan: • whenever a network data change occurs, or • at a user-configurable heartbeat rate Because data is only sent on an as-needed basis, this feature increases system performance by reducing network traffic. Cyclic I/O Cyclic I/O allows you to instruct the scanner module to perform a scan at a specific send rate.
DeviceNet Scanner Module Catalog Number 1771-SDN/C External Module Features Use the drawing below to identify the features of the 1771-SDN/C and B versions of the Scanner Module. Multi-position Switchesuse to set the data rate, chassis addressing mode and scanner node address for each channel. MODULE STATUS RESET Module Status Indicator - indicates whether the device has power and is functioning properly NODE/ ERROR CODE DeviceNet CHANNEL 2 CONFIGURATION Reset Button - resets your module.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 7 Series A Channel, Port and Switch Identification The Series A version of this module (1771-SDN) uses different channel, port and switch identification as shown in the following figure: Multi-position Switchesuse to set the data rate, chassis addressing mode and scanner node address for each channel. CHANNEL A Channel A Channel A Status Indicator gives diagnostic indications for Channel A.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Software and Hardware Requirements Software Requirements Before you intall the scanner module, make sure you have the following software: • personal computer with Microsoft Windows™ 95 or later operating system • RSNetWorx for DeviceNet software, version 2.22 or later • RSLogix 5 software Electronic Data Sheet Requirement To use the new features of this release, the scanner module requires the latest EDS file for RSNetWorx for DeviceNet software.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 9 • Remote I/O Chassis linked to ControlNet with a 1771-ACN(R) running in the leftmost slot Do not use the 1771-SDN Scanner Module with the following: • Chassis configured for complementary I/O • Remote I/O chassis connected to a preceding chassis using a 1771-SN Sub I/O Scanner Module IMPORTANT The 1771-SDN Scanner Module fits in any slot of the chassis except for the leftmost slot, which is reserved for the PLC processor.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Set the Data Rate Switches for Channels 1 and 2 To set the DeviceNet data rate switches for Channels 1 and 2: 1. Locate the switchbank labeled “Channel 1” on the left side of the module. 2. Use the table below to determine the data rate you want to set for “Channel 1.” Record your choice in the fourth column. Channel 1 and 2 Switch Position Data Rate 125K baud 250K baud 500K baud Not allowed 1 2 0 0 1 1 0 1 0 1 Note Your Data Rate 3.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 11 Note: The scanner module consumes/produces 8 bits of discrete output/input for the processor connection. Therefore, the scanner module cannot be placed next to a 16-point module when using 1-slot addressing. I/O Chassis Addressing Mode Mode 2-slot 1-slot 1/2-slot Not allowed Switch Position 7 0 0 1 1 8 0 1 0 1 Note Your Mode 3. Using a ball point pen or similar pointed object, adjust switches 7 and 8 to your desired chassis addressing mode.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 5. Repeat steps 1–3 to set the scanner node address for Channel 2, using the switchbank labeled “Channel 2”. Adjust the switches to your desired node address setting. The node address setting for DeviceNet Channel 1 must not conflict with the node address of any other device on the network.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Install Your Module into the Chassis 13 Before you insert the module into the chassis, set all switches in accordance with the requirements of your networks. You must set the switches before you install the the 1771-SDN Scanner Module or it will not function properly. WARNING ! If you insert or remove the scanner module with power applied to this module or any device on the network, an electrical arc can occur.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 3. Insert the 1771-SDN Scanner Module into the slot you have selected. Locking Bar 20278 4. Apply firm, even pressure to seat the module in the I/O chassis backplane connectors. 5. Swing the locking bar down until locked in place to make sure that you have secured the module in the slot.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 15 1. Connect the DeviceNet drop line to the linear plug, by matching the wire insulation colors to the colors shown on the label: Module label shows wiring color scheme: +24V RED Can_H WHITE Drain/Shield Can_L BLUE +24V Return BLACK Ten-pin Linear Plug DeviceNet Drop Line Red White Bare (shield) Blue Black 20298 Front of Scanner Module 2. Locate the DeviceNet Port 1 connector for Channel 1 on the front of the module. 3.
DeviceNet Scanner Module Catalog Number 1771-SDN/C How Your Module Communicates with the PLC-5 Processor The 1771-SDN scanner module uses four methods to transfer data, status and command information between the scanner and the PLC-5: • DIO points for high-speed discrete outputs • DIO points for high-speed discrete inputs • BTW to send output data to the scanner • BTR to upload input data from the scanner Using DIO Points for High-Speed Discrete Inputs and Outputs The following table describes chassis
DeviceNet Scanner Module Catalog Number 1771-SDN/C 17 control files for each of the block transfer instructions when an integer file is used. This is not necessary when a control block file is a BT data type. To make sure the instruction is reset after the block transfer completes and recycles, you must use enable bits as the conditions on each rung with the PLC-5. The following figure shows a PLC-5 sample program. IMPORTANT The module does not support continuous mode block transfer.
DeviceNet Scanner Module Catalog Number 1771-SDN/C When using rungs like those in the preceding figure, the processor alternates between the BTR and the BTW, waiting to request the next block transfer until the previous block transfer is completed. When only one block transfer is active at a time, it is considered a single-threaded block transfer.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Block Transfer Size Accessed Scanner Output Block 62 words Block 62 61 words 60 words 59 words 58 words 57 words 1-50 words Block 61 Block 60 Block 59 Block 58 Block 57 Block 1-50 19 Scanner Output Data Table DeviceNet Messages Word 0 – Module Command Register Word Words 1–61 Words 62–122 Words 123–182 Words 183–241 Words 242–299 Words 300–356 Words 0-49 Each individual block transfer is independent, but always updates the same output bytes in the
DeviceNet Scanner Module Catalog Number 1771-SDN/C The following table outlines the module command register’s bit numbers and descriptions. Module Command Register - Word 0, Block 62 Bit Number Bits 01 00 0 0 Operating Mode DeviceNet Channel 1 in idle mode 0 1 DeviceNet Channel 1 in run mode 1 0 DeviceNet Channel 1 in fault mode 00 – 01 05 06 07 Idle The scanner does not map output data to the devices, but keeps network connections to devices open so device failures can be detected.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 21 Use BTR to Upload Input Data from the Scanner The PLC-5 uploads input data from the scanner using block transfer read instructions over the 1771 backplane. The scanner interprets BTRs of length 1 through 50 and 62 words as being from the first block of the scanner input table. The scanner module can update a maximum of 357 input words by internally linking together six different sized block transfers. See the table below.
DeviceNet Scanner Module Catalog Number 1771-SDN/C To reduce block transfer time and increase system performance, use only the words you need. Use the RSNetWorx for DeviceNet software to map data from a DeviceNet node into the scanner input table. Data from a DeviceNet node can be split and put into as many as four different locations in the scanner input table.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 23 Module Status Register - Word 0, Block 62 Bit Number 00 - 01 02 - 03 04 05 06 07 08 09 10 Bits 01 00 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 11 1 0 12 1 0 13 14 15 1 0 1 0 1 Operating Mode Operating Mode Description DeviceNet Channel 1 in idle mode DeviceNet Channel 1 in run mode DeviceNet Channel 1 in fault mode Reserved DeviceNet Channel 2 in idle mode DeviceNet Channel 2 in run mode DeviceNet Channel 2 in faul
DeviceNet Scanner Module Catalog Number 1771-SDN/C Device Active Table The Device Active Table is located in words 0–7 of a 51 word BTR. The scanner assigns one bit of the first 128 bits to each device on the networks. The scanner assigns one bit to consecutive Device Addresses. Devices on Channel 1 are indicated by a single bit in consecutive order in words 0–3. Devices on Channel 2 are indicated by a single bit in consecutive order in words 4–7.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 25 • DeviceNet 2 Scan Counter (word 17) – the scanner increments a one-word counter whenever a scan of the DeviceNet 2 devices is completed. The counter rolls over when it reaches its maximum value. • Device Idle State Bitmap (words 18–25, 4 words for Channel 1, four words for Channel 2) – the scanner assigns one bit to consecutive Device Addresses. Devices on Channel 1 are indicated by a single bit in consecutive order in words 18–21.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Clear the Scanner Module’s Scan List To clear the scanner module’s scan list, follow these procedures: 1. Remove power from the I/O chassis. WARNING ! If you insert or remove the scanner module with power applied to this module or any device on the network, an electrical arc can occur. This could cause an explosion in hazardous location installations. Be sure that power is removed or the area is nonhazardous before proceeding. 2.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 27 Use the Explicit Message Program Control feature to: • transmit configuration data from your scanner module to its slave devices on your DeviceNet network • receive status and diagnostics from these devices on your DeviceNet network • make runtime adjustments to device parameters according to changing conditions detected by your processor How the Explicit Message Program Control Feature Works Block Transfer Write file (64 words) (sent from processor
DeviceNet Scanner Module Catalog Number 1771-SDN/C 2. The scanner module transmits the Explicit Message Request to the slave device over the DeviceNet network. 3. The slave device transmits the Explicit Message Response back to the scanner and is queued into a block transfer buffer. 4. The processor uses a Block Transfer Read file to retrieve the Explicit Message Response from the scanner’s buffer (upload). 5. The Block Transfer Read file is completed. The transaction IDs are deleted and can be reused.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 29 The transaction block is 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. In a response, this contains only the response message.
DeviceNet Scanner Module Catalog Number 1771-SDN/C cmd/status word 0 size word 1 MAC ID word 2 • TXID (transaction ID) – when you create and download a request to the scanner, the processor’s ladder logic program assigns a TXID to the transaction. This is a one-byte integer in the range of 1 to 255. The scanner uses this value to track the transaction to completion, and returns the value with the response that matches the request downloaded by the processor.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 31 The following figure describes the format and mapping of transaction blocks for request and response messages in the scanner module: Format of 64-word Block Transfer Write for Explicit Message Request 15 0 Transaction Header (3 words) TXID command port size service Format of 64-word Block Transfer Read for Explicit Message Response 15 0 word 0 MAC ID Transaction Header (3 words) TXID status port size service word 0 MAC ID Class Instanc
DeviceNet Scanner Module Catalog Number 1771-SDN/C Depending on the network load, the scanner could take a few seconds to complete the request. When a response is loaded, bit 15 of the module status register is set to 1. The program may have to poll the scanner module a number of times before the scanner returns a Response Transaction Block. The scanner module recognizes I/O data and control as higher priorities over explicit messaging on DeviceNet.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 33 Explicit Message Program Control Limitations • The processor is always the DeviceNet client and the slave is always the DeviceNet server. • A maximum of ten Explicit Message Request Transaction Blocks with the execute command can be queued to the scanner module at any time. For example, five Block Transfer Write files containing two transactions each, can be performed at any time.
DeviceNet Scanner Module Catalog Number 1771-SDN/C • If a slave device returns a DeviceNet error in response to the request downloaded from the processor, the scanner recognizes the error as a successful transaction (status code =1). A failure to respond to the request within the number of retries or timeout period specified for the Explicit Message Connection is recognized by the scanner module as an error. The error code is returned in the status attribute of the transaction header.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Troubleshoot Your Module The bicolor (green/red) module status indicator displays device status. It indicates whether the device has power and is functioning properly. If your indicator is: Then: Take this action: Off There is no power applied to the module. The module is operating normally. The module is not configured. There is an invalid configuration. The module has an unrecoverable fault. Verify power connections and apply power. Do nothing.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Top part of module Numeric Description Code Take this action 0 - 63 Normal operation. The numeric display None. indicates the 1771-SDN’s node address on the DeviceNet network. 70 Module failed Duplicate Node Address Change the module channel address to check. another available one. The node address you selected is already in use on that channel. Channel 1 71 Illegal data in scan list table (node number alternately flashes).
DeviceNet Scanner Module Catalog Number 1771-SDN/C Numeric Description Code 37 Take this action • Slave device is transmitting incorrect length data. • Verify device is not configured for variable poll connection size. • Try replacing the device. 85 Data size was incorrect for this device at runtime. 86 Device is producing zero length data (idle state) while module is in Run Mode. Check device configuration and slave node status. 87 The primary owner has not allocated the slave.
DeviceNet Scanner Module Catalog Number 1771-SDN/C The following information applies when operating this equipment in hazardous locations: Informations sur l’utilisation de cet équipement en environnements dangereux : Products marked “CL I, DIV 2, GP A, B, C, D” are suitable for use in Class I Division 2 Groups A, B, C, D, Hazardous Locations and nonhazardous locations only. Each product is supplied with markings on the rating nameplate indicating the hazardous location temperature code.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 39 Specifications Module Location Module Defaults 1771-A1B through -A4B or later I/O chassis Node Address – 63 Baud Rate – 125 Kbits/s Power Consumption - Backplane Current - DeviceNet1 Isolation Voltage 5Vdc, 0.
Specifications - Continued Certifications (when product is marked) cULus cULus CE3 C-Tick3 ODVA User Manual UL Listed Industrial Control Equipment. Certified for US and Canada UL Listed for Class I, Division 2 Groups A, B, C, D Hazardous Locations.