Emsa HS500E manual S E T B a T T E R Y C O U N T E R, There is no response for this command

Page 37

C H A P T E R 3 : R F I D C O M M A N D S

C O M M A N D F 4 :

R E S E T B A T T E R Y C O U N T E R

D E S C R I P T I O N

Command F4 resets the value of a tag’s Battery Counter to zero (0x00). This command is intended to be used when replacing the batteries in an active RFID tag and will reset the value of the Battery Counter to zero (0x00).

Located at tag address 0x0000, the Battery Counter stores a one-byte value that indicates the number of operating hours that the tag has been in use since it has last had its internal batteries replaced. A tag should have its batteries replaced after it has accumulated 15 hours of use. When this value reaches 0x0F, battery life is in a condition of decay and should be replaced.

To retrieve the Battery Counter Value, execute Command 02 and note the value stored at address 0x0000 on the tag. Reading address ZERO on the tag should only be performed by one station in a typical assembly line.

E X A M P L E

Command F4: Reset Battery Counter Value – Command Structure

Field Name

MSB

LSB

Overall Length

00

06

 

 

 

MSB = Command ID (0xF4)

F4

00

LSB = 0x00 for this command.

 

 

 

 

 

MSB = 0x00

00

01

LSB = Node ID #: (0x01)

 

 

 

 

 

Timeout Value*

00

00

 

 

 

Start Address*

00

00

 

 

 

Read/Write Length*

00

00

 

 

 

Word Value

0006

F400

0001

0000

0000

0000

*Not applicable for this command, set values to zero (0x00). This command uses a hard coded Timeout Value of 2 seconds.

R E S P O N S E F R O M H S 5 0 0 E

There is no response for this command.

R E S E T B A T T E R Y C O U N T E R E R R O R

The Reset Battery Counter command may appear to time-out or generate an error. After executing Command F4, the user should execute Command 02 and check the data at tag address 0x0000 to confirm that the value of the Battery Counter was indeed reset to 0x00.

H S 5 0 0 E – O P E R A T O R ’ S M A N U A L

P / N : 1 7 - 1 3 0 5 R E V 0 2 ( 1 2 - 0 5 )

 

P A G E 3 7 O F 8 2

