beautypg.com

6 batch mode – KROHNE ALTOSONIC V EN User Manual

Page 60

background image

ALTOSONIC V

Operating Manual rev02 E

7.30850.34.00

Page 60 of 106

6 BATCH MODE

In batch mode the UFP-Program generates batch tickets by manual demand, Modbus controlled

demand or time controlled demand.

These batch tickets are printed by a serial printer, according to DIN66258 standard

The latest MID certification holds the following printer setups:

EPSON 880 serial printer with DIN66258 protocol

Printer OKI 280 elite (Standard Serial Printer) + MFX_4 SDI module

The MFX_4 SDI Serial Data Interface is for transmission of legal data (DIN66258 protocol) to a

standard printer.

6.1

Hardware set-up

The hardware set-up concerning Baud rate, stop bits etc. of the serial printer port is defined in an

initialisation file used for all communication settings: COMS0300.DAT

Under section 2:

These settings must also be done at the printer side.

6.2

Layout of the ticket

The layout of the ticket is fixed in a file named TICK0300.DAT (see next page)

This file can be configured as required.

The file is protected by a CRC-checksum as all initialisation files are.

The CRC-checksums from the 3 data sets used (UFS, UFP and DAT ) are printed on the ticket for

additional security. Any change in the ticket layout is identified by a change in CRC-checksum.

The layout of the ticket consists of free to fill in text and data.

The data is framed as follows:

~

1 or 3

1 to 999

L or R

@

Frame

Start

character

1=batch start value

2=batch stop value

3=special character input

Parameter

Mapping

address

Optional alignment

Left or right

Default is R

Frame

End

Character


If the data needs to be printed in a specific format (by default the values are printed in format %10.3)

~

1 or 2

1 to 999

L or R

%

1 to 15

.

0 to (Width-1)

@

Frame

Start

character

1=start value
2=stop value

Parameter

Mapping

address

Optional

alignment

Left or right

Default is R

Indicator

For specific

format

Width, number
of characters to

print

Period as

decimal

point

Number of
characters in

decimal

Frame

End

Character


2
2.1 PRINTER_COMPORT =#1 //1,2,3,4
2.2 PRINTER_WORD_LENGTH =#8 //7 or 8
2.3 PRINTER_PARITY =#2 //0=disabled,1=odd,2=even
2.4 PRINTER_STOP_BITS =#1 //1 or 2
2.5 PRINTER_BAUDRATE =#9600 //38400, 19200, 9600, 4800, 2400, 1800
//1200, 600, 300, 200, 150, 134.5, 110, 75
2.6 PRINTER_DTR_POLARITY =#1 //0=pos,1=neg
2.7 PRINTER_RTS_POLARITY =#1 //0=pos,1=neg
2.8 PRINTER_TIMEOUT =#5000 //Timeout[ms] on acknowledges etc.
2.9 PRINTER_TIMEOUT_MANAGE =#10 //Timeout[ s] for print management switch