Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID ComId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function changes a setting of an Industrial Communication context.
This function is only available if you have the MIL Industrial Communication package, or another relevant update installed.
Specifies the Industrial Communication setting to control.
See the Parameter associations section for possible values that can be specified.
Specifies the setting's new value.
See the Parameter associations section for possible values that can be specified.
The tables below list possible values for the ControlType and ControlValue parameters.
The following ControlType and ControlValue parameter settings can be specified for any type of Industrial Communication context:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum amount of time to wait for a receiving function (for example, McomRead() or McomWaitPositionRequest()) to finish its execution. INQ |
‡ | a | t | |||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum amount of time to wait, in msecs. |
‡ | a | t |
The following ControlType and ControlValue parameter settings can be specified for an Industrial Communication context used to communicate with a robot controller:
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||||||||||||||
ControlValue | ||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the IP address of a robot controller. INQ |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the address of the string identifying the remote address, from a MIL_CONST_TEXT_PTR to a MIL_DOUBLE. |
‡ | ‡ | a | t | a | t | |||||||||||||||||||||||||||||||||||||||||
Parameters | ||||||||||||||||||||||||||||||||||||||||||||||||
This parameter specifies the string whose address to cast. |
||||||||||||||||||||||||||||||||||||||||||||||||
|
‡ | a | t | |||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the port on the robot controller to use to communicate with it. INQ |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the port on the robot controller. |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Connects to the robot controller. |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default behavior. |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum number of times to attempt to reconnect to the robot controller. INQ |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum number of times to attempt to reconnect. |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the amount of time to wait between attempts to connect to the robot controller. INQ |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the amount of time to wait, in msecs. |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Disconnects from the robot controller. |
‡ | a | t | ||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default behavior. |
‡ | a | t |
Parameters
ComId See ComId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Parameters
ComId See ComId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |