Microcom 324M Operator's Manual page 64

Direct thermal printer
Hide thumbs Also See for 324M:
Table of Contents

Advertisement

Printer Commands
6
Select GP I/O Hardware Mode: This command is used to select
from the various General Purpose I/O modes the printer supports.
0 = Enable Custom General Purpose I/O Hardware. This mode is a
custom solution developed for a specific customer and is not intended
to be used by other users.
1 = Enable General Purpose I/O Hardware. When this command is
enabled, the printer provides the ability to report the current status of 4
additional inputs accessed through the P17 connector on the PCB,
report the status of 4 additional outputs accessed through the P21
connector on the PCB, to change the status of the outputs, and to
configure the inputs to generate immediate errors.
GP INPUTS:
The P17 connector is used for the GP inputs. These inputs are active
high (24VDC) and may be independently controlled.
The ^D150 command is used to report the current status of the inputs.
When issued, the printer will send the host the current status of the 4
general inputs in the form of ">IO 0nH< where "n" is a hex number from
0 to F.
Example: A status of >IO 05H< would indicate that inputs 1 and 3 are
active (24v) and that inputs 2 and 4 are inactive (0v); 05H =
0101(binary).
The ^D151 is a nonvolatile command used to set which GP inputs are
configured to cause an immediate error when active. An immediate
error will immediately stop printing and go into an error condition. Once
the input is inactive, the "error" would need to be cleared before the
printer will continue. The ^D29 statistical listing reports the GP inputs
that are configured to generate error conditions when active and are
listed under the "ERROR INPUT: 0nH" with the value for "n" equaling
the HEX value of the inputs. The inputs equal a binary number with the
inputs in the following order; 4321.
Command Syntax:
^D151<CR>0n<CR>
n = the hex value from 0 to F.
Example: If the application wanted to configure inputs 1 and 3 to
generate error conditions when active, a ^D151<CR>05<CR>
command (the <CR> indicates carriage return characters) would be
issued. The printer ignores the LF characters, so a <CR+LF> is
interpreted as a <CR> as well) would be sent to the printer.
5-14
324M/424M Operator's Manual - 880026-1001
Chapter 5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 324M and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

424m

Table of Contents