background image

 

RF182C communication module 
Operating Instructions,  10/2010 

111

 

Command and acknowledgement telegrams 

A

 

In this Section, you will find detailed information on some commands mentioned in Section 

Communication interface (Page 49). Only those commands requiring a special coding of 

commands and results are described.  

 

 

Note 
Special information on telegram expansions for the RF620R/RF630R readers can be found 

in the Appendix of the "Configuration Manual RF620R/RF630R". 

 

Summary of Contents for RF182C

Page 1: ...________ ___________________ SIMATIC Sensors RFID systems RF182C communication module Operating Instructions 10 2010 J31069 D0204 U001 A2 7618 Introduction 1 Description 2 Mounting 3 Connecting 4 Parameterizing 5 Communication interface 6 Maintenance and Service 7 Diagnostics 8 Error messages 9 Examples applications 10 Technical data 11 Dimension drawings 12 Connecting cable to the reader SLG 13 O...

Page 2: ...ce with the relevant documentation for the specific task in particular its warning notices and safety instructions Qualified personnel are those who based on their training and experience are capable of identifying risks and avoiding potential hazards when working with these products systems Proper use of Siemens products Note the following WARNING Siemens products may only be used for the applica...

Page 3: ...with Ethernet connection 32 4 5 Connecting the RF182C to functional ground PE 33 5 Parameterizing 35 5 1 Address assignment for Ethernet 35 5 2 Data communication between client and RF182C 37 5 3 Factory setting of the RF182C 40 5 4 Assigning the IP address 41 5 4 1 Overview 41 5 4 2 Web server 41 5 4 3 Primary Setup Tool 45 5 5 Troubleshooting Assigning the IP address 48 6 Communication interface...

Page 4: ...cket programming exemplary in C 81 10 1 1 Socket programming requirements 81 10 1 2 Basic client server principle 82 10 1 3 Important basic commands 82 10 1 4 Partial programming example of a client in C Windows operating system 83 10 2 RF182C user application 85 10 2 1 User interface layout 86 10 2 2 Extracts example code of the user application in C 87 10 2 3 Functions of the RF182C applications...

Page 5: ...he information landscape The manual of the relevant RFID family contains information on the readers SLGs to be connected Special information on parameterizing the RF620R RF630R readers in conjunction with the RF182C communication module can be found in the RF620R RF630R parameterization manual Guide These Operating Instructions describe the hardware and the communications interface of the RF182C c...

Page 6: ...Instructions 10 2010 Recycling and disposal Due to its environmentally compatible equipment the RF182C communication module can be recycled Contact a certified electronic waste disposal company to recycle and dispose of your old equipment in an environment friendly manner ...

Page 7: ... With push pull connection block When using it on a standard PC please follow the appropriate instructions for parameterization and integration in the system The following RFID families can be operated with the RF182C only with normal addressing RF300 RF600 MOBY D MOBY U Features Up to 2 readers SLGs can be operated on the RF182C at the same time The user can issue a command on 2 readers SLGs simu...

Page 8: ... out information via the communication module and saving system information such as function installation date installation location and comments Module supports SNMP Layout The RF182C has the same enclosure as the RFID communication module ASM 456 for PROFIBUS and the RFID communication module RF180C for PROFINET For connecting to Ethernet the RF182C communication module features a connection blo...

Page 9: ...U 6 6WDWXV V IRU LQWHUIDFH PRGXOH 6WDWXV V IRU RSHUDWLRQ RI WKH VW UHDGHU 6 RQQHFWRU VRFNHW IRU QG UHDGHU 6 3URWHFWLYH HDUWK 0 FRQQHFWLRQ VRFNHWV IRU 352 1 7 2 WKHUQHW FRQQHFWLRQ VRFNHWV IRU SRZHU VXSSO DVH XQLW RQQHFWLRQ EORFN 0 SROH RQQHFWLRQ EORFN 3XVK SXOO 3XVK SXOO FRQQHFWLRQ VRFNHWV IRU SRZHU VXSSO 3XVK SXOO FRQQHFWLRQ VRFNHWV 5 IRU 352 1 7 2 WKHUQHW RQQHFWLRQ EORFN 0 SROH 7 7 6 0 7 5 7 Figu...

Page 10: ...installation of a system is possible with the RF182C The following circuit shows the internal relationships of the reference potentials 9 VXSSO 5 DQG UHDGHU QWHUQDO VXSSO UHDGHU LQWHUIDFH WKHUQHW X LOLDU YROWDJH IRU EXV FRQQHFWLRQ 0 0 0 Q Q Q Q 0 0 0 6FKLUP Figure 2 2 Galvanic isolation of RF182C ...

Page 11: ... M12 7 8 is integrated in an automation system The push pull connection block is integrated in the same manner as the connection block M12 7 8 QGXVWULDO WKHUQHW 5 5 5 5 7DJV 0 6 352 1 7 2 9 IRU 5 DQG UHDGHU 7R DGGLWLRQDO 352 1 7 WKHUQHW QRGHV 6 0 7 5 3 PROFINET IO Master module SIMATIC S7 Figure 2 3 RF182C configurator with connection block M12 7 8 ...

Page 12: ...Description RF182C communication module 12 Operating Instructions 10 2010 ...

Page 13: ...the mounting position for the RF182C Mounting dimensions and spacing Table 3 1 Mounting dimensions of base module with connection block M12 7 8 without connector Designation Dimensions Mounting width 60 mm Mounting height 210 mm Mounting depth 54 mm Table 3 2 Mounting dimensions of base module with push pull connection block without connector Designation Dimensions Mounting width 60 mm Mounting he...

