memioRead (Function) |
Top Previous Next |
memioRead gives direct access to 4096 memory I/O locations. The memory I/O is normally only accessed indirectly by assigning variables in the programs VAR_INPUT/VAR_OUTPUT section to different memory locations by using the Job configuration dialog.
Input: index : INT (1..4096) Index number on the memory IO system to read from.
Returns: DINT Value that is read from the specified memory location.
Declaration: FUNCTION memioRead : DINT;
Example: INCLUDE rtcu.inc |