1260-00C User Manual
Local Command Set 4-77
download.
<CRLF>
Example:
Set up to download a DCI at Logical Address C0h,
to be a Servant of the device at Logical Address 2
and Commander of device at Logical Address 50.
Set up to download to the first 20 blocks of DCI
memory area, and allocate a 2048-word stack.
DCISetup? #hC0,2,0,20,#h800,50
DCISetupPI?
Purpose:
Set up parameters for a PI DCI download.
Query
Syntax:
DCISetupPI? <logical address>,
<Commander's logical address>,
<dynamic RAM size>, <stack size>, [,
<Servant1>, [<Servant2>,...,
<ServantN>]]
The
DCISetupPI?
query provides the 1260-00C
with the information it needs to prepare for
executing a
DCIDownLdPI
command. This
command is performed separately from the
DCIDownLdPI
command so that the download
parameters can be validated before the object code
download is initiated.
The 1260-00C interprets the
DCISetupPI?
query
parameters as follows:
•
The PI DCI is to be assigned Logical Address
<logical address>,
and granted to the
Commander at
<Commander's logical
address>
as a Servant.
•
Up to
<dynamic RAM size>
bytes of PI DCI
code and data are to be loaded into a pSOS
dynamic RAM segment allocated when the
DCIDownLoadPI
command is sent.
•
A stack of size
<stack size>
words is to be
allocated for the CI worker process. If
<stack
size>
is less than 1024, a stack size of 1024
words (2K) is to be allocated for the CI.
•
<Servant1>
through
<ServantN>
are to be
granted to the CI as Servants.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com