background image

90

Rockwell Automation Publication 56RF-UM001A-EN-P - October 2011

Chapter 9

RSLogix 5000 Code Examples

Example Results

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. The figure only shows the 
information from two of the four RFID tags. 

Read Multiple Blocks

The Read Multiple Blocks command reads multiple blocks of user data from an 
RFID tag. Option Flags can be set to return just the data in the blocks or return 
the data and the security status for each block of data. The maximum number of 
blocks that can be read at one time is 10.

• Option  Flag  0

 – Returns multiple blocks of user data. Set 

xx:O.Channel[0].Data[0] = 0.

• Option  Flag  1

 – Returns multiple blocks of user data and the security 

status of each block. Set xx:O.Channel[0].Data[0] = 1.

Set the following values in the output image table:

a. xx:O.Channel[0].Command = 2
b. xx:O.Channel[0].Address = the first block to read
c. xx:O.Channel[0].BlockSize = 0
d. xx:O.Channel[0].Data[0] = the Option Flag
e. xx:O.Channel[0].Length = the number of blocks to read
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)

Summary of Contents for 56RF

Page 1: ...RFID Systems Bulletin Number 56RF User Manual...

Page 2: ...assumed by Rockwell Automation Inc with respect to use of information circuits equipment or software described in this manual Reproduction of the contents of this manual in whole or in part without w...

Page 3: ...allation Cable Overview 29 Auxiliary Power Connection 30 Power Connection Options 31 EtherNet IP Addressing Star Topology 35 Linear Topology 36 Device Level Ring DLR Topology 37 Setting the Network Ad...

Page 4: ...et Version Information 75 Inventory 77 Lock AFI 80 Lock Block 82 Lock DSFID 84 Read Byte Command 85 Multi Tag Block Read 88 Read Multiple Blocks 90 Read Single Block 92 Read Transceiver Settings 94 Wr...

Page 5: ...Objects 131 Identity Object Class Code 0x0001 132 Assembly Object Class Code 0x0004 134 Reading the Input Image Table of a 56RF IN IPD22 with a MicroLogix 1400 135 Writing to the Output Image Table o...

Page 6: ...6 Rockwell Automation Publication 56RF UM001A EN P October 2011 Table of Contents Notes...

Page 7: ...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 a...

Page 8: ...odules with Logix5000 controllers and communicate with various devices on the EtherNet network Getting Results with RSLogix 5000 publication 9399 RLD300GR Information on how to install and navigate RS...

Page 9: ...on 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 International Standard Com...

Page 10: ...limits permitted by international radio frequency RF regulations A tag only responds when it receives a valid command that selects a single tag from a possible collection of cards within range of the...

Page 11: ...sceiver dotted ellipse The physical size of the transceiver is directly related to the size of the transmission field The larger the transceiver the longer and wider the antenna field is Please see tr...

Page 12: ...12 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 1 Introduction Notes...

Page 13: ...ions for the EtherNet IP RF transceivers input devices output devices and power Figure 2 Connections Transceiver Ports Input Ports Output Ports Cat No 1 1 1 56RF IN IPS12 2 1 1 56RF IN IPD22 2 2 0 56R...

Page 14: ...ower applied to the block Flashing red green Device in self test Green The block is operating in a normal condition Flashing green Standby Thedeviceisnotcommunicatingwiththeinterfaceblock Normalstate...

Page 15: ...o removeelectricalnoisenearcablingorreducebaudratebetweentransceiverand interface block Red Duplicate IP address The transceiver has an unrecoverable fault may need replacing Standard I O Off Outputs...

Page 16: ...ry LED Name LED State Indicates Module Status Off There is no power applied to the block Green The block is operating in a normal condition Red The transceiver has an unrecoverable fault may need repl...

Page 17: ...and ending with the most significant bit MSB 64 This is in contrast to the general used bit numbering within a byte starting with LSB 0 Byte 5 bit 41 48 is the tag type Byte 6 bit 49 56 is the manufa...

