beautypg.com

Dataman 40Pro User Manual

Page 105

background image

PG4UW

105

byte org. (x8), the Serialization Address will be byte address. If the buffer organization is
wider than byte, e.g. 16 bit words (x16), the Serialization Address will be word address.

Example of typical input file for Classic From file serialization:

[nav1] A7890 78 89 56 02 AB CD ; comment1
[nav2] A7890 02 02 04 06 08 0A
[nav3] A7890 08 09 0A 0B A0 C0 ; comment2
[nav4] A7890 68 87 50 02 0B 8D
[nav5] A7890 A8 88 59 02 AB 7D

;next line contains also second definition
[nav6] A7890 18 29 36 42 5B 6D , FFFF6 44 11 22 33 99 88 77 66 55 16

; this is last line - end of file

In the example file six serial values with labels „nav1“, „nav2“, ...“nav6“ are defined. Each
value is written to buffer on address $A7890. All values have size 6 bytes. The line with
„nav6“ label has also second value definition, which is written to buffer on address $FFFF6
and has size 10 bytes, i.e. the last byte of this value will be written to address $FFFFF.

Note: Address for Serialization is always assigned to actual device organization and buffer
organization that control program is using for current device. If the buffer organization is byte
org. (x8), the Serialization Address will be byte address. If the buffer organization is wider
than byte, e.g. 16 bit words (x16), the Serialization Address will be word address.

Device / Device options / Serialization / Playlist From file mode

When you use a Playlist From-file mode the serialization file has not serial values directly
included. The file contains name list of external files that contain serialization data.
Serialization data are then read from these external data files, each file means one
serialization step (one device programmed). Playlist From-file mode is indicated in main
window and info window of PG4UW control program on panel "Serialization" as "From-file-
pl
" serialization.

File format
From-file serialization playlist file includes list of filenames which contain serialization data.
The file format is similar to classic serialization file format. Following file format differences
are for playlist files:

1. the playlist file must have special header at the first no empty line of file. The header is text
line in format

FILETYPE=PG4UW SERIALIZATION PLAYLIST FILE

2. each serial data batch is represented by separate line in format

[label x] datafilename

labelx - represents label
Labels are identifiers for each no-empty line of input file. They are used for addressing each
line of file. The labels should be unique within the file. Addressing lines of file means, that the
required start label entered by user defines line in input file from which serial values reading
starts.

This manual is related to the following products: