Page 25
C H A P T E R 3 : R F I D C O M M A N D S
3.2RFID COMMANDS
The HS500E uses a 2-byte Command ID number to specify the type of operation to perform.
Commands 02, 03 and 05 must include the command prefix “AB” (0xAB), as in AB03 (for Command 03) .These three commands instruct the HS500E to perform standard RFID operations such as reading from and writing to an RFID tag.
Commands F1, F3 and F4 must be appended with “00” (0x00), as in F300 (for Command F3).Commands F1, F3 and F4 are used to retrieve information or modify configuration settings that are stored internally in the HS500E Antenna.
Command F2xx is designed to continuously repeat one of the first three commands (where xx represents the type of repetitive command). Command F2 is to be appended with 02, 03 or 05 which evokes Repetitive Read, Write or Fill commands. For example, F202 indicates a Repetitive Read Data command.
3 . 2 . 1 | R F I D C o m m a n d s Ta b l e |
| | C o m m a n d | | | C o m m a n d | | | D e s c r i p t i o n |
| | I D | | | | N a m e | | | |
| | | | | | | | | |
| | (AB) 02 | | | R e a d D a t a | | | Used to read data from contiguous areas |
| | | | | | of an RFID tag’s memory. |
| | | | | | | | |
| | | | | | | | | |
| | (AB) 03 | | | W r i t e D a t a | | | Used to write data to contiguous areas of |
| | | | | | | | | an RFID tag’s memory. |
| | | | | | | | | |
| | (AB) 05 | | | F i l l T a g | | | Used to fill a specified area of a tag with a |
| | | | | | single data byte value. |
| | | | | | | | |
| | | | | | | | | |
| | | F1 (00) | | | T e s t L E D s / | | | Used to run an LED diagnostic test and |
| | | | | | | retrieve the installed software version |
| | | | | | R e a d I n f o | | |
| | | | | | | | number from the HS500E. |
| | | | | | | | |
| | | | | | | | | |
| | | F2 (xx) | | | S t a r t / S t o p | | | Used to start (or stop) the repetitive |
| | | | | | | execution of a command. (Where xx |
| | | | | | R e p e t i t i v e | | |
| | | | | | | | represents Commands 02, 03 or 05 for |
| | | | | | C o m m a n d | | |
| | | | | | | | repeating a Read, Write or Fill command). |
| | | | | | | | |
| | | | | | | | | |
| | | F3 (00) | | | W r i t e I P | | | Used to write new IP address configuration |
| | | | | | | settings to the HS500E. |
| | | | | | A d d r e s s | | |
| | | | | | | | |
| | | | | | | | | |
| | | F4 (00) | | | R e s e t B a t t e r y | | | Used to reset the value of a tag’s Battery |
| | | | | | | Counter. |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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 2 5 O F 8 2 |
Contents
Page
800 626-3993 toll free 831 438-7000 office 831 438-5768 fax
Industrial Ethernet Antenna
HS500E
FCC Part
FCC Compliance Notice
Table of Contents
Modbus TCP Command Structure Modbus TCP Response Structure
Syntax Errors RF Response Errors
RAW TCP/IP Command Example RAW TCP/IP Response Example
Html Server and OnDemand Overview
Appendix B Ascii Chart Appendix C ETHERNET/IP Object Model
Introduction
Getting Started
O m pa n y B a c k g r o u n d
F I D E r v i e w
H o S h o u l d R e a d t h i s M a n u a l ?
About this Manual
E X N o ta t i o n
I m e n s i o n s To p V i e w
Dimensions & Diagrams
I m e n s i o n s S i d e V i e w
Dimensions Side View
Dimensions Rear View Power & Ethernet
LED Descriptions
E D D e s c r i p t i o n s
N 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 & Setup
Install i n g t h e H S 5 0 0 E
IP Address Configuration
IP Configuration
E Fault I P a d d r e s s
Html Server
Html Server- Main
Html Server IP Configuration
Enter new IP address values in the fields provided
Ping IP Address
Pinging the HS500E
Command Structure
Rfid Commands
T 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 list
06 +
Seconds
Byte RF Error Counter
Command Echo is
S 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 Echo
Returned Data Bytes 1
Retry Counter in the MSB
Returned Data Bytes 3
I D C o m m a n d s Ta b l e
Rfid Commands
Word Value
Field Name
Returned Data bytes 1
MSB = RF Retry Counter 0100 LSB = Reserved Total Time
Returned Data bytes 3,4
I T E D a T a
0006 0003 0101 Xxxx
0006 0005 0101 Xxxx
L L T a G
0006 F100 0001 0000
M M a N D F S T L E D S / G E T I N F O
Command F1 Test LEDs / Read Info Response Structure
Word Field Name
Applicable when word 2 is F203
Word
Value
MSB = RF Retry Counter LSB = Reserved Total Time
Word # Field Name
This example sets the IP address of the HS500E to
I T E I P a D D R E S S
HS500E Factory Default IP Address
Appendix a IP Address Reset
S E T B a T T E R Y C O U N T E R
There is no response for this command
Error Types
Error Codes
Y n t a x Error s
F R e s p o n s e Error s
Chapter 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 w
OnDemand Configuration
Use this page to modify the settings for Node
OnDemand Node 01 Configuration
Controller Settings
Write Settings
Write Tag Name / Write File Address
Read Settings
G 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 Tags
OnDemand Status
Checking Ondemand Status
Screen shot of RSLogix
Using the HS500E with Rslogix
T 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 g
G 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 Overview
Words / 200 Bytes
4000
32775
Modbus TCP Command Structure
65536
Node 01 Memory Map Consume Registers
40001
O d b u s T C P R e s p o n s e S t r u c t u r e
Modbus TCP Response Structure
Node 33 Memory Map Produce Registers
O 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 Handshaking
G E 5 6 O F 8
Chapter RAW TCP/IP Protocol
LSB = Command ID 02 Read Data
RAW TCP/IP Command & Response Examples
Command
AW T C P / I P C o m m a n d E x a m p l e
AW 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 Reset
Appendix B
Ascii Chart
G 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 Rule
ETHERNET/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 e
Status Word Bit Bit =
Common Services Implemented for Service Name Code
E 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 Type
S 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 Data
Node 1 Serial Produce Data Size
Produce Data Sequence Number
Node 1 Serial Produce Data WORD100 All 0’s
Node Serial Produce Data Size
Node Serial Consume Data Size
Consume Data Sequence Number
Node Serial Consume Data WORD100 All 0’s
Instance 0x81 Attributes Heartbeat Instance Input Only
Instance 0x80 Attributes Configuration Instance
Yes 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 0
Network Mask
Interface Configuration Get Structure IP Address
Gateway Address
Name Server
Interface 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 e
100 Get Interface Flags
Physical Address Usint Array6 Get
5 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 Objects
S t a n c e s
Bit 0 Instance 1 … Bit 31 Instance
Consume Data 9,000-9,249
Consume Data 8,000-8,249
Consume Data 10,000-10,249
Consume Data 20,000-20,249
Yes Set Attribute Single
Yes Get Attribute Single
5 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,249
Produce Data 20,000-20,249
122 Produce Data 30,000-30,249
G 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 s
Read Tag Name ControlLogix
G E 8 1 O F 8
EMS Warranty