Page 18: ...X 0 All sub families of family X Wide applicative preselection X Y OnlytheYthsub familyoffamilyX 0 Y Proprietary sub family Y only 1 0 Y Transport Mass transit bus airline 2 0 Y Financial IEP banking...

Page 19: ...s stored in the system area of a tag The initial value is 1 EAS bit 1 means goods monitoring status and EAS bit 0 means that goods monitoring status is cleared SmartLabelIntegratedCircuit SLI SLI tags...

Page 20: ...llows for example the creation of label families This 8 bit value is located at Byte 2 in Block 2 as shown in the following figure and is only evaluated if the AFI flag is set in the reader command Ta...

Page 21: ...k 2 each byte can be individually locked Table 11 Write Access Block 1 Byte 0 Byte 1 MSB LSB MSB LSB Conditon 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Write Access for Block Number 3 2 1 0 2 3 2 2 2 1 2 0 11 1...

Page 22: ...uration Area This memory area stores all required information such as UID EPC data write protection access control information passwords etc Direct access to this memory area is not possible User Memo...

Page 23: ...ctively The memory is divided into two parts Configuration Area This memory area stores all required information such as UID write protection passwords etc Direct access to this memory area is not pos...

Page 24: ...FAH FFH are system area The system area is defined as an area that can be accessed only with a specific command The system area consists of six blocks and contains UUID AFI DSFID EAS bits and security...

Page 25: ...a portable solution for reading writing values to the tag data area The handheld interface is a touch screen operated computer with an attached RFID antenna and software that allows reading writing a...

Page 26: ...ngular 80x90 100 168 56RF TR 8090 Square 40x40 50 85 56RF TR 4040 Cylindrical M30 35 60 56RF TR M30 Cylindrical M18 18 30 56RF TR M18 Outline Type Total Memory Size B User Memory Size B Dimensions mm...

Page 27: ...22 889D F5FC J Female right angle 889D R5FC J Male straight 889D M5FC J Male right angle 889D E5FC J M12 Terminal Chambers Female straight 4 18 22 871A TS5 D1 Female right angle 871A TR5 D1 Male strai...

Page 28: ...e straight to male straight 4 Shielded 26 1585D M4UBDM Male straight to male rightangle 1585D M4UBDE Male right angle to male rightangle 1585D E4UBDE Description Cat No RFID Handheld Interface 52 Key...

Page 29: ...ansceiver Mounting Three types of cables are needed 1 This is an EtherNet cable RJ45 to M12 QD patchcord 2 This is a 5 pin M12 to 5 pin M12 patchcord The cable includes a shield that connects to the f...

Page 30: ...utput port is separate from the power to the remaining portions of the interface block This allows the output device to be turned off while maintaining power to the transceivers the input port and the...

Page 31: ...on a machine and the current consumption exceeds 4 A then a combination of mini style and micro style connections can be used to distribute the power In the example below mini style cordsets patchcord...

Page 32: ...ly at the block to functional earth FE Digital Input Connection The female M12 QD input connector is shown below Digital Output Connection The female M12 QD output connector is shown below Pin Functio...

Page 33: ...5D M4DC SH zinc die cast large body shielded mating connectors for the D Code M12 female network connector Use two twisted pair Cat 5E UTP or STP cables The 56RF interface block encoders can be connec...

Page 34: ...34 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 3 Electrical Installation Notes...

Page 35: ...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 T...

Page 36: ...t has a beginning and an end Linear topology simplifies installation and reduces wiring and installation costs but a break in the network disconnects all devices downstream from the break When this to...

Page 37: ...mmends that you use no more than 50 nodes on a single DLR or linear network If your application requires more than 50 nodes we recommend that you segment the nodes into separate but linked DLR network...

Page 38: ...tools such as the BootP DHCPserver to assign an IP address After the address is set you can use RSLinx to change the address Fundamental IP Addresses 192 168 1 xxx If your network scheme is 192 168 1...

Page 39: ...r blinks red once green once then solid red for a short while then blinks green once and finally blinks red continuously about once each second This takes about 10 seconds after power is restored The...

Page 40: ...e optional fields they can be left blank 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...

