beautypg.com

Microcom 438 User Manual

Page 61

background image

Printer Commands

Chapter 5

5-14

438 Operator’s Manual - 880052-0100

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:
^D1510n

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 ^D15105
command (the indicates carriage return characters) would be
issued. The printer ignores the LF characters, so a is
interpreted as a as well) would be sent to the printer.

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:
^D680n

n = the hex value from 0 to F.

This manual is related to the following products: