ioNetRemove (Function) |
Top Previous Next |
This function is used to disable an I/O Extension net until the next restart of the RTCU. When a net is disabled, the firmware will release the serial port used and disable all the devices that are connected to the net. Similar to the ioDeviceEnable function, the inputs and/or outputs of the devices are no longer updated, the status of the devices will not change and no new exceptions are raised.
The network ID is for the I/O Extension net that is found in the RTCU IDE, not the MODBUS connection ID returned by modbusOpen.
Input: net_id : SINT The network ID of the I/O Extension network.
Returns: INT
Declaration: FUNCTION ioNetRemove : INT;
Example: INCLUDE rtcu.inc |