Page 14: ...need for a separate grounding cable If you use the fixing screw as grounding connection the thread of the fixing screw or the contact facing of the fastening nut on the base must be unpainted This ensures a low resistance connection Requirements Screws Screw type Description M5 cylindrical head screw to ISO 1207 ISO 1580 DIN 84 DIN 85 Cylindrical head screw with M5 hexagonal recessed hole accordin...

Page 15: ...odule Operating Instructions 10 2010 15 Procedure Fix the base unit onto a level surface using the screws The base unit must be screwed to the surface 3 Nm tightening torque at both fixing points front top and bottom 7 6 0 7 5 Figure 3 1 Mounting the I O module ...

Page 16: ... 3 Mounting the connection block Features The connection block connects the RF182C with the Ethernet and supplies the base unit with voltage Requirements The base unit is already mounted Required tools Cross head screwdriver medium Mounting the connection block 1 Plug the connection block into the base unit ...

Page 17: ...s evenly working in cross wise passes 4 screws are already located in the connection block see Figure 1 6 0 7 5 Figure 3 2 Plug the connection block M12 7 8 onto the base unit and screw it on 6 0 7 5 Figure 3 3 Plug the push pull connection block onto the base unit and screw it on Note IP65 IP66 or IP67 degree of protection only exists when the connection block is screwed to the base unit ...

Page 18: ...els on the base module 1 label on connection block M12 7 8 2 labels on push pull connection block Requirements If you want to replace the labels you can reorder them You will find the order number in section Ordering data Page 109 Required tools Screwdriver size 2 5 mm to 4 mm Replacing labels 1 Push the screwdriver into the small opening of the label and then lever it out Figure 3 4 Removing labe...

Page 19: ...operating 1 Switch off the supply voltage for the RF182C 2 Disconnect the wiring on the connection block 3 Remove the 4 fixing screws from the connection block and pull the connection block off the base unit 4 Disconnect the wiring on the base unit 5 Remove the fixing screws from the base unit Note See also section Loop through of Ethernet and supply voltage Page 30 ...

Page 20: ...Mounting 3 5 Disassembling the RF182C RF182C communication module 20 Operating Instructions 10 2010 ...

Page 21: ...nnected to the public telephone network without a HUB Switch because the voltage intervals are designed for 500 V Ethernet setups Ethernet communication can be established in BUS or STAR topology Also note the information in section Loop through of Ethernet and supply voltage Page 30 QGXVWULDO WKHUQHW 9 IRU 5 DQG UHDGHU 3 PROFINET IO Master module SIMATIC S7 6 0 7 5 6 0 7 5 6 0 7 5 352 1 7 2 Figur...

Page 22: ...Connecting RF182C communication module 22 Operating Instructions 10 2010 PROFINET IO Master module SIMATIC S7 QGXVWULDO WKHUQHW 9 6ZLWFK H J 6 1 5 5 5 352 1 7 2 3 Figure 4 2 RF182C with STAR topology ...

Page 23: ...ction socket on the RF182C A pre assembled cable therefore provides the optimum easy connection for the reader SLG The connection cable is 2 m long in the standard version QGXVWULDO WKHUQHW 5 5 5 5 7DJV 0 6 352 1 7 2 9 IRU 5 DQG UHDGHU 7R DGGLWLRQDO 352 1 7 WKHUQHW QRGHV 6 0 7 5 3 PROFINET IO Master module SIMATIC S7 Figure 4 3 Overview of wiring ...

Page 24: ...assembled cable with connector If you are not using a pre assembled cable M12 4 core Ethernet cable Twisted Pair shielded and M12 connector 4 pole D coding see Table Pin assignment of M12 connector 4 pole D coding Ethernet 7 8 5 core cable and 7 8 connector see Table Pin assignment for 7 8 connector supply voltages For order numbers refer to Section Ordering data Wiring M12 7 8 connector The table...

Page 25: ...G 5 Load voltage supply 2L unused on RF182C 6XSSO FRUH FDEO RRS WKURXJK FRQQHFWLRQ Table 4 3 Pin assignment of 7 8 connector 4 pole supply voltages Pin Assignment View of 7 8 connector wiring side 1 1L electronics encoder supply power supply for RFID 181EIP and reader SLG 2 unused 3 unused 4 Ground for electronics encoder supply 1M Note When connecting the supply voltage we recommend the cables sp...

Page 26: ...e connection block Ensure that the correct stop is provided between the connector and bush groove and spring 2 Use the knurled locking ring to secure the connector 6 0 7 5 Figure 4 4 Connecting M12 7 8 connectors Sealing unused sockets Always close all unused sockets using M12 or 7 8 seal caps in order to achieve the degree of protection IP65 IP66 or IP67 See section Ordering data Page 109 for ord...

Page 27: ... Wire the push pull connection block with the supply voltage switched off Required tools Screwdriver Stripping tool for wiring the push pull cable connector if you assemble your own cables Accessories required Pre fabricated cables with push pull cable connector for 1L 2L and RJ45 The cables are available in various lengths from appropriate manufacturers If you assemble your own cables 5 core cabl...

Page 28: ...et 1 Transmit Data TD Receive Data RD 2 Transmit Data TD_N Receive Data RD_N 3 Receive Data RD Transmit Data TD 4 Ground GND RJ45 5 Ground GND RJ45 6 Receive Data RD_N Transmit Data TD_N 7 Ground GND RJ45 31 31 8 Ground GND RJ45 Table 4 5 Pin assignment of push pull cable connectors 1L and 2L supply voltages View of push pull cable connectors 1L and 2L supply voltages Terminal Assignment X01 DC 24...

Page 29: ...kets see figure below Ensure that the locking mechanism between the connector and socket is properly applied The connectors must engage 6 0 7 5 X01 24 V DC Push pull socket with socket insert for infeed of the 1L electronic encoder supply and the 2L load voltage supply X02 24 V DC Push pull socket with socket insert for looping through of the 1L electronic encoder supply and the 2L load voltage su...

