series Robot Controller
3.5
TsRemote Class Method
TsRemote class is base class of the TsRemoteS and TsRemoteV class.
The method of TsRemote class is succeeded to by TSRemoteS class /TSRemoteV class.
Connect()
Connects to the controller.
Format
bool Connect(int type)
Argument
int type
Return value
bool
Exceptions
TCPConnectTimeout
NoIP_PORTData
IllegalCommType
NoSerialportData
TCPError
CommunicationError
ControllerNG
IllegalParam
Notice
Connection under RS-232C(COM) is not supported.
See also
Disconnect()
Specify a connection type.
0:RS-232C(function not yet installed)
1:TCP/IP
true:Connect successful
false:Connect failed
Timeout occurred in the Connect() method.
The IP address or port for TCP/IP has not been set
Illegal connection type.Should be 0 for SerialPort,or 1 for TCP/IP
The datas for serial communication have not been set
The error has occurred in the network
Communication Error
Command not accepted by controller
Illegal parameter
- 36 -
TsRemoteLib.DLL MANUAL
TsRemote.method
STE85409