Start the EtherCAT Network to PREOPERATIONL or OPERATIONAL state, with our without discovery, using a timeout. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Warning
- This overload does NOT Refresh() after starting the network, which might be necessary if your topology has changed.
- Note
- This assumes you have ENI File (EtherCAT.xml) in the same folder as the RMP and RMPNetwork files. Check NetworkStateGet() and, if errors, LastNetworkStartErrorGet(), NetworkLogMessageCountGet to determine the result of starting the network. This method can take several seconds to execute. After starting, if the state is operational, some overloads internally call Refresh() so all RapidCode objects must be recreated.
- See also
- Create, NetworkStateGet, LastNetworkStartErrorGet, NetworkLogMessageCountGet, Refresh
- Parameters
-
startMode | can be either PREOPERATIONAL or OPERATIONAL |
startupMethod | RSINetworkStartupMethod |
timeoutMilliseconds | custom timeout before you get an error message. |