Page 30: ...f Ethernet The sockets are not connected to each other in the connection block The switch in the base unit creates the logical connection Note If you disassemble the connection block during operation only the power supply will be looped through Data communication to subsequent devices will be interrupted from this module onwards 5 2 HYLFH GLVFRQQHFWHG IURP WKHUQHW 6XSSO YROWDJH LV ORRSHG WKURXJK 5...

Page 31: ...M12 7 8 is 6 A at 1L and 8 A at 2L These values must not be exceeded The maximum infeed current of the push pull connection block is 12 A for 1L and 2L at up to 40 C and 8 A for 1L and 2L at up to 60 C These values must not be exceeded Adhere to the current carrying capacity of the connected cables which depends on the conductor material the conductor cross section and the ambient temperature CAUT...

Page 32: ...he center and connect one Ethernet connector to each free cable end This will result in two Ethernet M12 cables You will need the following individual parts Ethernet plug in connector M12 plug in connector and PROFINET Ethernet standard cable unassembled The parts can be found in the ordering data You can make up a cable to your own length requirements using these parts Using a cabinet bushing Eth...

Page 33: ...ng cable The connection to functional ground PE is also required to deflect the interference currents and for electromagnetic compatibility Requirements Always make sure there is a low resistance connection to the functional ground PE If you use the fixing screw as grounding connection the thread of the fixing screw or the contact facing of the fastening nut on the base must be unpainted This ensu...

Page 34: ... grounding via the fixing screw Optional grounding via a grounding cable 1 Mount the module on the grounded metallic base as described in section Mounting the I O module Grounded metallic base Unpainted thread or nut base 1 Isolate the grounding cable and secure the cable lug 2 Screw the cable lug on to the communication module M5 grounding screw The tightening torque is 3 Nm ...

Page 35: ...rnet protocol which is used to address it on the network An IP address may be present only once within a network It must be parameterized in the RF182C In the user application in the PC the IP address is specified when establishing a connection The IP address always comprises 32 bits and is represented in decimal format value range from 0 to 255 It therefore comprises a string of four numbers in A...

Page 36: ...e web server If no connection could be established with the RF182C check the port setting via the web server The default port setting is 10001 10002 You can then establish a connection via the set port numbers 3 3 3 DGGUHVV 3 DGGUHVV QWHUQHW 3URWRFRO 3 QWHUQHW 3URWRFRO 3 WKHUQHW 3URWRFRO 7 3 3 5 VHUYHU SSOLFDWLRQ 6RFNHW 3 FOLHQW SSOLFDWLRQ 7 3 7UDQVPLVVLRQ RQWURO 3URWRFRO 7 3 7UDQVPLVVLRQ RQWURO 3...

Page 37: ... RF182C check the the communication settings IP address port number of the communication module via the web server Page 41 Optionally a configuration message frame comDevSetConfig can be sent to the RF182C to change the communication mode stored in the RF182C by default The client that configures the RF182C first also defines the RF182C settings Further configurations during operation are not poss...

Page 38: ... the RF182C Parameter Value Baud rate 115 2 kBaud Port 10001 Reader 1 assignment see chapter Web server Page 41 Port 10002 Reader 2 assignment see chapter Web server Page 41 Asynchronous message frames alarm presence message are assigned to the opened port LED suppression NONE Mode U D RF300 RF600 NOTICE SLG D11S and D12S cannot run with the standard baud rate Please note that the MOBY D readers S...

Page 39: ... should automatically send a heartbeat message frame If in case of an error no response is sent in answer to the heartbeat message frame from the RF182C the client must then initiate further actions disconnect connect parameterize the reader The connections including TCP IP can be canceled by both sides due to the following causes Inactivity timeout keep alive on TCP level Connection error Disconn...

Page 40: ... programming Therefore you must first assign the IP address data IP address and subnet mask to the RF182C so that it can be used in the Ethernet network An IP address can be assigned to the RF182C using the PST tool or via the web server Factory setting Default IP address setting 192 168 0 100 Default port setting default 10001 Reader 1 10002 Reader 2 Use the Primary Setup Tool http support automa...

Page 41: ...Overview There are two ways of assigning an IP address to the RF182C communication module Using the Primary Setup Tool V4 0 Via the web server of the communication module Both alternative procedures are described in brief below 5 4 2 Web server Procedure 1 Enter the IP address of the communication module in the address field of your browser ...

Page 42: ...ould make sure that all cables are correctly connected and check whether the RF182C communication module has powered up 2 Check the IP address of the PC and the address of the subnet mask in the Communication menu Parameter tab Note If a connection is established make sure that an IP address of the same subnet is assigned to the PC laptop computer or PLC unless a router is used The IP address of t...

Page 43: ...sk default router or the port numbers of the individual readers NOTICE Termination of communication If you change the settings during ongoing operation communication will be terminated The application must then reconnect again with the new settings form the RF182C communication module The same applies to the web server At the next startup of the communication module the default settings are no lon...

Page 44: ...Reset menu you can reset all settings to the factory settings 1 To do this click on the button Reset RF182C to factory settings Note Soft reset If serious communication errors occur you can also execute a so called soft reset using the Reset 182C button The communication module will then restart as if the power was turned off and back on again ...

Page 45: ...n A window opens that indicates that a device was found in the network If no RF182C communication module is shown make sure that all cables are connected properly and check if the RF182C communication module has started Check the IP address of the PC and the subnet mask Note If a connection is established make sure that an IP address of the same subnet is assigned to the PC laptop computer or PLC ...