Page 41: ...ress field set the IP Address to 192 168 2 1 Click OK Click Close to close the Local Area Connection window this window must be closed to apply the new address 6 Disable DHCP Click on only once the in...

Page 42: ...received and 0 lost Change IP Address from One AdvancedAddresstoanother Advanced Address The easiest way to change the IP Address from one non simple address to another non simple address is to use R...

Page 43: ...ready done 3 Change the IP Address to the new address In this example the address will be changed form 192 168 2 115 to 192 168 3 115 Click Yes to confirm the change Click OK to close the configuratio...

Page 44: ...gain at 10 56 00 Each time power was applied the Bul 56RF interface block notified the BootP DHCP server of its IP Address This indicates that DHCP has not been disabled If DHCP is disabled the Bul 56...

Page 45: ...crews The tightening torque must be 1 5 N m for the M5 screw Spacing Between Transceivers Installing more than one transceiver causes radio frequency interference and may result in the difficulty of t...

Page 46: ...eld emanating from its sensing surface The field consists of a main center lobe and a secondary side lobe The RF tags must enter the RF field once stay long enough to complete the read and write cycle...

Page 47: ...gnment mm Sensing Distance mm 0 50 100 Side Lobe Side Lobe F F O F F O ON OFF 0 80 0 8 0 4 0 4 Ideal Sensing Range Acceptable Sensing Range RFID Tag Preferred Direction of Travel RFID Tag Alternate Di...

Page 48: ...48 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 5 Mechanical Installation Notes...

Page 49: ...n 56RF UM001A EN P October 2011 49 Chapter 6 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 E...

Page 50: ...50 Rockwell Automation Publication 56RF UM001A EN P October 2011 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...

Page 51: ...ation pane The name will also appear in the description of the tags which are described below b Enter a description of the module or its function c Set the EtherNet Address for the module In this exam...

Page 52: ...ivate Network radio button Enter a value for the last octet between 1 254 Be sure not to duplicate the address of an existing device In preceding example the address of the RFID block is 192 168 1 115...

Page 53: ...rval Specify the number of milliseconds between requests for information from the controller to the RFID block The block may provide data on a shorter interval but if no data is received the controlle...

Page 54: ...uct type product code Revision level serial number and product name In the right panel the AOP shows the fault status internal state i e Run mode and whether the file is owned and Module Identity The...

Page 55: ...ddress of 192 168 1 xxx This window is automatically populated with the data Port Configuration Tab The Port Configuration fields should not need to be changed for the Quick Start process These fields...

Page 56: ...October 2011 Chapter 6 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 c...

Page 57: ...Configuration I for Input O for Output Configuration Image Table and Tags Expand the RFID_1 C by clicking the box This shows the configuration image table which has the following tags Ch0BaudRate The...

Page 58: ...y the input turning off by the configured value in milliseconds By default this value is 0 Pt00NoLoadEn The Pt00NoLoadEn is used to enable or disable No Load diagnostic detection for output 0 A value...

Page 59: ...tes no connections ModuleStatus The Module status is a 4 byte value that will contain the overall status of the module A value of 0 or 1 will indicate the module is functioning with no faults a value...

Page 60: ...it Pt00Data is 1 indicating that the output has been commanded to turn ON then when the output point turns ON Pt00Readback will contain the value of 1 Run The Run bit will indicate if the block is in...

Page 61: ...ands 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 Value Command Description 1 Read Single Block...

Page 62: ...e transceiver Output Image Table and Tags Expand the RFID_1 O by clicking the box The shows the output image table which has the following tags Channel See Output Channel Tags Pt00Data The Pt00Data bi...

Page 63: ...that will indicate the data length for specific commands 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 mus...

Page 64: ...The user can enter a timeout value in milliseconds keeping in mind that a low timeout value can cause command failures by timing out before the command would otherwise have successfully completed UID...

Page 65: ...9 10 17 18 25 26 33 UUID of up to 4 tags Option Flag 1 Returns number of tags in field Returns Application Family Identifier AFI of first tag in field ReturnsUniversallyUniqueIdentifier UUID offirstt...

