I/O Control functions
The following table describes the I/O Control functions. The name of the function ending with the letter "B" means the offset unit is byte.
Function name | Description |
---|---|
ForceInputBit | Writes a bit into an input of a simulated I/O module. |
ForceInputByte | Writes a byte into an input of a simulated I/O module. |
ForceInputDWord | Writes a double word into an input of a simulated I/O module. |
ForceInputWord | Writes a word into an input of a simulated I/O module. |
GetIOBuffers | Provides pointers to the input and output buffers of an I/O module. |
ReadInputBit | Reads a bit from an input of a real or simulated I/O module. |
ReadInputByte | Reads a byte from an input of a real or simulated I/O module. |
ReadInputDWord | Reads a double word from an input of a real or simulated I/O module. |
ReadInputWord | Reads a word from an input of a real or simulated I/O module. |
ReadIOAlias | Reads the alias index from a real or simulated I/O module. |
ReadOutputBit | Reads a bit from an output of a real or simulated I/O module. |
ReadOutputByte | Reads a byte from an output of a real or simulated I/O module with a byte offset. |
ReadOutputDWord | Reads a double word from an output of a real or simulated I/O module. |
ReadOutputWord | Reads a word from an output of a real or simulated I/O module. |
WriteIOAlias | Writes the alias index into a real or simulated I/O module. |
WriteOutputBit | Writes a bit into an output of a real or simulated I/O module. |
WriteOutputByte | Writes a byte into an output of a real or simulated I/O module. |
WriteOutputDWord | Writes a double word into an output of a real or simulated I/O module. |
WriteOutputWord | Writes a word into an output of a real or simulated I/O module. |