Page 46: ...change the data under Assign IP Parameters check the adjacent option Click the button Assign Name to explicitly assign a name to the device e g RF182C 4 If you want to transfer the changed data to the communication module select the higher level folder and select Module Download in the menu Confirm the subsequent window with Yes NOTICE Waiting time Wait until the IP address has been updated Activa...

Page 47: ...Operating Instructions 10 2010 47 Result You can now address the device using a browser or user program Note IP address stored on connection block The IP address is stored on the connection block Therefore if you replace the base module no new IP address has to be assigned ...

Page 48: ...device should flash every 3 seconds after run up The SF LED should be lit The ON LED should be lit The DC 24 V LED should be lit The BF LED should be flashing One of the two green link LEDs should be lit green One or two RxTx LEDs should flicker depending on the communication load in the network 4 Start the Primary Setup Tool V4 0 software and configure the network settings if you have not already...

Page 49: ...atus Status of the tag Note Text file for structure of XML commands The structure of the XML commands of this section can also be found in a text file RF182C_XML_Commands txt You can find this file on the RFID CD Software Documentation Follow the link CM ASM RF182C Tools Thus you can transfer the basic structure of the commands to your application program by means of copy and paste Note Structure ...

Page 50: ...he application XML command command comDevSetConfig signature RF182C signature protocolVersion Version protocolVersion parameter transmissionPoint mode Mode mode baudrate Baud rate baudrate startupLedSupression LEDSupression startupLedSupression transmissionPoint parameter comDevSetConfig command XML response Below the XML response without error entry for error entries see section Error messages Pa...

Page 51: ...CII Here you must enter one of the following baud rates in baud 19200 57600 115200 LEDSuppression ASCII Both channels or channel 1 or channel 2 are flashing NONE run up flashing is not suppressed by any of the two reader terminals TRANSM_POINT_1 run up flashing of the err_LED at the reader 1 terminal is being suppressed TRANSM_POINT_2 run up flashing of the err_LED at the reader 2 terminal is bein...

Page 52: ...d XML response Below the XML response without error entry for error entries see section Error messages Page 71 is described reply resultCode Errorcode resultCode reset reply Parameter Parameter Data type Values Param ASCII hex 00 FF ASCII string of a length of 16 ASCII characters corresponding to 8 hexadecimal numbers e g 00 25 00 00 00 01 00 00 presence activated RF300 no multitag 1 1 The ASCII s...

Page 53: ...out error entry for error entries see section Error messages Page 71 is described reply resultCode Errorcode resultCode writeTagData reply Note The length of the data to be written is derived from the number of characters transferred in the variable data Please note that in each case 2 ASCII characters of the transferred data flow are converted into a hex character on the tag in the communication ...

Page 54: ...se without error entry for error entries see section Error messages Page 71 is described reply resultCode Errorcode resultCode readTagData returnValue data Data data returnValue readTagDatat reply Parameter Parameter Data type Values Address ASCII hex 0000 FFFF 4 x ASCII 0 to maximum length of the user data 1 the user data is read from the tag starting from this address Address data length must be...

Page 55: ...ultValue Value defaultValue initializeTag command XML response Below the XML response without error entry for error entries see section Error messages Page 71 is described reply resultCode Errorcode resultCode initializeTag reply Parameter Parameter Data type Values MemorySize ASCII hex 0000 FFFF 4 x ASCII Memory size of the tag to be initialized Note that this parameter depends on the tag For det...

Page 56: ...tReaderStatus reply Parameter Parameter Data type Values Mode ASCII hex 00 FF 2 x ASCII 01 reader status 02 MOBY U SLG diagnostics I function calls 03 MOBY U SLG diagnostics II error messages 04 MOBY U SLG diagnostics III identified MDS 05 MOBY U SLG diagnostics IV communication performance 06 RF300 reader diagnostics 07 RF600 reader diagnostics Data ASCII hex 0000 FFFF ASCII string max 400 x ASCI...

Page 57: ...apply for the MOBY U system These italic tags must be omitted for other MOBY systems XML response Below the XML response without error entry for error entries see section Error messages Page 71 is described reply resultCode Errorcode resultCode getTagStatus returnValue data Data data returnValue getTagStatus reply Parameter Parameter Data type Values Mode ASCII hex 00 MOBY U 01 RF300 Type and writ...

Page 58: ...mmand and acknowledgement telegrams Page 111 6 4 6 setAnt Below the XML command for switching the antenna s on off setAnt is described XML command command setAnt mode Mode mode setAnt command XML response Below the XML response without error entry for error entries see section Error messages Page 71 is described reply resultCode Errorcode resultCode setAnt reply Parameter Parameter Data type Value...

Page 59: ...ws if the connection to the communication module is still functioning properly A missing connection between the communication module and reader causes an alarm and or an error message Below the XML command for monitoring the connection heartbeat is described XML command command heartbeat command XML response Below is the XML response without error entry reply resultCode 0000 resultCode heartbeat r...

Page 60: ...gin Origin origin tagPresent tagCount TagCount tagCount tagPresent notification Parameter Parameter Data type Values Sequence number ASCII hex 0000 FFFF 4 x ASCII The sequence number is a number that is automatically set to 0000 after switching on the RF182C After sending a notification on the same TCPIP channel the sequence number is increased by 1 After FFFF this number is also set to 0000 again...

Page 61: ...tching on the RF182C After sending an alarm on the same TCPIP channel the sequence number is increased by 1 After FFFF this number is also set to 0000 again Origin ASCII 0 9 A Z Source channel TRANSM_POINT_1 or TRANSM_POINT_2 DeviceName ASCII Name of the device default RF182C The device name can be up to 256 bytes long Time ASCII hex 00000000 FFFFFFFF 8 x ASCII Time of the alarm in milliseconds Th...

