Using A Drawer That Does Not Meet The Conditions In C.2 (Esc P, Dle Dc4) - Epson EU-m30 Series Developer's Manual

Table of Contents

Advertisement

Figure C.1.1 shows the drive signal waveform generated when the drawer is driven according to the above
conditions.
ON
OFF
The ON time depends on the specifications of the drawer used. Be sure to check the drawer specifications and set
a suitable time. To use a drawer that does not meet the conditions of Formulas C-1 and C-2, see C.3.
C.3

Using a drawer that does not meet the conditions in C.2 (ESC p, DLE DC4)

For ESC p
Setting the values of t1 and t2 according to the conditions in C.2 results in a maximum ON time of 126 ms (0 ≤
t1 ≤ 63), since the setting ranges of t1 and t2 are 0 to 255.
To use a drawer that requires an ON time exceeding 126 ms, the following conditions must be met:
ON time
ON time + (OFF time + α)
α: processing time of other sequence
α is the period from the OFF time until the next ON time when the drawer-driving is prohibited.
For DLE DC4
Since DLE DC4 sets ON time equal to OFF time, use α so that Formula C-3 is met.
An example program in which the drawer connected to drive signal 1 is driven with an ON time of 200 ms is
shown below.
PRINT#1, CHR$(&H1B); "p"; CHR$(0); CHR$(100); CHR$(250);
GOSUB *WAIT300MS
*WAIT300MS
300 [ms] wait routine
RETURN
*1: Corresponds to α of Formula C-3. Set the value so that it satisfies Formula C-3
(or include an internal processing time that is equal to or longer than this wait routine).
t1 × 2 ms
Figure C.1.1 Drawer Drive Signal Waveform
≤ 0.2
:
:
(*1)
t2 ≥ (t1 × 4) × 2 ms
······ Formula C-3
ON time 200 ms
OFF time 500 ms
49

Advertisement

Table of Contents
loading

Table of Contents