Page 66: ...a from a tag Command 4 Address Starting byte Length Number of bytes to read Data 0 0 Data 0 User data Option Flag 1 Reads the UUID from a tag Reads bytes of user data from a tag Command 4 Address Star...

Page 67: ...Input connector The switch is used to enable the routine to allow the user to repeat the routine easily In the examples the RFID block is identified as _RFID1 Main Routine A partial listing of the Mai...

Page 68: ...ng a tag and a tag is present in the RF field This Examine If Closed XIC instruction is latched ON by the sensor in Rung 0 RFID_1 I Channel 0 Busy This Examine If Open XIO instruction prevents the run...

Page 69: ...ecution RFID_1 I Channel 0 Busy When the command begins execution the Busy bit goes HI This contact closes and the rung is executed InProgress When command begins execution an In Progress bit is latch...

Page 70: ...lue used to clear the byte e xx O Channel 0 Length the number of bytes to clear 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 UIDH...

Page 71: ...mand was executed on an RFID tag The data in this tag was a simple list of numbers starting from 1 Note the counter is 31 The Clear Multiple Byte command is executed successfully as the ChError 0 and...

Page 72: ...hannel 0 Length the number of blocks to read 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 Unless a UUID is specified this c...

Page 73: ...a 0 7 UUID xx I Channel 0 Data 8 9 Security status of block x xx I Channel 0 Data 10 11 Security status of block x 1 Get System Information The Get System Information command will return the following...

Page 74: ...xx O Channel 0 UIDLow and xx O Channel 0 UIDHi to perform the command on a specific tag Example Routine In the example routine below the initialization in Rung 1 sets the address length data the Data...

Page 75: ...the first byte is 0 The IC Ref is the last byte reported Get Version Information The Get Version Information command will retrieve the firmware version information from the transceiver Set the follow...

Page 76: ...address length data the Data 0 value used to clear the fields and sets the command value to 0 Because the address length and data 0 can only be 0 the source in the MOV instruction can be set to 0 The...

Page 77: ...er of tags in the field the UUID and the DSFID of each tag that meets the specified AFI Set Address 1 Length 1 and Data 0 AFI value If the AFI value is 0 then all the tags are reported Set the followi...

Page 78: ...UIDLow and UIDHi are set to 0 in the output image table The example ladder diagram is initially set for Address 0 Length 0 and Data 0 0 These values are then changed to get obtain example results for...

Page 79: ...Chapter 9 In example 2 the length was changed to 1 the Address 0 Length 1 and 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...

Page 80: ...he one byte of information for the Application Family Identifier AFI preventing it from being modified in the future Once the AFI byte is locked it cannot be unlocked The AFI is used to group RFID tag...

Page 81: ...ets the command value to 0 The BlockSize Reset and Timeout are set to 0 in the output image table Example Results The following figure shows an example of results on the input image table The Command...

Page 82: ...hannel 0 Length 0 f xx O Channel 0 Reset 0 g xx O Channel 0 Timeout 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 block values...

Page 83: ...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 tabl...

Page 84: ...Command 44 b xx O Channel 0 Address 0 c xx O Channel 0 Data 0 0 d xx O Channel 0 Length 0 e xx O Channel 0 Reset 0 f xx O Channel 0 Timeout 0 g xx O Channel 0 UIDLow UIDLow h xx O Channel 0 UIDHi UIDH...

Page 85: ...s that can be read at a time is 160 bytes using option flag 0 and 152 bytes using option flag 1 Option Flag 0 Returns the specified user data Set xx O Channel 0 Data 0 0 Option Flag 1 Returns the UUID...

Page 86: ...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...

Page 87: ...lts where the Option Flag was set to 1 which reads the UUID The UUID is loaded into Data 0 through Data 7 The user data 1 2 3 4 5 6 begins in Data 8 The figure below only shows a partial listing of th...

Page 88: ...e allowed to read all the tags in the RF field Set the following values in the output image table a xx O Channel 0 Command 3 b xx O Channel 0 Address the first block to read c xx O Channel 0 BlockSize...

