Program processing and
system time
10/10 MN05003004Z-EN
32
WriteBitDirect
A bit of an output module can be controlled directly with this
function. The respective output image is refreshed in addition to
the physical output. Writing to the output is possible and not
subject to limitation, for only the local 6 outputs of the XC100-CPU
with slot “0”.
The following limitations apply to slots “1” and above:
An individual output cant be written with a “direct peripheral
access”. Writing of an entire output word is always the case. This
means that the output image which is active at the time of the
“direct access” will be output with the modified output bit. Thus,
an output from other outputs within the output word occurs at the
point of time when it is accessed and not at the end of the cycle.
For this reason, with a “direct peripheral access” to an output bit
within a program cycle, the remaining outputs of the output word
should not be used and evaluated.
A further refresh of the output word occurs at the end of the cycle.
Table 7:
Parameters of the “WriteBitDirect” function
Figure 43: WriteBitDirect function
uiSlot:
Slot number of the signal module. For possible parameters see table 4 on page 29
uiBit:
Output bit within the signal module. For possible parameters see table 4 on page 29
xValue:
Input parameter from “Bit” type
WriteBitDirect
Display of the fault code, see table 9 on page 33
Содержание XC200 Series
Страница 4: ...II ...
Страница 8: ...10 10 MN05003004Z EN 4 ...
Страница 28: ...10 10 MN05003004Z EN 24 ...
Страница 50: ...10 10 MN05003004Z EN 46 ...
Страница 74: ...10 10 MN05003004Z EN 70 ...