The text of a manual · part 23 of 41
E-terminals Programming manual: 13 Report print-outs
Pages 182 to 187 of 335, from E-terminals Programming manual
The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Beijer Electronics AB E200
Page 182
Report print-outs
13 Report print-outs The chapter is not valid for E50. This section describes how to make a report print-out from the terminal. For production follow-up it is simple to create different types of reports such as daily reports and event reports. The illustration below shows the principle for generating a daily report.
171
Page 183
Report print-outs
13.1 Connection to a printer Printer
Terminal RS-422
RS-232
The printer should have a serial interface and be equipped with IBM character set (850). The settings for the printer are set under Peripherals in the Setup menu in the terminal. Refer to the printer manual for the correct configuration. Note! A printer with parallel interface can be connected if the expansioncard IFC PI is used.
13.2 Text block printouts The reports are created as Text blocks with static and dynamic text. The report has a maximum width of 150 characters. In the text block you enter a free text, e.g. table head and other static text which always will be printed. To get dynamic values from the process in the report you define dynamic objects, presenting the value for the signal the object is linked to. See the chapter Textbased presentation and maneuvering. Via time channels it is possible to decide when the report is to be printed.
172
Page 184
Report print-outs
13.3 Graphic block printout In E300, E600, E700 and E710 it is possible to print a graphic page to a Epson FX-80 or HP PCL5 compatible printer. Graphic blocks can only be printed when it’s displayed (screen dump). Only black and white graphics are supported.
13.4 Defining the print-out The Print signal parameter in the block header gives the signal which when set activates the print-out. A Completion signal is also given here which is set by the terminal when the print-out is completed. This signal is instead set to zero if Reset is marked.
173
Page 185
Report print-outs
13.5 Printer settings The settings for the printer must be made under Peripherals in the Setup menu. Under Peripherals you select Printer and then press Edit.... For more detailed information concerning the printer refer to the manual for the printer used. If you select Standard text the printer must support IBM extended ASCII character set. If graphic blocks are printed the printer must support Epson FX-80 or HP PCL graphics. If you use the expansion card IFC PI it is possible to print on a HP writer.
Parameter
174
Description
Printer type
Select printer, none or installed printer, e.g. HP PCL5.
Page length
The number of lines to be printed out before form feed. Form feed never takes place if the page length is set to 0.
Paper type
Select paper type according to installed printer.
Graphic orientation
States if the graphic printout should be portrait or landscape if a PCL5 compatible printer is used.
Text orientation
States if the report printout should be portrait or landscape if a PCL5 compatible printer is used.
Printer disable signal
State a digital signal which when set cloeses the printout. The port where the printer is connected will then be free to use for e.g. transparent mode. Not valid if IFC PI is used.
Page 186
Report print-outs Parameter
Description
New line character
End of line character; CR/LF, CR, LF or none.
Handshake
States whether handshaking between the printer and terminal will take place with XON/XOFF or CTS/RTS.
Screen dump
Possibility to printout the screen, normal or inverted.
13.6 Setting a communication port Settings for the communication port must be made under Peripherals. Under Peripherals you select RS-232 or RS-422 and then press the Edit... button. See the manual for the printer concerned for the correct setting.
Parameter
Description
Baudrate
Select the transfer rate for communication. Must be the same as the external unit.
Parity
Select parity. Must be the same as the external unit.
Databits
Select number of data bits. Must be the same as the external unit.
Stopbits
Select number of stop bits. Must be the same as the external unit.
175
Page 187
Report print-outs
13.7 Control codes to printer Not valid for E50, E100 and E200. It is possible to type control codes to a printer in textblocks. You type %% followed by a number between 1 and 31, which are control codes to printer. For example %%12 which is paper feed, for further description of control codes we refer to the manual for the printer used. One command must be followed by a blank character. If you have set a transverse (paper) feed must this be at the end of the line. The characters %% must not occur in the text. It is possible to have more than one command/control code on one line.
176