12/14 MN05003004Z-EN
Direct peripheral access
31
Table 5:
Parameters of the “ReadBitDirect” function
ReadWordDirect
A word of an input module can be read directly with this function.
The state of an input word is stored in the variables, which indicate
to the parameterized pointer “ptr_wValue”.
The pointer variable will not be changed when a fault occurs
during processing.
Table 6:
Parameters of the “ReadWordDirect” function
uiSlot:
Slot number of the signal module. For possible parameters see table 4 on page 29
uiBit:
Bit position within the input value of the signal module. For possible parameters see table 4 on page 29
ptr_xValue:
Pointer to the variable value
ReadBitDirect:
Display of the fault code, see table 9 on page 33
Figure 42: ReadWordDirect function
uiSlot:
Slot number of the signal module. For possible parameters see table 4 on page 29
uiOffset:
Word offset within a signal module. For possible parameters see table 4 on page 29
ptr_wValue:
Pointer to the variable value
ReadWordDirect:
Display of the fault code, see table 9 on page 33
Содержание XC-CPU101 Series
Страница 18: ...II...
Страница 22: ...12 14 MN05003004Z EN 4...
Страница 42: ...12 14 MN05003004Z EN 24...
Страница 64: ...12 14 MN05003004Z EN 46...
Страница 88: ...12 14 MN05003004Z EN 70...