Mitsubishi Electric MELSEC-A AlSJ71C24-R2 User Manual page 267

Computer link module , computer iinkiprinter function module
Table of Contents

Advertisement

11.
PRINTER FUNCTIONS
MELSEC-A
11.2.4
Printer Errors
When outputting messages to the printer, if (a) an error occurs, or (b) the
printer is not connected, the printer processing completed signal (Xn8) will
not go ON.
Therefore, it is necessary to do a time check using a sequence program.
Error occurs
Printer processing request
signal (Y(n+l)8)
Printer processing completed
signal (Xn8)
Printer function
PC CPU
D a k i s s e t a t t h e m
1
A time check is done using a
schedule area.
sequence program.
i
,___-,
I
I
8
,
Time check processing
After the printer processing request signal (Y(n+1)8) goes ON, continue the
time check until the printer processing completed signal (Xn8) is turned ON.
If an error occurs when a message is being output, the printer processing
request signal (Y(n+1)8) goes OFF.
To detect a printer error, add a sequence program as shown below.
(Sequence
roara am)
AI s171 ~ 2 4 - P R F
1 1 0
addresses:
/
Data is set at a schedule area.
!
I
i
itart of the output
-1 1
SET
Y38
The printer processing request
signal Y38 is turned ON.
Time check setting
The printer processing request
signal Y38 is turned OFF.
Error
code
is read
POINTI
Set the value of a time check according to the time it takes the printer to
print one character.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-a a1 sj71 c24-prf

Table of Contents