SetIODef
Sets the I/O labels and comments for bits, bytes, and words of input, output, and memory I/O.
Syntax
SetIODef type, index, label, comment
Parameters
type: Integer value representing the I/O type
- 1: InputBit
- 2: InputByte
- 3: InputWord
- 4: OutputBit
- 5: OutputByte
- 6: OutputWord
- 7: MemoryBit
- 8: MemoryByte
- 9: MemoryWord
- 10: InputReal
- 11: OutputReal
index: Integer value representing the bit or port number
label: A string (up to 32 characters) representing a new label
comment: A string representing a new comment
Description
This comment defines the label and comment for each I/O point.
See Also
GetIODef, IONumber Function, IODef Function, IOLabel$ Function
SetIODef Example
SetIODef 1, 0, "MyInputBit0", "The best input I have ever configured"