Setting: CNC Connection List

MachineList.xml Configuration

The [TORUS Install Folder]/Binary folder contains the "MachineList.xml" file. TORUS reads the attributes of the "NCmachine" tags within this file to attempt connections to machine. Therefore, before running TORUS, you need to specify the attributes of the machine (CNC) you want to connect to in "MachineList.xml".

Example of MachineList.xml

<MachineList>
    <NCmachine activate="false" name="machine1" id="1" vendorcode="fanuc" address="192.168.0.3" port="8193" exdllpath="../../ex_dll/fanuc"/>
    <NCmachine activate="true" name="machine2" id="2" vendorcode="kcnc" address="127.0.0.1" port="3000"/>
    <NCmachine activate="false" name="machine3" id="3" vendorcode="fanuc" connectcode="ethernet" address="localhost" port="8193" ncversioncode="default" toolsystem="default" username="" password="" exdllpath="../../ex_dll/fanuc"/>
</MachineList>

"MachineList" is the root tag. Within "MachineList", you should write one "NCmachine" tag for each machine you wish to connect to.
Tag names are case-sensitive. The descriptions of each attribute within the NCmachine tag are as follows:

  • activate: Determines whether to attempt a connection. If the value is "true", it will try to connect.
    ※ Valid values: "true" or "false"
  • name: The name of the machine. This can be used to distinguish between different machines.
  • id: The ID of the machine. If there are duplicate IDs, only the first recorded machine among the duplicates will be connected.
    ※ Valid values: An integer greater than or equal to 1
  • vendorcode: The vendor of the machine you are trying to connect to. TORUS v2.3 does not support CSCAM yet.
    ※ Valid values (case-insensitive):
    1) "Fanuc"
    2) "Siemens"
    3) "CSCAM" (To be added)
    4) "Mitsubishi"
    5) "Kcnc"
    6) "Mazak"
  • address: The IP address of the machine.
  • port: The port of the machine.

The following attributes are optional. If the attribute is not specified, a default value will be applied.

  • exdllpath: The path where the external library (vendor library) files required for machine connection are located. Only Fanuc and Siemens (MyHMI) require external library files. If not entered, the default path is used.
    ※ Default path:
    1) Fanuc: "TORUS/Binary/nc_lib/fanuc" 
    2) Siemens: "TORUS/Binary/nc_lib/siemens" 
  • connectcode: The method of connecting to the machine. If not specified, the value "default" is used.
    ※ Valid values (case-insensitive):
    1) "default" (Uses the default connection method for each vendor):
        Fanuc→Ethernet, Mitsubishi→Ethernet, Kcnc→Ethernet, Siemens→MyHMI, Mazak→MTConnect
    2) "Ethernet" (Fanuc, Mitsubishi, Kcnc)
    3) "OPCUA" (Siemens)  ※ Only Username/Password authentication method is available.
    4) "HSSB" (Fanuc)
    5) "MyHMI" (Siemens)
    6) "MTConnect" (Mazak)
  • ncversioncode: The version of the machine. Some vendors require you to specify the version of the machine you are connecting to. If not specified, the value "default" is used.
    ※ Valid values (case-insensitive):
    1) "default" (Uses the default version for each vendor):
        Mitsubishi→MitsubishiM800M, Siemens→Siemens49
    2) "MitsubishiM700M"
    3) "MitsubishiM700L"
    4) "MitsubishiM800M"
    5) "MitsubishiM800L"
    6) "Siemens47" (When using MyHMI v4.7)
    7) "Siemens48" (When using MyHMI v4.8)
    8) "Siemens49" (When using MyHMI v4.9)
  • toolsystem: The tool system to use when connecting to Fanuc. If not specified, the value "default" is used.
    ※ Valid values (case-insensitive):
    1) "default" (Basic Tool function)
    2) "ToolLife" (Tool Life Management)
    3) "ToolManager" (Tool Management)
  • username: The username to use when connecting to machine via OPC-UA.
  • password: The password to use when connecting to machine via OPC-UA.