Page 89: ...ine below the initialization in Rung 1 sets the address length the Data 0 value used to read multiple tags and sets the command value to 0 The BlockSize Reset Timeout UIDLow and UIDHi are set to 0 in...

Page 90: ...data from an RFID tag Option Flags can be set to return just the data in the blocks or return the data and the security status for each block of data The maximum number of blocks that can be read at o...

Page 91: ...ific tag Example Routine In the example routine below the initialization in Rung 1 sets the address length and Data 0 values used to read multiple blocks and sets the command value to 0 The BlockSize...

Page 92: ...and 26 are returned The tag was a Cat No 56RF TG 30 which has only 4 bytes per block The data for the first block appears in the input channel Data 0 3 The security status appears in Data 4 The value...

Page 93: ...i 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 Example R...

Page 94: ...ag 1 Data 0 shows the security status of the block The 1 indicates the block has been locked A zero indicates the block is unlocked The data appears in Data 1 4 Read Transceiver Settings The Read Tran...

Page 95: ...ause the address length and Data 0 can only be 0 the source in the MOV instruction can be set to 0 The UIDLow UIDHi BlockSize Reset and Timeout are set to 0 in the output image table Example Results T...

Page 96: ...nd 41 2 xx O Channel 0 Address 0 3 xx O Channel 0 BlockSize 0 4 xx O Channel 0 Data 0 AFI value 5 xx O Channel 0 Length 1 6 xx O Channel 0 Reset 0 7 xx O Channel 0 Timeout 0 8 xx O Channel 0 UIDLow 0...

Page 97: ...s of user data to a tag The user must specify the data the start byte and the number of bytes to write a xx O Channel 0 Command 14 b xx O Channel 0 Address starting addressto write c xx O Channel 0 Bl...

Page 98: ...e blocks and sets the command value to 0 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 0 the Length 10 Dat...

Page 99: ...mand will write one byte of information in the Data Storage Format Identifier DSFID of the RFID tag Set the following values in the output image table a xx O Channel 0 Command 43 b xx O Channel 0 Addr...

Page 100: ...tiple blocks and sets the command value to 0 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 0 the Length 0...

Page 101: ...ytes per block d xx O Channel 0 Data 0 xxx data to write e xx O Channel 0 Length the 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...

Page 102: ...ock size values used to write multiple blocks and sets the command value to 0 The BlockSize Reset Timeout UIDLow and UIDHi are set to 0 in the output image table Example Results The figure below shows...

Page 103: ...ore blocks of user data to multiple tags in the transceiver field The maximum number tags in the RF field is limited to four and all tags must have the same block size Set the following values in the...

Page 104: ...gs or 8 byte increments e g 8 16 24 for FRAM tags Note The BlockSize field is used to specify the number of bytes block of the tag Valid values are 0 4 bytes block 4 4 bytes block 8 8 bytes block Typi...

Page 105: ...105 RSLogix 5000 Code Examples Chapter 9 Example Results 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 c...

Page 106: ...ngth 0 4 or 8 f xx O Channel 0 BlockSize 0 4 or 8 g xx O Channel 0 Reset 0 h xx O Channel 0 Timeout 0 i xx O Channel 0 UIDLow 0 or UIDLow j xx O Channel 0 UIDHi 0 or UIDHi If UIDLow and UIDHi are set...

Page 107: ...low 4 bytes of data will be written to Block 3 The data is loaded into the output channel image table Block three will be populated with Data 0 3 41 42 43 and 44 Example Results The output image table...

Page 108: ...nuous Read command is used for specialty applications requiring high line speeds up to 3 m s Refer to Continuous Read Mode on page 120 for details on this command Stop Continuous Read The Stop Continu...

Page 109: ...Byte command value 4 reads a user specified number of bytes from a tag starting at a user specified address Additionally an Option Flag can be set to return the UUID of the tag Option Flag 0 Returns...

Page 110: ...0001 Read Input Image Double click the EEM 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 Rung 0002 Write Output Image Double...