Page 62: ...Communication interface 6 5 Asynchronous message frames RF182C communication module 62 Operating Instructions 10 2010 ...

Page 63: ...ing module replacement from this node onwards For more information refer to section Loop through of Ethernet and supply voltage Page 30 2 On the communication module remove the screwed M12 plug in connections to the readers 3 Remove the fixing screws from the communication module and remove it 4 Locate the new communication module and screw it down firmly 5 Place the connection block on the new co...

Page 64: ...placed in addition to the base unit it is possible that the RF182C can no longer be addressed This is indicated by a permanently lit or flashing BF LED In this case check the network configuration Load e g using the PST tool the required network parameters into the RF182C Check the diagnostic messages via the web server or check the settings of the IP address or the port number setting See also Pa...

Page 65: ...odule is connected to the PC via Ethernet Exit all applications before you start the firmware update Procedure Figure 7 1 Firmware update 1 Save the update file e g RF182C_V_2_0_0 elf which you received from Siemens in the desired directory 2 Enter the IP address of the communication module in the address field of your browser The web server of the communication module opens 3 Click the Durchsuche...

Page 66: ...Maintenance and Service 7 3 Reader update RF182C communication module 66 Operating Instructions 10 2010 ...

Page 67: ...2010 67 Diagnostics 8 8 1 Diagnostics using LEDs The following figure shows details of the LEDs of the RF182C With connection block M12 7 8 With push pull connection block 5HDGHU 6 5HDGHU 6 LQN 5 7 6 21 9 7 7 6 0 7 5 6 0 7 5 7B 35 B 5 B 55B 7B 35 B 5 B 55B ...

Page 68: ...splay for Ethernet diagnosis BF SF Cause of error Error handling On Communication module is in start up mode No cable inserted Check the Ethernet cable Flashes On There is no TCP connection to the Ethernet controller No client has connected Check your Ethernet configuration using the PST tool Off On There is an error The module has not received a reset or comDevSetConfig command on one channel Sen...

Page 69: ...cription Off Off Off Off Off Off Off Off Off Start up active On On On On On On On On On LED test on start up start Ethernet Off Off On On On Off On On Off Internal fault Off Off On On Off On On Off On Checksum error of the firmware Off Off On Off Slow flashin g Off Off Slow flashin g Off Firmware update flashes with every described area On Flashe s On Off Flashe s 1 x acc to table 8 1 Off Off Flas...

Page 70: ...Diagnostics 8 1 Diagnostics using LEDs RF182C communication module 70 Operating Instructions 10 2010 ...

Page 71: ...XML response reply resultCode 0000 resultCode Name of the output command e g reset reply 9 2 Response with error entry Below the XML response with error entry is described XML response reply resultCode Errorcode resultCode Name of the output command e g reset reply The following table describes the possible error codes resultCodes The error codes are coded in 4 bytes ...

Page 72: ... processed by a MOBY command This error message is not reported immediately Instead the communication module is waiting for the next command read write This command is immediately replied to with this error This means that a read or write command is not processed The next command is executed normally again by the communication module A RESET command from the client also resets this error state Bit...

Page 73: ...ve the command or the write data from the communication module even after several attempts The MDS is positioned exactly on the boundary of the transmission window Data transmission to the MDS is being affected by external interference 0008 8x CRC sending error The receiver monitor has detected at least one fault during transmission Cause same as error 0006 MDS signaling CRC error frequently The M...

Page 74: ...gain Then start RESET 0012 18x Internal communication module communication error Connector contact problem on the communication module Defective communication module hardware Return communication module for repair Start RESET after error correction 0013 19x The communication module SLG U does not have enough buffer storage to store the command intermediately 0014 20x Internal communication module ...

Page 75: ...e been lost 001C 28x The antenna of the write read device is turned off An MDS command to the communication module was started in this state Turn on the antenna with the command antenna on off The antenna is turned on off and has received an additional turn on turn off command 001D More MDSes are in the transmission window than the SLG is capable of processing simultaneously Only 1 MDS can be proc...

Page 76: ...3323 Notification buffer overflow Too many consecutive notification message frames that communicate results are received too quickly presence The communication module cannot transfer data to the user quickly enough or the user cannot receive the data quickly enough 3324 Alarm buffer overflow Too many consecutive results are received too quickly via the alarm buffer error messages The communication...

Page 77: ...ive Check if maximum possible number of commands was exceeded 3521 Incorrect UID The length of the UID is not correct A UID is required that has not been transferred by the user Check UID 3523 Conversion error Check if individual characters of the user data of a command exceed the permissible range for ASCII hex Range 0 9 or A F The number of characters must be an even number 3550 Error in the XML...

Page 78: ...1 Saving reading of I M data records Via Identification Maintenance data records you can store internal information on the module and retrieve it as required Save data records Via the Identification menu in the Settings tab various settings can be made and stored on the communication module Use the transmit and save button to save the settings ...

Page 79: ...ecords To read out the data records from the communication module switch to the Identification menu in the Readout tab 9 4 2 Communication status query You can query the communication status of the RF182C communication module via the menu Communication in the Connection tab You can see the status of the user connection ...

Page 80: ...tructions 10 2010 9 4 3 Event and message frame overview Event overview Via the Diagnostic menu in the Events tab you can query the events of the module Message frame overview Via the Diagnostic menu in the Traffic tab you can query the last twenty message frames of the communication module ...

Page 81: ...ace permits access to the TCP IP stack on the operating system used Requirements An operating system programming language must be used that supports network programs with sockets Sockets are supported by the following operating systems Microsoft Windows 95 98 ME 2000 XP Vista Linux Unix Other operating systems must be considered with regard to the usability of network programs Sockets are used by ...

