Dataman 448PRO2AP-AU User Manual page 151

Table of Contents

Advertisement

The addressing looks like following:
the first Byte at the lowest address
Buffer Address
FF0000H
FF0001H
FF0002H
FF0003H
FF0004H
/writebufferex:INDEX:ADDR1:B11,B12,B13,B14,...,B1N[::ADDR2:B21,B22,B23,B24,...,B2
M]..
Command /writebufferex is used to write block of Bytes to PG4UW main buffer at specified
address. The command is very similar to command /writebuffer, except one more parameter –
INDEX.
The INDEX parameter specifies the order of buffer, where data will send. The main buffer has
index '1'. The first secondary buffer has index '2', etc. Please note, the secondary buffer(s) is
(are) available for some kinds of devices only (e.g. Microchip PIC16F628). The kind of buffer
indexed by parameter buffindex depends on order of buffer in application PG4UW in dialog
View/Edit buffer. For example device Microchip PIC16F628 has additional buffer with label
"Data EEPROM". This buffer can be accessed for data write(s) by this function when buffindex
= 2 is specified.
Example 1:
/writebufferex:1:7FF800:12,AB,C5,D4,7E,80
The command is equivalent to command
/writebuffer:1:7FF800:12,AB,C5,D4,7E,80
described in section about command /writebuffer.
Example 2:
/writebufferex:2:2F:12,AB,C5,D4,7E,80
The command writes 6 Bytes 12H ABH C5H D4H 7EH 80H to secondary buffer with
index "2" at address 2FH. The addressing looks like following:
the first Byte at the lowest address
Buffer Address
00002FH
000030H
000031H
000032H
000033H
000034H
Basic rules for using of executive command line parameters:
1. program pg4uwcmd.exe must be located in the same directory as program pg4uw.exe
2. if pg4uw.exe is not running when pg4uwcmd.exe is called, it will be automatically started
3. command line parameters are not case sensitive
4. command line parameters can be used when first starting of program or when program is
already running
5. if program is already running, then any of command line operation is processed only when
program was not busy (no operation was currently executing in program). Program must
be in basic state, i.e. main program window focused, no modal dialogs displayed, no menu
commands opened or executed
6. order of processing command line parameters when using more parameters together is
defined firmly as following:
Data
ABH
CDH
EFH
43H
21H
Data
12H
ABH
C5H
D4H
7EH
80H
151
Common notes

Advertisement

Table of Contents
loading

This manual is also suitable for:

448pro2ap48pro2ap

Table of Contents