Page 111: ...e Block could be used in place of N104 Rung 0005 Wait for the read command to run The Read in Progress bit will be highlighted in green when the command is running When the command has completed the R...

Page 112: ...112 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 10 SLC Code Examples Notes...

Page 113: ...on Flag 0 Returns the specified user data 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 Rung 0000...

Page 114: ...ent clear the command value Rung 0004 When the command value has been cleared load in the instruction parameters contained in N104 Read Byte N101 Read Single Block could be used in place of N104 Rung...

Page 115: ...ue has been cleared load in the instruction parameters contained in N114 Write Byte N110 Write Single Block could be used in place of N114 Rung 0005 Wait for the write command to run The Write in Prog...

Page 116: ...nd value 11 writes multiple blocks of user data to an FRAM tag Note This command will only work on FRAM tags Unless a UUID is specified this command will operate on the first tag in the field Example...

Page 117: ...r 2011 117 MicroLogix 1400 Code Examples Chapter 11 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...

Page 118: ...118 Rockwell Automation Publication 56RF UM001A EN P October 2011 Chapter 11 MicroLogix 1400 Code Examples Notes...

Page 119: ...e functions This will also help with tag misalignment issues If your tag will be stopped when all read write functions occur and tag misalignment is not an issue smaller transceivers can be used It is...

Page 120: ...crement by 1 If there was an issue reading the tag the counter value will not increment and the ChError will indicate the error code value While the interface is in this mode it will reject all other...

Page 121: ...of operation can be used on each channel To change modes you will need to issue a Stop Continuous Read and then reissue a Start Continuous Read with the new mode Both channels can be setup for the sa...

Page 122: ...ad command is issued 4 Mode3 The interface waits for both input point 0 and 1 to turn ON waits for the delay timer to expire then sends out a read obtains data and returns that data back to the PLC Th...

Page 123: ...s and tag speeds Operation Command 8 will be issued from the Controller to place an RFID interface channel into teach mode When first entering Teach Mode Phase 1 the interface will wait for the input...

Page 124: ...ue Teach mode can canceled by issuing a channel reset reset bit in the output image word set to 1 Command Structure a xx O Channel 0 Reset 0 b xx O Channel 0 BlockSize Bytes per Block in the tag c xx...

Page 125: ...interface block must have EtherNet connectivity and power to be viewable on the web page The web page provides diagnostic and configuration for the RFID interface block Home The Home page allows the...

Page 126: ...agnostics The Diagnostic section has three tabs of view only detailed information on the status of the interface block The tabs show Diagnostic Overview Network Settings and EtherNet Statistics The I...

Page 127: ...the RFID interface block web page a username and password are required The default username is Admin and there is no password by default The username and password can be changed on the Device Service...

Page 128: ...UM001A EN P October 2011 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 cycle...

Page 129: ...d was out of bounds No Tag Detected Decimal 4 Indicates that a command was attempted on a channel but there was no tag detected in the field Instruction Timed Out Decimal 5 Indicates that the timeout...

Page 130: ...56RF TG 30 tag Address Error Decimal 9 Indicates that the block address value was out of bounds for the tag Mismatch Error Decimal 10 Indicates that there are more tags detected in the field than the...

Page 131: ...on to send a set service to one of the following The value attribute of any DOP instance class code 0x09 The data attribute of any output consumed Assembly instance class code 0x04 Attribute 3 or 4 of...

Page 132: ...tity Object Instance 1 First instance Attribute 1 First attribute Destination CIP_Data a SINT 100 array to hold the data Attribute ID Access Rule Name Data Type Value 1 Get Vendor UINT 1 2 Get Device...

Page 133: ...ned by a Master 1 Reserved Reserved 2 Configured 0 Not configured 1 Configured 3 Reserved Reserved 4 7 Extended Device Status See table below 8 Minor Recoverable Fault 1 Detected a recoverable minor f...

Page 134: ...ect Different connection instances are needed for each RFID interface based on the model These class 3 connection instances are different than the class 1 instances used by a ControlLogix or CompactLo...