Page 82: ...er to a socket Lists Ready to connect Connect Function for connecting the client to the server via TCP IP Accept Wait function of server until a client connects Send Sending data Recv Receiving data Close Closing the socket after completing data transmission When working with the RF182C a Close usually only occurs when the system is shut down Note No parameters or return values of the individual f...

Page 83: ...ful else Error during initialization Extract from main function SOCKET Client variable for socket handle SOCKADDR_IN adr variable for storing the target information char caBuf 1500 the XML command or XML result is stored in this variable int nLen Length of the send receive data Initialization of target information prior to connecting adr sin_family AF_INET Selection of the address family Internet ...

Page 84: ...DDR adr sizeof adr 0 Error has occurred else Connection OK Sending data nLen send Client caBuf nLen 0 if nLen 0 Data was sent successfully else Error on sending Receiving data nLen recv Client caBuf sizeof caBuf 1 0 if nLen 0 Data was received The data can be read in the caBuf array else Error occurred while receiving Connection termination if applicable Close connection closesocket Client ...

Page 85: ...r On the user interface follow the link CM ASM RF182C Demo You can start the program directly Requirements Operating system Windows XP Development environment Microsoft Visual Studio 2008 Procedure The application can be started direct via the user interface of the CD The sources of the application are stored in a zip file on the CD You will find the file under Data Tools Applications RF182C Funct...

Page 86: ...yout IP address input window Port number input window Button for connecting or disconnecting Note Connected or not connected Note Presence or no presence Check box The output window scrolls automatically or does not scroll automatically Output window for receive data Button for sending data in the input window Figure 10 2 User interface ...

Page 87: ...n null connected true or not false private bool ConnectionState false buffer for received data private String ReceiveBuffer Indicator for an error in asynchronous receive threads bool AsyncError false public MainForm InitializeComponent This routine is called when the window in initialized private void MainForm_Load object sender EventArgs e We re not connected at the beginning SetConnectionState ...

Page 88: ...ed enableConnectionData editPort Enabled enableConnectionData editMessage Enabled enableCommunicationData buttonSend Enabled enableCommunicationData Sets the connection state to true connected or false not connected with all necessary consequences starting stopping timers changing colors texts and the serviceability of the controls private void SetConnectionState bool state if state true Connectio...

Page 89: ...rt 0 MessageBox Show editIP Text is not a legal port return false IPHostEntry hostEntry null Get host related information hostEntry Dns GetHostEntry editIP Text Loop through the AddressList to obtain the supported AddressFamily This is to avoid an exception that occurs when the host IP Address is not compatible with the address family typical in the IPv6 case for each IPAddress address in hostEntr...

Page 90: ...y the synchronous timer UpdateTimer private void ReceiveCallback IAsyncResult res try if ConnectionState true Collect data int size Connection EndReceive res ReceiveString s ReceiveString res AsyncState Without a lock we might cause race situations lock ReceiveBuffer Store data in buffer ReceiveBuffer Encoding ASCII GetString s buffer 0 size Start new asynchronous receive ReceiveString rs new Rece...

Page 91: ...alse Show the message in the list AppendOutMessage editMessage Text catch Exception ex SetConnectionState false An error occurred MessageBox Show ex Message Empty the editbox editMessage Text This routine is called when UpdateTimer ticks This happens synchronous to the thread owning the dialog hence we can manipulate the list private void UpdateTimer_Tick object sender EventArgs e if AsyncError tr...

Page 92: ...ount There are no tags in the field SetTagDetectionState TagDetectionState NO else There are tags in the field SetTagDetectionState TagDetectionState YES Looks for the first complete XML telegram in ReceiveBuffer private XMLTag FirstTag Is there a reply a notification or an alarm int index1 ReceiveBuffer IndexOf reply int index2 ReceiveBuffer IndexOf notification int index3 ReceiveBuffer IndexOf a...

Page 93: ...Length return tag Appends an outgoing message to the list private void AppendOutMessage String message Remove all CR and LF message Replace r message Replace n Add message int index listProcess Items Add OUT message Scroll if desired if checkScroll Checked true listProcess SelectedIndex index Appends an ingoing message to the list private void AppendInMessage String message functionality just lie ...

Page 94: ...olor of the dialog break As long as no tag presence notification was send we have no information whether there is a tag in the field or not three states enum TagDetectionState YES NO UNDEFINED This class is for handling asynchronous communication processes internal class ReceiveString public read only static int BufferSize 512 public byte buffer new byte BufferSize This class describes a XML block...

Page 95: ...uctions 10 2010 95 10 2 3 Functions of the RF182C applications The following screenshots show the different functions of the RF182C application Example of working with the application 1 First enter the IP address and port number in the corresponding entry fields Figure 10 3 RF182C not connected ...

Page 96: ...plication RF182C communication module 96 Operating Instructions 10 2010 2 Then click Connect Figure 10 4 Connected successfully The connection to the RF182C has been established successfully The send window is empty after sending successfully ...

Page 97: ...82C user application RF182C communication module Operating Instructions 10 2010 97 3 Enter a RESET command in the input window Click the Send button Figure 10 5 RESET command The RF182C communication module operates in default mode ...

Page 98: ...ating Instructions 10 2010 4 The next window shows that the RESET command has been sent successfully The RF182C has sent an acknowledgement with the error code 0000 everything OK It is indicated that a tag has been detected in the antenna field of the reader 0001 Figure 10 6 Tag detected ...

Page 99: ...DIN IEC 61131 RF182C communication module Operating Instructions 10 2010 99 5 The next window shows that the tag has exited the reader s antenna field again 0000 Figure 10 7 Tag exited the field 10 3 Example application for a PLC according to DIN IEC 61131 In preparation ...

Page 100: ...Examples applications 10 3 Example application for a PLC according to DIN IEC 61131 RF182C communication module 100 Operating Instructions 10 2010 ...

