
)"/!/5-&-21),%0
Appendix B
B-65
Reads data from the PLC-5 programmable-controller data table to the
control-coprocessor memory.
C Syntax
#include <copro.h>
unsigned DTL_READ_W (name_id, variable, iostat)
unsigned name_id;
void *variable;
unsigned *iostat;
Parameters
name_id
DTL_C_DEFINE returns this handle when the data item to be read
is defined.
variable
Address of a buffer that stores the data read from the data item. Ensure
the declared variable is the right type to match the data size that was
specified in DTL_C_DEFINE.
iostat
This parameter returns a final completion status. Possible completion
status values are:
Value Meaning
-.%/!1)-, #-+.*%1%$ 02##%00&2**5
-.%/!1)-, ,-1 !11%+.1%$ 0%% 01!120 3!/)!"*% &-/ /%!0-,
$!1!7#-,3%/0)-, %//-/
-.%/!1)-, /%&20%$ "5 1(% 7 ./-'/!++!"*% #-,1/-**%/
%% !"*% &-/ %//-/0
Returns
Status Symbolic Name Meaning
.%/!1)-, 02##%00&2*
1!"*% ,-1 ),)1)!*)6%$
%&),)1)-, -21 -& /!,'%
#-+.*%1%$ 4)1( %//-/0
- 02#( $!1! )1%+ $%&),%$
)0 ,-1 #-,,%#1%$ -/ -&&*),%
DTL_READ_W
Comentários a estes Manuais