Intermec IV7 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 52
BLOCKPERMALOCK READ, BRIVER, Purpose, Syntax, Examples
View all Intermec IV7 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 52 highlights
Chapter 4 - BRI Commands BLOCKPERMALOCK READ Purpose: Syntax: Examples: This command allows you to read the lock status. BLOCKPERMALOCK [flex_query_selector] READ [data_field]*[TAGTYPE=] [WHERE ] [PASSWORD=] data_field = Specifies a bank, offset, and length in this form: HEX(:,). = The bank should always be three. = The offset is the "BlockRange" parameter of the specification. It specifies the range of blocks for the which the status should be returned. The range starts at and ends (16*)-1 blocks later. The result of a "BLOCKPERMALOCK READ" command is a hexadecimal value that represents a bit map of locked and unlocked blocks. A one bit indicates that the corresponding block is locked. A zero bit indicates that the block is unlocked. The most significant bit of the resulting hexadecimal value corresponds to the lowest address block. Example 1: BLOCKPERMALOCK READ HEX(3:0,1) HH0123456789ABCDEF01234567 H0800 Read the permalock status of the first 16 blocks of user memory. Example 2: BLOCKPERMALOCK READ HEX(3:3,1) HH0123456789ABCDEF01234567 H0001 Read the permalock status of the third 16 blocks of user memory. Example 3: BLOCKPERMALOCK READ HEX(3:2,2) HH0123456789ABCDEF01234567 H00000001 Read the permalock status of the second and third 16 blocks of user memory. Example 4: BLOCKPERMALOCK READ HEX(3:2,1) HEX(3:3,1) HH0123456789ABCDEF01234567 H0000 H0001 Read the permalock status of the second and third 16 blocks of user memory. BRIVER Purpose: Syntax: Examples: This command returns the BRI specification version or feature level supported by the reader or module. BRIVER BRIVER 3.16 OK> 40 Basic Reader Interface Programmer Reference Manual