Page 135: ...N10 0 thru N10 57 The number of bytes to receive is 116 58 words The extended routing file RIX11 0 is used to store the Multi Hop routing information Service is type Read Assembly Class 4 is the Assem...

Page 136: ...n Bit Definition 0 Run Status 8 Reserved 1 Block Fault 9 Reserved 2 Aux Power Fault 10 Reserved 3 Reserved 11 Reserved 4 Pt00 Input Fault 12 Pt00 Output Fault 5 Pt00 Open Wire 13 Pt00No Load 6 Pt00 In...

Page 137: ...ion Bit Definition 0 Run Status 8 Pt01 Input Fault 1 Block Fault 9 Pt01 Open Wire 2 Aux Power Fault 10 Pt01 Input Short Circuit 3 Reserved 11 Reserved 4 Pt00 Input Fault 12 Reserved 5 Pt00 Open Wire 1...

Page 138: ...t 9 Reserved 2 Aux Power Fault 10 Reserved 3 Reserved 11 Reserved 4 Pt00 Input Fault 12 Pt00 Output Fault 5 Pt00 Open Wire 13 Pt00 No Load 6 Pt00 Input Short Circuit 14 Pt00 Output Short Circuit 7 Res...

Page 139: ...20 0 N20 61 The number of bytes to send is 124 62 words The extended routing file RIX12 0 is used to store the Multi Hop routing information Service is type Write Assembly Class 4 is the Assembly Inst...

Page 140: ...on 0 Run Mode 8 Pt00 Data 1 Reserved 9 Reserved 2 Reserved 10 Reserved 3 Reserved 11 Reserved 4 Reserved 12 Reserved 5 Reserved 13 Reserved 6 Reserved 14 Reserved 7 Reserved 15 Reserved Word Descripti...

Page 141: ...mage will be stored and will span N10 0 thru N10 57 The size in words is 58 116 bytes Service is type Read Assembly Class 4 is the Assembly Instance Class Instance 79h is the input image connection in...

Page 142: ...s the data table address to store the output image and will span N20 0 N20 61 The Send Data size is 62 124 bytes Service is type Write Assembly Class 4 is the Assembly Instance Class Instance 83h is t...

Page 143: ...ime If an Exclusive owner connection is already established and an originator tries to establish a new Exclusive owner connection an Ownership conflict general status 0x01 extended status 0x0106 error...

Page 144: ...sets the data size in the Forward_Open be zero Number of supported listen only connections equals two shared with exclusive owner and listen only connection Connection point O T shall be Assembly obj...

Page 145: ...nted for the Discrete Input Point Object To obtain the status of an input point ON or OFF configure a CIP message as shown below Attribute ID Access Rule Name Data Type Value 1 Get Revision 0xC7 2 2 G...

Page 146: ...would be instance 2 The return value will contain the filter time in milliseconds Discrete Output Point Object Class Code 0x0009 The following class attributes are supported Two instances of the Discr...

Page 147: ...output point configure a CIP message as shown below 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...

Page 148: ...148 Rockwell Automation Publication 56RF UM001A EN P October 2011 Appendix B CIP Information Notes...

Page 149: ...ion for configuring a device that will be added to the Rockwell Automation network The Add On Profile simplifies the setup of devices because it presents the necessary fields in an organized fashion w...

Page 150: ...RF UM001A EN P October 2011 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...

Page 151: ...ation 56RF UM001A EN P October 2011 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...

Page 152: ...152 Rockwell Automation Publication 56RF UM001A EN P October 2011 Appendix C Install the AOP Add On Profile Notes...

Page 153: ...ess in the range of 192 168 1 xxx where xxx is the position of the three rotary switches Once the switches are in place cycle power to the RFID interface Problem I am getting a yellow triangle in RSLo...

Page 154: ...transceiver and interface turns amber Answer When one or more RFID tags are detected in the field the LEDs on the interface and transceiver will turn amber indicating tag presence When no tags are det...

Page 155: ......

Page 156: ...products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned follow these procedures Documentatio...

Reviews: