Omron V680 Series User Manual page 178

Modbus tcp reader/writer
Hide thumbs Also See for V680 Series:
Table of Contents

Advertisement

Section 7
Host Communications Specifications
 LOCK
This query locks the specified memory in the RF Tag.
It will no longer be possible to write data to the locked memory. The lock cannot be released.
 Query Format
Byte 0
Byte 1
Transaction
identifier
X
X
Parameter
Register address
Word count
Byte count
Lock
information
Unit to lock depends on the RF tag.
For details, refer to RF Tag Memory Map in Section 11 Appendices.
 Response Format
Normal Response
Byte 0
Byte 1
Transaction
identifier
X
X
Parameter
Register address
Word count
Error Response
Byte 0
Byte 1
Transaction
identifier
X
Parameter
Exception code
 Execution Example
Locking Four Blocks/Sectors Starting from Block/Sector 2 in the RF Tag
TX: 00000000000BFF10A20000020400020004
RX: 000000000006FF10A02000002
RFID System
176
User's Manual
(Modbus TCP)
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Protocol
Unit
Field length
identifier
identifier
0000 hex
000B hex
FF hex
The register address (A200 hex) that specifies locking memory.
Number of words of lock information (0002 hex)
Number of bytes of lock information (04 hex)
Lock number
Specify in 4-digit hexadecimal the first block or sector number to lock.
Lock count
Specify in 4-digit hexadecimal the number of blocks or sectors to lock.
p.323
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Protocol
Unit
Field length
identifier
identifier
0000 hex
0006 hex
FF hex
Contains the register address that was specified in the query.
Contains the word count that was specified in the query.
Byte 2
Byte 3
Byte 4
Protocol identifier
Field length
X
0000 hex
For details, refer to Exception Code Table in this section.
p.167
Byte 7
Byte 8
Byte 9
Register
Function code
address
10 hex
A200 hex
Description
Byte 7
Byte 8
Byte 9
Function code
Register address
10 hex
A200 hex
Description
Byte 5
Byte 6
Byte 7
Unit
Function
identifier
code
0003 hex
FF hex
90 hex
Description
Byte 10
Byte 11
Byte 12
Byte 13
Word count
Byte count
Lock information
0002 hex
04 hex
Byte 13
Byte 14
Lock number
2 bytes
Byte 10
Byte 11
Word count
0002 hex
Byte 8
Exception
code
1 byte
···
Byte 16
4 bytes
Byte 16
Byte 15
Lock count
2 bytes

Advertisement

Table of Contents
loading

Table of Contents