Table of Contents

Advertisement

Quick Links

User Manual
RFID Systems
Bulletin Number 56RF

Advertisement

Table of Contents
loading

Summary of Contents for Allen-Bradley 56RF

  • Page 1 User Manual RFID Systems Bulletin Number 56RF...
  • Page 2: Important User Information

    IMPORTANT Identifies information that is critical for successful application and understanding of the product. Allen-Bradley, Rockwell Software, Rockwell Automation, and TechConnect are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies.
  • Page 3: Table Of Contents

    Port Configuration Tab ......... . 55 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 4 Teach Continuous Read ......... 123 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 5 MicroLogix 1400..........139 Reading the Input Image Table of a 56RF-IN-IPD22 with a SLC-5/05 . .
  • Page 6 Table of Contents Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 7: Who Should Use This Manual

    This quick start guide assumes you have some familiarity with RSLogix software. It provides an example of the steps needed to get a 56RF RFID system set up and functioning. The reader should refer to appropriate user manuals for other details.
  • Page 8: Additional Resources

    Provides declarations of conformity, certificates, and other certification details. You can view or download publications at http:/www.rockwellautomation.com/literature/. To order paper copies of technical documentation, contact your local Allen-Bradley distributor or Rockwell Automation sales office. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 9: What Is Rfid

    (or skips this step) and then writes to the tag that the item(s) was added. The carton moves to the next filling station. This is a common use of RFID technology. What makes the Bulletin 56RF product line unique is its conformance to the open international standards: ISO15693 and ISO18000-3 M1.
  • Page 10: Backward Compatibility

    Backward Compatibility The Bulletin 56RF RFID system will be offered initially on EtherNet/IP and is backward compatible with the previous offering of Bul. 56RF ICODE products. The transceivers and interface blocks are a matched pair so they cannot be interchanged.
  • Page 11: System Setup

    The transceivers are connected to a special RFID EIP interface block. The distribution block has an EtherNet connection to an EtherNet switch. An L35E CompactLogix controller and a personal computer also have EtherNet connections to the EtherNet switch. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 12 Chapter 1 Introduction Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 13: Interface Block

    M12 RFID Transceiver Interface (IPD22, IPD22A) 5-Pin Female M12 Input Connector 5-Pin Female M12 Output Connector (IPS12, IPD22) M12 Input Connector (IPD22A) Female Auxiliary Power Auxiliary Power M12 4-Pin M12 4-Pin Male Female Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 14: Led Indicators

    CRC failures etc. Recommended solution is to remove electrical noise near cabling or reduce baud rate between transceiver and interface block. The transceiver has an unrecoverable fault; may need replacing. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 15: Transceivers

    No power Flashing green No tag present, but communicating RFID Port Green Communicating Flashing red No transceiver connected Amber Tag present Transceivers LED Indicators Figure 4 - Indicators Operation Power Read/Write Module Status Status Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 16: Rfid Tags

    Total Tag User Memory Memory No. of Bytes No. of Blocks Bytes per Block 128 B 112 B SLI-S 256 B 160 B SLI-L 64 B 32 B FRAM 2048 B 2 kB Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 17 UID 5 UID 4 UID 3 UID 2 UID 1 UID 0 64…57 56…49 48…41 40…1 Unique Serial Number SLI-S Unique Serial Number Value SLI-L Unique Serial Number FRAM E0 Unique Serial Number Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 18 Reserved for Future Use Managed by ISO/IEC JTC 1/SC 17 0, Y Reserved for Future Use Managed by ISO/IEC JTC 1/SC 17 X = ‘1’ to ‘F’ , Y = ‘1’ to ‘F’ Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 19 Byte 1 Byte 2 Byte 3 Description UID0 UID1 UID2 UID3 Unique identifier (lower bytes) UID4 UID5 UID6 UID7 Unique identifier (higher bytes) Internally DSFID EAS, AFI, DSFID used Write access conditions User Data Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 20 Table 9 - AFI Block -2, Byte 2 Data Storage Format Identifier The Data Storage Format Identifier (DSFID) is located at Byte 3 in Block -2. Table 10 - DSFID Block -2, Byte 3 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 21 The label must not be moved out of the communication field of the antenna during writing. We recommend to put the label close to the antenna and not to remove it during operation. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 22 Table 12 - SLI-S Memory Organization Page Block Byte 0 Byte 1 Byte 2 Byte 3 Description Configuration area for internal use User Memory 10 pages 4 blocks per page 4 bytes per block Total: 160 bytes Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 23 Table 13 - SLI-L Memory Organization Page Block Byte 0 Byte 1 Byte 2 Byte 3 Description Configuration area for internal use User Memory 2 pages 4 blocks per page 4 bytes per block Total: 32 bytes Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 24 AFI and DSFID. Blocks FC …FF contain security status data. Table 15 - Structure of FB EAS Status Reserved for DSFID Lock AFI Lock Status DSFID future use Status Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 25: Handheld Reader/Writer

    It is the ideal accessory for system setup, field service, fleet management, time and attendance, and any other application where transceiver mobility is required. For more information on the RFID ICODE handheld interface, refer to Publication 57RF-UM001. Figure 5 - Handheld Interface Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 26: Component Catalog Number Table

    56RF-TG-20-2KB Disc – FRAM FRAM 2048 2 kB 56RF-TG-30-2KB 56RF-TG-50-2KB 54 x 86 56RF-TG-5486 Label 50 x 50 56RF-TG-5050 Smart Cards 54 x 86 56RF-TG-5486SC Square – High 50 x 50 56RF-TG-50HT Temperature Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 27 Female right angle 871A-TR4-D M12 Terminal — Chambers Male straight 871A-TS4-DM Male right angle 871A-TR4-DM Available in 0.3, 1, 2, 5, or 10 m lengths. Available in 2, 5, or 10 m lengths. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 28 USB cable, stylus International power supply kit, serial cable, 57RF-HH-56IN USB cable, stylus Battery pack, rechargeable 57RF-HH-56BAT Serial cable, 15 ft, RS-232 57RF-HH-56CA 64 MB CompactFlash card 1784-CF64 128 MB CompactFlash card 1784-CF128 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 29: Cable Overview

    Chapter Electrical Installation Cable Overview The EtherNet/IP switch must be mounted inside a control panel. The Bul. 56RF EIP interface block and Bul. 56RF transceivers can be mounted on the machine. Figure 6 - Transceiver Mounting Mounted Mounted in a Cabinet...
  • Page 30: Auxiliary Power Connection

    When the output is connected to the safety related portion of the machine control system, an actuator can be turned off, while diagnostic information is still available to the machine control system. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 31: Power Connection Options

    A mini-to-micro style patchcord connects each Bul. 56RF interface block with the tee. In this example, the power supply is a Cat. No. 1606-XLDNET8, which can supply up to 8 A to the RFID system.
  • Page 32 Function 24V DC power Not used 24V common Digital input Shield/FE Digital Output Connection The female M12 QD output connector is shown below. Function Not used Not used 24V common Digital output Shield/FE Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 33 D-Code M12 Pin Wire Color Signal 8-Way Modular RJ45 Pin White-Orange White-Green Orange Green The 56RF interface block encoders can be connected in either of three network topologies: star, linear or Device Level Ring (DLR). Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 34 Chapter 3 Electrical Installation Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 35: Star Topology

    The star structure consists of a number of devices connected to central switch. When this topology is used, only one EtherNet connection can be made to the Bul. 56RF interface block – this connection is made to the Link 1 connector. The Link 2 connection must remain unused.
  • Page 36: Linear Topology

    EtherNet connections are used. The network connection to Link 1 or Link 2 does not matter. Figure 10 - Linear Topology RFID RFID Interface Interface Block Block RFID RFID Transceivers Transceivers Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 37: Device Level Ring (Dlr) Topology

    100 m (328 ft). For more information on setting up and configuring a DLR network, please refer to ENET-AP005. Figure 11 - DLR Topology RFID Interface RFID Block Transceivers RFID RFID Transceivers Interface Block Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 38: Setting The Network Address

    EtherNet/IP Addressing Setting the Network Address Before using the Bul. 56RF interface block in an EtherNet/IP network, configure it with an IP address, subnet mask, and optional Gateway address. This chapter describes these configuration requirements and the procedures for providing them.
  • Page 39: Advanced Ip Addresses

    2. Set the address switches to 999 and cycle the power. On the Bul. 56RF interface block, set the address switch settings to 999. Cycle the power and wait until the MOD indicator is solid green. The MOD indicator blinks red once, green once, solid red for a short while and finally turns solid green.
  • Page 40 The device is added to the Relation List, displaying the EtherNet Address (MAC) and corresponding IP Address, Hostname, and Description. When the address is assigned to the Bul. 56RF interface block, 1) the Status message is updated, and 2) the IP address appears in the Request History window.
  • Page 41 6. Disable DHCP. Click on (only once) the interface block in the Relation List to highlight it. Then click Disable BOOTP/DHCP. This instructs the Bul. 56RF interface block to retain the IP Address at the next power cycle. Wait for the Status message to show that the command was successfully sent. If not, repeat this step.
  • Page 42: Change Ip Address From One Advanced Address To Another Advanced

    EtherNet/IP Addressing Click File > Save As to save the relationship, if desired. Cycle the power to the Bul. 56RF interface block. You should no longer see the Bul. 56RF interface block appear in the Request History panel. From a DOS prompt, you can ping the new address. The response should be 4 packets sent, 4 packets received and 0 lost.
  • Page 43 RSLinx places an X over the RFID adaptor because it can no longer communicate with it. Use the same steps to change the IP address of the other devices on the network. Change the Network adaptor address to 192.168.3.1. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 44: Address

    Close and re-open the RSWho window. The older addresses are not available and the new addresses (192.168.3.115 and 192.168.3.214) appear. Note: If DHCP is not disabled, the Bul. 56RF interface block will show two requests in the DHCP Server at each power up.
  • Page 45: Fastening

    Figure Figure 12 - Spacing Between Transceivers Square Transceiver (300 mm) or more (300 mm) or more Rectangular Transceiver (600 mm) or more (600 mm) or more Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 46: Spacing Next To Metal Surfaces

    The preferred direction of travel is for the tag to pass across the RFID sensor surface. The tag can also approach the sensor surface directly and then move away directly backwards or to the side. Figure 14 shows the field map of the 65mm x 65mm transceiver. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 47 RFID Tag Alternate Direction of Travel Preferred RFID Tag Direction of Travel Ideal Acceptable Sensing Sensing Range Range Side Lobe Side Lobe -150 -100 Misalignment (mm) Referenced for a 50 mm disc tag Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 48 Chapter 5 Mechanical Installation Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 49 Chapter Add Your RFID Interface Block to an RSLogix 5000 Program 1. Open RSLogix 5000. 2. Click File>New. 3. Enter the new controller information. 4. Right click on the EtherNet port of the controller. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 50 Chapter 6 Add Your RFID Interface Block to an RSLogix 5000 Program 5. Click New Module. 6. Select the desired 56RF module and click OK. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 51: General Tab

    A SINT is a signed single byte integer, which can represent numbers from - 255…255 in decimal format (-F…FF in hexadecimal format). An INT is a signed two byte integer, which can represent numbers from -65535…65535 in decimal format (-FFFF…FFFF in hexadecimal format). Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 52 When offline, simply click the IP Address radio button and enter the desired address. 3. Click the Host Name radio button and type in the name of the host. In the example below, the Host name is QPACK4. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 53: Module Definition

    • Use Unicast Connection over EtherNet/IP –Unicast connections are point-to-point connections. Multicast connections are considered one-to- many. Unicast reduces the amount of network bandwidth used. • Module Fault – Fault messages will appear in this box. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 54: Module Info

    • Reset Module – Click this button with care as it disconnects the module momentarily and control will be interrupted. The following warning window appears. Click Yes or No as needed. Click Help for further information. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 55: Internet Protocol Tab

    The number of ports showing in this window will vary depending on the block used. There should be either one or two ports. The following window shows two ports. Port 1 is active, while Port 2 is inactive. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 56 Add Your RFID Interface Block to an RSLogix 5000 Program Click on the ellipsis (…) under the Port Diagnostics. A window pops up showing the communications taking place between the controller and the transceiver connected to the port. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 57: Configuration Image Table And Tags

    • Ch1BaudRate – The baud rate for communication for Channel 1 from the RFID block to the RFID transceiver is stored in this tag. Allowable baud rates are 9600, 19200, 38400, and 115200. The default value is 115200. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 58 0. A value of 1 means that short circuit detection is enabled. A value of 0 means that short circuit detection is disabled. By default this value is 0. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 59: Input Image Table And Tags

    No load detectioin only occurs when the output point is OFF. A value of 0 indicates no fault; a value of 1 indicates a fault condition. No load detection can be enabled or disabled during configuration. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 60: Input Channel Tags

    • Command – The channel command word is a 2-byte value that will store the last command that the channel received; at power up this value must be 0. The allowable commands are listed in Table Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 61 Upon completion of a command, this word will be populated with the number of 16-bit words returned to the data field; at power up this value must be 0. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 62: Output Image Table And Tags

    Output Channel Tags Expand the RFID_1:Channel by clicking the “+” box. This shows that two channels exist: Channel[0] and Channel[1]. Expand the RFID_1:Channel[0] by clicking the “+” box. Each channel has the following tags: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 63 Upon completion of a command, this word will be populated with the number of 16-bit words returned to the data field; at power up this value must be 0. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 64 Any value other than 0 will attempt to direct the command to that specific tag. The UIDHi value contains bytes 0…1 and 6…7 of the UID. • UIDLow – The UIDLow value contains bytes 2-5 of the UID. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 65: Commands Summary

    Reads multiple blocks of user data from a tag Length = Number of blocks Data[4] = Security status of block x Returns security status of the blocks Data[0] = 1 Data[6…9] = Block x+1 Data[10] = Security status of block x+1 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 66 Data[2…5] = Baud rate Settings Device ID Data[6…7] = Retry setting Retry time Data[8…9] = Gain Get Version Retrieves the firmware version from the transceiver Command = 33 Data = Firmware version Information Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 67: Main Routine

    In Rung 1, the momentary switch turns on Digital Output 0, which turns on an LED to confirm that the user has pressed the momentary switch. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 68: Example Command Routines - Overview

    Start – Latches a tag that indicates the function has started. Unlatch – This unlatches (turns OFF) the instruction from Rung 0 and readies the routine for the next RFID tag. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 69 If the input command value equals the value of the command, the EQU output goes HI. InProgress – This bit is unlatched when the command is successfully completed. The routine is now ready for the next RFID tag or other routine. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 70: Clear Multiple Bytes

    The value to be copied is initially stored in the controller tag CMB_Data. In the example below, CMB_Data is set to 0, but the user can set this to be any valid SINT value. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 71 The counter increments to 32. The tag is read again (command = 4) to confirm the clearing. Data bytes 2 through 4 are successfully set to 0. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 72: Get Multiple Block Security Status

    The BlockSize, Reset, Timeout, UIDLow and UIDHi are set to 0 in the output image table. The starting address is block 0. The command reads 28 blocks (all the blocks of this RFID tag). Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 73: Get System Information

    • Application Family Identifier (AFI) • Universally Unique Identifier (UUID) • Memory Size • IC Reference Set the following values in the output image table: a. xx:O.Channel[0].Command = 34 b. xx:O.Channel[0].Address = 0 c. xx:O.Channel[0].BlockSize = 0 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 74 0. The BlockSize, Reset, Timeout, UIDLow and UIDHi are set to 0 in the output image table. Example Results The Info Flag contains data used to determine what parameters are passed back. The DSFID, AFI and UUID follow. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 75: Get Version Information

    = 33 b. xx:O.Channel[0].Address = 0 c. xx:O.Channel[0].BlockSize = 0 d. xx:O.Channel[0].Data[0] = 0 e. xx:O.Channel[0].Length = 0 f. xx:O.Channel[0].Reset = 0 g. xx:O.Channel[0].Timeout = 0 h. xx:O.Channel[0].UIDLow = 0 i. xx:O.Channel[0].UIDHi = 0 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 76 0. The BlockSize, Reset, Timeout, UIDLow and UIDHi are set to 0 in the output image table. Example Results The results are stored in Data [0…3]. In this example, the version is “de20007”. (version 2.07). Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 77: Inventory

    4. Set Length = 1 to get both the UUID and the DSFID for each tag. 5. Set Data[0] = 0 to return all tags in the RF field. 6. Set Data[0] = AFI value (but not zero) to return only those tags that have that AFI value Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 78 RF field at the time the read command was executed. The controller tag values are shown below. The data shows the number of tags in the RF field and the UUID for each tag. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 79 Data[0] = 0. Four RFID tags were in the RF field at the time the read command was executed. The controller tag values are shown below. The data shows the number of tags in the RF field, the DSFID and the UUID for each tag. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 80: Lock Afi

    = 0 h. xx:O.Channel[0].UIDLow = UIDLow i. xx:O.Channel[0].UIDHi = UIDHi The UIDLow and UIDHi bytes must be specified to lock the AFI value. The UUID can be found by performing the Inventory command. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 81 • 0 – AFI was successfully locked. • 4 – A tag with the wrong UUID entered the RF field. • 8 – A tag that has already been locked entered the RF field. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 82: Lock Block

    In the example routine, rung 1 initializes the output image table. The UUID is stored in a controllers tags UIDLow and UIDHi. The block that is being locked is block 26. This tag has a total of 27 blocks. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 83 Example Results The output image table shows address 26. This is the second to last block of the Cat. No. 56RF-TG-30 tag. The command is 40. The UUID must be specified to lock any blocks. After completion of the lock block command, the input image table should show the command is 40 and the ChError is 0.
  • Page 84: Lock Dsfid

    In the example routine below, the initialization in Rung 1 sets the address, length, the Data[0], UIDLow and UIDHi values used to lock the DSFID and sets the command value to 0. The BlockSize, Reset, and Timeout are set to 0 in the output image table. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 85: Read Byte Command

    = 0 g. xx:O.Channel[0].Timeout = 0 h. xx:O.Channel[0].UIDLow = 0 i. xx:O.Channel[0].UIDHi = 0 This command operates only on the first tag in the field. Note that Data[1] must also be set to 0. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 86 Below is example routine to read all the data and the UUID in a Cat. No. 56RF­TG-30 ICODE tag. This tag holds a maximum of 112 bytes of data. In the example routine below, the initialization in Rung 1 sets the address, length, the Data[0]to the Option Flag, and sets the command value to 0.
  • Page 87 6…) begins in Data[8]. The figure below only shows a partial listing of the user data. The command read in 112 bytes of data. In the figure below, the command was repeated with the Starting Address set to 2 and the number of bytes set to 3. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 88: Multi-Tag Block Read

    = 0 (or UIDHi) Unless a UUID is specified, this command will operate on the first four tags in the field. Specify a UUID in xx:O.Channel[0].UIDLow and xx:O.Channel[0].UIDHi to perform the command on a specific tag. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 89 The BlockSize, Reset, Timeout, UIDLow, and UIDHi are set to 0 in the output image table. The example ladder diagram is initially set for Address =25 and the Length = 2. The command will read blocks 25 and 26. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 90: Read Multiple Blocks

    The input image data fields are populated with the number of tags, followed by the UUID and block data of each tag. In the example below, four Cat. No. 56RF-TG-30 RFID tags were read. These tags hold 4 bytes per block. Since two blocks (25 and 26) were read, a total of eight data fields are used to store the user data.
  • Page 91 The example ladder diagram is initially set for Address =25, the Length = 2. Data[0] is set to Option Flag 0 (return just the data) The command will read blocks 25 and 26. The example is repeated with Option Flag set to 1. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 92: Read Single Block

    25 and two blocks to read, data from Blocks 25 and 26 are returned. The tag was a Cat. No. 56RF-TG-30 which has only 4 bytes per block. The data appears in the input channel Data[0…7].
  • Page 93 The example ladder diagram is initially set for Address =26. Data[0] is set to Option Flag 0 (return just the data) The command will read blocks 25 and 26. The example is repeated with Option Flag set to 1. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 94: Read Transceiver Settings

    • Option Flag 0 —This first example uses Option Flag = 0; return only the data in the block. The block number is 26. The tag was a Cat. No. 56RF­TG-30 which has only 4 bytes per block. The data appears in the input channel Data[0…3].
  • Page 95 The following information will be displayed: • xx:I.Channel[0].Data[0…1] = Device ID • xx:I.Channel[0].Data[2…5] = Baud rate • xx:I.Channel[0].Data[6…7] = Retry setting • xx:I.Channel[0].Data[8…9] = Gain Gain is 0…3, with 0 being the highest gain. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 96: Write Afi

    Example Routine In the following example routine, the initialization sets the address, length data and command. The BlockSize, Reset, Timeout, UIDLow, and UIDHi are set to 0 in the output image table. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 97: Write Byte Command

    = 0 (or UIDHi) Unless a UUID is specified, this command will operate on the first tag in the field. Specify a UUID in xx:O.Channel[0].UIDLow and xx:O.Channel[0].UIDHi to perform the command on a specific tag. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 98 The figure below shows the output image table with the 10 bytes of data that will be written to the RFID tag. The sequence is 11, 12, 13, 14, 15, 16, 17, 18, 19, and Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 99: Write Dsfid

    If UIDLow and UIDHI are set to 0, this command will operate on the first tag in the field. Specify a UUID in xx:O.Channel[0].UIDLow and xx:O.Channel[0].UIDHi to perform the command on a specific tag. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 100 The command is executed successfully if the ChError =0, the Command value = 43 and all the Data bytes are 0. Use the Get System Information command or the Inventory command to read the DSFID. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 101: Write Multiple Blocks

    The table below shows the valid values for length, block size and the number of bytes written or each combination. Length Block Size Bytes Written Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 102 The figure below shows the output image table with the data that will be written (a simple numeric sequence starting at 2). Two blocks of 8 bytes each will be written to the tag. The data will be written to address locations 3 and 4. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 103: Multi-Tag Block Write

    = data to write e. xx:O.Channel[0].Length = number of blocks to write f. xx:O.Channel[0].Reset = 0 g. xx:O.Channel[0].Timeout = 0 h. xx:O.Channel[0].UIDLow = 0 (or UIDLow) i. xx:O.Channel[0].UIDHi = 0 (or UIDHi) Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 104 The data is loaded into the output channel image table. Block three will be populated with Data[0…3] = 11, 13, 15 and 17. Block 4 will be populated with Data[4…7] = 19, 21, 23, 25. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 105 The input channel image table will show the number of RFID tags that were written and the UUID of each RFID tag. Use the Read Multi Tag Block command (=3) to read the blocks and confirm the data was written. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 106: Write Single Block

    • 0 = 4 bytes/block • 4 = 4 bytes/block • 8 = 8 bytes/block Typically, ISO15693 tags have a block size of 4 bytes/block, and FRAM tags have a block size of 8 bytes/block. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 107 The output image table shows that the address is set to Block 3; the block size is 4 and the command is 10. The data to be written to block 3 is 41, 42, 43, and 44. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 108: Continuous Read Mode

    The Teach Continuous Read command is used to train the interface for Teach Continuous Read Continuous Read operations. Refer toTeach Continuous Read on page 123 details on this command. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 109: Read Byte Routine

    • Option Flag 1 – Returns the UUID of the tag and the specified user data Note: This command operates only on the first tag in the field. Example Routine The example code below is for an SLC-5/05. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 110 Output size is 124 bytes (62 words). Click on the MultiHop tab to set up an EtherNet/IP Device. Rung 0003: The Tag Present bit will be highlighted in green when a tag is present. When a tag is present, clear the command value. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 111 Read in Progress bit will return to its original state. When the command has been executed and completed, copy the data read into N100. Rung 0006: If there was an error with the operation, then N100:0 will contain the error code. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 112 Chapter 10 SLC Code Examples Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 113: Read Byte

    • Rung 0001: Read Input Image. Double-click the MSG box to enter the setup screen. Input size is 116 bytes (58 words). Click on the MultiHop tab to set up an EtherNet/IP Device. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 114 When the command has been executed and completed, copy the data read into N100. • Rung 0006: If there was an error with the operation, then N100:0 will contain the error code. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 115: Write Byte

    Example Routine • Rung 0000: Place RFID interface into the Run Mode. The bit should be highlighted in green. If the bit is not green, right-click it and click “Toggle Bit”. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 116: Write Multiple Blocks

    When the command has been executed and completed, copy the data read into N100. • Rung 0006: If there was an error with the operation, then N100:0 will contain the error code. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 117: Input Image Layout

    Refer to Appendix B (Class 4 Assembly Object) for details on the Input Image Layout. Output Image Layout Refer to Appendix B (Class 4 Assembly Object) for details on the Output Image Layout. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 118 Chapter 11 MicroLogix 1400 Code Examples Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 119 2000 0.03674939 0.01432665 Table 19 - Square (40x40) Transceiver Max Tag Speed (m/s) Bytes Read Write 0.8928571 0.7971656 0.8272058 0.6731489 0.7217322 0.513992 0.5747126 0.348702 0.4081633 0.2121141 0.28463 0.13367 0.2184996 0.09758213 2000 0.02204964 0.008595988 Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 120: Continuous Read Mode

    Stop Continuous Read. The interface will not perform its normal poll cycle on that channel while it is in this mode of operation. During Continuous Read Mode, the ContReadMode and Busy bit will be set to true. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 121 (reset bit in the output image word set to 1). When using a 50 mm disc tag, Cat. No. 56RF-TR-8090 transceiver, and reading 4 bytes of data it may be possible to achieve a line speed of up to 3 m/s.
  • Page 122 BlockSize – Size in bytes per block of the tag. Length – Number of blocks to read Timeout – Delay time between sending command attempts in Mode 0. Delay time after input condition is true before sending commands in Mode 1-3. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 123: Teach Continuous Read

    Phase 1 will always be a value <10, Phase 2 will always be a value >10. Once the counter hits 20 the interface will exit teach mode and report the average and recommended delay times. The user will need to load the Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 124 = Starting Block e. xx:O.Channel[0].Length = Number of Blocks f. xx:O.Channel[0].Timeout = 0 g. xx:O.Channel[0].UIDLow = 0 h. xx:O.Channel[0].UIDHi = 0 i. xx:O.Channel[0].Data[0] = Mode x j. xx:O.Channel[0].Data[1] = Option Flag Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 125: Home

    The Home page allows the user to view basic information about the interface block. Data cannot be changed on the home page. The Device Description and Device Location is specified and can be changed on the Device Identity tab in the Configuration section. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 126: Diagnostics

    The tabs show Diagnostic Overview, Network Settings, and EtherNet Statistics. The I/O Connections tab contains a field that allows the user to change the web page refresh rate. Network Settings Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 127: Ethernet Statistics

    Note: If the username and password are lost, the interface block must be reset to default before it can be accessed again. This will reset the username and password to the default values above. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 128: Device Identity

    Chapter 13 RFID Interface Block Web Page Device Identity Change the device name, description, or location. Changes will take place after the interface block has been power cycled. Network Configuration Device Services Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 129: Error Codes

    – A read command attempted to read a block but was denied access. – A write command attempted to write to a block but was denied access. • Format Error (Decimal 7)– Indicates that the format of the command or response was invalid. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 130 Output Channel Timeout is set too short. For example, set the Output Channel Timeout to 100 ms and then try to read 112 byte of data from a Cat. No. 56RF-TG-30 tag. • Address Error (Decimal 9)– Indicates that the block address value was out of bounds for the tag.
  • Page 131: Product Codes And Name Strings

    Each CIP Class contains instances (copies of a class structure), and attributes for each instance. Most devices will have only one instance of a class. Class Object 0x0001 Identity Object 0x0004 Assembly Object 0x0008 Discrete Input Point Object 0x0009 Discrete Output Point Object Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 132: Identity Object Class Code 0X0001

    (MSG) to be configured as a CIP Generic type. Service Code: 1- Get Attribute All Class: 1 - Identity Object Instance: 1 - First instance Attribute: 1 - First attribute Destination: CIP_Data - a SINT[100] array to hold the data Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 133 No I/O connections established Non-Volatile Configuration Bad Major Fault At least one I/O connection in run mode At least one I/O connection established, all in idle mode 8 & 9 Reserved 10…15 Vendor specific Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 134: Assembly Object Class Code 0X0004

    Use the table below to determine the class 3 connection instance and Send / Receive size for your unit: Table 24 - Class 3 Connection Instances with size (in bytes) Cat. No. Input Size Output Size Config Size 56RF-IN-IPS12 56RF-IN-IPD22 56RF-IN-IPD22A Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 135: Reading The Input Image Table Of A 56Rf-In-Ipd22 With A

    • Instance 79h is the input image connection instance. • Attribute 3 is the assembly attribute for the input image table The Multi-Hop information is used to configure the communications path from the MicroLogix to the RFID interface. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 136 Reserved Reserved Reserved Reserved Channel[n] Diagnostics Definition Definition Reset Error Code Fault Error Code Tag Present Error Code Busy Error Code Reset in Progress Reserved Continuous Read Mode Reserved Reserved Reserved Reserved Reserved Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 137 Reserved Reserved Reserved Reserved Channel[n] Diagnostics Definition Definition Reset Error Code Fault Error Code Tag Present Error Code Busy Error Code Reset in Progress Reserved Continuous Read Mode Reserved Reserved Reserved Reserved Reserved Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 138 Reserved Reserved Reserved Reserved Channel[n] Diagnostics Definition Definition Reset Error Code Fault Error Code Tag Present Error Code Busy Error Code Reset in Progress Reserved Continuous Read Mode Reserved Reserved Reserved Reserved Reserved Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 139: Micrologix 1400

    • Instance 83h is the output image connection instance. • Attribute 3 is the assembly attribute for the output image table The Multi-Hop information is used to configure the communications path from the MicroLogix to the RFID interface. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 140 N20:7 Timeout N20:38…N20:39 UIDLow N20:8…N20:9 UIDLow N20:40…N20:41 UIDHi N20:10…N20:11 UIDHi N20:42…N20:61 Data Module Data Definition Definition Run Mode Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 141 • Service is type Read Assembly • Class 4 is the Assembly Instance Class • Instance 79h is the input image connection instance. • Attribute 3 is the assembly attribute for the input image table Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 142 • Service is type Write Assembly • Class 4 is the Assembly Instance Class • Instance 83h is the output image connection instance. • Attribute 3 is the assembly attribute for the output image table Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 143: Class 1 Connections

    (162 for product codes <= 0x100 only, 166 for product codes > 0x100 only). • Connection point T -> O shall be Assembly object, Instance 52, 150 or 151 (150 for product codes <= 0x100 only, 151 for product codes > 0x100 only). Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 144: Input Only Connection

    • More than one Class 3 connection per encapsulation session will be supported • Supported API: 100…10000 ms • T->O Connection type: point-to-point • O->T Connection type: point-to-point • Supported trigger type: application Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 145: Discrete Input Point Object Class Code 0X0008

    The following common services will be implemented for the Discrete Input Point Object. Service Code Implemented for: Service Name Class Instance 0x0E Get_Attribute_Single 0x10 Set_Attribute_Single To obtain the status of an input point (ON or OFF), configure a CIP message as shown below: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 146: Discrete Output Point Object Class Code 0X0009

    1 = Hold Last State Get/Set FaultValue BOOL 0 = OFF 0 = ON Get/Set ProgMode BOOL 0 = Use Program Value 1 = Hold Last State Get/Set ProgValue BOOL 0 = OFF 1 = ON Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 147 The return value will contain the state of the output (0=Off, 1=On) To set the state of an output point, configure a CIP message as shown below: CIP_Data_Source is a SINT that will contain the value to set the output too (0=Off, 1=On). Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 148 Appendix B CIP Information Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 149: Introduction

    The AOP is a folder containing numerous files for the device. It will come as an installation package. Install the AOP following the on-screen instructions. In the File Explorer, locate the directory where the installation files were extracted. Click MPSetup.exe Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 150 Appendix C Install the AOP (Add-On Profile) The window identifies the module profiles and the firmware version. Click Next Accept the terms of the license agreement and click Next. With Install selected, click Next. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 151 Install the AOP (Add-On Profile) Appendix C The profile name appears in the left-hand box and its details appear in the right­hand box. Verify that the module name is correct. Click Install. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 152 Appendix C Install the AOP (Add-On Profile) Notes: Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 153: Troubleshooting

    Also, verify the RFID interface has power by checking that the Aux Power LED is on solid green and the MOD LED is solid green, the Link 1 LED is flashing green, the NET LED is solid green. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 154 R/W Status LED is solid green, and the LED indicator for that channel is solid green. Answer Verify that the RFID tag is an ICODE compatible or SL2 style tag. The RFID interface may not be able to detect proprietary tag types. Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011...
  • Page 156 Asia Pacific: Rockwell Automation, Level 14, Core F, Cyberport 3, 100 Cyberport Road, Hong Kong, Tel: (852) 2887 4788, Fax: (852) 2508 1846 Publication 56RF-UM001A-EN-P - October 2011 Copyright © 2011 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.

Table of Contents