83
7.10.3 PLC Controlled Printing
There are two ways of printing by using a PLC data point. The
Screen hardcopy
control uses a bit in the PLC to
trigger the printout and the
Report printout
control uses a word. If internal Local or Retentive data points are used,
then the operator can trigger printing without the PLC getting involved.
7.10.3.1 Printing the currently active screen
This is used to dump the screen to the printer as a bitmap graphic. The
Screen hardcopy
PLC control monitors the
specified Read address. When the trigger bit turns ON, the unit prints the active base window. Once the printout is
done, the unit turns the controlling bit OFF. See the
Object Reference Guide
for more details about
PLC
Controls
.
7.10.3.2 Printing a window in the background
Windows can be printed in the background while touchscreen operations are being carried out. Use the
Report
printout
PLC control. This control prints the window number designated by its Read address. After the window is
printed, the Read address is set to 0. For example, suppose that the Read address is D100. When the value of
D100 is equal to 20, the unit prints out window 20 in the background. When the unit is finished printing, the zero is
written to address D100.
Note:
System Register
LW9054
specifies what is printed out in the report. Set this register before triggering
printouts.
Report printout options
0
: All Text, Meters & Trends in the window
1
: All Text, Meters, Trends & Shapes but no pattern fills
2
: All Text, Meters, Trends & Bitmaps
3
: All Text, Meters, Trends, Bitmaps, & Shapes but no pattern fills
4
: All screen objects.
Note:
System Register
LW9055
acts as an offset for the Report printout control. Set this register before
triggering printouts.
Example: A PLC Control / Report printout uses D100. If (
LW9055
) = 6, and D100 = 24 then the unit prints out
window 30. After printing, the unit writes back 0 to D100.
7.10.4 Printing Events
The
Event Logger
control allows events to be printed. This is specified whenever an event is being defined. The
printing can occur when the Event is triggered or when the event returns to its normal state. The
System
Parameters|General
Tab settings determine what is printed along with the Event message. The information selected
is printed before the message.
Information Item
Description
Print sequence number
The number of the event. Event numbering starts at 0.
time tag
The time that the print was triggered. (Hours:Minutes:Seconds)
date tag
The date of the printing. (Month:Day)
Extended time format (D:H:M)
Change the time format in the time tag to Days:Hours:Minutes.
Extended date format (Y:M:D)
Change the date format in the date tag to Year:Month:Day.
Note:
These settings are not the same as the settings in the
Event Display
Part. Those settings determine what is
displayed on the screen, not what is sent to the printer.
Summary of Contents for MMI-1500
Page 2: ...ii...