
)"/!/6-&-21),%0
Appendix B
B-41
CC Data Type: Is: CC Data Type: Is:
,- #-,3%/0)-, ),1 0)',%$
#(!/ 0)',%$ 2,0)',%$ ),1
2,0)',%$ #(!/ &*-!1
0(-/1 0)',%$ $-2"*%
2,0)',%$ 0(-/1
%&!2*1 )0
[access type]
Optional; legal access rights are:
* READ = read only
* MODIFY = read or write
Default is modify.
Returns
Status Symbolic Name Meaning
.%/!1)-, 02##%00&2*
,3!*)$ ,2+"%/ -& %*%+%,10 1-
,3!*)$ $!1! 16.%
,3!*)$ !##%00 /)'(10
,3!*)$ ,2+"%/ -& .!/!+%1%/0
!1! 1!"*% )0 &2**
!1! )0 ),3!*)$ 16.% &-/ -.%/!1)-,
1!"*% ,-1 ),)1)!*)7%$
!1! )1%+ '/%!1%/ 1(!, +!5)+2+ !**-4%$
!$ !$$/%00
),.21 01/),' 1-- *-,'
Description
Use the DTL_C_DEFINE function to add a data definition to the table of
data definitions for the calling task. The DTL_C_DEFINE routine returns
a handle with which the calling task can refer to the data item in
subsequent DTL calls. You must use the DTL_C_DEFINE function to
create an entry for each contiguous range of data-table locations you need.
C Example
unsigned fred; /*handle used in later DTL_READ_W or
DTL_WRITE_W calls*/
unsigned status;
status = DTL_C_DEFINE (&fred,“N10:2,10,WORD,READ”);
Kommentare zu diesen Handbüchern