2500_Users_Manual.pdf - 第395页

Computer Remote Control ProM aster 25 00 User Manua l E-7 @@11 XX Label Only Device s - Continuous — Causes the 25 00 to conti nuously label devices. XX represents the maxi mum parts needed to fill a receiving tube. This…

100%1 / 448
Computer Remote Control
E-6 ProMaster 2500 User Manual
The changes you make with this command are retained until you send a
new @08 command, make changes using the setup menu under
BINNING, or turn off power. Sending an @08255 restores the label
mapping settings to those currently defined in the BINNING setup menu.
Response: R08
@@09
XXX
Serial Control Functions
—where
XXX
represents serial control
functions number.
Note: Use this command only when you control the programming electronics
(PE) through the handler firmware. Data I/O recommends that you write
your CRC driver to communicate directly with the PE using the more
extensive set of commands described on page E-17.
This command determines which commands are sent to the
programming electronics using the serial interface mode. The serial
control functions number is a three-digit decimal number in ASCII
which, when converted to binary, represents the commands sent to the
programming electronics.
The following is the bit map:
Bit 0 = Blank check if on
Bit 1 = Illegal bit test if on
Bit 2 = Program device if on
Bit 3 = Verify device if on
Bit 4 = Don’t care
Bit 5 = Don’t care
Bit 6 = Don’t care
Bit 7 = Don’t care
For example, sending
@09013
converts 013 decimal to 00001101 binary.
When using the serial interface mode to communicate with the
programming electronics, blank check, program device, and verify device
commands are sent.
Use this command only when you must change the serial commands
dynamically. Under normal conditions, set up these commands once,
using the Control Functions menu.
The changes you make with this command are retained until you send
another @09 command, make changes using the setup menu under
Control Functions, or turn power off.
Response: R09
@@10
X
Transparent Mode
Puts the 2500’s two serial ports into transparent
mode, so the computer connected to the Remote serial port and the 2500
connected to the Programmer serial port can communicate directly with
each other as if a straight-through cable connected the two.
X
represents
an escape character, a binary number between 0 and 255, which is sent by
the computer attached to the 2500’s Remote serial port to exit transparent
mode. This is the only way to exit transparent mode besides turning off
the power.
Response: R10 when transparent mode is entered and exited
Computer Remote Control
ProMaster 2500 User Manual E-7
@@11
XX
Label Only Devices - Continuous
Causes the 2500 to continuously
label devices.
XX
represents the maximum parts needed to fill a receiving
tube. This is followed by a 2500 hex file.
After the command sequence is received, the 2500 begins labeling
immediately upon detecting devices at the input.
To invoke a new command, send a reset command “!” first.
Response: R11 (Sent after the hex file is received)
@@12
XXXX
Program and Label Devices
(1 to 9999 devices)Causes the 2500 to label
devices with the same information provided by a previously sent
command @02.
XXXX
represents the number of devices to be
programmed/labeled. When the specified number of devices have been
labeled, the 2500 sends a R12 command and waits for another command.
You may send as many @12 commands as you want.
WARNING:A command @02 must have been sent previously or
random data is printed.
Response: R12 (Sent after the devices have been labeled)
@@13
XXYYZZZZ
Variable Label Mode
This flexible command allows the remote
computer to control all aspects of the system.
XX
represents the
maximum number of devices to fill a receiving tube,
YY
is reserved for
future use and must be 00, and
ZZZZ
represents number of devices to be
programmed/labeled.
You can use this command to download a unique label for each device,
for example, when you want to label bad devices with a description of the
failure.
When the 2500 receives an @13
XXYYZZZZ
, it loads a device into the
programming module, sends a : (CRLF) to the remote computer, and
waits. The remote computer then takes over control of the programming
electronics and performs the required processes. When complete, the
remote computer sends a @14X and a hex file, allowing the 2500 to
continue labeling and binning the device.
The 2500 then loads another device into the programming module and
repeats the process until the specified number of devices are labeled.
While the 2500 is waiting for an @14X command, you may send an @10X
command to invoke transparent mode. This allows the remote computer
to communicate with the programming electronics attached to the 2500
port, thereby controlling the 2500 and the programming electronics with
one serial port.
Response 1:
Each time a device is loaded into the programming module a
: CR-LF is sent to the remote computer. The 2500 then waits for an @14
command.
Response 2:
R13 is sent after
ZZZZ
devices have been labeled. If labeling
is turned off using @08, all devices are counted.
@@14
X
Send Variable Text
X
represents category number 1 to 5. This is
followed by a 2500 hex file.
Computer Remote Control
E-8 ProMaster 2500 User Manual
This command is used in conjunction with the command @13. When the
2500 sends the remote computer a
:
it waits indefinitely for an @14
command.
The category number sent with command @14 is converted to a bin
number using the binning map. If labeling is assigned to the bin, the
device is labeled with information received from the label hex file then
put into the assigned bin.
If you are labeling the present device with the same information as the
previous device, we recommend that you use the alternative form of this
command: @14
X
P. This allows for maximum throughput.
Alternate: @14
X
P (P commands the 2500 to use the last label sent). Do not
send a 2500 hex file.
Response: R14
@@15 Download the 2500 Device Table
The device table is downloaded in
the following format:
XX-DEVICE
(cr-lf)
XX-DEVICE
(cr-lf)
XX-DEVICE
(cr-lf)
.
.
.
XX-DEVICE
(cr-lf)
R15 (cr-lf)
where
XX
represents the device index number (01 to 99) in decimal, and
DEVICE
represents the device package, such as PLCC 20 for a 20-pin
PLCC device. For a complete list of supported device package types, refer
to the Q2 command in the “Hex Label Format” section of this appendix.
Description: This command allows the remote computer to obtain the
latest device table list from the 2500, ensuring that the remote computer
has the latest device information.
The remote computer can reformat the list and display it on the computer
screen for the operator to select and run.
Response: the 2500 device table followed by R15
@@16
X
Retry Devices in Programming Module
—where
X
represents from 0 to
3, where 0 = No rotation (reseat only), 1 = Rotate 90 degrees, 2 = Rotate
180 degrees, and 3 = Rotate 270 degrees.
This command must be used in conjunction with the @13 command. It is
used to reorient the device in the programming module if a backwards
device is detected by the computer interfacing to the programming
electronics.
Example:
The computer sends the @13 command to the 2500. The 2500
loads a device into the programming module and returns a : (CR-LF) to
the computer. The computer sends a PROGRAM (P) command to the
2500 and receives a “device insertion” error. The computer can instruct
the 2500 to rotate the device (by sending an @16X command) to try to
reinsert the device with the correct orientation.