Microcom 324M Operator's Manual page 65

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

Advertisement

Chapter 5
GP OUTPUTS:
The P21 connector is used to provide 4 general purpose outputs.
These outputs provide 24V and may be used to provide the voltage
needed to power the GP INPUTS.
The ^D69 command is used to read and report the current status of the
GP Outputs in the form of ">IO 0nH< where "n" is a hex number from 0
to F. The outputs equal a binary number with the values in the
following order; 4321.
Example: A status of >IO 05H< would indicate that outputs 1 and 3 are
active (24v) and that outputs 2 and 4 are inactive (0v); 05H =
0101(binary).
The ^D68 is a nonvolatile command used to enable which GP outputs
are active. The outputs are entered in as a HEX value that is equal to a
binary number with the outputs in the following order; 4321.
Command Syntax:
^D68<CR>0n<CR>
n = the hex value from 0 to F.
Example: If the application wanted to configure outputs 1 and 3 active,
a ^D68<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.
NOTE: A status request (^E, ^D5, or 5 NULLs 01) will never show the
status of the outputs while a status request will show the input status if:
1) GP I/O is enabled AND
2) One or more bits have been configured to generate errors when
active AND
3) One or more of those halting bits have gone active and have
produced an error that has not been cleared.
NOTE: If the printer is not in the general purpose I/O mode, the inputs
status may still be read with the ^D150 command but the outputs
cannot be read (or written to) with the ^D69 or ^D68 commands.
NOTE: If an input has caused an error to be generated, then goes
inactive, and another print request received before the error is cleared,
the printer will not print and will remain in the error state. A status
request will show the active error inputs. This condition will remain until
the error is cleared.
NOTE: Default power up will disable I/O mode.
324M/424M Operator's Manual - 880026-1001
Printer Commands
5-15

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

424m

Table of Contents