Intermec IF2 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 85

WRITEGPO, Example 7, Purpose, Syntax, Command Shortcut, Parameters, Bitwise Outputs

Page 85 highlights

Chapter 4 - BRI Commands Example 7: WRITE STRING(3:18,4)="TEST" TAGTYPE=EPCC1G2 PASSWORD=H9F5BE634 This WRITE command writes EPC Class1 Gen2 User Memory bank that was previously locked. Example 8: WRITE EPCID=H300300FB9600000010260090 PASSWORD=H9F5BE634 This WRITE command writes EPCglobal Gen 2 the EPCID memory bank 1 that was previously locked. It assumes that there is mechanism in place that restricts just one tag in the field of view of the reader to insure that multiple tags are not created with the same EPCID. Example 9: WRITE HEX(3:0,2)=h0000 BLOCK HEX(3:2,2)=H0000 HEX(3:4,2)=H0000 STANDARD HEX(3:6,2)=H0000 This WRITE uses a standard EPCC1G2 write command to write to location (3:0,2). It uses an EPCC1G2 block-write command to write to (3:2,2) and (3:4,2) and then switches back to a standard write for (3:6,2). WRITEGPO Purpose: This command sets the state of all the GP output lines available on a specific reader. Each reader has a unique set of GP output lines that are described in the documentation shipped with the reader. The WRITEGPIO command is the same as the WRITEGPO command, and has been included to maintain backwards compatibility with previous versions of the BRI. Syntax: Command Shortcut: Parameters: OK> WRITEGPO | [PIN ]> WRGPI = This parameter specifies a number between 0 and 15, assuming a maximum number of four GP output lines. A value of 0 turns all lines ON, and a value of 15 turns all lines OFF. Bitwise Outputs The parameter is an integral representation of the bit field corresponding to the output pins available on the reader device. Note that regardless of hardware, the BRI will enable all of the outputs with the following command is entered: WRITEGPO=0 Direct Pin Outputs When an output pin is specified, the BRI is capable of modifying the state of an individual output without an application having to calculate the bit mask (this calculation is impossible to do when multiple applications are modifying the output, as it is not possible to read the output state). Basic Reader Interface Programmer Reference Manual 73

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

Chapter 4 — BRI Commands
Basic Reader Interface Programmer Reference Manual
73
Example 7:
WRITE STRING(3:18,4)=”TEST” TAGTYPE=EPCC1G2 PASSWORD=H9F5BE634
This WRITE command writes EPC Class1 Gen2 User Memory bank that was
previously locked.
Example 8:
WRITE EPCID=H300300FB9600000010260090 PASSWORD=H9F5BE634
This WRITE command writes EPCglobal Gen 2 the EPCID memory bank 1 that was
previously locked. It assumes that there is mechanism in place that restricts just one
tag in the field of view of the reader to insure that multiple tags are not created with
the same EPCID.
Example 9:
WRITE HEX(3:0,2)=h0000 BLOCK HEX(3:2,2)=H0000 HEX(3:4,2)=H0000
STANDARD HEX(3:6,2)=H0000
This WRITE uses a standard EPCC1G2 write command to write to location (3:0,2).
It uses an EPCC1G2 block-write command to write to (3:2,2) and (3:4,2) and then
switches back to a standard write for (3:6,2).
WRITEGPO
Purpose:
This command sets the state of all the GP output lines available on a specific reader.
Each reader has a unique set of GP output lines that are described in the
documentation shipped with the reader. The WRITEGPIO command is the same as
the WRITEGPO command, and has been included to maintain backwards
compatibility with previous versions of the BRI.
OK><CRLF>
Syntax:
WRITEGPO<[=VALUE]> | [PIN <ON|OFF>]>
Command Shortcut:
WRGPI
Parameters:
<VALUE> = This parameter specifies a number between 0 and 15, assuming a
maximum number of four GP output lines. A value of 0 turns all lines ON, and a
value of 15 turns all lines OFF.
Bitwise Outputs
The <VALUE> parameter is an integral representation of the bit field corresponding
to the output pins available on the reader device.
Note that regardless of hardware, the BRI will enable all of the outputs with the
following command is entered:
WRITEGPO=0<CRLF>
Direct Pin Outputs
When an output pin is specified, the BRI is capable of modifying the state of an
individual output without an application having to calculate the bit mask (this
calculation is impossible to do when multiple applications are modifying the
output, as it is not possible to read the output state).