User's Manual

20
Copyright 2012 Unit
ech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co.,
Ltd.
mac,command,*id
mac,command,*id,*durationMs
mac,engtest,subcmd,arg0,arg1
mac,engtest,subcmd,arg0,arg1,*durationMs
mac,inventory
mac,inventory,*durationMs
mac,read,*address
mac,read,*
address,*count
mac,
write,*address,*data
macbank,read,*address,**bank
macbank,read,*address,**bank,*co
unt
macbank,write,*address,*bank,*data
bypass,read,*address
bypass,read,*address,*coun
t
bypass,write,*address,*data
oem,read,*address
oem,read,*address,*count
oem,write,*address,*data
single_entry,*address,*data
linkprofile,read,*address,*id
link
profile,read,*address,*id,*count
linkprofile,writ
e,*address,*id,*data
The following are a list of commands that are supported:
1) Script Sleep
2) Mac Command and EngTest Commands (with duration option)
3) Read/Write of MAC, MAC Bank, Bypass, OEM, and Link Profile Registers
The commands are straightforward and follow the same input requirements as the GUI, but are
in comma separated format. The ability to put comments in the scripts is also available by
using the # symbol. Decimals values are the default input, but if hexadecimal is preferred then
add the prefix 0x to the input.
Note that ‘single_entry’ is provided as an alias to the ‘oem,write’ command for backward
compatibility with previous oem_tool formatted files.
For example, to configure the reader for Fixed Q algorithm with a Q value of 0, the following
commands can be placed in a batch script.
mac,write,0x901,0 # Configure MAC 0x901 with 0
macbank,write,0x903,0,0 # Configure MAC 0x903 Bank 0 with 0
There is a checkbox option called “Batch Stop On Error” that will halt executing a batch script on
any access or syntax error. This may be useful when the use case requires all the accesses to
be successful (for example, when first writing the batch script and checking for typographical
errors). If the checkbox is not checked, the batch will continue to execute even if an error is
detected.
Jscript
The only function available in the JScript menu is to run a JScript. When the button is pressed,
the user is prompted with a dialog for selecting a JScript for execution. If the script is valid,
IndyTool will disconnect from the reader, run the Jscript, and then reconnect back to the reader
for IndyTool control.