Image 37
Contents Page 800 626-3993 toll free 831 438-7000 office 831 438-5768 fax Industrial Ethernet AntennaHS500E FCC Part FCC Compliance NoticeTable of Contents Modbus TCP Command Structure Modbus TCP Response Structure Syntax Errors RF Response ErrorsRAW TCP/IP Command Example RAW TCP/IP Response Example Html Server and OnDemand OverviewAppendix B Ascii Chart Appendix C ETHERNET/IP Object Model Introduction Getting StartedO m pa n y B a c k g r o u n d F I D E r v i e wH o S h o u l d R e a d t h i s M a n u a l ? About this ManualE X N o ta t i o n I m e n s i o n s To p V i e w Dimensions & DiagramsI m e n s i o n s S i d e V i e w Dimensions Side ViewDimensions Rear View Power & Ethernet LED Descriptions E D D e s c r i p t i o n sN t e n n a R e a d R a n g e F r o n t V i e w N t e n n a R e a d R a n g e S i d e V i e w Installation P r e c a u t i o n s Installation & SetupInstall i n g t h e H S 5 0 0 E IP Address Configuration IP ConfigurationE Fault I P a d d r e s s Html ServerHtml Server- Main Html Server IP ConfigurationEnter new IP address values in the fields provided Ping IP Address Pinging the HS500ECommand Structure Rfid CommandsT E M m a n d P a c k e t S t r u c t u r e Ta b l e See the .2.1 Rfid Command Table for Complete list06 + SecondsByte RF Error Counter Command Echo isS p o n s e P a c k e t S t r u c t u r e Ta b l e Word, Node ID EchoReturned Data Bytes 1 Retry Counter in the MSBReturned Data Bytes 3 I D C o m m a n d s Ta b l e Rfid CommandsWord Value Field NameReturned Data bytes 1 MSB = RF Retry Counter 0100 LSB = Reserved Total TimeReturned Data bytes 3,4 I T E D a T a 0006 0003 0101 Xxxx 0006 0005 0101 Xxxx L L T a G0006 F100 0001 0000 M M a N D F S T L E D S / G E T I N F OCommand F1 Test LEDs / Read Info Response Structure Word Field Name Applicable when word 2 is F203Word ValueMSB = RF Retry Counter LSB = Reserved Total Time Word # Field NameThis example sets the IP address of the HS500E to I T E I P a D D R E S SHS500E Factory Default IP Address Appendix a IP Address ResetS E T B a T T E R Y C O U N T E R There is no response for this commandError Types Error CodesY n t a x Error s F R e s p o n s e Error sChapter ETHERNET/IP Protocol What is Ethernet/IP?HS500E Node Configuration Steps to Configure the HS500Eƒ Configure the HS500E via OnDemand Node Configuration T M L S e r v e r a n d O n D e m a n d O v e r v i e wOnDemand Configuration Use this page to modify the settings for Node OnDemand Node 01 ConfigurationController Settings Write SettingsWrite Tag Name / Write File Address Read SettingsG E 4 4 O F 8 O n t r o l l e r Ta g s S u m m a r y Configuring PLC Controller TagsOnDemand Status Checking Ondemand StatusScreen shot of RSLogix Using the HS500E with RslogixT h e r n e t / I P H a n d s h a k i n g E x a m p l e T h e r n e t / I P H a n d s h a k i n gG E 4 9 O F 8 Write Tag where responses are written by the HS500E Html Server and Ondemand PLC Support O d b u s T C P C o m m a n d S t r u c t u r e Modbus TCP OverviewWords / 200 Bytes 400032775 Modbus TCP Command Structure65536 Node 01 Memory Map Consume Registers40001 O d b u s T C P R e s p o n s e S t r u c t u r eModbus TCP Response Structure Node 33 Memory Map Produce RegistersO s t / H S 5 0 0 E M o d b u s T C P H a n d s h a k i n g Modbus TCP HandshakingG E 5 6 O F 8 Chapter RAW TCP/IP Protocol LSB = Command ID 02 Read Data RAW TCP/IP Command & Response ExamplesCommand AW T C P / I P C o m m a n d E x a m p l eAW T C P / I P R e s p o n s e E x a m p l e IP Address Reset Button Appendix a IP Address ResetAppendix B Ascii ChartG E 6 2 O F 8 Appendix C ETHERNET/IP Object Model Instance Attributes Name Data Type Data Value Access Rule Class Attributes Name Data Type Data Value Access RuleETHERNET/IP Required Objects D e n t i t y O b j e c t 0 x 0 1 1 I n s t a n c eStatus Word Bit Bit = Common Services Implemented for Service Name CodeE s s a g e R o u t e r O b j e c t 0 x 0 Class Attributes Name Data Data Value Access Rule TypeS s e m b l y O b j e c t 0 x 0 4 3 I n s ta n c e s Bitmap of Produce Instances with DataNode 1 Serial Produce Data Size Produce Data Sequence NumberNode 1 Serial Produce Data WORD100 All 0’s Node Serial Produce Data SizeNode Serial Consume Data Size Consume Data Sequence NumberNode Serial Consume Data WORD100 All 0’s Instance 0x81 Attributes Heartbeat Instance Input Only Instance 0x80 Attributes Configuration InstanceYes SetAttributeSingle C P O b j e c t 0 x F 5 1 I n s ta n c e O n n e c t i o n M a n a g e r O b j e c t 0 x 0Network Mask Interface Configuration Get Structure IP AddressGateway Address Name ServerInterface Speed T h e r n e t L i n k O b j e c t 0 x F 6 1 I n s t a n c e100 Get Interface Flags Physical Address Usint Array6 Get5 0 0 E C o n s u m e D a t a O b j e c t 0 x 6 4 3 Vendor Specific ObjectsS t a n c e s Bit 0 Instance 1 … Bit 31 InstanceConsume Data 9,000-9,249 Consume Data 8,000-8,249Consume Data 10,000-10,249 Consume Data 20,000-20,249Yes Set Attribute Single Yes Get Attribute Single5 0 0 E P r o d u c e D a t a O b j e c t 0 x 6 5 3 Produce Data 10,000-10,249 Produce Data 9,000-9,249Produce Data 20,000-20,249 122 Produce Data 30,000-30,249G E 7 8 O F 8 Only D e m a n d O b j e c t 0 x 6 7 1 0 I n s ta n c e sRead Tag Name ControlLogix G E 8 1 O F 8 EMS Warranty