Page 101: ...cable length 1000 m dependent on Reader SLG 2 m standard length for other standard cables and self assembled cables refer to Section Connection cables Connectable readers SLGs 2x readers SLG of the RFID families RF300 RF600 MOBY D U Software functions Tag MDS addressing Direct access via addresses Commands Initialize tag read data from tag write data to tag etc Supply voltage1 Rated value 24 V DC ...

Page 102: ... Vibration during operation According to IEC 61131 2 0 75 mm 10Hz to 58 Hz 10 g 58 Hz to 150 Hz Shock resistance shock during operation Acc to IEC 61131 2 30 g Degree of protection IP67 MTBF Mean Time Between Failures in years Base unit 121 Connection block 1100 Approvals cULus file E116536 FCC Code of Federal Regulations CFR 47 Part 15 Sections 15 107 and 15 109 Class A 1 All supply and signal vo...

Page 103: ...tions 10 2010 103 Dimension drawings 12 12 1 Dimension drawing for RF182C with fixing holes Dimension drawing of an RF182C with bus connection block M12 7 8 PN PN 6 0 7 5 Figure 12 1 Dimension drawing of an RF182C with bus connection block M12 7 8 ...

Page 104: ...ng for RF182C with fixing holes RF182C communication module 104 Operating Instructions 10 2010 Dimension drawing of an RF182C with push pull bus connection block Figure 12 2 Dimension drawing of an RF182C with push pull bus connection block ...

Page 105: ...l RFID systems P Figure 13 3 Connecting cable M12 sub D MOBY D all SLGs except 6GT2602 0AB10 0AX0 Maximum cable length The RF182C can be operated with any reader SLG configuration with a maximum cable length of 50 m Longer connecting cables of up to 1000 m are possible in some instances The current consumption of the connected reader SLG must however be taken into account You will find information...

Page 106: ...ader SLG M12 connector male Reader SLG connector female 1 2 2 5 3 3 4 4 5 6 6 1 7 8 7 Table 13 2 Connecting cable extension cable M12 M12 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 Table 13 3 Connecting cable M12 sub D 9 pin M12 connector male Sub D connector female 1 2 5 3 7 4 3 5 2 6 6 7 8 1 8 Note Reader SLG with Sub D connector must be supplied over an additional connector with 24 V DC ...

Page 107: ...ugs can be ordered from the Catalog FS 10 Sensors for Production Automation Cable structure You will need cables of the following specifications for self assembled cables 7 x 0 25 mm2 LiYC11Y 7 x 0 25 Connectors M12 connectors can be obtained from the relevant specialist dealers e g Binder Pin assignment The pin assignment is listed in the following table Table 13 4 Pin assignment M12 connector ma...

Page 108: ...Connecting cable to the reader SLG 13 2 Self assembled cable RF182C communication module 108 Operating Instructions 10 2010 ...

Page 109: ... 5 x 1 5 mm2 not pre assembled length min 20 m length max 1000 m 6XV1830 8AH10 Connector plug 7 8 for supply voltage 1 pack 5 items with pin insert with socket insert 6GK1905 0FA00 6GK1905 0FB00 RJ45 plug in cable with metal casing and FC connection system 180 cable outlet 1 pack 1 item 6GK1901 1BB10 2AA0 Control cabinet feedthrough for conversion from M12 connection method D coded IP65 to RJ45 co...

Page 110: ... A unassembled minimum order quantity 20 m 6XV1840 2AH10 Accessories for RFID SLG cable MOBY U 2 m 6GT2091 0FH20 SLG cable MOBY U 5 m 6GT2091 0FH50 SLG cable MOBY D 2 m 6GT2691 0FH20 Reader cable RF300 extension cable RF300 RF600 MOBY I E U D 2 m 6GT2891 0FH20 Reader cable RF300 extension cable RF300 RF600 MOBY U D 5 m 6GT2891 0FH50 Reader cable RF300 extension cable RF300 RF600 MOBY U D 10 m 6GT2...

Page 111: ...find detailed information on some commands mentioned in Section Communication interface Page 49 Only those commands requiring a special coding of commands and results are described Note Special information on telegram expansions for the RF620R RF630R readers can be found in the Appendix of the Configuration Manual RF620R RF630R ...

Page 112: ... ILHOGB21BWLPH VHH LQSXW SDUDPHWHUV KH 5 PRGH QR 62 KH 0DQXIDFWXUHU LQGHSHQGHQW WDJ KH 62 P G QILQHRQ 65 9 3 KH 62 XMLWVX 0 5 KH 62 RGH 6 1 3 6 6 KH 62 7DJ LW 7H DV QVWUXPHQWV KH 62 67 5 2SWLRQ 02 5 RQO XQDVVLJQHG UHVHW 55 RQ WKH ZULWH UHDG GHYLFH GR QRW UHVHW 55 RQ WKH ZULWH UHDG GHYLFH XQDVVLJQHG 02 8 RU 5 ZLWKRXW PXOWLWDJ 3UHVHQFH FKHFN DQG 0 6 FRQWURO 0 6BFRQWUROB QR SUHVHQFH FKHFN QR 0 6 FRQW...

Page 113: ...name Comment S Info Reader status mode information 01 HW Hardware type HW V Hardware version LD V Version of loader FW Firmware type FW V Firmware version TR Driver type TR V Version of driver INT Interface RS 232 RS 422 Baud Baud rate Dili Range capacity setting multi Multitag reader fcon field_ON_control BERO mode RF300 res fon Field_on_time MOBY U BERO time MOBY D Tag type RF300 ISO Tag type sy...

