User guide
17-11
Using the PLI
Example 2
$value_passer size=0 args=2 call=value_passer persistent
In this line, there is an associated user-defined system task (because
it has a return size of 0). The system task takes two arguments. When
VCS executes the $value_passer system task it calls the function
named value_passer, and you can enter the system task on the CLI
command line without including the +cli compile-time option.
Example 3
$set_true size=16 call=set_true
In this line, there is an associated user-defined system function that
returns a 15 bit return value. VCS calls the function named set_true
when it executes this system function.
Note:
Do not enter blank spaces inside a PLI specification. The following
copy of the last example of PLI specifications does not work:
$set_true size = 16 call = set_true
ACC Capabilities
You can specify ACC capabilities in a PLI table file for the following
reasons:
• To specify the ACC capabilities for the PLI functions associated
with your user-defined system task or system function. To do this,
specify the ACC capabilities on a line in a PLI table file after the
name of the user-defined system task or system function and its
PLI specifications. See "Specifying ACC Capabilities for PLI
Functions" on page 17-12 for more details.