Configuration is done via Tablet.xml, which should be in the same file as the executable. The tablet is supposed to be hosted on a network shared folder, so configuration is done by PC station according to its hostname.
Api
The <Api> section is for setting the connection to the FactoryWiz CNC server. It has three options:
<Host> is set to localhost in the example and should be set to the local IP address or hostname of the FactoryWiz server.
<Port> is for the FactoryWiz server port (which is 80 by default).
<Ssl> If true the tablet will use https instead of http. Also if SSL is true then you must use the certified DNS name instead of the hostname or local IP.
- <Api>
- <Host>192.168.100.24</Host>
- <Port>80</Port>
- <Ssl>false</Ssl>
- </Api>
Stations
A station is a PC that is used to monitor the machines. Configuration is done by station to support cases where the tablet is hosted on a network shared directory.
Name
The Name attribute is the network hostname of a PC station. To find the hostname of a machine open a command prompt and type hostname.
Example: For a PC station called Ryan-Thinkpad23:
- <Station Name="Ryan-Thinkpad23">
- ...
- </Station>
Machines
Add a <Machine> tag for however many machines you wish to monitor from that station.
Example: Say we wish for the PC with hostname Rich-Thinkpad23 to monitor the following machines:
- 13-VMC 3150
- Mazak 001
- Mikron 001
- Mikron 010
Then our station config would look like this
- <Station Name="Rich-Thinkpad23">
- <Machines>
- <Machine>13-VMC 3150</Machine>
- <Machine>Mazak 001</Machine>
- <Machine>Mikron 001</Machine>
- <Machine>Mikron 010</Machine>
- </Machines>
- </Station>
DNC (Optional)
To make DNC accessible to the client you must have the FactoryWiz DNC website running (see
this article). Set the <dnc> tag value to the bound address for DNC. This makes the DNC's front page accessible.
- <Dnc>http://localhost/dnc</Dnc>
DNC per Machine
Once you have completed the above configuration you can add a machine-specific DNC by adding the Dnc attribute to a machine tag.
Example: Given the same set of machines from the "Machines" section we want to add DNC support for "Mazak 001", which in the DNC system is called "Mazak Quickturn". This would be done like so:
- <Station Name="Rich-Thinkpad23">
- <Machines>
- <Machine>13-VMC 3150</Machine>
- <Machine Dnc="Mazak Quickturn">Mazak 001</Machine>
- <Machine>Mikron 001</Machine>
- <Machine>Mikron 010</Machine>
- </Machines>
- </Station>
Example Config
Here is an example configuration. It has two PC stations, called Ryan-Thinkpad23 and Rich-Thinkpad24. It connects to the DNC at
http://localhost/dnc, and it connects to the FactoryWiz CNC server at localhost on port 80 with no SSL.
- <?xml version="1.0" encoding="utf-8" ?>
- <Config>
- <Api>
- <Host>localhost</Host>
- <Port>80</Port>
- <Ssl>false</Ssl>
- </Api>
- <Dnc>http://localhost/dnc</Dnc>
- <Stations>
- <Station Name="Ryan-Thinkpad23">
- <Machines>
- <Machine>01-HMC 1011</Machine>
- <Machine>02-HMC 1012</Machine>
- <Machine>03-VMC 2156</Machine>
- <Machine Dnc="Okuma Lathe">04-VMC 2157</Machine>
- <Machine Dnc="Haas">05-VTL 3100</Machine>
- <Machine Dnc="Kitamura">06-VTC 4100</Machine>
- <Machine>07-VMC 2155</Machine>
- <Machine>08-HMC 1015</Machine>
- <Machine>09-HAS 3121</Machine>
- <Machine>10-LEG 2156</Machine>
- </Machines>
- </Station>
- <Station Name="Rich-Thinkpad23">
- <Machines>
- <Machine>13-VMC 3150</Machine>
- <Machine Dnc="Mazak Quickturn">Mazak 001</Machine>
- <Machine>Mikron 001</Machine>
- <Machine>Mikron 010</Machine>
- </Machines>
- </Station>
- </Stations>
- </Config>