Page 114: ...H IUDPH KHDGHUV RI WKH FRPPDQGV WKDW ZHUH H HFXWHG ODVW QWK FRPPDQG Q PD GetReaderStatus mode 03 PD 5HVXOW PHVVDJH IUDPH PRGH VW HUURU QGLFDWHV ODVW HUURUV WKDW RFFXUUHG QWK HUURU KH KH PD HUURU PHVVDJHV Q GetReaderStatus mode 04 Q QWK 0 6 PD 5HVXOW PHVVDJH IUDPH PRGH VW 0 6 V RI WKH 0 6 ODVW GHWHFWHG LQ WKH WUDQVPLVVLRQ ZLQGRZ KH KH PD 0 6 V GetReaderStatus mode 05 5HVXOW PHVVDJH IUDPH PRGH Q WR ...

Page 115: ...DWD LV GHVFULEHG LQ WKH IROORZLQJ WDEOH Byte 0 1 2 3 4 5 6 7 8 26 Param S Info FZP ABZ CFZ SFZ CRCFZ BSTAT ASMFZ res Parameter name Comment S Info Reader status mode information 06 FZP Error counter passive errors during idle time ABZ Abort counter CFZ Code error counter SFZ Signature error counter CRCFZ CRC error counter BSTAT Current command status ASMFZ Interface error counter for ASM res Spare...

Page 116: ...n_ time expert ant scanning _time MDS control Parameter name Comment S Info Reader status mode information 07 HW Hardware type HW V Hardware version res0 Reserved FW Firmware type FW V Firmware version TR Driver type H hours Min Minutes Sec Seconds res1 Reserved SLG V Reader version Baud Baud rate res2 Reserved dili_SLG Set transmission performance multi Multitag reader field_on_control Set commun...

Page 117: ...8 Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Param UID MDS_ type sum_sub sum _search week Year battery ST Parameter name Comment UID UID tag number EPC ID MDS_type MDS type sum_sub Sum of subframe access sum_search Sum of searchmode week Date of last sleep time change week of year Year Date of last sleep time change year battery Battery left percentage ST Set sleep time value on MDS For detailed i...

Page 118: ... IUDPH PRGH 7KH PHDQLQJ RI WKH GLDJQRVWLFV GDWD LV GHVFULEHG LQ WKH IROORZLQJ WDEOH 8 Byte 0 1 2 3 4 5 6 7 8 9 10 15 Param status UID 1 4 UID 5 8 Lock_st ate res Parameter name Comment status Tag status mode information 01 UID 1 4 UID 5 8 UID tag number EPC ID Lock_state EEPROM write protection status res Spare For detailed information please refer to the respective reader description ...

Page 119: ...LDJQRVWLF GDWD 8 Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 15 Param status UID 1 4 UID 5 8 LFD FZP FZA res Parameter name Comment status Tag status mode information 02 UID 1 4 UID 5 8 UID tag number EPC ID LFD Relationship between power flow density limit and actual measured value FZP Error counter passive errors during idle time FZA Error counter active errors during communication ANWZ Presence error res...

Page 120: ...tatus UID 1 4 UID 5 8 IC_version Size lock_ state block_ size nr_of_blocks Parameter name Comment status Tag status mode information 02 UID 1 4 UID tag number UID 5 8 always 0 IC_version Chip version for my d 00h Size Memory size in bytes lock_state Lock status OTP information per block 4x4 bytes or 2x8 bytes one bit bit 1 block is locked block_size Block size of the transponder nr_of_blocks Numbe...

Page 121: ...G LQ WKH IROORZLQJ WDEOH 8 Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Param status UID 1 4 UID 5 8 ant RSSI H Min Sec res res1 res2 Parameter name Comment status Tag status mode information 04 UID 1 4 UID 5 8 UID tag number EPC ID ant Antenna that has detected the MDS RSSI RSSI threshold value H hours Min Minutes Sec Seconds res Spare res1 Spare res2 Spare For detailed information please refer ...

Page 122: ...Command and acknowledgement telegrams RF182C communication module 122 Operating Instructions 10 2010 ...

Page 123: ...e MDS status command Start address End address 0000 7FFF 0 32767 Memory size 80 00 32768 Read OTP memory write access only possible once Start address Length FFF0 10 16 16 32 KB data memory ID No 4 fixed coded bytes can only be read with the MDS status command Address space of the MDS versions for MOBY D For address space of the RF300 transponders see MOBY D System Manual http support automation s...

Page 124: ...tructions 10 2010 Address space of the transponder versions for RF600 For address space of the RF600 transponders see SIMATIC RF620R RF630R Parameterization Manual http support automation siemens com WW view de 33287195 0 en section Examples applications Memory configuration ...

Page 125: ...ands the data is transferred as ASCII characters Conversion from hex to ASCII hex and vice versa is executed automatically in the communication module The following example shows the coding scheme Command to RF182C readTagData startAddress 0000 startAddress dataLength 0004 dataLength readTagData Data in tag Address hex Data hex Data ADC 0000 4D M 0001 4F O 0002 42 B 0003 59 Y Result of the RF182C ...

Page 126: ... via XML RF182C communication module 126 Operating Instructions 10 2010 Optional storage of the result data in the data block of a controller Address dec Data hex Data ASC N 24 4 N 1 44 D N 2 34 4 N 3 46 F N 4 34 4 N 5 32 2 N 6 35 5 N 7 39 9 ...

Page 127: ...during office hours 8 a m 5 p m CET Telephone 49 0 180 5050 222 Fax 49 0 180 5050 223 Internet Visit our site on the Internet at Support homepage www siemens com automation service support You can send a support query to Online support request form www siemens com automation support request General information on new features of the RF182C communication module and an overview of our other identifi...

Page 128: ...Service support RF182C communication module 128 Operating Instructions 10 2010 ...

Reviews: