10/10 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
Summary of Contents for XC200 Series
Page 4: ...II ...
Page 8: ...10 10 MN05003004Z EN 4 ...
Page 28: ...10 10 MN05003004Z EN 24 ...
Page 50: ...10 10 MN05003004Z EN 46 ...
Page 74: ...10 10 MN05003004Z EN 70 ...