
(!. .4,%,10(+$/
Appendix B
B-86
Returns
Status Symbolic Name Meaning
-$. 0(,+ /1""$//%1)
0 (0$* #$%(+$# / ,+)4
0 !)$ +,0 (+(0( )(5$#
$%(+(0(,+ ,10 ,% . +&$
",*-)$0$# 3(0' $..,./
, /1"' # 0 (0$* #$%(+$#
0 6",+2$./(,+ $..,. +,0 00$*-0$#
(/ +,0 ",++$"0$# ,. ,%%)(+$
Description
Use the DTL_WRITE_W_IDX function to write a file to the PLC-5
programmable controller connected directly to the control coprocessor.
This function is synchronous. When this function is initiated, your
C application program stops until the function completes or fails.
To use this function, the data definition must specify the address to the first
element of the file and the number of data items must be 1.
You can address structured data types to either the structure level or the
element level. When you address to the structure level, the data type must
be RAW.
Valid Definition Examples
DTL_C_DEFINE (&idl, “N34:0”) /* specified to element 0,
default 1 item */
DTL_C_DEFINE (&idl, “T4:0.pre”) /* index 0 accesses T4:0.pre; index 14
accesses T4:14.pre */
DTL_C_DEFINE (&idl, “T4:0,1,raw”) /* index 0 accesses all three elements of
T4:0 (control, preset, accumulator);
index 14 access all three elements
of T4:14 (control, preset, accumulator)*/
Komentáře k této Příručce