Option 2.3. Basic Operation Package 1 FANUC Control Properties

Host As String

 

Getting/setting CNC's host name or IP address to connect.

Setting is available at design time only.

When this property is other than NULL, "Node" property, which is used at FOCAS/HSSB, is ignored, and the network connection will be established.

Port As Integer

 

Getting/setting the port number of FOCAS/Ethenet function.

Setting is available at design time only.

Timeout As Integer

 

Getting/setting the time out value (second unit).

Setting is available at design time only.

FunctionName(Index As Integer) As String

 

Retrieve the function name, which is specified by the index number of the DoFunction method.

To retrieve the function name:

  1. Set a function number of DoFunction as the parameter

  2. Call FunctionName.

For a function that requires the function option and the option is not set on the CNC side, the return values is a Null string.

Path As Integer

 

Get/Set the current CNC path of CNC screen.

Example

If you set 1 to Path property, the screen will access to Main CNC side, and

If you set  2 to Path property, the screen will access to Sub CNC side.The setting value of Loader Control Board is 5.

NcOption As Boolean

 

Indicate the existence of the function for the screen object on the CNC side.

For a screen that does not need the option setting, it is always True.

LcOption As Boolean

 

Indicate the existence of the function for the screen object in the Loader Control Board.

If the Loader Control Board exists, it is True.

If the Loader Control Board does not exist, it is False.

There is no relationship with the Path property.

BackColor

 

Get/Set the background color of CNC screen.

More information

Step 2. Review Basic Operation Package 1 features.